Searched refs:hdr_hash (Results 1 – 1 of 1) sorted by relevance
2327 static void virtio_skb_set_hash(const struct virtio_net_hdr_v1_hash *hdr_hash, in virtio_skb_set_hash() argument2332 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() local6345 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()