Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/
Dtun.c171 u32 rxhash; member
375 static inline u32 tun_hashfn(u32 rxhash) in tun_hashfn() argument
377 return rxhash & TUN_MASK_FLOW_ENTRIES; in tun_hashfn()
380 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash) in tun_flow_find() argument
385 if (e->rxhash == rxhash) in tun_flow_find()
393 u32 rxhash, u16 queue_index) in tun_flow_create() argument
400 rxhash, queue_index); in tun_flow_create()
402 e->rxhash = rxhash; in tun_flow_create()
415 e->rxhash, e->queue_index); in tun_flow_delete()
485 static void tun_flow_update(struct tun_struct *tun, u32 rxhash, in tun_flow_update() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c2238 netdev_features_t rxhash, rxcsum, rxvlan, rxvlan_filter; in xgbe_set_features() local
2241 rxhash = pdata->netdev_features & NETIF_F_RXHASH; in xgbe_set_features()
2246 if ((features & NETIF_F_RXHASH) && !rxhash) in xgbe_set_features()
2248 else if (!(features & NETIF_F_RXHASH) && rxhash) in xgbe_set_features()
/kernel/linux/linux-5.10/net/packet/
Daf_packet.c1307 u32 victim, rxhash; in fanout_flow_is_huge() local
1310 rxhash = skb_get_hash(skb); in fanout_flow_is_huge()
1312 if (READ_ONCE(history[i]) == rxhash) in fanout_flow_is_huge()
1318 if (READ_ONCE(history[victim]) != rxhash) in fanout_flow_is_huge()
1319 WRITE_ONCE(history[victim], rxhash); in fanout_flow_is_huge()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c480 tpa_info->rxhash = bnx2x_get_rxhash(bp, cqe, &tpa_info->rxhash_type); in bnx2x_tpa_start()
798 skb_set_hash(skb, tpa_info->rxhash, tpa_info->rxhash_type); in bnx2x_tpa_stop()
918 u32 rxhash; in bnx2x_rx_int() local
1072 rxhash = bnx2x_get_rxhash(bp, cqe_fp, &rxhash_type); in bnx2x_rx_int()
1073 skb_set_hash(skb, rxhash, rxhash_type); in bnx2x_rx_int()
Dbnx2x.h505 u32 rxhash; member
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dniu.c3285 pp = &rp->rxhash[h]; in niu_find_rxpage()
3303 page->mapping = (struct address_space *) rp->rxhash[h]; in niu_hash_page()
3304 rp->rxhash[h] = page; in niu_hash_page()
3519 page = rp->rxhash[i]; in niu_rbr_free()
4262 kfree(rp->rxhash); in niu_free_rx_ring_info()
4263 rp->rxhash = NULL; in niu_free_rx_ring_info()
4325 rp->rxhash = kcalloc(MAX_RBR_RING_SIZE, sizeof(struct page *), in niu_alloc_rx_ring_info()
4327 if (!rp->rxhash) in niu_alloc_rx_ring_info()
6441 page = rp->rxhash[j]; in niu_reset_buffers()
Dniu.h2920 struct page **rxhash; member
/kernel/linux/linux-5.10/Documentation/networking/
Dpacket_mmap.rst915 printf("rxhash: 0x%x\n", ppd->hv1.tp_rxhash);
Dfilter.rst296 rxhash skb->hash
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch42066 + skb_set_hash(skb, desc->rxhash, desc->l3_hash ?
42292 + addr |= (dma_addr_t)(desc->rxhash & TX_DESC_HI8_MASK) <<
42656 + desc->rxhash = (addr >> REG_BIT_WIDTH) & TX_DESC_HI8_MASK;
42662 + desc->rxhash = (addr >> REG_BIT_WIDTH) & TX_DESC_HI8_MASK;
44160 + unsigned int rxhash;
44208 + unsigned int rxhash;
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch335038 + skb_set_hash(skb, desc->rxhash, desc->l3_hash ?
335264 + addr |= (dma_addr_t)(desc->rxhash & TX_DESC_HI8_MASK) <<
335628 + desc->rxhash = (addr >> REG_BIT_WIDTH) & TX_DESC_HI8_MASK;
335634 + desc->rxhash = (addr >> REG_BIT_WIDTH) & TX_DESC_HI8_MASK;
337132 + unsigned int rxhash;
337180 + unsigned int rxhash;