net/ice: fix speed capability
authorChenmin Sun <chenmin.sun@intel.com>
Fri, 29 Mar 2019 09:53:51 +0000 (17:53 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 17:03:52 +0000 (18:03 +0100)
commit0f4cff5af20a8def244e5327b860afdf556e0c24
tree9ab31c11041bd520c7757d64ec935242b97fb355
parent5c67301273fff63d81c343cee164a3d87918b567
net/ice: fix speed capability

Device speed capability should be specified based on different PHY types
instead of a fixed value, this patch fix the issue.

Fixes: 690175ee51bf ("net/ice: support getting device information")
Cc: stable@dpdk.org
Signed-off-by: Chenmin Sun <chenmin.sun@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ice/ice_ethdev.c
drivers/net/ice/ice_ethdev.h