i40e: Dump HREGION entries From: Alexander Duyck --- drivers/net/ethernet/intel/i40e/i40e_main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 320562b39686..370f66df4e4f 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -11094,6 +11094,14 @@ static int i40e_pf_config_rss(struct i40e_pf *pf) u64 hena; int ret; + /* These should all be 0, dump them to verify they are */ + for (ret = 8; ret--;) { + reg_val = i40e_read_rx_ctl(hw, I40E_PFQF_HREGION(ret)); + + dev_info(&pf->pdev->dev, + "PFQF_HREGION[%d]: 0x%08x\n", ret, reg_val); + } + /* By default we enable TCP/UDP with IPv4/IPv6 ptypes */ hena = (u64)i40e_read_rx_ctl(hw, I40E_PFQF_HENA(0)) | ((u64)i40e_read_rx_ctl(hw, I40E_PFQF_HENA(1)) << 32);