wanted_features in cxgb3 driver

From: Kevin Wilson <hidden>
Date: 2012-11-11 09:14:59

Hello,
A question:
I saw two assignment to dev->wanted_features in cxgb_extension_ioctl() in
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c.

This is the only driver which sets wanted_features of netdevice (in
net-next tree).

Is there some special reason for that ?  or is it some legacy matter ?


According to Documentation/networking/netdev-features.txt,
....
netdev->wanted_features set contains feature set requested by user.
...    This set is internal to networking core and should not be
referenced in drivers.
...

rgs,
Kevin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help