Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dvirtio_net.h93 u32 start = __virtio16_to_cpu(little_endian, hdr->csum_start); in virtio_net_hdr_to_skb()
94 u32 off = __virtio16_to_cpu(little_endian, hdr->csum_offset); in virtio_net_hdr_to_skb()
150 u16 gso_size = __virtio16_to_cpu(little_endian, hdr->gso_size); in virtio_net_hdr_to_skb()
Dvirtio_byteorder.h16 static inline u16 __virtio16_to_cpu(bool little_endian, __virtio16 val) in __virtio16_to_cpu() function
Dvringh.h264 return __virtio16_to_cpu(vringh_is_little_endian(vrh), val); in vringh16_to_cpu()
Dvirtio_config.h344 return __virtio16_to_cpu(virtio_is_little_endian(vdev), val); in virtio16_to_cpu()
/Linux-v6.6/drivers/vdpa/pds/
Ddebugfs.c212 __virtio16_to_cpu(true, vc.max_virtqueue_pairs)); in config_show()
213 seq_printf(seq, "mtu: %d\n", __virtio16_to_cpu(true, vc.mtu)); in config_show()
222 __virtio16_to_cpu(true, vc.status)); in config_show()
/Linux-v6.6/tools/virtio/linux/
Dvirtio_config.h71 return __virtio16_to_cpu(virtio_is_little_endian(vdev), val); in virtio16_to_cpu()
/Linux-v6.6/drivers/vdpa/vdpa_sim/
Dvdpa_sim.h93 return __virtio16_to_cpu(vdpasim_is_little_endian(vdpasim), val); in vdpasim16_to_cpu()
/Linux-v6.6/drivers/vhost/
Dvhost.h316 return __virtio16_to_cpu(vhost_is_little_endian(vq), val); in vhost16_to_cpu()
/Linux-v6.6/drivers/vdpa/
Dvdpa.c882 val_u16 = __virtio16_to_cpu(true, config->max_virtqueue_pairs); in vdpa_dev_net_mq_config_fill()
895 val_u16 = __virtio16_to_cpu(true, config->mtu); in vdpa_dev_net_mtu_config_fill()
918 val_u16 = __virtio16_to_cpu(true, config->status); in vdpa_dev_net_status_config_fill()
/Linux-v6.6/net/packet/
Daf_packet.c2541 (__virtio16_to_cpu(vio_le(), vnet_hdr->csum_start) + in __packet_snd_vnet_parse()
2542 __virtio16_to_cpu(vio_le(), vnet_hdr->csum_offset) + 2 > in __packet_snd_vnet_parse()
2543 __virtio16_to_cpu(vio_le(), vnet_hdr->hdr_len))) in __packet_snd_vnet_parse()
2545 __virtio16_to_cpu(vio_le(), vnet_hdr->csum_start) + in __packet_snd_vnet_parse()
2546 __virtio16_to_cpu(vio_le(), vnet_hdr->csum_offset) + 2); in __packet_snd_vnet_parse()
2548 if (__virtio16_to_cpu(vio_le(), vnet_hdr->hdr_len) > len) in __packet_snd_vnet_parse()
2832 copylen = __virtio16_to_cpu(vio_le(), in tpacket_snd()
3028 linear = __virtio16_to_cpu(vio_le(), vnet_hdr.hdr_len); in packet_snd()
/Linux-v6.6/drivers/vdpa/alibaba/
Deni_vdpa.c451 num = 2 * __virtio16_to_cpu(virtio_legacy_is_little_endian(), in eni_vdpa_get_num_queues()
/Linux-v6.6/drivers/net/
Dtap.c90 return __virtio16_to_cpu(tap_is_little_endian(q), val); in tap16_to_cpu()
Dtun.c355 return __virtio16_to_cpu(tun_is_little_endian(tun), val); in tun16_to_cpu()
/Linux-v6.6/drivers/platform/mellanox/
Dmlxbf-tmfifo.c673 __virtio16_to_cpu(virtio_legacy_is_little_endian(), in mlxbf_tmfifo_rxtx_header()
/Linux-v6.6/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c170 return __virtio16_to_cpu(mlx5_vdpa_is_little_endian(mvdev), val); in mlx5vdpa16_to_cpu()