Lines Matching refs:vnic_rq
85 struct vnic_rq { struct
100 static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq) in vnic_rq_desc_avail() argument
106 static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq) in vnic_rq_desc_used()
112 static inline void *vnic_rq_next_desc(struct vnic_rq *rq) in vnic_rq_next_desc()
117 static inline unsigned int vnic_rq_next_index(struct vnic_rq *rq) in vnic_rq_next_index()
122 static inline void vnic_rq_post(struct vnic_rq *rq, in vnic_rq_post()
157 static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count) in vnic_rq_return_descs()
167 static inline void vnic_rq_service(struct vnic_rq *rq, in vnic_rq_service()
169 int desc_return, void (*buf_service)(struct vnic_rq *rq, in vnic_rq_service()
195 static inline int vnic_rq_fill(struct vnic_rq *rq, in vnic_rq_fill()
196 int (*buf_fill)(struct vnic_rq *rq)) in vnic_rq_fill()
211 static inline void enic_busy_poll_init_lock(struct vnic_rq *rq) in enic_busy_poll_init_lock()
216 static inline bool enic_poll_lock_napi(struct vnic_rq *rq) in enic_poll_lock_napi()
224 static inline void enic_poll_unlock_napi(struct vnic_rq *rq, in enic_poll_unlock_napi()
232 static inline bool enic_poll_lock_poll(struct vnic_rq *rq) in enic_poll_lock_poll()
241 static inline void enic_poll_unlock_poll(struct vnic_rq *rq) in enic_poll_unlock_poll()
247 static inline bool enic_poll_busy_polling(struct vnic_rq *rq) in enic_poll_busy_polling()
254 static inline void enic_busy_poll_init_lock(struct vnic_rq *rq) in enic_busy_poll_init_lock()
258 static inline bool enic_poll_lock_napi(struct vnic_rq *rq) in enic_poll_lock_napi()
263 static inline bool enic_poll_unlock_napi(struct vnic_rq *rq, in enic_poll_unlock_napi()
269 static inline bool enic_poll_lock_poll(struct vnic_rq *rq) in enic_poll_lock_poll()
274 static inline bool enic_poll_unlock_poll(struct vnic_rq *rq) in enic_poll_unlock_poll()
279 static inline bool enic_poll_ll_polling(struct vnic_rq *rq) in enic_poll_ll_polling()
285 void vnic_rq_free(struct vnic_rq *rq);
286 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
288 void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
291 unsigned int vnic_rq_error_status(struct vnic_rq *rq);
292 void vnic_rq_enable(struct vnic_rq *rq);
293 int vnic_rq_disable(struct vnic_rq *rq);
294 void vnic_rq_clean(struct vnic_rq *rq,
295 void (*buf_clean)(struct vnic_rq *rq, struct vnic_rq_buf *buf));