Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-tc-offloads: Fix vxlan tunnel offloading
This commit fixes offloading when tunnel id is 0 by checking for valid tunnel dst ipv4 or ipv6, like done in the normal flow. Also need to reset the tunnel mask outside the condition because in the special case, when adding a port with key=flow, the match for tunnel_set gets a tunnel key id 0 with a mask. If we don't reset the mask we'll fail later when we check for unknown attributes that the mask was not reset. Fixes: 8f283af ("netdev-tc-offloads: Implement netdev flow put using tc interface") Signed-off-by: Paul Blakey <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Signed-off-by: Simon Horman <[email protected]>
- Loading branch information