netdev-linux: correctly detect port speed bits beyond 16bit
authorSimon Horman <simon.horman@netronome.com>
Sun, 29 Nov 2015 23:49:03 +0000 (08:49 +0900)
committerBen Pfaff <blp@ovn.org>
Mon, 30 Nov 2015 00:05:21 +0000 (16:05 -0800)
commit0c61535603807c4ee8eeea8e0e2c2e83cb46fe24
treef285674284eeb7fd423d3edc86f4e9334e2f6ac7
parent13327b8eb52ec2dcd932c439012491f87e0cdead
netdev-linux: correctly detect port speed bits beyond 16bit

This includes bits for:
* Backplane
* 1000 baseKX (full duplex)
* All speeds of 10Gbit and above other than 10000 baseT (full duplex).

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/netdev-linux.c