]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: determine vlan_id of stacked net_device
authorUrsula Braun <ubraun@linux.ibm.com>
Wed, 2 May 2018 14:56:47 +0000 (16:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 17:29:12 +0000 (13:29 -0400)
commit903ece7e355b7c6be9e66be740ea7263ffaa7daf
treede4b7fd5d06c7221a155a9bf9000f513b93c4275
parent8da95175960725c3c396355684b5b40f14178687
net/smc: determine vlan_id of stacked net_device

An SMC link group is bound to a specific vlan_id. Its link uses
the RoCE-GIDs established for the specific vlan_id. This patch makes
sure the appropriate vlan_id is determined for stacked scenarios like
for instance a master bonding device with vlan devices enslaved.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_core.c