/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | fs.h | 101 struct mlx5e_rx_res *rx_res, bool ntuple); 102 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple); 109 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument 111 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument 144 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple,
|
/linux/kernel/bpf/ |
H A D | mprog.c | 110 struct bpf_tuple *ntuple, int idx) in bpf_mprog_replace() argument 118 bpf_mprog_write(fp, cp, ntuple); in bpf_mprog_replace() 119 if (!ntuple->link) { in bpf_mprog_replace() 129 struct bpf_tuple *ntuple, int idx, u32 flags) in bpf_mprog_insert() argument 145 bpf_mprog_write(fp, cp, ntuple); in bpf_mprog_insert() 231 struct bpf_tuple rtuple, ntuple = { in bpf_mprog_attach() local 289 ret = bpf_mprog_replace(entry, entry_new, &ntuple, idx); in bpf_mprog_attach() 291 ret = bpf_mprog_insert(entry, entry_new, &ntuple, idx, flags); in bpf_mprog_attach()
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | rss_ctx.py | 227 ntuple = ethtool_create(cfg, "-N", flow) 271 ksft_eq(ntuple, ntuple2) 474 ntuple = ethtool_create(cfg, "-N", flow) 477 _ntuple_rule_check(cfg, ntuple, ctx_id) 527 ntuple = [] 532 ntuple[idx].exec() 533 ntuple[idx] = None 564 ntuple.append(defer(ethtool, f"-N {cfg.ifname} delete {ntuple_id}")) 617 ntuple = defer(ethtool, f"-N {cfg.ifname} delete {ntuple_id}") 632 ntuple.exec()
|
/linux/Documentation/networking/device_drivers/ethernet/aquantia/ |
H A D | atlantic.rst | 256 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 programmed 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/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 723 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc() local 733 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc() 739 if (netif_running(dev) && ntuple) in otx2_get_rxnfc() 743 if (netif_running(dev) && ntuple) in otx2_get_rxnfc() 756 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc() local 760 pfvf->flow_cfg->ntuple = ntuple; in otx2_set_rxnfc() 766 if (netif_running(dev) && ntuple) in otx2_set_rxnfc() 770 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_filter.c | 1241 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() 1257 ntuple |= (u64)fs->val.proto << 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() 1279 ntuple |= (u64)(fs->val.macidx) << tp->macmatch_shift; in hash_filter_ntuple() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_arfs.c | 202 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()
|
H A D | Kconfig | 44 Enables ethernet netdevice arfs support and ntuple filtering.
|
H A D | en_fs.c | 1362 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple, in mlx5e_destroy_flow_steering() argument 1370 mlx5e_arfs_destroy_tables(fs, ntuple); in mlx5e_destroy_flow_steering()
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | ixgbe.rst | 334 # 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
|
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | kconfig.rst | 61 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering.
|
/linux/Documentation/networking/ |
H A D | devmem.rst | 94 ethtool -K eth1 ntuple on
|
H A D | scaling.rst | 65 be configured from ethtool (--config-ntuple). 439 It also requires that ntuple filtering is enabled via ethtool. The map
|