do not disable sg when packet requires no checksum
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | aoe: assert AoE packets marked as requiring no checksumdrivers/ | +1 | 0 replies | |
| 2/2 | net: do not disable sg for packets requiring no checksumnet/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] do not disable sg when packet requires no checksum
This two-part patchset replaces an earlier net-only patch that added an explicit check for the AoE protocol to harmonize_features in net/core/dev.c.
Following the suggestions of Ben Hutchings, this patchset makes the decision in the network layer protocol agnostic instead of using ETH_P_AOE as a special case. It relies on fresh skbs being CHECKSUM_NONE but makes that explicit with an assertion.
Ed L. Cashin (2):
aoe: assert AoE packets marked as requiring no checksum
net: do not disable sg for packets requiring no checksum
drivers/block/aoe/aoecmd.c | 1 + net/core/dev.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.2.5