Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ !
Dvirtio_net.c2327 static void virtio_skb_set_hash(const struct virtio_net_hdr_v1_hash *hdr_hash, in virtio_skb_set_hash() argument
2332 if (!hdr_hash || !skb) in virtio_skb_set_hash()
2335 switch (__le16_to_cpu(hdr_hash->hash_report)) { in virtio_skb_set_hash()
2353 skb_set_hash(skb, __le32_to_cpu(hdr_hash->hash_value), rss_hash_type); in virtio_skb_set_hash()
6337 struct virtio_net_hdr_v1_hash *hdr_hash; in virtnet_xdp_rx_hash() local
6345 hdr_hash = (struct virtio_net_hdr_v1_hash *)(xdp->data - vi->hdr_len); in virtnet_xdp_rx_hash()
6346 hash_report = __le16_to_cpu(hdr_hash->hash_report); in virtnet_xdp_rx_hash()
6352 *hash = __le32_to_cpu(hdr_hash->hash_value); in virtnet_xdp_rx_hash()