net/cxgbe: fix supported speed capabilities
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Wed, 28 Jun 2017 04:37:41 +0000 (10:07 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:57 +0000 (15:00 +0200)
commite307e65b3fac6c11997d27302ce83cf24bbedb18
tree046819ee5e60358a7159be85d4e006b6985acae1
parent49fe15de47658dc974c833e46b0e20487361b939
net/cxgbe: fix supported speed capabilities

Use port type to determine the supported speed capabilities.

Fixes: e274f5732225 ("ethdev: add speed capabilities")

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
doc/guides/nics/features/cxgbe.ini
drivers/net/cxgbe/cxgbe.h
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/cxgbe/cxgbe_main.c