vnic_rq
struct vnic_rq vrq;
static void enic_set_int_moderation(struct enic *enic, struct vnic_rq *rq)
static void enic_calc_int_moderation(struct enic *enic, struct vnic_rq *rq)
static inline void enic_queue_rq_desc(struct vnic_rq *rq,
static bool enic_rq_pkt_error(struct vnic_rq *vrq, u8 packet_error, u8 fcs_ok,
int enic_rq_alloc_buf(struct vnic_rq *rq)
void enic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf)
static void enic_rq_indicate_buf(struct enic *enic, struct vnic_rq *rq,
struct vnic_rq *vrq = &enic->rq[q_number].vrq;
static void enic_rq_set_skb_flags(struct vnic_rq *vrq, u8 type, u32 rss_hash,
int enic_rq_alloc_buf(struct vnic_rq *rq);
void enic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf);
static void vnic_rq_init_start(struct vnic_rq *rq, unsigned int cq_index,
void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
unsigned int vnic_rq_error_status(struct vnic_rq *rq)
void vnic_rq_enable(struct vnic_rq *rq)
int vnic_rq_disable(struct vnic_rq *rq)
void vnic_rq_clean(struct vnic_rq *rq,
void (*buf_clean)(struct vnic_rq *rq, struct vnic_rq_buf *buf))
static int vnic_rq_alloc_bufs(struct vnic_rq *rq)
void vnic_rq_free(struct vnic_rq *rq)
int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
static inline unsigned int vnic_rq_next_index(struct vnic_rq *rq)
static inline void vnic_rq_post(struct vnic_rq *rq,
static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count)
static inline void vnic_rq_service(struct vnic_rq *rq,
int desc_return, void (*buf_service)(struct vnic_rq *rq,
static inline int vnic_rq_fill(struct vnic_rq *rq,
int (*buf_fill)(struct vnic_rq *rq))
void vnic_rq_free(struct vnic_rq *rq);
int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
unsigned int vnic_rq_error_status(struct vnic_rq *rq);
void vnic_rq_enable(struct vnic_rq *rq);
int vnic_rq_disable(struct vnic_rq *rq);
void vnic_rq_clean(struct vnic_rq *rq,
void (*buf_clean)(struct vnic_rq *rq, struct vnic_rq_buf *buf));
static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq)
static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq)
static inline void *vnic_rq_next_desc(struct vnic_rq *rq)
____cacheline_aligned struct vnic_rq rq[FNIC_RQ_MAX];
int fnic_alloc_rq_frame(struct vnic_rq *rq);
void fnic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf);
static void fnic_rq_cmpl_frame_recv(struct vnic_rq *rq, struct cq_desc
int fnic_alloc_rq_frame(struct vnic_rq *rq)
void fnic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf)
static inline void fnic_queue_rq_desc(struct vnic_rq *rq,
unsigned int vnic_rq_error_status(struct vnic_rq *rq)
void vnic_rq_enable(struct vnic_rq *rq)
int vnic_rq_disable(struct vnic_rq *rq)
static int vnic_rq_alloc_bufs(struct vnic_rq *rq)
void vnic_rq_clean(struct vnic_rq *rq,
void (*buf_clean)(struct vnic_rq *rq, struct vnic_rq_buf *buf))
void vnic_rq_free(struct vnic_rq *rq)
int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
static inline void *vnic_rq_next_desc(struct vnic_rq *rq)
static inline unsigned int vnic_rq_next_index(struct vnic_rq *rq)
static inline unsigned int vnic_rq_next_buf_index(struct vnic_rq *rq)
static inline void vnic_rq_post(struct vnic_rq *rq,
static inline int vnic_rq_posting_soon(struct vnic_rq *rq)
static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count)
static inline void vnic_rq_service(struct vnic_rq *rq,
int desc_return, void (*buf_service)(struct vnic_rq *rq,
static inline int vnic_rq_fill(struct vnic_rq *rq,
int (*buf_fill)(struct vnic_rq *rq))
void vnic_rq_free(struct vnic_rq *rq);
int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index,
void vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index,
unsigned int vnic_rq_error_status(struct vnic_rq *rq);
void vnic_rq_enable(struct vnic_rq *rq);
int vnic_rq_disable(struct vnic_rq *rq);
void vnic_rq_clean(struct vnic_rq *rq,
void (*buf_clean)(struct vnic_rq *rq, struct vnic_rq_buf *buf));
static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq)
static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq)