* [PATCH] note that NETIF_F_LLTX is deprecated (was: [kvm-devel][PATCH 3/6] virtio net driver) [not found] ` <20070921140833.GA12242@gondor.apana.org.au> @ 2007-09-21 14:59 ` Christian Borntraeger 2007-09-22 0:57 ` Herbert Xu 0 siblings, 1 reply; 3+ messages in thread From: Christian Borntraeger @ 2007-09-21 14:59 UTC (permalink / raw) To: Herbert Xu; +Cc: Jeff Garzik, netdev, David Miller Am Freitag, 21. September 2007 schrieb Herbert Xu: > Please don't use LLTX in new drivers. We're trying to get rid > of it since it's > > 1) unnecessary; > 2) causes problems with AF_PACKET seeing things twice. I suggest to document that LLTX is deprecated. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> --- Documentation/networking/netdevices.txt | 3 ++- include/linux/netdevice.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) Index: linux-2.6/include/linux/netdevice.h =================================================================== --- linux-2.6.orig/include/linux/netdevice.h +++ linux-2.6/include/linux/netdevice.h @@ -339,7 +339,8 @@ struct net_device #define NETIF_F_HW_VLAN_FILTER 512 /* Receive filtering on VLAN */ #define NETIF_F_VLAN_CHALLENGED 1024 /* Device cannot handle VLAN packets */ #define NETIF_F_GSO 2048 /* Enable software GSO. */ -#define NETIF_F_LLTX 4096 /* LockLess TX */ +#define NETIF_F_LLTX 4096 /* LockLess TX - deprecated. Please */ + /* do not use LLTX in new drivers */ #define NETIF_F_MULTI_QUEUE 16384 /* Has multiple TX/RX queues */ /* Segmentation offload features */ Index: linux-2.6/Documentation/networking/netdevices.txt =================================================================== --- linux-2.6.orig/Documentation/networking/netdevices.txt +++ linux-2.6/Documentation/networking/netdevices.txt @@ -73,7 +73,8 @@ dev->hard_start_xmit: has to lock by itself when needed. It is recommended to use a try lock for this and return NETDEV_TX_LOCKED when the spin lock fails. The locking there should also properly protect against - set_multicast_list. + set_multicast_list. Note that the use of NETIF_F_LLTX is deprecated. + Dont use it for new drivers. Context: Process with BHs disabled or BH (timer), will be called with interrupts disabled by netconsole. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] note that NETIF_F_LLTX is deprecated (was: [kvm-devel][PATCH 3/6] virtio net driver) 2007-09-21 14:59 ` [PATCH] note that NETIF_F_LLTX is deprecated (was: [kvm-devel][PATCH 3/6] virtio net driver) Christian Borntraeger @ 2007-09-22 0:57 ` Herbert Xu 2007-09-26 2:42 ` [PATCH] note that NETIF_F_LLTX is deprecated David Miller 0 siblings, 1 reply; 3+ messages in thread From: Herbert Xu @ 2007-09-22 0:57 UTC (permalink / raw) To: Christian Borntraeger; +Cc: Jeff Garzik, netdev, David Miller On Fri, Sep 21, 2007 at 04:59:54PM +0200, Christian Borntraeger wrote: > > I suggest to document that LLTX is deprecated. > > Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> This looks good to me. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] note that NETIF_F_LLTX is deprecated 2007-09-22 0:57 ` Herbert Xu @ 2007-09-26 2:42 ` David Miller 0 siblings, 0 replies; 3+ messages in thread From: David Miller @ 2007-09-26 2:42 UTC (permalink / raw) To: herbert; +Cc: borntraeger, jeff, netdev From: Herbert Xu <herbert@gondor.apana.org.au> Date: Sat, 22 Sep 2007 08:57:10 +0800 > On Fri, Sep 21, 2007 at 04:59:54PM +0200, Christian Borntraeger wrote: > > > > I suggest to document that LLTX is deprecated. > > > > Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> > > This looks good to me. To me too, applied to net-2.6.24, thanks. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-26 2:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1190289808.7262.223.camel@localhost.localdomain>
[not found] ` <200709211436.43964.borntraeger@de.ibm.com>
[not found] ` <20070921140833.GA12242@gondor.apana.org.au>
2007-09-21 14:59 ` [PATCH] note that NETIF_F_LLTX is deprecated (was: [kvm-devel][PATCH 3/6] virtio net driver) Christian Borntraeger
2007-09-22 0:57 ` Herbert Xu
2007-09-26 2:42 ` [PATCH] note that NETIF_F_LLTX is deprecated David Miller
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).