Lines Matching refs:l2_fltr
5066 bnxt_del_l2_filter(bp, fltr->l2_fltr); in bnxt_free_ntp_fltrs()
5987 struct bnxt_l2_filter *l2_fltr; in bnxt_hwrm_cfa_ntuple_filter_alloc() local
5995 l2_fltr = fltr->l2_fltr; in bnxt_hwrm_cfa_ntuple_filter_alloc()
5996 req->l2_filter_id = l2_fltr->base.filter_id; in bnxt_hwrm_cfa_ntuple_filter_alloc()
12010 struct bnxt_l2_filter *l2_fltr; in bnxt_cfg_one_usr_fltr() local
12017 l2_fltr = bp->vnic_info[BNXT_VNIC_DEFAULT].l2_filters[0]; in bnxt_cfg_one_usr_fltr()
12018 atomic_inc(&l2_fltr->refcnt); in bnxt_cfg_one_usr_fltr()
12019 ntp_fltr->l2_fltr = l2_fltr; in bnxt_cfg_one_usr_fltr()
12026 l2_fltr = container_of(fltr, struct bnxt_l2_filter, base); in bnxt_cfg_one_usr_fltr()
12027 if (bnxt_hwrm_l2_filter_alloc(bp, l2_fltr)) { in bnxt_cfg_one_usr_fltr()
12028 bnxt_del_l2_filter(bp, l2_fltr); in bnxt_cfg_one_usr_fltr()
14666 f1->l2_fltr == f2->l2_fltr; in bnxt_fltr_match()
14692 struct bnxt_l2_filter *l2_fltr; in bnxt_rx_flow_steer() local
14697 l2_fltr = bp->vnic_info[BNXT_VNIC_DEFAULT].l2_filters[0]; in bnxt_rx_flow_steer()
14698 atomic_inc(&l2_fltr->refcnt); in bnxt_rx_flow_steer()
14704 l2_fltr = bnxt_lookup_l2_filter_from_key(bp, &key); in bnxt_rx_flow_steer()
14705 if (!l2_fltr) in bnxt_rx_flow_steer()
14707 if (l2_fltr->base.flags & BNXT_ACT_FUNC_DST) { in bnxt_rx_flow_steer()
14708 bnxt_del_l2_filter(bp, l2_fltr); in bnxt_rx_flow_steer()
14714 bnxt_del_l2_filter(bp, l2_fltr); in bnxt_rx_flow_steer()
14745 new_fltr->l2_fltr = l2_fltr; in bnxt_rx_flow_steer()
14766 bnxt_del_l2_filter(bp, l2_fltr); in bnxt_rx_flow_steer()
14783 bnxt_del_l2_filter(bp, fltr->l2_fltr); in bnxt_del_ntp_filter()