net/dpaa: fix link speed based on MAC type
authorSachin Saxena <sachin.saxena@nxp.com>
Fri, 21 Sep 2018 11:05:53 +0000 (16:35 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commitc1752a36b008ae91e427f89c5776727b7d7e4313
tree5b66c400302d6abca79fb5850e7fe4198124a3a4
parent55576ac26ee9f9eef51611ecd9f00f73e414cccb
net/dpaa: fix link speed based on MAC type

The link speed shall be on the basis of mac type.

Fixes: 799db4568c76 ("net/dpaa: support device info and speed capability")
Cc: shreyansh.jain@nxp.com
Cc: stable@dpdk.org
Signed-off-by: Sachin Saxena <sachin.saxena@nxp.com>
drivers/net/dpaa/dpaa_ethdev.c