/kernel/linux/linux-5.10/drivers/net/ |
H A D | tun.c | 171 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() 400 rxhash, queue_index); in tun_flow_create() 402 e->rxhash = rxhash; in tun_flow_create() 391 tun_flow_create(struct tun_struct *tun, struct hlist_head *head, u32 rxhash, u16 queue_index) tun_flow_create() argument 485 tun_flow_update(struct tun_struct *tun, u32 rxhash, struct tun_file *tfile) tun_flow_update() argument 1059 __u32 rxhash; tun_automq_xmit() local 1769 u32 rxhash = 0; tun_get_user() local 2468 u32 rxhash = 0, act; tun_xdp_one() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | tun.c | 160 u32 rxhash; member 363 static inline u32 tun_hashfn(u32 rxhash) in tun_hashfn() argument 365 return rxhash & TUN_MASK_FLOW_ENTRIES; in tun_hashfn() 368 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash) in tun_flow_find() argument 373 if (e->rxhash == rxhash) in tun_flow_find() 381 u32 rxhash, u16 queue_index) in tun_flow_create() 388 rxhash, queue_index); in tun_flow_create() 390 e->rxhash = rxhash; in tun_flow_create() 379 tun_flow_create(struct tun_struct *tun, struct hlist_head *head, u32 rxhash, u16 queue_index) tun_flow_create() argument 473 tun_flow_update(struct tun_struct *tun, u32 rxhash, struct tun_file *tfile) tun_flow_update() argument 1048 __u32 rxhash; tun_automq_xmit() local 1763 u32 rxhash = 0; tun_get_user() local 2454 u32 rxhash = 0, act; tun_xdp_one() local [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-net.c | 881 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 2252 netdev_features_t rxhash, rxcsum, rxvlan, rxvlan_filter; in xgbe_set_features() local 2255 rxhash = pdata->netdev_features & NETIF_F_RXHASH; in xgbe_set_features() 2260 if ((features & NETIF_F_RXHASH) && !rxhash) in xgbe_set_features() 2262 else if (!(features & NETIF_F_RXHASH) && rxhash) in xgbe_set_features()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 2245 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()
|
/kernel/linux/linux-5.10/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() 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()
|
H A D | bnx2x.h | 505 u32 rxhash; member
|
/kernel/linux/linux-5.10/net/packet/ |
H A D | af_packet.c | 1312 u32 victim, rxhash; in fanout_flow_is_huge() local 1315 rxhash = skb_get_hash(skb); in fanout_flow_is_huge() 1317 if (READ_ONCE(history[i]) == rxhash) in fanout_flow_is_huge() 1323 if (READ_ONCE(history[victim]) != rxhash) in fanout_flow_is_huge() 1324 WRITE_ONCE(history[victim], rxhash); in fanout_flow_is_huge()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 479 tpa_info->rxhash = bnx2x_get_rxhash(bp, cqe, &tpa_info->rxhash_type); in bnx2x_tpa_start() 809 skb_set_hash(skb, tpa_info->rxhash, tpa_info->rxhash_type); in bnx2x_tpa_stop() 929 u32 rxhash; in bnx2x_rx_int() local 1083 rxhash = bnx2x_get_rxhash(bp, cqe_fp, &rxhash_type); in bnx2x_rx_int() 1084 skb_set_hash(skb, rxhash, rxhash_type); in bnx2x_rx_int()
|
H A D | bnx2x.h | 505 u32 rxhash; member
|
/kernel/linux/linux-6.6/net/packet/ |
H A D | af_packet.c | 1346 u32 victim, rxhash; in fanout_flow_is_huge() local 1349 rxhash = skb_get_hash(skb); in fanout_flow_is_huge() 1351 if (READ_ONCE(history[i]) == rxhash) in fanout_flow_is_huge() 1357 if (READ_ONCE(history[victim]) != rxhash) in fanout_flow_is_huge() 1358 WRITE_ONCE(history[victim], rxhash); in fanout_flow_is_huge()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
H A D | niu.c | 3285 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()
|
H A D | niu.h | 2920 struct page **rxhash; member
|
/kernel/linux/linux-6.6/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() 6460 page = rp->rxhash[j]; in niu_reset_buffers()
|
H A D | niu.h | 2920 struct page **rxhash; member
|