Home
last modified time | relevance | path

Searched refs:cfa_code (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.h21 struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code);
50 static inline struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code) in bnxt_get_vf_rep() argument
Dbnxt_vfr.c182 struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code) in bnxt_get_vf_rep() argument
186 if (cfa_code && bp->cfa_code_map && BNXT_PF(bp)) { in bnxt_get_vf_rep()
187 vf_idx = bp->cfa_code_map[cfa_code]; in bnxt_get_vf_rep()
Dbnxt.h855 u16 cfa_code; /* cfa_code in TPA start compl */ member
Dbnxt.c1237 tpa_info->cfa_code = TPA_START_CFA_CODE(tpa_start1); in bnxt_tpa_start()
1492 static struct net_device *bnxt_get_pkt_dev(struct bnxt *bp, u16 cfa_code) in bnxt_get_pkt_dev() argument
1494 struct net_device *dev = bnxt_get_vf_rep(bp, cfa_code); in bnxt_get_pkt_dev()
1612 eth_type_trans(skb, bnxt_get_pkt_dev(bp, tpa_info->cfa_code)); in bnxt_tpa_end()
1679 u16 cfa_code, cons, prod, cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt() local
1827 cfa_code = RX_CMP_CFA_CODE(rxcmp1); in bnxt_rx_pkt()
1828 skb->protocol = eth_type_trans(skb, bnxt_get_pkt_dev(bp, cfa_code)); in bnxt_rx_pkt()