Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h99 struct mlx5e_rx_res *rx_res, bool ntuple);
100 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple);
107 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
109 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument
142 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple,
/linux-6.1.9/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 …]
/linux-6.1.9/Documentation/networking/device_drivers/ethernet/aquantia/
Datlantic.rst256 RX flow rules (ntuple filters)
266 The driver utilizes the ethtool interface for configuring ntuple filters,
271 ethtool -K ethX ntuple <on|off>
273 When disabling ntuple filters, all the user programed filters are
275 be re-added when ntuple is re-enabled.
290 ``<-N|-U|--config-nfc|--config-ntuple>`` switch::
342 ethtool <-u|-n|--show-nfc|--show-ntuple> <ethX>
346 sudo ethtool <-N|-U|--config-nfc|--config-ntuple> <ethX> delete <loc>
/linux-6.1.9/Documentation/networking/devlink/
Docteontx2.rst26 The same is used for ntuple filters of the interface. Supported by
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c719 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc() local
729 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc()
735 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
739 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
752 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc() local
761 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
765 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
Dotx2_common.c1779 bool ntuple = !!(features & NETIF_F_NTUPLE); in otx2_handle_ntuple_tc_features() local
1782 if ((changed & NETIF_F_NTUPLE) && !ntuple) in otx2_handle_ntuple_tc_features()
1785 if ((changed & NETIF_F_NTUPLE) && ntuple) { in otx2_handle_ntuple_tc_features()
1807 if ((changed & NETIF_F_NTUPLE) && ntuple && in otx2_handle_ntuple_tc_features()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c185 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) in mlx5e_arfs_destroy_tables() argument
189 if (!ntuple) in mlx5e_arfs_destroy_tables()
365 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
371 if (!ntuple) in mlx5e_arfs_create_tables()
DKconfig43 Enables ethernet netdevice arfs support and ntuple filtering.
Den_fs.c1363 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple, in mlx5e_destroy_flow_steering() argument
1371 mlx5e_arfs_destroy_tables(fs, ntuple); in mlx5e_destroy_flow_steering()
/linux-6.1.9/Documentation/networking/device_drivers/ethernet/intel/
Dice.rst242 characteristics. They are enabled through ethtool's ntuple interface. To enable
245 # ethtool -K <ethX> ntuple <off|on>
247 NOTE: When you disable ntuple filters, all the user programmed filters are
249 when ntuple is re-enabled.
409 - aRFS requires that ntuple filtering is enabled via ethtool.
418 - aRFS and ethtool's ntuple interface both use the device's Flow Director. aRFS
419 and ntuple features can coexist, but you may encounter unexpected results if
420 there's a conflict between aRFS and ntuple requests. See "Intel(R) Ethernet
425 1. Enable the Intel Ethernet Flow Director and ntuple filters using ethtool.
429 # ethtool -K <ethX> ntuple on
[all …]
Dixgbe.rst334 # ethtool -K ethX ntuple <on|off>
336 When disabling ntuple filters, all the user programmed filters are flushed from
337 the driver cache and hardware. All needed filters must be re-added when ntuple
352 characteristics. They are enabled through ethtool's ntuple interface. To add a
Di40e.rst147 # ethtool -K ethX ntuple <on|off>
149 When disabling ntuple filters, all the user programmed filters are flushed from
150 the driver cache and hardware. All needed filters must be re-added when ntuple
176 ethtool -K [adapter] ntuple [off|on]
188 characteristics. They are enabled through ethtool's ntuple interface. To add a
/linux-6.1.9/Documentation/networking/device_drivers/ethernet/marvell/
Docteontx2.rst110 flow control, ntuple filters, dump PHY EEPROM, config FEC etc.
/linux-6.1.9/Documentation/networking/
Dscaling.rst50 be configured from ethtool (--config-ntuple).
382 It also requires that ntuple filtering is enabled via ethtool. The map
/linux-6.1.9/Documentation/networking/device_drivers/ethernet/mellanox/
Dmlx5.rst45 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering.