Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Dvirtio_net.h86 struct virtio_net_config { struct
/Linux-v5.10/drivers/vdpa/ifcvf/
Difcvf_base.c225 WARN_ON(offset + length > sizeof(struct virtio_net_config)); in ifcvf_read_net_config()
243 WARN_ON(offset + length > sizeof(struct virtio_net_config)); in ifcvf_write_net_config()
Difcvf_main.c341 WARN_ON(offset + len > sizeof(struct virtio_net_config)); in ifcvf_vdpa_get_config()
351 WARN_ON(offset + len > sizeof(struct virtio_net_config)); in ifcvf_vdpa_set_config()
/Linux-v5.10/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c77 struct virtio_net_config config;
507 struct virtio_net_config *config = &vdpasim->config; in vdpasim_set_features()
575 if (offset + len < sizeof(struct virtio_net_config)) in vdpasim_get_config()
/Linux-v5.10/drivers/platform/mellanox/
Dmlxbf-tmfifo.c122 struct virtio_net_config net;
610 struct virtio_net_config *config; in mlxbf_tmfifo_rxtx_header()
1186 struct virtio_net_config net_config; in mlxbf_tmfifo_probe()
/Linux-v5.10/drivers/net/
Dvirtio_net.c1732 offsetof(struct virtio_net_config, mac) + in virtnet_set_mac_address()
2272 virtio_cread_le(vi->vdev, struct virtio_net_config, speed, &speed); in virtnet_update_settings()
2277 virtio_cread_le(vi->vdev, struct virtio_net_config, duplex, &duplex); in virtnet_update_settings()
2575 struct virtio_net_config, status, &v) < 0) in virtnet_config_changed_work()
2945 offsetof(struct virtio_net_config, in virtnet_validate()
2964 struct virtio_net_config, in virtnet_probe()
3028 offsetof(struct virtio_net_config, mac), in virtnet_probe()
3066 offsetof(struct virtio_net_config, in virtnet_probe()
/Linux-v5.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c128 struct virtio_net_config config;
1785 if (offset + len < sizeof(struct virtio_net_config)) in mlx5_vdpa_get_config()
1933 struct virtio_net_config *config; in mlx5_vdpa_add_dev()
/Linux-v5.10/drivers/vhost/
Dvdpa.c195 size = sizeof(struct virtio_net_config); in vhost_vdpa_config_validate()