Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vdpa/vdpa_sim/
Dvdpa_sim_net.c90 struct virtio_net_config *vio_config = vdpasim->config; in receive_filter() local
99 if (!strncmp(net->buffer + hdr_len, vio_config->mac, ETH_ALEN)) in receive_filter()
108 struct virtio_net_config *vio_config = vdpasim->config; in vdpasim_handle_ctrl_mac() local
116 vio_config->mac, ETH_ALEN); in vdpasim_handle_ctrl_mac()
421 struct virtio_net_config *vio_config = vdpasim->config; in vdpasim_net_set_attr() local
426 ether_addr_copy(vio_config->mac, config->net.mac); in vdpasim_net_set_attr()
438 struct virtio_net_config *vio_config = vdpasim->config; in vdpasim_net_setup_config() local
441 memcpy(vio_config->mac, config->net.mac, ETH_ALEN); in vdpasim_net_setup_config()
443 vio_config->mtu = cpu_to_vdpasim16(vdpasim, config->net.mtu); in vdpasim_net_setup_config()
446 vio_config->mtu = cpu_to_vdpasim16(vdpasim, 1500); in vdpasim_net_setup_config()