[Intel-wired-lan] [v2 next PATCH S32 01/13] i40e: Inserting a HW capability display info

Harshitha Ramamurthy harshitha.ramamurthy at intel.com
Wed Mar 30 10:49:36 UTC 2016


From: Deepthi Kavalur <deepthi.kavalur at intel.com>

Display MSIx vector count for HW capabilities.

Signed-off-by: Deepthi Kavalur <deepthi.kavalur at intel.com>
Change-ID: I4b41e9b50360cf660e7fbcb85b9390fedcf313b1
---
 drivers/net/ethernet/intel/i40e/i40e_common.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/ethernet/intel/i40e/i40e_common.c b/drivers/net/ethernet/intel/i40e/i40e_common.c
index ebcc0d3..f3c1d88 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;
-- 
2.4.3



More information about the Intel-wired-lan mailing list