Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c1201 if (tp->vnic_shift >= 0) { in is_filter_exact_match()
1203 ntuple_mask |= (u64)fs->mask.pfvf_vld << tp->vnic_shift; in is_filter_exact_match()
1206 tp->vnic_shift; in is_filter_exact_match()
1263 if (tp->vnic_shift >= 0) { in hash_filter_ntuple()
1267 (fs->val.ovlan)) << tp->vnic_shift; in hash_filter_ntuple()
1272 (fs->val.vf)) << tp->vnic_shift; in hash_filter_ntuple()
1275 (fs->val.ovlan)) << tp->vnic_shift; in hash_filter_ntuple()
H A Dl2t.c493 if (tp->vnic_shift >= 0 && (tp->ingress_config & VNIC_F)) { in cxgb4_select_ntuple()
498 FT_VNID_ID_VLD_V(pi->vivld)) << tp->vnic_shift; in cxgb4_select_ntuple()
H A Dcxgb4.h379 int vnic_shift; member
H A Dt4_hw.c9481 adap->params.tp.vnic_shift = t4_filter_field_shift(adap, VNIC_ID_F); in t4_init_tp_params()
9499 adap->params.tp.vnic_shift = -1; in t4_init_tp_params()