Searched refs:cqe_rx (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 1276 struct sk_buff *nicvf_get_rcv_skb(struct nicvf *nic, struct cqe_rx_t *cqe_rx) in nicvf_get_rcv_skb() argument 1286 rb_lens = (void *)cqe_rx + (3 * sizeof(u64)); in nicvf_get_rcv_skb() 1295 rb_ptrs = (void *)cqe_rx + (6 * sizeof(u64)); in nicvf_get_rcv_skb() 1297 rb_ptrs = (void *)cqe_rx + (7 * sizeof(u64)); in nicvf_get_rcv_skb() 1300 __func__, cqe_rx->rb_cnt, cqe_rx->rb0_ptr, cqe_rx->rb0_sz); in nicvf_get_rcv_skb() 1302 for (frag = 0; frag < cqe_rx->rb_cnt; frag++) { in nicvf_get_rcv_skb() 1307 *rb_ptrs - cqe_rx->align_pad, in nicvf_get_rcv_skb() 1311 skb_reserve(skb, cqe_rx->align_pad); in nicvf_get_rcv_skb() 1442 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx) in nicvf_check_cqe_rx_errs() argument 1444 if (!cqe_rx->err_level && !cqe_rx->err_opcode) in nicvf_check_cqe_rx_errs() [all …]
|
D | nicvf_main.c | 539 struct cqe_rx_t *cqe_rx, in nicvf_set_rxhash() argument 548 switch (cqe_rx->rss_alg) { in nicvf_set_rxhash() 552 hash = cqe_rx->rss_tag; in nicvf_set_rxhash() 556 hash = cqe_rx->rss_tag; in nicvf_set_rxhash() 568 struct cqe_rx_t *cqe_rx) in nicvf_rcv_pkt_handler() argument 575 rq_idx = nicvf_netdev_qidx(nic, cqe_rx->rq_idx); in nicvf_rcv_pkt_handler() 584 err = nicvf_check_cqe_rx_errs(nic, cqe_rx); in nicvf_rcv_pkt_handler() 585 if (err && !cqe_rx->rb_cnt) in nicvf_rcv_pkt_handler() 588 skb = nicvf_get_rcv_skb(nic, cqe_rx); in nicvf_rcv_pkt_handler() 607 nicvf_set_rxhash(netdev, cqe_rx, skb); in nicvf_rcv_pkt_handler() [all …]
|
D | nicvf_queues.h | 297 struct sk_buff *nicvf_get_rcv_skb(struct nicvf *nic, struct cqe_rx_t *cqe_rx); 319 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx);
|