]> 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)
commit47c18a173927ea2ad50f8daa05e3134818ae5e67
treeb0308fb680ea67ce1438e0a8e28b88d83514265a
parent89f9a40b26c09cbdab28aa9b193cff1816d4efcb
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