netdev-linux: Cache error code from get-features.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 9 Mar 2012 20:59:58 +0000 (12:59 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 9 Mar 2012 20:59:58 +0000 (12:59 -0800)
commit51f87458652f552b79919bbda6ec19ada0ad8c18
tree0b2c183e2555df33c3588647f6f7503ca8fb0257
parentc9f716683d1d4302f026764effc17554c93a8c9f
netdev-linux: Cache error code from get-features.

Following patch adds support for caching error code from ETHTOOL_GSET
call. Since internal device is virtual device device feature does not
make much sense, so netdev_get_features op is removed for internal
devices.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-linux.c