/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_wq.h | 67 struct vnic_wq { struct 86 struct vnic_wq wq; 90 static inline unsigned int vnic_wq_desc_avail(struct vnic_wq *wq) 96 static inline unsigned int vnic_wq_desc_used(struct vnic_wq *wq) 102 static inline void *vnic_wq_next_desc(struct vnic_wq *wq) 107 static inline void vnic_wq_doorbell(struct vnic_wq *wq) 118 static inline void vnic_wq_post(struct vnic_wq *wq, 141 static inline void vnic_wq_service(struct vnic_wq *wq, 143 void (*buf_service)(struct vnic_wq *wq, 165 void vnic_wq_free(struct vnic_wq *w [all...] |
H A D | Makefile | 4 enic-y := enic_main.o vnic_cq.o vnic_intr.o vnic_wq.o \
|
H A D | vnic_wq.c | 15 #include "vnic_wq.h" 18 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) 56 void vnic_wq_free(struct vnic_wq *wq) 75 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, 104 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, 121 void enic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, 144 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, 153 unsigned int vnic_wq_error_status(struct vnic_wq *wq) 158 void vnic_wq_enable(struct vnic_wq *wq) 163 int vnic_wq_disable(struct vnic_wq *w [all...] |
H A D | enic_res.h | 12 #include "vnic_wq.h" 30 static inline void enic_queue_wq_desc_ex(struct vnic_wq *wq, 56 static inline void enic_queue_wq_desc_cont(struct vnic_wq *wq, 65 static inline void enic_queue_wq_desc(struct vnic_wq *wq, void *os_buf, 75 static inline void enic_queue_wq_desc_csum(struct vnic_wq *wq, 87 static inline void enic_queue_wq_desc_csum_l4(struct vnic_wq *wq, 98 static inline void enic_queue_wq_desc_tso(struct vnic_wq *wq,
|
H A D | enic.h | 12 #include "vnic_wq.h" 163 ____cacheline_aligned struct vnic_wq wq[ENIC_WQ_MAX];
|
H A D | enic_main.c | 324 static void enic_free_wq_buf(struct vnic_wq *wq, struct vnic_wq_buf *buf) 339 static void enic_wq_free_buf(struct vnic_wq *wq, 544 static int enic_queue_wq_skb_cont(struct enic *enic, struct vnic_wq *wq, 567 static int enic_queue_wq_skb_vlan(struct enic *enic, struct vnic_wq *wq, 596 static int enic_queue_wq_skb_csum_l4(struct enic *enic, struct vnic_wq *wq, 668 static int enic_queue_wq_skb_tso(struct enic *enic, struct vnic_wq *wq, 738 static inline int enic_queue_wq_skb_encap(struct enic *enic, struct vnic_wq *wq, 771 struct vnic_wq *wq, struct sk_buff *skb) 824 struct vnic_wq *wq; 1607 struct vnic_wq *w [all...] |
/linux-master/drivers/scsi/fnic/ |
H A D | vnic_wq.h | 75 struct vnic_wq { struct 86 static inline unsigned int vnic_wq_desc_avail(struct vnic_wq *wq) 92 static inline unsigned int vnic_wq_desc_used(struct vnic_wq *wq) 98 static inline void *vnic_wq_next_desc(struct vnic_wq *wq) 103 static inline void vnic_wq_post(struct vnic_wq *wq, 129 static inline void vnic_wq_service(struct vnic_wq *wq, 131 void (*buf_service)(struct vnic_wq *wq, 153 void vnic_wq_free(struct vnic_wq *wq); 154 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, 156 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *w [all...] |
H A D | vnic_wq.c | 13 #include "vnic_wq.h" 16 static int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, 28 static int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, 35 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) 72 void vnic_wq_free(struct vnic_wq *wq) 90 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, 120 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, 141 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, 165 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, 182 unsigned int vnic_wq_error_status(struct vnic_wq *w [all...] |
H A D | Makefile | 18 vnic_wq.o
|
H A D | fnic_res.h | 11 #include "vnic_wq.h" 18 static inline void fnic_queue_wq_desc(struct vnic_wq *wq, 42 static inline void fnic_queue_wq_eth_desc(struct vnic_wq *wq,
|
H A D | fnic.h | 20 #include "vnic_wq.h" 334 ____cacheline_aligned struct vnic_wq wq[FNIC_WQ_MAX]; 360 void fnic_free_wq_buf(struct vnic_wq *wq, struct vnic_wq_buf *buf);
|
H A D | fnic_fcs.c | 1020 struct vnic_wq *wq = &fnic->wq[0]; 1073 struct vnic_wq *wq = &fnic->wq[0]; 1243 static void fnic_wq_complete_frame_send(struct vnic_wq *wq, 1289 void fnic_free_wq_buf(struct vnic_wq *wq, struct vnic_wq_buf *buf)
|
H A D | vnic_dev.c | 18 #include "vnic_wq.h" 23 struct vnic_wq wq;
|
/linux-master/drivers/scsi/snic/ |
H A D | vnic_wq.h | 60 struct vnic_wq { struct 71 static inline unsigned int svnic_wq_desc_avail(struct vnic_wq *wq) 77 static inline unsigned int svnic_wq_desc_used(struct vnic_wq *wq) 83 static inline void *svnic_wq_next_desc(struct vnic_wq *wq) 88 static inline void svnic_wq_post(struct vnic_wq *wq, 114 static inline void svnic_wq_service(struct vnic_wq *wq, 116 void (*buf_service)(struct vnic_wq *wq, 138 void svnic_wq_free(struct vnic_wq *wq); 139 int svnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, 141 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *w [all...] |
H A D | vnic_wq.c | 10 #include "vnic_wq.h" 12 static inline int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, 22 static inline int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, 29 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) 67 void svnic_wq_free(struct vnic_wq *wq) 85 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, 109 int svnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, 140 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, 163 void svnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, 171 unsigned int svnic_wq_error_status(struct vnic_wq *w [all...] |
H A D | Makefile | 16 vnic_wq.o
|
H A D | snic_res.h | 9 #include "vnic_wq.h" 49 snic_queue_wq_eth_desc(struct vnic_wq *wq,
|
H A D | snic.h | 22 #include "vnic_wq.h" 330 ____cacheline_aligned struct vnic_wq wq[SNIC_WQ_MAX]; 380 void snic_free_wq_buf(struct vnic_wq *, struct vnic_wq_buf *);
|
H A D | snic_io.c | 20 snic_wq_cmpl_frame_send(struct vnic_wq *wq, 83 snic_free_wq_buf(struct vnic_wq *wq, struct vnic_wq_buf *buf)
|
H A D | vnic_dev.c | 15 #include "vnic_wq.h" 23 struct vnic_wq wq;
|