Correctly perform offloads when VNET_HDR is disabled
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 3 repliesApplied
- v32 patches 16 repliesSuperseded
Changes in v4 from the cover letter
- The main change here is that instead of mucking around with checksum bits, we instead treat macvtap as macvlan+tap each with separate feature sets. tap_features identify the features of only the 'tap' part and we only use them when forwarding, essentially making the 'tap' part a pseudo-device. To properly handle GSO, we always set NETIF_F_SG | NETIF_F_GSO on the 'tap' part.
- The rest of the set is mostly the same in that we allow user to change tap offload features whether VNET_HDR is set or cleared.
- When VNET_HDR is disabled, we ignore user specified tap offloads. This is now a separate patch so that if there are disagreements, it can be easily dropped.
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | macvtap: simplify usage of tap_featuresdrivers/ | +6 | 1 reply | |
| 2/3 | macvtap: Correctly set tap features when IFF_VNET_HDR is disabled.drivers/ | +0 | 1 reply | |
| 3/3 | macvtap: Ignore tap features when VNET_HDR is offdrivers/ | +4 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/3] Correctly perform offloads when VNET_HDR is disabled
Changes since v3:
- The main change here is that instead of mucking around with checksum bits, we instead treat macvtap as macvlan+tap each with separate feature sets. tap_features identify the features of only the 'tap' part and we only use them when forwarding, essentially making the 'tap' part a pseudo-device. To properly handle GSO, we always set NETIF_F_SG | NETIF_F_GSO on the 'tap' part.
- The rest of the set is mostly the same in that we allow user to change tap offload features whether VNET_HDR is set or cleared.
- When VNET_HDR is disabled, we ignore user specified tap offloads. This is now a separate patch so that if there are disagreements, it can be easily dropped.
Vlad Yasevich (3):
macvtap: simplify usage of tap_features
macvtap: Correctly set tap features when IFF_VNET_HDR is disabled.
macvtap: Ignore tap features when VNET_HDR is off
drivers/net/macvtap.c | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.1.4