Home
last modified time | relevance | path

Searched refs:ntuple (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c479 u64 ntuple = 0; in cxgb4_select_ntuple() local
485 ntuple |= (u64)(FT_VLAN_VLD_F | l2t->vlan) << tp->vlan_shift; in cxgb4_select_ntuple()
488 ntuple |= (u64)l2t->lport << tp->port_shift; in cxgb4_select_ntuple()
491 ntuple |= (u64)IPPROTO_TCP << tp->protocol_shift; in cxgb4_select_ntuple()
496 ntuple |= (u64)(FT_VNID_ID_VF_V(pi->vin) | in cxgb4_select_ntuple()
501 return ntuple; in cxgb4_select_ntuple()
Dcxgb4_filter.c1241 u64 ntuple = 0; in hash_filter_ntuple() local
1247 ntuple |= (FT_VLAN_VLD_F | fs->val.ivlan) << tp->vlan_shift; in hash_filter_ntuple()
1250 ntuple |= (u64)fs->val.iport << tp->port_shift; in hash_filter_ntuple()
1254 ntuple |= (u64)IPPROTO_TCP << tp->protocol_shift; in hash_filter_ntuple()
1256 ntuple |= (u64)fs->val.proto << tp->protocol_shift; in hash_filter_ntuple()
1260 ntuple |= (u64)(fs->val.tos) << tp->tos_shift; in hash_filter_ntuple()
1265 ntuple |= (u64)((fs->val.encap_vld << 16) | in hash_filter_ntuple()
1269 ntuple |= (u64)((fs->val.pfvf_vld << 16) | in hash_filter_ntuple()
1273 ntuple |= (u64)((fs->val.ovlan_vld << 16) | in hash_filter_ntuple()
1278 ntuple |= (u64)(fs->val.macidx) << tp->macmatch_shift; in hash_filter_ntuple()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
DKconfig48 Enables ethernet netdevice arfs support and ntuple filtering.