/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | vnic_rq.h | 92 struct vnic_rq { struct 105 static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq) in vnic_rq_desc_avail() 111 static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq) in vnic_rq_desc_used() 117 static inline void *vnic_rq_next_desc(struct vnic_rq *rq) in vnic_rq_next_desc() 122 static inline unsigned int vnic_rq_next_index(struct vnic_rq *rq) in vnic_rq_next_index() 127 static inline unsigned int vnic_rq_next_buf_index(struct vnic_rq *rq) in vnic_rq_next_buf_index() 132 static inline void vnic_rq_post(struct vnic_rq *rq, in vnic_rq_post() 165 static inline int vnic_rq_posting_soon(struct vnic_rq *rq) in vnic_rq_posting_soon() 170 static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count) in vnic_rq_return_descs() 180 static inline void vnic_rq_service(struct vnic_rq *r [all...] |
H A D | vnic_rq.c | 25 #include "vnic_rq.h" 27 static int vnic_rq_alloc_bufs(struct vnic_rq *rq) in vnic_rq_alloc_bufs() 65 void vnic_rq_free(struct vnic_rq *rq) in vnic_rq_free() 82 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, in vnic_rq_alloc() 111 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init() 137 unsigned int vnic_rq_error_status(struct vnic_rq *rq) in vnic_rq_error_status() 142 void vnic_rq_enable(struct vnic_rq *rq) in vnic_rq_enable() 147 int vnic_rq_disable(struct vnic_rq *rq) in vnic_rq_disable() 165 void vnic_rq_clean(struct vnic_rq *rq, in vnic_rq_clean() 166 void (*buf_clean)(struct vnic_rq *r in vnic_rq_clean() [all...] |
H A D | Makefile | 16 vnic_rq.o \
|
H A D | fnic.h | 33 #include "vnic_rq.h" 311 ____cacheline_aligned struct vnic_rq rq[FNIC_RQ_MAX]; 337 int fnic_alloc_rq_frame(struct vnic_rq *rq); 338 void fnic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf);
|
H A D | fnic_res.h | 24 #include "vnic_rq.h" 223 static inline void fnic_queue_rq_desc(struct vnic_rq *rq, in fnic_queue_rq_desc()
|
H A D | fnic_fcs.c | 825 static void fnic_rq_cmpl_frame_recv(struct vnic_rq *rq, struct cq_desc in fnic_rq_cmpl_frame_recv() 968 int fnic_alloc_rq_frame(struct vnic_rq *rq) in fnic_alloc_rq_frame() 1002 void fnic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf) in fnic_free_rq_buf()
|
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H A D | vnic_rq.h | 80 struct vnic_rq { struct 93 static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq) in vnic_rq_desc_avail() 99 static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq) in vnic_rq_desc_used() 105 static inline void *vnic_rq_next_desc(struct vnic_rq *rq) in vnic_rq_next_desc() 110 static inline unsigned int vnic_rq_next_index(struct vnic_rq *rq) in vnic_rq_next_index() 115 static inline unsigned int vnic_rq_next_buf_index(struct vnic_rq *rq) in vnic_rq_next_buf_index() 120 static inline void vnic_rq_post(struct vnic_rq *rq, in vnic_rq_post() 153 static inline int vnic_rq_posting_soon(struct vnic_rq *rq) in vnic_rq_posting_soon() 158 static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count) in vnic_rq_return_descs() 168 static inline void vnic_rq_service(struct vnic_rq *r [all...] |
H A D | vnic_rq.c | 13 #include "vnic_rq.h" 15 static int vnic_rq_alloc_bufs(struct vnic_rq *rq) in vnic_rq_alloc_bufs() 53 void vnic_rq_free(struct vnic_rq *rq) in vnic_rq_free() 70 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, in vnic_rq_alloc() 99 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init() 125 unsigned int vnic_rq_error_status(struct vnic_rq *rq) in vnic_rq_error_status() 130 void vnic_rq_enable(struct vnic_rq *rq) in vnic_rq_enable() 135 int vnic_rq_disable(struct vnic_rq *rq) in vnic_rq_disable() 153 void vnic_rq_clean(struct vnic_rq *rq, in vnic_rq_clean() 154 void (*buf_clean)(struct vnic_rq *r in vnic_rq_clean() [all...] |
H A D | Makefile | 16 vnic_rq.o \
|
H A D | fnic.h | 21 #include "vnic_rq.h" 316 ____cacheline_aligned struct vnic_rq rq[FNIC_RQ_MAX]; 342 int fnic_alloc_rq_frame(struct vnic_rq *rq); 343 void fnic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf);
|
H A D | fnic_res.h | 12 #include "vnic_rq.h" 211 static inline void fnic_queue_rq_desc(struct vnic_rq *rq, in fnic_queue_rq_desc()
|
H A D | fnic_fcs.c | 815 static void fnic_rq_cmpl_frame_recv(struct vnic_rq *rq, struct cq_desc in fnic_rq_cmpl_frame_recv() 958 int fnic_alloc_rq_frame(struct vnic_rq *rq) in fnic_alloc_rq_frame() 992 void fnic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf) in fnic_free_rq_buf()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_rq.h | 85 struct vnic_rq { struct 97 static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq) in vnic_rq_desc_avail() 103 static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq) in vnic_rq_desc_used() 109 static inline void *vnic_rq_next_desc(struct vnic_rq *rq) in vnic_rq_next_desc() 114 static inline unsigned int vnic_rq_next_index(struct vnic_rq *rq) in vnic_rq_next_index() 119 static inline void vnic_rq_post(struct vnic_rq *rq, in vnic_rq_post() 154 static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count) in vnic_rq_return_descs() 164 static inline void vnic_rq_service(struct vnic_rq *rq, in vnic_rq_service() 166 int desc_return, void (*buf_service)(struct vnic_rq *rq, in vnic_rq_service() 192 static inline int vnic_rq_fill(struct vnic_rq *r [all...] |
H A D | vnic_rq.c | 28 #include "vnic_rq.h" 31 static int vnic_rq_alloc_bufs(struct vnic_rq *rq) in vnic_rq_alloc_bufs() 66 void vnic_rq_free(struct vnic_rq *rq) in vnic_rq_free() 85 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, in vnic_rq_alloc() 114 static void vnic_rq_init_start(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init_start() 138 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init() 146 unsigned int vnic_rq_error_status(struct vnic_rq *rq) in vnic_rq_error_status() 151 void vnic_rq_enable(struct vnic_rq *rq) in vnic_rq_enable() 156 int vnic_rq_disable(struct vnic_rq *rq) in vnic_rq_disable() 184 void vnic_rq_clean(struct vnic_rq *r [all...] |
H A D | Makefile | 5 enic_res.o enic_dev.o enic_pp.o vnic_dev.o vnic_rq.o vnic_vic.o \
|
H A D | enic_res.h | 26 #include "vnic_rq.h" 122 static inline void enic_queue_rq_desc(struct vnic_rq *rq, in enic_queue_rq_desc()
|
H A D | enic.h | 26 #include "vnic_rq.h" 183 ____cacheline_aligned struct vnic_rq rq[ENIC_RQ_MAX];
|
H A D | enic_main.c | 1222 static void enic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf) in enic_free_rq_buf() 1235 static int enic_rq_alloc_buf(struct vnic_rq *rq) in enic_rq_alloc_buf() 1296 static void enic_rq_indicate_buf(struct vnic_rq *rq, in enic_rq_indicate_buf() 1446 static void enic_set_int_moderation(struct enic *enic, struct vnic_rq *rq) in enic_set_int_moderation() 1458 static void enic_calc_int_moderation(struct enic *enic, struct vnic_rq *rq) in enic_calc_int_moderation()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_rq.h | 72 struct vnic_rq { struct 84 static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq) in vnic_rq_desc_avail() 90 static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq) in vnic_rq_desc_used() 96 static inline void *vnic_rq_next_desc(struct vnic_rq *rq) in vnic_rq_next_desc() 101 static inline unsigned int vnic_rq_next_index(struct vnic_rq *rq) in vnic_rq_next_index() 106 static inline void vnic_rq_post(struct vnic_rq *rq, in vnic_rq_post() 141 static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count) in vnic_rq_return_descs() 151 static inline void vnic_rq_service(struct vnic_rq *rq, in vnic_rq_service() 153 int desc_return, void (*buf_service)(struct vnic_rq *rq, in vnic_rq_service() 179 static inline int vnic_rq_fill(struct vnic_rq *r [all...] |
H A D | vnic_rq.c | 15 #include "vnic_rq.h" 18 static int vnic_rq_alloc_bufs(struct vnic_rq *rq) in vnic_rq_alloc_bufs() 53 void vnic_rq_free(struct vnic_rq *rq) in vnic_rq_free() 72 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, in vnic_rq_alloc() 101 static void vnic_rq_init_start(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init_start() 125 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, in vnic_rq_init() 133 unsigned int vnic_rq_error_status(struct vnic_rq *rq) in vnic_rq_error_status() 138 void vnic_rq_enable(struct vnic_rq *rq) in vnic_rq_enable() 143 int vnic_rq_disable(struct vnic_rq *rq) in vnic_rq_disable() 171 void vnic_rq_clean(struct vnic_rq *r [all...] |
H A D | Makefile | 5 enic_res.o enic_dev.o enic_pp.o vnic_dev.o vnic_rq.o vnic_vic.o \
|
H A D | enic_res.h | 13 #include "vnic_rq.h" 109 static inline void enic_queue_rq_desc(struct vnic_rq *rq, in enic_queue_rq_desc()
|
H A D | enic.h | 13 #include "vnic_rq.h" 170 ____cacheline_aligned struct vnic_rq rq[ENIC_RQ_MAX];
|
H A D | enic_main.c | 1222 static void enic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf) in enic_free_rq_buf() 1235 static int enic_rq_alloc_buf(struct vnic_rq *rq) in enic_rq_alloc_buf() 1296 static void enic_rq_indicate_buf(struct vnic_rq *rq, in enic_rq_indicate_buf() 1446 static void enic_set_int_moderation(struct enic *enic, struct vnic_rq *rq) in enic_set_int_moderation() 1458 static void enic_calc_int_moderation(struct enic *enic, struct vnic_rq *rq) in enic_calc_int_moderation()
|