]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/base/ixgbe_vf.c
net/ixgbe: support xcast promisc mode
[dpdk.git] / drivers / net / ixgbe / base / ixgbe_vf.c
index 8775ee510e2ca87b6bf7e292fc0a14c4c2ee1c6b..b513190a0bc2d03e505147d48aee33ac241415a7 100644 (file)
@@ -432,6 +432,10 @@ s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode)
 
        switch (hw->api_version) {
        case ixgbe_mbox_api_12:
+               /* New modes were introduced in 1.3 version */
+               if (xcast_mode > IXGBEVF_XCAST_MODE_ALLMULTI)
+                       return IXGBE_ERR_FEATURE_NOT_SUPPORTED;
+               /* Fall through */
        case ixgbe_mbox_api_13:
                break;
        default: