diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2017-07-10 13:23:18 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-10-03 08:39:17 -0700 |
commit | 1f5c27e52857c9ba8f1ee4ed5093bee1a341f330 (patch) | |
tree | 5d6d5ca4f939a42ae7d4a5084ff5a65c92620ffc /drivers/net/ethernet/intel/fm10k/fm10k_main.c | |
parent | fc9173682dcf73cfe3324267424ef17e854bb444 (diff) | |
download | linux-1f5c27e52857c9ba8f1ee4ed5093bee1a341f330.tar.bz2 |
fm10k: use the MAC/VLAN queue for VF<->PF MAC/VLAN requests
Now that we have a working MAC/VLAN queue for handling MAC/VLAN messages
from the netdev, replace the default handler for the VF<->PF messages.
This new handler is very similar to the default code, but uses the
MAC/VLAN queue instead of sending the message directly. Unfortunately we
can't easily re-use the default code, so we'll just replace the entire
function.
This ensures that a VF requesting a large number of VLANs or MAC
addresses does not start a reset cycle, as explained in the commit which
introduced the message queue.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Ngai-mint Kwan <ngai-mint.kwan@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_main.c')
0 files changed, 0 insertions, 0 deletions