Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs.h101 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-6.15/kernel/bpf/
H A Dmprog.c110 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-6.15/tools/testing/selftests/drivers/net/hw/
H A Drss_ctx.py236 ntuple = ethtool_create(cfg, "-N", flow)
280 ksft_eq(ntuple, ntuple2)
485 ntuple = ethtool_create(cfg, "-N", flow)
488 _ntuple_rule_check(cfg, ntuple, ctx_id)
537 ntuple = []
542 ntuple[idx].exec()
543 ntuple[idx] = None
574 ntuple.append(defer(ethtool, f"-N {cfg.ifname} delete {ntuple_id}"))
626 ntuple = defer(ethtool, f"-N {cfg.ifname} delete {ntuple_id}")
641 ntuple.exec()
/linux-6.15/drivers/net/ethernet/chelsio/cxgb4/
H 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()
H 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 …]
/linux-6.15/Documentation/networking/device_drivers/ethernet/aquantia/
H A 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 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-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c723 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()
H A Dotx2_tc.c1510 bool ntuple; in otx2_setup_tc_block_ingress_cb() local
1515 ntuple = nic->netdev->features & NETIF_F_NTUPLE; in otx2_setup_tc_block_ingress_cb()
1518 if (ntuple) { in otx2_setup_tc_block_ingress_cb()
H A Dotx2_common.c2027 bool ntuple = !!(features & NETIF_F_NTUPLE); in otx2_handle_ntuple_tc_features() local
2030 if ((changed & NETIF_F_NTUPLE) && !ntuple) in otx2_handle_ntuple_tc_features()
2033 if ((changed & NETIF_F_NTUPLE) && ntuple) { in otx2_handle_ntuple_tc_features()
2047 if ((changed & NETIF_F_NTUPLE) && ntuple && in otx2_handle_ntuple_tc_features()
H A Dotx2_common.h358 bool ntuple; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H 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()
H A DKconfig45 Enables ethernet netdevice arfs support and ntuple filtering.
H A Den_fs.c1362 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-6.15/Documentation/networking/devlink/
H A Docteontx2.rst26 The same is used for ntuple filters of the interface. Supported by
/linux-6.15/Documentation/networking/device_drivers/ethernet/intel/
H A Dice.rst255 characteristics. They are enabled through ethtool's ntuple interface. To enable
258 # ethtool -K <ethX> ntuple <off|on>
260 NOTE: When you disable ntuple filters, all the user programmed filters are
262 when ntuple is re-enabled.
435 - aRFS requires that ntuple filtering is enabled via ethtool.
445 and ntuple features can coexist, but you may encounter unexpected results if
446 there's a conflict between aRFS and ntuple requests. See "Intel(R) Ethernet
451 1. Enable the Intel Ethernet Flow Director and ntuple filters using ethtool.
455 # ethtool -K <ethX> ntuple on
487 # ethtool -K <ethX> ntuple off
[all …]
H A 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
H 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.15/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dkconfig.rst61 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering.
/linux-6.15/Documentation/networking/
H A Ddevmem.rst94 ethtool -K eth1 ntuple on
H A Dscaling.rst72 be configured from ethtool (--config-ntuple).
448 It also requires that ntuple filtering is enabled via ethtool. The map
/linux-6.15/Documentation/networking/device_drivers/ethernet/marvell/
H A Docteontx2.rst112 flow control, ntuple filters, dump PHY EEPROM, config FEC etc.