diff options
author | Alexander Duyck <[email protected]> | 2018-06-04 11:07:24 -0400 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2018-06-11 07:49:55 -0700 |
commit | 646bb57ce86e4d7b0bd9d33244450ae009411e48 (patch) | |
tree | 999bde78743d6154a0ce11157c39a9cb4cc0fbfe /include/linux/fpga/fpga-mgr.h | |
parent | f0dc7f9c6dd99891611fca5849cbc4c6965b690e (diff) |
ixgbe: Fix setting of TC configuration for macvlan case
When we were enabling macvlan interfaces we weren't correctly configuring
things until ixgbe_setup_tc was called a second time either by tweaking the
number of queues or increasing the macvlan count past 15.
The issue came down to the fact that num_rx_pools is not populated until
after the queues and interrupts are reinitialized.
Instead of trying to set it sooner we can just move the call to setup at
least 1 traffic class to the SR-IOV/VMDq setup function so that we just set
it for this one case. We already had a spot that was configuring the queues
for TC 0 in the code here anyway so it makes sense to also set the number
of TCs here as well.
Fixes: 49cfbeb7a95c ("ixgbe: Fix handling of macvlan Tx offload")
Signed-off-by: Alexander Duyck <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions