net/i40e/base: fix AOC media type
authorRobin Zhang <robinx.zhang@intel.com>
Sat, 9 Oct 2021 01:39:47 +0000 (01:39 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Sat, 9 Oct 2021 05:22:12 +0000 (07:22 +0200)
commit6acdc4263c53078b562c94745ad158291299a31c
treeceb2941b74a25f035691a74e61daf089f66ab787
parent74bd4072996e64b0051d24d8d641554d225db196
net/i40e/base: fix AOC media type

For Active Optical Cable (AOC) the correct media type is "Fibre",
not "Direct Attach Copper".

Fixes: d749d4d89969 ("i40e/base: add AOC PHY types")
Fixes: aa153cc89ff0 ("net/i40e/base: add new PHY types for 25G AOC and ACC")
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_common.c