From: Helin Zhang Date: Tue, 24 May 2016 06:23:03 +0000 (+0800) Subject: net/i40e/base: fix printing the number of MSIX vectors X-Git-Tag: spdx-start~6511 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cf1a34dec83e36aaf75f1b9943bddbd7ae528049;p=dpdk.git net/i40e/base: fix printing the number of MSIX vectors Correct the number of MSIX vector in debug info. Fixes: 889bc9f0cd3a ("i40e/base: unify the capability function") Signed-off-by: Helin Zhang Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c index b911ef23f5..ebc4ebbd2e 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c @@ -3670,7 +3670,7 @@ STATIC void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff, p->num_msix_vectors = number; i40e_debug(hw, I40E_DEBUG_INIT, "HW Capability: MSIX vector count = %d\n", - p->num_msix_vectors_vf); + p->num_msix_vectors); break; case I40E_AQ_CAP_ID_VF_MSIX: p->num_msix_vectors_vf = number;