-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-offload-tc: Fix ignore of dl type mask when installing flows.
When TC parses the flow to install, it assumes that the datalink type mask is set. However, this may not always be the case, for example, when multiple VLANs exist but only one is enabled (vlan-limit). This patch will only process the dl_type if the mask is set. It also includes a unit test to verify that the TC rules are offloaded in this case. Fixes: 1be33d5 ("netdev-tc-offloads: Don't offload header modification on ip fragments.") Reported-at: https://issues.redhat.com/browse/FDP-1114 Acked-by: Aaron Conole <aconole@redhat.com> Acked-by: Ilya Maximets <i.maximets@ovn.org> Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
- Loading branch information
Showing
2 changed files
with
37 additions
and
4 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