]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5e: Use vhca id as the hairpin peer identifier
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 20 Dec 2017 15:53:22 +0000 (17:53 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 19 Jan 2018 20:41:32 +0000 (22:41 +0200)
commitd8822868535eacd7ff52afb0c542361f54280108
treeb0308fb680ea67ce1438e0a8e28b88d83514265a
parent60c2530696320ee6ffe4491c17079fa403790c98
net/mlx5e: Use vhca id as the hairpin peer identifier

The peer vhca id spans less bits vs the ifindex and can
well serve for the hairpin hash key, move to use that.

This is a pre-step to put more info into the hairpin hash
key in downstream patch while keeping it at 32 bits.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c