aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ice/ice_features.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ice/ice_features.h')
-rw-r--r--sys/dev/ice/ice_features.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ice/ice_features.h b/sys/dev/ice/ice_features.h
index 821abe4806ca..5b23757b1c98 100644
--- a/sys/dev/ice/ice_features.h
+++ b/sys/dev/ice/ice_features.h
@@ -91,7 +91,9 @@ enum feat_list {
static inline void
ice_disable_unsupported_features(ice_bitmap_t __unused *bitmap)
{
+#ifndef PCI_IOV
ice_clear_bit(ICE_FEATURE_SRIOV, bitmap);
+#endif
#ifndef DEV_NETMAP
ice_clear_bit(ICE_FEATURE_NETMAP, bitmap);
#endif