Home
last modified time | relevance | path

Searched refs:rxhash (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/net/
Dtun.c162 u32 rxhash; member
365 static inline u32 tun_hashfn(u32 rxhash) in tun_hashfn() argument
367 return rxhash & TUN_MASK_FLOW_ENTRIES; in tun_hashfn()
370 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash) in tun_flow_find() argument
375 if (e->rxhash == rxhash) in tun_flow_find()
383 u32 rxhash, u16 queue_index) in tun_flow_create() argument
390 rxhash, queue_index); in tun_flow_create()
392 e->rxhash = rxhash; in tun_flow_create()
405 e->rxhash, e->queue_index); in tun_flow_delete()
475 static void tun_flow_update(struct tun_struct *tun, u32 rxhash, in tun_flow_update() argument
[all …]
/linux-6.12.1/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c881 netdev_features_t rxhash, rxcsum, rxvlan, rxvlan_filter; in xlgmac_set_features() local
886 rxhash = pdata->netdev_features & NETIF_F_RXHASH; in xlgmac_set_features()
891 if ((features & NETIF_F_RXHASH) && !rxhash) in xlgmac_set_features()
893 else if (!(features & NETIF_F_RXHASH) && rxhash) in xlgmac_set_features()
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c2245 netdev_features_t rxhash, rxcsum, rxvlan, rxvlan_filter; in xgbe_set_features() local
2248 rxhash = pdata->netdev_features & NETIF_F_RXHASH; in xgbe_set_features()
2253 if ((features & NETIF_F_RXHASH) && !rxhash) in xgbe_set_features()
2255 else if (!(features & NETIF_F_RXHASH) && rxhash) in xgbe_set_features()
/linux-6.12.1/net/packet/
Daf_packet.c1407 u32 victim, rxhash; in fanout_flow_is_huge() local
1410 rxhash = skb_get_hash(skb); in fanout_flow_is_huge()
1412 if (READ_ONCE(history[i]) == rxhash) in fanout_flow_is_huge()
1418 if (READ_ONCE(history[victim]) != rxhash) in fanout_flow_is_huge()
1419 WRITE_ONCE(history[victim], rxhash); in fanout_flow_is_huge()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
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()
Dbnx2x.h505 u32 rxhash; member
/linux-6.12.1/drivers/net/ethernet/sun/
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 = kcalloc(MAX_RBR_RING_SIZE, sizeof(struct page *), in niu_alloc_rx_ring_info()
4346 if (!rp->rxhash) in niu_alloc_rx_ring_info()
6460 page = rp->rxhash[j]; in niu_reset_buffers()
Dniu.h2920 struct page **rxhash; member
/linux-6.12.1/Documentation/networking/
Dfilter.rst303 rxhash skb->hash
Dpacket_mmap.rst915 printf("rxhash: 0x%x\n", ppd->hv1.tp_rxhash);