netdev-linux: Cache error code from get-features.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 9 Mar 2012 21:53:11 +0000 (13:53 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 9 Mar 2012 21:53:11 +0000 (13:53 -0800)
commit179e9be926b308f6fbb56985ef55c96888f413e4
treedd20a3fab726c899e721967cf2f93d5cfdce990a
parent61f7c8bfa397c0d5ec8d726df7f01879c18d248d
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