oce_rq
struct oce_rq **rss_queuep = &dev->rq[1];
static struct oce_rq *oce_rq_init(struct oce_dev *dev, uint32_t q_len,
static void oce_rq_fini(struct oce_dev *dev, struct oce_rq *rq);
static int oce_rq_create(struct oce_rq *rq, uint32_t if_id, struct oce_eq *eq);
static void oce_rq_del(struct oce_dev *dev, struct oce_rq *rq);
static struct oce_rq *
struct oce_rq *rq;
rq = kmem_zalloc(sizeof (struct oce_rq), KM_NOSLEEP);
kmem_free(rq, sizeof (struct oce_rq));
oce_rq_fini(struct oce_dev *dev, struct oce_rq *rq)
kmem_free(rq, sizeof (struct oce_rq));
oce_rq_create(struct oce_rq *rq, uint32_t if_id, struct oce_eq *eq)
oce_rq_del(struct oce_dev *dev, struct oce_rq *rq)
oce_rqb_cache_destroy(struct oce_rq *rq)
oce_rqb_ctor(oce_rq_bdesc_t *rqbd, struct oce_rq *rq, size_t size, int flags)
oce_rqb_alloc(struct oce_rq *rq)
oce_rqb_free(struct oce_rq *rq, oce_rq_bdesc_t *rqbd)
static void oce_rq_post_buffer(struct oce_rq *rq, int nbufs)
oce_rq_charge(struct oce_rq *rq, uint32_t nbufs, boolean_t repost)
oce_rq_discharge(struct oce_rq *rq)
oce_rx(struct oce_dev *dev, struct oce_rq *rq, struct oce_nic_rx_cqe *cqe)
static int oce_rqb_ctor(oce_rq_bdesc_t *rqbd, struct oce_rq *rq,
static inline mblk_t *oce_rx(struct oce_dev *dev, struct oce_rq *rq,
oce_rx_bcopy(struct oce_dev *dev, struct oce_rq *rq, struct oce_nic_rx_cqe *cqe)
struct oce_rq *rq, struct oce_nic_rx_cqe *cqe);
static int oce_rq_charge(struct oce_rq *rq, uint32_t nbufs, boolean_t repost);
static inline void oce_rx_drop_pkt(struct oce_rq *rq,
static oce_rq_bdesc_t *oce_rqb_alloc(struct oce_rq *rq);
static void oce_rqb_free(struct oce_rq *rq, oce_rq_bdesc_t *rqbd);
oce_rx_drop_pkt(struct oce_rq *rq, struct oce_nic_rx_cqe *cqe)
static void oce_rq_post_buffer(struct oce_rq *rq, int nbufs);
struct oce_rq *rq;
rq = (struct oce_rq *)arg;
struct oce_rq *rq;
oce_clean_rq(struct oce_rq *rq)
oce_start_rq(struct oce_rq *rq)
oce_rx_pending(struct oce_dev *dev, struct oce_rq *rq, int32_t timeout)
oce_rqb_cache_create(struct oce_rq *rq, size_t buf_size)
int oce_rqb_cache_create(struct oce_rq *rq, size_t buf_size);
void oce_rqb_cache_destroy(struct oce_rq *rq);
struct oce_rq *rq;
struct oce_rq *rq[OCE_MAX_RQ]; /* RXQ Array */
int oce_start_rq(struct oce_rq *rq);
void oce_clean_rq(struct oce_rq *rq);
void oce_rq_discharge(struct oce_rq *rq);
int oce_rx_pending(struct oce_dev *dev, struct oce_rq *rq, int32_t timeout);