Home
last modified time | relevance | path

Searched full:rxhash (Results 1 – 23 of 23) sorted by relevance

/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Dflow.json466 "name": "Add flow filter with rxhash map key",
477 …$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key rxhash addend 0xff",
480 …er parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys rxhash addend 0xff basecl…
542 …"$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key rxhash addend 0xff…
543 … "$TC filter add dev $DEV1 parent ffff: handle 2 prio 1 protocol ip flow map key rxhash or 0xff"
548 "matchPattern": "filter protocol ip pref 1 flow chain 0 handle 0x[0-9]+ map keys rxhash",
566 …"$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key rxhash addend 0xff"
568 … filter change dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key rxhash addend 0x22",
571 …er parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys rxhash addend 0x22 basecl…
589 …"$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key rxhash addend 0xff"
[all …]
/linux/tools/testing/selftests/net/
H A Dtoeplitz.sh
/linux/tools/testing/selftests/drivers/net/hw/
H A Dtoeplitz.py6 - rxhash (the hash value calculation itself);
7 - RSS mapping from rxhash to rx queue;
8 - RPS mapping from rxhash to cpu.
151 # Check that rxhash is enabled
H A Dtoeplitz.c182 /* Compare computed rxhash with rxhash received from tpacket_v3 */
401 * (a) only testing rxhash, not RSS or (b) <= 256 cpus. in create_ring()
/linux/drivers/net/
H A Dtun.c161 u32 rxhash; member
301 static inline u32 tun_hashfn(u32 rxhash) in tun_hashfn() argument
303 return rxhash & TUN_MASK_FLOW_ENTRIES; in tun_hashfn()
306 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash) in tun_flow_find() argument
311 if (e->rxhash == rxhash) in tun_flow_find()
319 u32 rxhash, u16 queue_index) in tun_flow_create() argument
326 rxhash, queue_index); in tun_flow_create()
328 e->rxhash = rxhash; in tun_flow_create()
411 tun_flow_update(struct tun_struct * tun,u32 rxhash,struct tun_file * tfile) tun_flow_update() argument
980 __u32 rxhash; tun_automq_xmit() local
1710 u32 rxhash = 0; tun_get_user() local
2390 u32 rxhash = 0, act; tun_xdp_one() local
[all...]
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-net.c882 netdev_features_t rxhash, rxcsum, rxvlan, rxvlan_filter; in xlgmac_set_features() local
887 rxhash = pdata->netdev_features & NETIF_F_RXHASH; in xlgmac_set_features()
892 if ((features & NETIF_F_RXHASH) && !rxhash) in xlgmac_set_features()
894 else if (!(features & NETIF_F_RXHASH) && rxhash) in xlgmac_set_features()
/linux/tools/bpf/
H A Dbpf_exp.l122 "#"?("rxhash") {
/linux/net/sched/
H A Dsch_sfb.c30 * This permits us to split one 32bit hash (provided per packet by rxhash or
99 * If using 'internal' SFB flow classifier, hash comes from skb rxhash
H A Dem_meta.c672 [META_ID(RXHASH)] = META_FUNC(int_rxhash),
H A Dsch_fq.c9 * If not, (router workload), we use rxhash as fallback, with 32 bits wide hash.
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c1983 netdev_features_t rxhash, rxcsum, rxvlan, rxvlan_filter; in xgbe_set_features() local
1986 rxhash = pdata->netdev_features & NETIF_F_RXHASH; in xgbe_set_features()
1991 if ((features & NETIF_F_RXHASH) && !rxhash) in xgbe_set_features()
1993 else if (!(features & NETIF_F_RXHASH) && rxhash) in xgbe_set_features()
/linux/net/packet/
H A Daf_packet.c1341 u32 victim, rxhash; in fanout_flow_is_huge() local
1344 rxhash = skb_get_hash(skb); in fanout_flow_is_huge()
1346 if (READ_ONCE(history[i]) == rxhash) in fanout_flow_is_huge()
1352 if (READ_ONCE(history[victim]) != rxhash) in fanout_flow_is_huge()
1353 WRITE_ONCE(history[victim], rxhash); in fanout_flow_is_huge()
/linux/drivers/net/ethernet/sun/
H A Dniu.c3304 pp = &rp->rxhash[h]; in niu_find_rxpage()
3322 niu_next_page(page) = rp->rxhash[h]; in niu_hash_page()
3323 rp->rxhash[h] = page; in niu_hash_page()
3538 page = rp->rxhash[i]; in niu_rbr_free()
4281 kfree(rp->rxhash); in niu_free_rx_ring_info()
4282 rp->rxhash = NULL; in niu_free_rx_ring_info()
4344 rp->rxhash = kzalloc_objs(struct page *, MAX_RBR_RING_SIZE); in niu_alloc_rx_ring_info()
4345 if (!rp->rxhash) in niu_alloc_rx_ring_info()
6459 page = rp->rxhash[j]; in niu_reset_buffers()
H A Dniu.h2923 struct page **rxhash; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c480 tpa_info->rxhash = bnx2x_get_rxhash(bp, cqe, &tpa_info->rxhash_type); in bnx2x_tpa_start()
810 skb_set_hash(skb, tpa_info->rxhash, tpa_info->rxhash_type); in bnx2x_tpa_stop()
930 u32 rxhash; in bnx2x_rx_int() local
1084 rxhash = bnx2x_get_rxhash(bp, cqe_fp, &rxhash_type); in bnx2x_rx_int()
1085 skb_set_hash(skb, rxhash, rxhash_type); in bnx2x_rx_int()
H A Dbnx2x.h505 u32 rxhash; member
/linux/Documentation/networking/
H A Dfilter.rst303 rxhash skb->hash
H A Dpacket_mmap.rst915 printf("rxhash: 0x%x\n", ppd->hv1.tp_rxhash);
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c412 * copy. When rxhash is off, rss lut will be displayed as zeros.
H A Didpf_virtchnl.c2859 * When rxhash is disabled, RSS LUT will be configured with zeros. If rxhash
H A Didpf_lib.c2271 /* If the interface is not up when changing the rxhash, update in idpf_set_features()
/linux/include/linux/
H A Dfilter.h1541 BPF_ANCILLARY(RXHASH); in bpf_anc_helper()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c4614 netdev_warn(netdev, "Disabling rxhash, not supported when CQE compress is active\n"); in mlx5e_fix_features()