Thread (1 message) 1 message, 1 author, 2011-05-28

Re: [Xen-devel] Re: [PATCH] ethtool: ETHTOOL_SFEATURES: remove NETIF_F_COMPAT return

From: Ian Campbell <hidden>
Date: 2011-05-28 10:07:08
Also in: xen-devel

On Sat, 2011-05-28 at 08:35 +0100, Michał Mirosław wrote:
On Sat, May 28, 2011 at 12:25:55AM +0100, Ben Hutchings wrote:
quoted
On Fri, 2011-05-27 at 18:34 +0200, Michał Mirosław wrote:
quoted
On Fri, May 27, 2011 at 04:45:50PM +0100, Ben Hutchings wrote:
quoted
On Fri, 2011-05-27 at 17:28 +0200, Michał Mirosław wrote:
[...]
quoted
quoted
quoted
     (note: ETHTOOL_S{SG,...} are not ever going away)
   - causes NETIF_F_* to be an ABI
If feature flag numbers are not stable then what is the point of
/sys/class/net/<name>/features?  Also, I'm not aware that features have
ever been renumbered in the past.
Since no NETIF_F_* were exported earlier, I assume /sys/class/net/*/features
is a debugging aid. What is it used for besides that?
xen-api <https://github.com/xen-org/xen-api> uses it in
scripts/InterfaceReconfigureVswitch.py.  Though it doesn't seem to be
used for a particularly good reason...
Look like it should use ETHTOOL_GFLAGS instead for netdev_has_vlan_accel().

Best Regards,
Michał Mirosław

[added Cc: xen-devel]
added Cc: xen-api list and dev@openvswitch as well.

Complete thread is at
http://thread.gmane.org/gmane.linux.network/195552/focus=197019

Ian.


_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help