net/ixgbe: enable new PF host mbox version
authorWei Zhao <wei.zhao1@intel.com>
Wed, 28 Aug 2019 08:16:52 +0000 (16:16 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 5 Sep 2019 17:18:38 +0000 (19:18 +0200)
A new mail box version of ixgbe_mbox_api_13 need to be enabled for PF
host, in order that it can communicate with VF for queue number.

Fixes: 46b14c231106 ("ixgbe: get VF queue number")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ixgbe/ixgbe_pf.c

index c88d56e..be729ba 100644 (file)
@@ -618,6 +618,7 @@ ixgbe_get_vf_queues(struct rte_eth_dev *dev, uint32_t vf, uint32_t *msgbuf)
        case ixgbe_mbox_api_20:
        case ixgbe_mbox_api_11:
        case ixgbe_mbox_api_12:
+       case ixgbe_mbox_api_13:
                break;
        default:
                return -1;