summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2018-07-24 13:59:33 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-26 02:28:57 +0300
commit6360cd625e88a557f823001a796ca9e6065b3f0e (patch)
tree4440089114757b64884c95db4851050ccca2926e /tools
parentbc510d59cf173d9b239173580fc9f44523256135 (diff)
downloadlinux-6360cd625e88a557f823001a796ca9e6065b3f0e.tar.xz
net/mlx5e: Use ttl from route lookup on tc encap offload only if needed
Currnetly, the ttl for the encapsulation headers is taken from the route lookup result. As a pre-step to allow for an offload case when the user specifies the ttl, take it from the route lookup only if not zero. While here, also move to use u8 instead int for the ttl. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions