aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvinash Dayanand <avinash.dayanand@intel.com>2016-08-17 16:04:08 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-08-19 21:57:19 -0700
commitbf3a178c8a064d38f2570e6b8e4de2db07cd7083 (patch)
tree269e7cfb89bff81f485615390a9392104fdef8a8
parenti40e/i40evf: Fix indentation (diff)
downloadlinux-dev-bf3a178c8a064d38f2570e6b8e4de2db07cd7083.tar.xz
linux-dev-bf3a178c8a064d38f2570e6b8e4de2db07cd7083.zip
i40evf: Open RDMA Client after reset
RDMA client is closed during the PF reset and needs to be opened again. Setting the flag so that RDMA client is opened in watchdog() function. Change-ID: I507b1e4cbd05528cdff68fd360ef3dcac8901263 Signed-off-by: Avinash Dayanand <avinash.dayanand@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40evf_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
index 24f88ecdcddc..f751f7bc0d81 100644
--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c
+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
@@ -1804,6 +1804,8 @@ continue_reset:
}
adapter->aq_required |= I40EVF_FLAG_AQ_ADD_MAC_FILTER;
adapter->aq_required |= I40EVF_FLAG_AQ_ADD_VLAN_FILTER;
+ /* Open RDMA Client again */
+ adapter->aq_required |= I40EVF_FLAG_SERVICE_CLIENT_REQUESTED;
clear_bit(__I40EVF_IN_CRITICAL_TASK, &adapter->crit_section);
i40evf_misc_irq_enable(adapter);