bnxt_en: Implement ethtool set_fec_param() method.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 27 Sep 2020 17:42:19 +0000 (13:42 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Sep 2020 20:35:46 +0000 (13:35 -0700)
commitccd6a9dcab79dc98d8d93d5aa3f68d71494f93fe
tree40046ef3407b27d7523122dcb00a70aa5efc9126
parent2046e3c356fd18f577cd0180a299cddd10fe5752
bnxt_en: Implement ethtool set_fec_param() method.

This feature allows the user to set the different FEC modes on the NIC
port.  Any new setting will take effect immediately after a link toggle.

Reviewed-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
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c