Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/drivers/net/virtio_net/
H A Dbasic_features.sh51 virtio_feature_present $h1 $VIRTIO_NET_F_MAC
53 log_test_skip "$test_name" "Device $h1 is missing feature $VIRTIO_NET_F_MAC."
56 virtio_feature_present $h1 $VIRTIO_NET_F_MAC
58 log_test_skip "$test_name" "Device $h2 is missing feature $VIRTIO_NET_F_MAC."
71 virtio_filter_feature_add $h1 $VIRTIO_NET_F_MAC
72 virtio_filter_feature_add $h2 $VIRTIO_NET_F_MAC
H A Dvirtio_net_common.sh32 VIRTIO_NET_F_MAC=5
/linux/drivers/vdpa/pds/
H A Dvdpa_dev.c328 if (!(hw_features & BIT_ULL(VIRTIO_NET_F_MAC))) in pds_vdpa_set_driver_features()
329 nego_features &= ~BIT_ULL(VIRTIO_NET_F_MAC); in pds_vdpa_set_driver_features()
721 (pdsv->supported_features & BIT_ULL(VIRTIO_NET_F_MAC))) { in pds_vdpa_dev_add()
851 mgmt->supported_features |= BIT_ULL(VIRTIO_NET_F_MAC); in pds_vdpa_get_mgmt_info()
H A Ddebugfs.c69 case BIT_ULL(VIRTIO_NET_F_MAC): in print_feature_bits_all()
/linux/include/uapi/linux/
H A Dvirtio_net.h39 #define VIRTIO_NET_F_MAC 5 /* Host has given MAC address. */ macro
/linux/drivers/vdpa/
H A Dvdpa.c637 !(config.device_features & BIT_ULL(VIRTIO_NET_F_MAC))) in vdpa_nl_cmd_dev_add_set_doit()
638 missing |= BIT_ULL(VIRTIO_NET_F_MAC); in vdpa_nl_cmd_dev_add_set_doit()
903 if ((features & BIT_ULL(VIRTIO_NET_F_MAC)) == 0) in vdpa_dev_net_mac_config_fill()
/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c29 (1ULL << VIRTIO_NET_F_MAC) | \
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c30 …BIT_ULL(VIRTIO_NET_F_CTRL_GUEST_OFFLOADS) | BIT_ULL(VIRTIO_NET_F_MTU) | BIT_ULL(VIRTIO_NET_F_MAC) …
249 MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_MAC); in print_features()
2705 mlx_vdpa_features |= BIT_ULL(VIRTIO_NET_F_MAC); in get_supported_features()
3926 device_features & BIT_ULL(VIRTIO_NET_F_MAC)) { in mlx5_vdpa_dev_add()
3944 device_features &= ~BIT_ULL(VIRTIO_NET_F_MAC); in mlx5_vdpa_dev_add()
3945 } else if (device_features & BIT_ULL(VIRTIO_NET_F_MAC)) { in mlx5_vdpa_dev_add()
/linux/drivers/net/
H A Dvirtio_net.c3331 } else if (virtio_has_feature(vdev, VIRTIO_NET_F_MAC) && in virtnet_set_mac_address()
6286 !virtio_has_feature(vdev, VIRTIO_NET_F_MAC)) { in virtnet_validate()
6446 if (virtio_has_feature(vdev, VIRTIO_NET_F_MAC)) { in virtnet_probe()
6639 if (!virtio_has_feature(vdev, VIRTIO_NET_F_MAC) && in virtnet_probe()
6799 VIRTIO_NET_F_MAC, \
/linux/drivers/platform/mellanox/
H A Dmlxbf-tmfifo.c241 BIT_ULL(VIRTIO_NET_F_MAC))