forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-native-tnl: Refactor tunnel checksum offloading.
All required informations is already tracked with l3_ofs, l4_ofs, inner_l3_ofs and inner_l4_ofs in dp_packet. Remove specifics about DPDK l[2-4]_len from generic OVS code. DPDK specific netdev-dpdk code can then compute required mbuf specifics incrementally: - outer_l2_len and outer_l3_len are needed for tunneling (and below features), - l2_len is needed for IP checksum (and below features), - l3_len is needed for L4 checksum (and below features), - l4_len and tso_segsz are only needed when doing TSO, Signed-off-by: David Marchand <[email protected]>
- Loading branch information
1 parent
0414af0
commit 73e608c
Showing
3 changed files
with
37 additions
and
114 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
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
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