Home
last modified time | relevance | path

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

/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c90 struct virtio_net_config *vio_config = vdpasim->config; in receive_filter()
108 struct virtio_net_config *vio_config = vdpasim->config; in vdpasim_handle_ctrl_mac()
412 struct virtio_net_config *net_config = config; in vdpasim_net_get_config()
421 struct virtio_net_config *vio_config = vdpasim->config; in vdpasim_net_set_attr()
438 struct virtio_net_config *vio_config = vdpasim->config; in vdpasim_net_setup_config()
481 dev_attr.config_size = sizeof(struct virtio_net_config); in vdpasim_net_dev_add()
/linux/drivers/vdpa/pds/
H A Ddebugfs.c204 struct virtio_net_config vc; in config_show()
208 sizeof(struct virtio_net_config)); in config_show()
H A Dvdpa_dev.c543 return sizeof(struct virtio_net_config); in pds_vdpa_get_config_size()
553 if (offset + len > sizeof(struct virtio_net_config)) { in pds_vdpa_get_config()
569 if (offset + len > sizeof(struct virtio_net_config)) { in pds_vdpa_set_config()
717 struct virtio_net_config __iomem *vc; in pds_vdpa_dev_add()
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.h46 struct virtio_net_config config;
H A Dmlx5_vnet.c3318 return sizeof(struct virtio_net_config); in mlx5_vdpa_get_config_size()
3327 if (offset + len <= sizeof(struct virtio_net_config)) in mlx5_vdpa_get_config()
3834 struct virtio_net_config *config; in mlx5_vdpa_dev_add()
/linux/include/uapi/linux/
H A Dvirtio_net.h114 struct virtio_net_config { struct
/linux/drivers/platform/mellanox/
H A Dmlxbf-tmfifo.c143 struct virtio_net_config net;
660 struct virtio_net_config *config; in mlxbf_tmfifo_rxtx_header()
1334 struct virtio_net_config net_config; in mlxbf_tmfifo_probe()
/linux/drivers/vdpa/ifcvf/
H A Difcvf_base.c263 u32 net_config_size = sizeof(struct virtio_net_config); in ifcvf_get_config_size()
/linux/drivers/net/
H A Dvirtio_net.c3093 virtio_cread_le(vi->vdev, struct virtio_net_config, speed, &speed); in virtnet_update_settings()
3098 virtio_cread_le(vi->vdev, struct virtio_net_config, duplex, &duplex); in virtnet_update_settings()
3632 offsetof(struct virtio_net_config, mac) + in virtnet_set_mac_address()
6251 struct virtio_net_config, status, &v) < 0) in virtnet_config_changed_work()
6641 offsetof(struct virtio_net_config, in virtnet_validate()
6735 virtio_cread16(vdev, offsetof(struct virtio_net_config, max_virtqueue_pairs)); in virtnet_probe()
6822 offsetof(struct virtio_net_config, mac), in virtnet_probe()
6852 virtio_cread16(vdev, offsetof(struct virtio_net_config, in virtnet_probe()
6862 key_sz = virtio_cread8(vdev, offsetof(struct virtio_net_config, rss_max_key_size)); in virtnet_probe()
6871 virtio_cread32(vdev, offsetof(struct virtio_net_config, supported_hash_types)); in virtnet_probe()
[all …]