diff options
author | Hao Lan <lanhao@huawei.com> | 2022-08-30 14:11:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-08-31 16:10:49 +0300 |
commit | 5c4f72842d1df19337b171fd4677239d2e11d047 (patch) | |
tree | 8caceb2019e622ef81234e1cbc55c00b327186e2 /drivers/net/ethernet/hisilicon/hns3/hnae3.h | |
parent | eaf83ae59e18a3480afe222daf9537d58165e052 (diff) | |
download | linux-5c4f72842d1df19337b171fd4677239d2e11d047.tar.xz |
net: hns3: add querying and setting fec llrs mode from firmware
This patch supports llrs fec mode in speed 200G for some new devices, and
suppoprts querying llrs fec ability from firmware.
Signed-off-by: Hao Lan <lanhao@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hnae3.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h index 91a28c22ad28..d7754b180f53 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h +++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h @@ -223,6 +223,7 @@ enum hnae3_fec_mode { HNAE3_FEC_AUTO = 0, HNAE3_FEC_BASER, HNAE3_FEC_RS, + HNAE3_FEC_LLRS, HNAE3_FEC_USER_DEF, }; |