/linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
H A D | flow.json | 466 "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 D | toeplitz.sh | 4 # extended toeplitz test: test rxhash plus, optionally, either (1) rss mapping 5 # from rxhash to rx queue ('-rss') or (2) rps mapping from rxhash to cpu 109 ethtool -k "${DEV}" | grep -q "${pattern}" || die "rxhash must be enabled"
|
H A D | toeplitz.c | 168 /* Compare computed rxhash with rxhash received from tpacket_v3 */ 371 * (a) only testing rxhash, not RSS or (b) <= 256 cpus. in create_ring()
|
/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-net.c | 882 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 D | bpf_exp.l | 122 "#"?("rxhash") {
|
/linux/include/linux/ |
H A D | netdev_features.h | 126 #define NETIF_F_RXHASH __NETIF_F(RXHASH)
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 1962 netdev_features_t rxhash, rxcsum, rxvlan, rxvlan_filter; in xgbe_set_features() local 1965 rxhash = pdata->netdev_features & NETIF_F_RXHASH; in xgbe_set_features() 1970 if ((features & NETIF_F_RXHASH) && !rxhash) in xgbe_set_features() 1972 else if (!(features & NETIF_F_RXHASH) && rxhash) in xgbe_set_features()
|
/linux/net/packet/ |
H A D | af_packet.c | 1339 u32 victim, rxhash; in __packet_rcv_has_room() 1342 rxhash = skb_get_hash(skb); in __packet_rcv_has_room() 1344 if (READ_ONCE(history[i]) == rxhash) in __packet_rcv_has_room() 1350 if (READ_ONCE(history[victim]) != rxhash) in __packet_rcv_has_room() 1351 WRITE_ONCE(history[victim], rxhash); in __packet_rcv_has_room() 1393 u32 victim, rxhash; fanout_flow_is_huge() local
|
/linux/drivers/net/ethernet/sun/ |
H A D | niu.c | 3304 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 = kcalloc(MAX_RBR_RING_SIZE, sizeof(struct page *), in niu_alloc_rx_ring_info() 4346 if (!rp->rxhash) in niu_alloc_rx_ring_info() 6462 page = rp->rxhash[j]; in niu_reset_buffers()
|
H A D | niu.h | 2923 struct page **rxhash; member
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 480 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 D | bnx2x.h | 505 u32 rxhash; member
|
/linux/Documentation/networking/ |
H A D | filter.rst | 303 rxhash skb->hash
|
H A D | packet_mmap.rst | 915 printf("rxhash: 0x%x\n", ppd->hv1.tp_rxhash);
|
/linux/net/sched/ |
H A D | em_meta.c | 672 [META_ID(RXHASH)] = META_FUNC(int_rxhash),
|
H A D | sch_fq.c | 9 * If not, (router workload), we use rxhash as fallback, with 32 bits wide hash.
|
/linux/include/uapi/linux/ |
H A D | ethtool.h | 2287 * protocol. Both copies of the XOR'ed fields are fed into the RSS and RXHASH
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 4531 netdev_warn(netdev, "Disabling rxhash, not supported when CQE compress is active\n"); in mlx5e_fix_features()
|