summaryrefslogtreecommitdiff
path: root/tutorial
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2017-09-13 17:04:58 +0300
committerSimon Horman <simon.horman@netronome.com>2017-09-20 08:53:01 +0200
commita90120fce551359e47f05bc9528543a5a1920911 (patch)
tree329b5e521eeb78282b91ce145685b8c36dc63e35 /tutorial
parent69224120b6ca16c35c1c91888abe484626008ddb (diff)
downloadopenvswitch-a90120fce551359e47f05bc9528543a5a1920911.tar.gz
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: 8f283af89298 ("netdev-tc-offloads: Implement netdev flow put using tc interface") Signed-off-by: Paul Blakey <paulb@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'tutorial')
0 files changed, 0 insertions, 0 deletions