Searched refs:net_config (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/platform/mellanox/ |
H A D | mlxbf-tmfifo.c | 1239 struct virtio_net_config net_config; in mlxbf_tmfifo_probe() local 1289 memset(&net_config, 0, sizeof(net_config)); in mlxbf_tmfifo_probe() 1292 net_config.mtu = __cpu_to_virtio16(virtio_legacy_is_little_endian(), in mlxbf_tmfifo_probe() 1294 net_config.status = __cpu_to_virtio16(virtio_legacy_is_little_endian(), in mlxbf_tmfifo_probe() 1296 mlxbf_tmfifo_get_cfg_mac(net_config.mac); in mlxbf_tmfifo_probe() 1298 MLXBF_TMFIFO_NET_FEATURES, &net_config, in mlxbf_tmfifo_probe() 1299 sizeof(net_config)); in mlxbf_tmfifo_probe()
|
/kernel/linux/linux-6.6/drivers/platform/mellanox/ |
H A D | mlxbf-tmfifo.c | 1333 struct virtio_net_config net_config; in mlxbf_tmfifo_probe() local 1406 memset(&net_config, 0, sizeof(net_config)); in mlxbf_tmfifo_probe() 1409 net_config.mtu = __cpu_to_virtio16(virtio_legacy_is_little_endian(), in mlxbf_tmfifo_probe() 1411 net_config.status = __cpu_to_virtio16(virtio_legacy_is_little_endian(), in mlxbf_tmfifo_probe() 1413 mlxbf_tmfifo_get_cfg_mac(net_config.mac); in mlxbf_tmfifo_probe() 1415 MLXBF_TMFIFO_NET_FEATURES, &net_config, in mlxbf_tmfifo_probe() 1416 sizeof(net_config)); in mlxbf_tmfifo_probe()
|
/kernel/linux/linux-5.10/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.c | 743 struct virtio_net_config *net_config = in vdpasim_net_get_config() local 746 net_config->mtu = cpu_to_vdpasim16(vdpasim, 1500); in vdpasim_net_get_config() 747 net_config->status = cpu_to_vdpasim16(vdpasim, VIRTIO_NET_S_LINK_UP); in vdpasim_net_get_config() 748 memcpy(net_config->mac, macaddr_buf, ETH_ALEN); in vdpasim_net_get_config()
|
/kernel/linux/linux-6.6/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_net.c | 412 struct virtio_net_config *net_config = config; in vdpasim_net_get_config() local 414 net_config->status = cpu_to_vdpasim16(vdpasim, VIRTIO_NET_S_LINK_UP); in vdpasim_net_get_config()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | net_kern.c | 657 static int net_config(char *str, char **error_out) in net_config() function 670 *error_out = "net_config failed to strdup string"; in net_config() 717 .config = net_config,
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | net_kern.c | 658 static int net_config(char *str, char **error_out) in net_config() function 671 *error_out = "net_config failed to strdup string"; in net_config() 718 .config = net_config,
|
Completed in 8 milliseconds