Home
last modified time | relevance | path

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

/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.py261 ntuple = ethtool_create(cfg, "-N", flow)
305 ksft_eq(ntuple, ntuple2)
510 ntuple = ethtool_create(cfg, "-N", flow)
513 _ntuple_rule_check(cfg, ntuple, ctx_id)
562 ntuple = []
567 ntuple[idx].exec()
568 ntuple[idx] = None
598 ntuple.append(defer(ethtool, f"-N {cfg.ifname} delete {ntuple_id}"))
650 ntuple = defer(ethtool, f"-N {cfg.ifname} delete {ntuple_id}")
665 ntuple.exec()
H A DMakefile40 ntuple.py \
/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/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()
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/marvell/octeontx2/nic/
H A Dotx2_ethtool.c749 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_get_rxnfc() local
755 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc()
761 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
765 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
776 bool ntuple = !!(dev->features & NETIF_F_NTUPLE); in otx2_set_rxnfc() local
780 pfvf->flow_cfg->ntuple = ntuple; in otx2_set_rxnfc()
783 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
787 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
H A Dotx2_common.c2035 bool ntuple = !!(features & NETIF_F_NTUPLE); in otx2_handle_ntuple_tc_features() local
2038 if ((changed & NETIF_F_NTUPLE) && !ntuple) in otx2_handle_ntuple_tc_features()
2041 if ((changed & NETIF_F_NTUPLE) && ntuple) { in otx2_handle_ntuple_tc_features()
2055 if ((changed & NETIF_F_NTUPLE) && ntuple && in otx2_handle_ntuple_tc_features()
/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()
385 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
391 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