datapath: Convert internal_dev to ndo_fix_features.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 4 Nov 2011 20:31:45 +0000 (13:31 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 4 Nov 2011 20:31:45 +0000 (13:31 -0700)
commit6f17885b23ef3ff3c9b38de2f22b11bedf55cb1e
treedb5b968ea0a4e72c6b561c73e866f32b5edacec7
parent9df6a67988a32ad65e5b358f460bacf9b4cf34a2
datapath: Convert internal_dev to ndo_fix_features.

From 2.6.39 kernel netdev features are set using set_features and
fix_features APIs. Since internal-dev does not need any special
checks on setting feature, there is no need to define set_features
or fix_features. Only hw_features needs to be set to features that
are supported by internal-dev.

Following patch does same and drops discrete offload setting ops for
newer kernel.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Bug #7772
datapath/vport-internal_dev.c