summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorDeepthi Kavalur <deepthi.kavalur@intel.com>2016-04-01 13:56:01 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-07 03:54:14 +0300
commit453e16e8e8b96821111e8d90252f4df8ec418eea (patch)
treec1df051c7d7c3841f86d8fed053a1e6b1419e299 /drivers/net
parent58a01d4dc43e60208b70ce08604b5bcbb907f0d1 (diff)
downloadlinux-453e16e8e8b96821111e8d90252f4df8ec418eea.tar.xz
i40e: Inserting a HW capability display info
Display MSIx vector count for HW capabilities. Change-ID: I4b41e9b50360cf660e7fbcb85b9390fedcf313b1 Signed-off-by: Deepthi Kavalur <deepthi.kavalur@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_common.c b/drivers/net/ethernet/intel/i40e/i40e_common.c
index ebcc0d3ecbfb..f3c1d8890cbb 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_common.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_common.c
@@ -3080,6 +3080,9 @@ static void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff,
break;
case I40E_AQ_CAP_ID_MSIX:
p->num_msix_vectors = number;
+ i40e_debug(hw, I40E_DEBUG_INIT,
+ "HW Capability: MSIX vector count = %d\n",
+ p->num_msix_vectors);
break;
case I40E_AQ_CAP_ID_VF_MSIX:
p->num_msix_vectors_vf = number;