-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/gve: add ptype parsing to DQ format
Currently, the packet type is parsed as part of adding the checksum-related ol_flags for a received packet, but the parsed information is not added to the mbuf. This change adds the parsed ptypes to the mbuf and updates the RX checksum validation to rely on the mbuf instead of re-capturing the ptype from the descriptor. This helps with compatibility with programs which rely on the packet type value stored in the mbuf. Signed-off-by: Joshua Washington <joshwash@google.com> Reviewed-by: Rushil Gupta <rushilg@google.com>
- Loading branch information
1 parent
57dde22
commit f218dd4
Showing
1 changed file
with
44 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters