Lines Matching refs:virtio_has_feature

300         if (virtio_has_feature(vdev->guest_features, VIRTIO_NET_F_MTU)) {  in virtio_net_vhost_status()
820 if (!virtio_has_feature(vdev->backend_features, VIRTIO_NET_F_CTRL_VQ)) { in virtio_net_get_features()
957 !virtio_has_feature(vdev->backend_features, VIRTIO_NET_F_MTU)) { in virtio_net_set_features()
962 virtio_has_feature(features, VIRTIO_NET_F_RSS) || in virtio_net_set_features()
963 virtio_has_feature(features, VIRTIO_NET_F_MQ)); in virtio_net_set_features()
966 virtio_has_feature(features, in virtio_net_set_features()
968 virtio_has_feature(features, in virtio_net_set_features()
970 virtio_has_feature(features, in virtio_net_set_features()
973 n->rsc4_enabled = virtio_has_feature(features, VIRTIO_NET_F_RSC_EXT) && in virtio_net_set_features()
974 virtio_has_feature(features, VIRTIO_NET_F_GUEST_TSO4); in virtio_net_set_features()
975 n->rsc6_enabled = virtio_has_feature(features, VIRTIO_NET_F_RSC_EXT) && in virtio_net_set_features()
976 virtio_has_feature(features, VIRTIO_NET_F_GUEST_TSO6); in virtio_net_set_features()
977 n->rss_data.redirect = virtio_has_feature(features, VIRTIO_NET_F_RSS); in virtio_net_set_features()
1000 if (!virtio_has_feature(features, VIRTIO_NET_F_CTRL_VLAN)) { in virtio_net_set_features()
1004 if (virtio_has_feature(features, VIRTIO_NET_F_STANDBY)) { in virtio_net_set_features()
1076 n->rsc4_enabled = virtio_has_feature(offloads, VIRTIO_NET_F_RSC_EXT) && in virtio_net_handle_offloads()
1077 virtio_has_feature(offloads, VIRTIO_NET_F_GUEST_TSO4); in virtio_net_handle_offloads()
1078 n->rsc6_enabled = virtio_has_feature(offloads, VIRTIO_NET_F_RSC_EXT) && in virtio_net_handle_offloads()
1079 virtio_has_feature(offloads, VIRTIO_NET_F_GUEST_TSO6); in virtio_net_handle_offloads()
3072 virtio_has_feature(vdev->guest_features, VIRTIO_NET_F_RSS) || in virtio_net_pre_load_queues()
3073 virtio_has_feature(vdev->guest_features, VIRTIO_NET_F_MQ)); in virtio_net_pre_load_queues()
3917 if (virtio_has_feature(n->host_features, VIRTIO_NET_F_RSS)) { in virtio_net_device_realize()
3928 if (virtio_has_feature(n->host_features, VIRTIO_NET_F_RSS)) { in virtio_net_device_unrealize()