WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-API] Re: [ovs-dev] [Xen-devel] Re: [PATCH] ethtool: ETHTOOL_SFEATUR

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: [Xen-API] Re: [ovs-dev] [Xen-devel] Re: [PATCH] ethtool: ETHTOOL_SFEATURES: remove NETIF_F_COMPAT return
From: Jesse Gross <jesse@xxxxxxxxxx>
Date: Sat, 28 May 2011 10:31:03 -0700
Cc: dev@xxxxxxxxxxxxxxx, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "netdev@xxxxxxxxxxxxxxx" <netdev@xxxxxxxxxxxxxxx>, xen-api@xxxxxxxxxxxxxxxxxxx, Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>, Michał Mirosław <mirq-linux@xxxxxxxxxxxx>, David Miller <davem@xxxxxxxxxxxxx>
Delivery-date: Fri, 03 Jun 2011 09:40:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1306577228.23577.17.camel@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <20110516.140958.625993829749556424.davem@xxxxxxxxxxxxx> <20110519100331.GA25103@xxxxxxxxxxxx> <20110524091437.GA10779@xxxxxxxxxxxx> <20110524.153930.610330240390616957.davem@xxxxxxxxxxxxx> <20110524215923.GA20138@xxxxxxxxxxxx> <1306505626.2759.4.camel@bwh-desktop> <20110527152809.GA7620@xxxxxxxxxxxx> <1306511150.2759.17.camel@bwh-desktop> <20110527163409.GA8497@xxxxxxxxxxxx> <1306538755.2759.31.camel@bwh-desktop> <20110528073525.GA19033@xxxxxxxxxxxx> <1306577228.23577.17.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
2011/5/28 Ian Campbell <Ian.Campbell@xxxxxxxxxx>:
> 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:
>> > On Fri, 2011-05-27 at 18:34 +0200, Michał Mirosław wrote:
>> > > On Fri, May 27, 2011 at 04:45:50PM +0100, Ben Hutchings wrote:
>> > > > On Fri, 2011-05-27 at 17:28 +0200, Michał Mirosław wrote:
>> > [...]
>> > > > >      (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().

ETHTOOL_GFLAGS didn't expose the vlan acceleration flags until 2.6.37,
which is why /sys/class/net was used instead.

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>