net/i40e/base: fix PHY identifiers for 2.5G and 5G adapters
authorRobin Zhang <robinx.zhang@intel.com>
Sat, 9 Oct 2021 01:39:44 +0000 (01:39 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Sat, 9 Oct 2021 05:20:50 +0000 (07:20 +0200)
commitdafd6c6308d441af5a215dc25a7942973c3eda15
treeb69cd83093d4624aaea727cf599244aca144c5ad
parent6c751fd18eda6acd3280575c85561682b0a9330d
net/i40e/base: fix PHY identifiers for 2.5G and 5G adapters

Unlike other supported adapters, 2.5G and 5G use different PHY type
identifiers for reading/writing PHY settings and for reading link status.
This commit introduces separate PHY identifiers for these two operation
types.

Fixes: 988ed63c7441 ("net/i40e/base: add support for Carlsville device")
Cc: stable@dpdk.org
Signed-off-by: Dawid Lukwinski <dawid.lukwinski@intel.com>
Signed-off-by: Robin Zhang <robinx.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/base/i40e_adminq_cmd.h
drivers/net/i40e/base/i40e_common.c
drivers/net/i40e/base/i40e_type.h