]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Init ethtool link settings after reading updated PHY configuration.
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Sun, 12 Jul 2020 00:48:24 +0000 (20:48 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Jul 2020 22:29:01 +0000 (15:29 -0700)
commit7c94ef4e278e62ada40a8e276867c29bcff7772f
tree1b56f5ff01e01980b34fc3204083176184848cb9
parentf6c284d4a908c0f325eb63a7ce4d93916e889334
bnxt_en: Init ethtool link settings after reading updated PHY configuration.

In a shared port PHY configuration, async event is received when any of the
port modifies the configuration. Ethtool link settings should be
initialised after updated PHY configuration from firmware.

Fixes: 522d3aa4dff9 ("bnxt_en: Add async. event logic for PHY configuration changes.")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c