summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40evf_main.c
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 /drivers/net/ethernet/intel/i40evf/i40evf_main.c
parentc57c99597376c2a223b1ff472f614211ade44e76 (diff)
downloadlinux-bf3a178c8a064d38f2570e6b8e4de2db07cd7083.tar.gz
linux-bf3a178c8a064d38f2570e6b8e4de2db07cd7083.tar.bz2
linux-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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40evf_main.c')
-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);