Searched refs:virtio_net_config (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_net.c | 60 struct virtio_net_config *vio_config = vdpasim->config; in receive_filter() 74 struct virtio_net_config *vio_config = vdpasim->config; in vdpasim_handle_ctrl_mac() 210 struct virtio_net_config *net_config = config; in vdpasim_net_get_config() 218 struct virtio_net_config *vio_config = vdpasim->config; in vdpasim_net_setup_config() 252 dev_attr.config_size = sizeof(struct virtio_net_config); in vdpasim_net_dev_add()
|
/Linux-v6.1/drivers/vdpa/ |
D | vdpa.c | 808 const struct virtio_net_config *config) in vdpa_dev_net_mq_config_fill() 822 const struct virtio_net_config *config) in vdpa_dev_net_mtu_config_fill() 835 const struct virtio_net_config *config) in vdpa_dev_net_mac_config_fill() 846 struct virtio_net_config config = {}; in vdpa_dev_net_config_fill() 936 struct virtio_net_config config = {}; in vdpa_fill_stats_rec()
|
/Linux-v6.1/include/uapi/linux/ |
D | virtio_net.h | 86 struct virtio_net_config { struct
|
/Linux-v6.1/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-v6.1/drivers/net/ |
D | virtio_net.c | 2047 offsetof(struct virtio_net_config, mac) + in virtnet_set_mac_address() 2875 virtio_cread_le(vi->vdev, struct virtio_net_config, speed, &speed); in virtnet_update_settings() 2880 virtio_cread_le(vi->vdev, struct virtio_net_config, duplex, &duplex); in virtnet_update_settings() 3289 struct virtio_net_config, status, &v) < 0) in virtnet_config_changed_work() 3679 offsetof(struct virtio_net_config, in virtnet_validate() 3722 virtio_cread16(vdev, offsetof(struct virtio_net_config, max_virtqueue_pairs)); in virtnet_probe() 3788 offsetof(struct virtio_net_config, mac), in virtnet_probe() 3822 virtio_cread16(vdev, offsetof(struct virtio_net_config, in virtnet_probe() 3825 virtio_cread8(vdev, offsetof(struct virtio_net_config, rss_max_key_size)); in virtnet_probe() 3828 virtio_cread32(vdev, offsetof(struct virtio_net_config, supported_hash_types)); in virtnet_probe() [all …]
|
/Linux-v6.1/drivers/platform/mellanox/ |
D | mlxbf-tmfifo.c | 122 struct virtio_net_config net; 613 struct virtio_net_config *config; in mlxbf_tmfifo_rxtx_header() 1197 struct virtio_net_config net_config; in mlxbf_tmfifo_probe()
|
/Linux-v6.1/drivers/vdpa/ifcvf/ |
D | ifcvf_base.c | 236 u32 net_config_size = sizeof(struct virtio_net_config); in ifcvf_get_config_size()
|
/Linux-v6.1/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 154 struct virtio_net_config config; 2595 return sizeof(struct virtio_net_config); in mlx5_vdpa_get_config_size() 2604 if (offset + len <= sizeof(struct virtio_net_config)) in mlx5_vdpa_get_config() 3090 struct virtio_net_config *config; in mlx5_vdpa_dev_add()
|