Searched refs:virtio_net_config (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_net.c | 90 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() 420 struct virtio_net_config *vio_config = vdpasim->config; in vdpasim_net_setup_config() 463 dev_attr.config_size = sizeof(struct virtio_net_config); in vdpasim_net_dev_add()
|
/linux-6.6.21/drivers/vdpa/pds/ |
D | debugfs.c | 204 struct virtio_net_config vc; in config_show() 208 sizeof(struct virtio_net_config)); in config_show()
|
D | vdpa_dev.c | 537 return sizeof(struct virtio_net_config); in pds_vdpa_get_config_size() 547 if (offset + len > sizeof(struct virtio_net_config)) { in pds_vdpa_get_config() 563 if (offset + len > sizeof(struct virtio_net_config)) { in pds_vdpa_set_config() 702 struct virtio_net_config __iomem *vc; in pds_vdpa_dev_add()
|
/linux-6.6.21/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.h | 46 struct virtio_net_config config;
|
D | mlx5_vnet.c | 2898 return sizeof(struct virtio_net_config); in mlx5_vdpa_get_config_size() 2907 if (offset + len <= sizeof(struct virtio_net_config)) in mlx5_vdpa_get_config() 3353 struct virtio_net_config *config; in mlx5_vdpa_dev_add()
|
/linux-6.6.21/drivers/vdpa/ |
D | vdpa.c | 874 const struct virtio_net_config *config) in vdpa_dev_net_mq_config_fill() 888 const struct virtio_net_config *config) in vdpa_dev_net_mtu_config_fill() 901 const struct virtio_net_config *config) in vdpa_dev_net_mac_config_fill() 911 const struct virtio_net_config *config) in vdpa_dev_net_status_config_fill() 924 struct virtio_net_config config = {}; in vdpa_dev_net_config_fill() 1012 struct virtio_net_config config = {}; in vdpa_fill_stats_rec()
|
/linux-6.6.21/include/uapi/linux/ |
D | virtio_net.h | 91 struct virtio_net_config { struct
|
/linux-6.6.21/drivers/vdpa/alibaba/ |
D | eni_vdpa.c | 366 return sizeof(struct virtio_net_config); in eni_vdpa_get_config_size() 448 offsetof(struct virtio_net_config, max_virtqueue_pairs), in eni_vdpa_get_num_queues()
|
/linux-6.6.21/drivers/platform/mellanox/ |
D | mlxbf-tmfifo.c | 143 struct virtio_net_config net; 659 struct virtio_net_config *config; in mlxbf_tmfifo_rxtx_header() 1333 struct virtio_net_config net_config; in mlxbf_tmfifo_probe()
|
/linux-6.6.21/drivers/net/ |
D | virtio_net.c | 2546 offsetof(struct virtio_net_config, mac) + in virtnet_set_mac_address() 3530 virtio_cread_le(vi->vdev, struct virtio_net_config, speed, &speed); in virtnet_update_settings() 3535 virtio_cread_le(vi->vdev, struct virtio_net_config, duplex, &duplex); in virtnet_update_settings() 3953 struct virtio_net_config, status, &v) < 0) in virtnet_config_changed_work() 4341 offsetof(struct virtio_net_config, in virtnet_validate() 4392 virtio_cread16(vdev, offsetof(struct virtio_net_config, max_virtqueue_pairs)); in virtnet_probe() 4461 offsetof(struct virtio_net_config, mac), in virtnet_probe() 4499 virtio_cread16(vdev, offsetof(struct virtio_net_config, in virtnet_probe() 4502 virtio_cread8(vdev, offsetof(struct virtio_net_config, rss_max_key_size)); in virtnet_probe() 4505 virtio_cread32(vdev, offsetof(struct virtio_net_config, supported_hash_types)); in virtnet_probe() [all …]
|
/linux-6.6.21/drivers/vdpa/ifcvf/ |
D | ifcvf_base.c | 264 u32 net_config_size = sizeof(struct virtio_net_config); in ifcvf_get_config_size()
|