Searched refs:virtio_net_config (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/include/uapi/linux/ |
D | virtio_net.h | 86 struct virtio_net_config { struct
|
/Linux-v5.10/drivers/vdpa/ifcvf/ |
D | ifcvf_base.c | 225 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()
|
D | ifcvf_main.c | 341 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/ |
D | vdpa_sim.c | 77 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/ |
D | mlxbf-tmfifo.c | 122 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/ |
D | virtio_net.c | 1732 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/ |
D | mlx5_vnet.c | 128 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/ |
D | vdpa.c | 195 size = sizeof(struct virtio_net_config); in vhost_vdpa_config_validate()
|