diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2018-04-03 17:16:45 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-04-25 08:26:19 -0700 |
commit | 8315ef6f395cc4e14171c59e1176711976deeb84 (patch) | |
tree | 71eb12ec99f3b7715ade7552d20ed7daf7e9ac36 /drivers/scsi/fcoe/Makefile | |
parent | 865255b5a2e5a905a1cd8ff8444604af61ee79d8 (diff) | |
download | linux-8315ef6f395cc4e14171c59e1176711976deeb84.tar.bz2 |
ixgbe: Avoid performing unnecessary resets for macvlan offload
The original implementation for macvlan offload has us performing a full
port reset every time we added a new macvlan. This shouldn't be necessary
and can be avoided with a few behavior changes.
This patches updates the logic for the queues so that we have essentially 3
possible configurations for macvlan offload. They consist of 15 macvlans
with 4 queues per macvlan, 31 macvlans with 2 queues per macvlan, and 63
macvlans with 1 queue per macvlan. As macvlans are added you will encounter
up to 3 total resets if you add all the way up to 63, and after that the
device will stay in the mode supporting up to 63 macvlans until the L2FW
flag is cleared.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/scsi/fcoe/Makefile')
0 files changed, 0 insertions, 0 deletions