]> git.baikalelectronics.ru Git - kernel.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)
commit21e5442ad4c320c13f159d637602837c941fd202
treeb0308fb680ea67ce1438e0a8e28b88d83514265a
parent7f808b02331fa096522389ee67de91f1c4b08636
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