i40e/base: add AOC PHY types
authorHelin Zhang <helin.zhang@intel.com>
Thu, 30 Apr 2015 15:03:33 +0000 (23:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 17 May 2015 21:18:23 +0000 (23:18 +0200)
commitd749d4d8996948ee09ea8cab64b11333bbee99f8
treecbb9d1a8d2420170505a4c25e1ebb7027c9104c7
parent3a811d2efce3300f5bdc60ed6bfc7f9954443b0a
i40e/base: add AOC PHY types

Add the 10G and 40G AOC phy types to the case statement in
get_media_type so that the correct information gets reported back
to the user.

Test report: http://www.dpdk.org/ml/archives/dev/2015-May/017384.html

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Tested-by: Min Cao <min.cao@intel.com>
lib/librte_pmd_i40e/i40e/i40e_common.c