Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs.h107 struct mlx5e_rx_res *rx_res, bool ntuple);
108 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple);
115 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
117 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument
151 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple,
/linux/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/tools/testing/selftests/drivers/net/hw/
H A Drss_ctx.py56 if not features["ntuple-filters"]["active"]:
57 # ntuple is more of a capability than a config knob, don't bother
59 raise KsftSkipEx("Ntuple filters not enabled on the device: " + str(features["ntuple-filters"]))
110 """Check that ntuple rule references RSS context ID"""
113 ksft_true(re.search(pattern, text), "RSS context not referenced in ntuple rule")
241 ntuple = ethtool_create(cfg, "-N", flow)
242 defer(ethtool, f"-N {cfg.ifname} delete {ntuple}")
276 # ntuple rule therefore targets queues 1 and 3
285 ksft_eq(ntuple, ntuple2)
491 ntuple
[all...]
/linux/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/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c740 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc() local
750 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc()
756 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
760 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
771 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc() local
775 pfvf->flow_cfg->ntuple = ntuple; in otx2_set_rxnfc()
778 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
782 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
H 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()
H A Dotx2_common.c2033 bool ntuple = !!(features & NETIF_F_NTUPLE); in otx2_handle_ntuple_tc_features() local
2036 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()
2053 if ((changed & NETIF_F_NTUPLE) && ntuple && in otx2_handle_ntuple_tc_features()
/linux/drivers/net/ethernet/chelsio/cxgb4/
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()
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 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()
/linux/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.
444 - aRFS and ethtool's ntuple interface both use the device's Flow Director. aRFS
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
[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
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dkconfig.rst61 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering.
/linux/Documentation/networking/
H A Dscaling.rst72 be configured from ethtool (--config-ntuple).
448 It also requires that ntuple filtering is enabled via ethtool. The map
/linux/Documentation/networking/device_drivers/ethernet/marvell/
H A Docteontx2.rst112 flow control, ntuple filters, dump PHY EEPROM, config FEC etc.