From: Wei Zhao Date: Wed, 28 Aug 2019 08:16:52 +0000 (+0800) Subject: net/ixgbe: enable new PF host mbox version X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5e0a2c935bf6724b8419ad8f9237c48a564bb2ff;p=dpdk.git net/ixgbe: enable new PF host mbox version 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 Acked-by: Xiaolong Ye --- diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c index c88d56e245..be729ba2d0 100644 --- a/drivers/net/ixgbe/ixgbe_pf.c +++ b/drivers/net/ixgbe/ixgbe_pf.c @@ -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;