]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Always publish VF link from leading hwfn
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Sun, 19 Mar 2017 11:08:20 +0000 (13:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 02:02:37 +0000 (19:02 -0700)
commite5da9a406292057acc68388e88e12072f1b26acc
tree1bf60a8ef0b83724b5b9822a4b96d6798c131448
parentaa010e61470e4f569cfe23dc315fefdf413bee92
qed: Always publish VF link from leading hwfn

The link information exists only on the leading hwfn,
but some of its derivatives [e.g., min/max rate] need to
be configured for each hwfn.
When re-basing the VF link view, use the leading hwfn
information as basis for all existing hwfns to allow
said configurations to stick.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_sriov.c