ixgbe: fix X550 copper link
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Tue, 16 Jun 2015 08:07:49 +0000 (16:07 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 22 Jun 2015 15:27:58 +0000 (17:27 +0200)
commit5d0d7892797f8b454dc3c233bc3f49e74c208466
tree0cc0aec48a8163a61f8b75267be41562fa4db8eb
parent4feec2f44ba9ba19c4a046311b3ee4757c1282e4
ixgbe: fix X550 copper link

For there're only laser ports on x550 before, we only considered laser
ports for the testpmd CLIs "port start/stop ...". Now we have new x550
devices which have copper ports. Use the API for copper to enable/disable
these ports.

And also let the testpmd CLI "set link-up/down ..." support copper
ports.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c