Skip to content

macvlan offload fixes

Alexander Duyck intel-wired-lan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ixgbe: Fix interaction between SR-IOV and macvlan offloaddrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+3 -23 replies
2/5fm10k: Fix VLAN configuration for macvlan offloaddrivers/net/ethernet/intel/fm10k/fm10k_netdev.c+2 -26 replies
3/5ixgbe: Fix handling of macvlan Tx offloaddrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+15 -22 replies
4/5dev: Clean-up __skb_tx_hash to match up with traffic class based configsnet/core/dev.c+9 -90 replies
5/5dev: Cap number of queues even with accel_privnet/core/dev.c+1 -21 reply

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJesse BrandeburgShannon NelsonAndrew Bowers
SeriesA-b
1/5R-b T-b
2/5R-b
3/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [jkirsher/next-queue PATCH 0/5] macvlan offload fixes

I'm looking at performing a refactor of the macvlan offload code. However before I started I wanted to at least get things into a running state. The patches in this set are needed to address a number of issues that were preventing things from working as they were supposed to.

With these changes in place I seem to be able to receive traffic as I am supposed to in the case of ixgbe and fm10k with the offload enabled, and I am now transmitting to the correct Tx ring in the case of ixgbe.

The last two patches in the set are what I consider to be minor clean-ups to address the fact that we don't want packets to somehow stray and end up being transmitted on a queue that is supposed to be in use by a macvlan instead of the lowerdev itself.

---

Alexander Duyck (5):
ixgbe: Fix interaction between SR-IOV and macvlan offload
fm10k: Fix VLAN configuration for macvlan offload
ixgbe: Fix handling of macvlan Tx offload
dev: Clean-up __skb_tx_hash to match up with traffic class based configs
dev: Cap number of queues even with accel_priv

 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c |    4 ++--
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c   |   22 ++++++++++++++++++----
 net/core/dev.c                                  |   21 ++++++++++-----------
 3 files changed, 30 insertions(+), 17 deletions(-)

--