Lines Matching refs:virtio_has_feature
300 if (virtio_has_feature(vdev->guest_features, VIRTIO_NET_F_MTU)) { in virtio_net_vhost_status()
821 if (!virtio_has_feature(vdev->backend_features, VIRTIO_NET_F_CTRL_VQ)) { in virtio_net_get_features()
958 !virtio_has_feature(vdev->backend_features, VIRTIO_NET_F_MTU)) { in virtio_net_set_features()
963 virtio_has_feature(features, VIRTIO_NET_F_RSS) || in virtio_net_set_features()
964 virtio_has_feature(features, VIRTIO_NET_F_MQ)); in virtio_net_set_features()
967 virtio_has_feature(features, in virtio_net_set_features()
969 virtio_has_feature(features, in virtio_net_set_features()
971 virtio_has_feature(features, in virtio_net_set_features()
974 n->rsc4_enabled = virtio_has_feature(features, VIRTIO_NET_F_RSC_EXT) && in virtio_net_set_features()
975 virtio_has_feature(features, VIRTIO_NET_F_GUEST_TSO4); in virtio_net_set_features()
976 n->rsc6_enabled = virtio_has_feature(features, VIRTIO_NET_F_RSC_EXT) && in virtio_net_set_features()
977 virtio_has_feature(features, VIRTIO_NET_F_GUEST_TSO6); in virtio_net_set_features()
978 n->rss_data.redirect = virtio_has_feature(features, VIRTIO_NET_F_RSS); in virtio_net_set_features()
1001 if (!virtio_has_feature(features, VIRTIO_NET_F_CTRL_VLAN)) { in virtio_net_set_features()
1005 if (virtio_has_feature(features, VIRTIO_NET_F_STANDBY)) { in virtio_net_set_features()
1077 n->rsc4_enabled = virtio_has_feature(offloads, VIRTIO_NET_F_RSC_EXT) && in virtio_net_handle_offloads()
1078 virtio_has_feature(offloads, VIRTIO_NET_F_GUEST_TSO4); in virtio_net_handle_offloads()
1079 n->rsc6_enabled = virtio_has_feature(offloads, VIRTIO_NET_F_RSC_EXT) && in virtio_net_handle_offloads()
1080 virtio_has_feature(offloads, VIRTIO_NET_F_GUEST_TSO6); in virtio_net_handle_offloads()
3073 virtio_has_feature(vdev->guest_features, VIRTIO_NET_F_RSS) || in virtio_net_pre_load_queues()
3074 virtio_has_feature(vdev->guest_features, VIRTIO_NET_F_MQ)); in virtio_net_pre_load_queues()
3918 if (virtio_has_feature(n->host_features, VIRTIO_NET_F_RSS)) { in virtio_net_device_realize()
3929 if (virtio_has_feature(n->host_features, VIRTIO_NET_F_RSS)) { in virtio_net_device_unrealize()