Home
last modified time | relevance | path

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

/linux/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/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.py227 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 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.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()
/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()
H A DKconfig44 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/Documentation/networking/device_drivers/ethernet/intel/
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 Ddevmem.rst94 ethtool -K eth1 ntuple on
H A Dscaling.rst65 be configured from ethtool (--config-ntuple).
439 It also requires that ntuple filtering is enabled via ethtool. The map