Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dfs.h106 struct mlx5e_rx_res *rx_res, bool ntuple);
107 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple);
114 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
116 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument
149 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple,
/drivers/net/ethernet/chelsio/cxgb4/
A 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()
A Dcxgb4_filter.c1241 u64 ntuple = 0; in hash_filter_ntuple() local
1247 ntuple |= (u64)(FT_VLAN_VLD_F | in hash_filter_ntuple()
1251 ntuple |= (u64)fs->val.iport << tp->port_shift; in hash_filter_ntuple()
1255 ntuple |= (u64)IPPROTO_TCP << tp->protocol_shift; in hash_filter_ntuple()
1261 ntuple |= (u64)(fs->val.tos) << tp->tos_shift; in hash_filter_ntuple()
1266 ntuple |= (u64)((fs->val.encap_vld << 16) | in hash_filter_ntuple()
1270 ntuple |= (u64)((fs->val.pfvf_vld << 16) | in hash_filter_ntuple()
1274 ntuple |= (u64)((fs->val.ovlan_vld << 16) | in hash_filter_ntuple()
1288 ntuple |= (u64)(fs->val.frag) << tp->frag_shift; in hash_filter_ntuple()
1291 ntuple |= (u64)(fs->val.fcoe) << tp->fcoe_shift; in hash_filter_ntuple()
[all …]
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ethtool.c732 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc() local
742 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc()
748 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
752 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
763 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc() local
767 pfvf->flow_cfg->ntuple = ntuple; in otx2_set_rxnfc()
770 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
774 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
A Dotx2_common.c2019 bool ntuple = !!(features & NETIF_F_NTUPLE); in otx2_handle_ntuple_tc_features() local
2022 if ((changed & NETIF_F_NTUPLE) && !ntuple) in otx2_handle_ntuple_tc_features()
2025 if ((changed & NETIF_F_NTUPLE) && ntuple) { in otx2_handle_ntuple_tc_features()
2039 if ((changed & NETIF_F_NTUPLE) && ntuple && in otx2_handle_ntuple_tc_features()
A Dotx2_tc.c1511 bool ntuple; in otx2_setup_tc_block_ingress_cb() local
1516 ntuple = nic->netdev->features & NETIF_F_NTUPLE; in otx2_setup_tc_block_ingress_cb()
1519 if (ntuple) { in otx2_setup_tc_block_ingress_cb()
A Dotx2_common.h363 bool ntuple; member
/drivers/net/ethernet/mellanox/mlx5/core/
A Den_arfs.c202 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) in mlx5e_arfs_destroy_tables() argument
206 if (!ntuple) in mlx5e_arfs_destroy_tables()
386 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
392 if (!ntuple) in mlx5e_arfs_create_tables()
A DKconfig45 Enables ethernet netdevice arfs support and ntuple filtering.
A Den_fs.c1366 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple, in mlx5e_destroy_flow_steering() argument
1374 mlx5e_arfs_destroy_tables(fs, ntuple); in mlx5e_destroy_flow_steering()

Completed in 41 milliseconds