diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2007-09-25 22:42:02 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:17 -0400 |
commit | e24eb521fbf2a350ce879dfc1d8e56d4ffa2aa22 (patch) | |
tree | 6495c4bd8e2bdd6a376dea5252d36bc61f40c8a6 | |
parent | 1156b2c689bf509cdc254394598d410787a02aec (diff) |
[NET]: note that NETIF_F_LLTX is deprecated
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>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | Documentation/networking/netdevices.txt | 3 | ||||
-rw-r--r-- | include/linux/netdevice.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/networking/netdevices.txt b/Documentation/networking/netdevices.txt index 9f7be9b7785e..d0f71fc7f782 100644 --- a/Documentation/networking/netdevices.txt +++ b/Documentation/networking/netdevices.txt | |||
@@ -73,7 +73,8 @@ dev->hard_start_xmit: | |||
73 | has to lock by itself when needed. It is recommended to use a try lock | 73 | has to lock by itself when needed. It is recommended to use a try lock |
74 | for this and return NETDEV_TX_LOCKED when the spin lock fails. | 74 | for this and return NETDEV_TX_LOCKED when the spin lock fails. |
75 | The locking there should also properly protect against | 75 | The locking there should also properly protect against |
76 | set_multicast_list. | 76 | set_multicast_list. Note that the use of NETIF_F_LLTX is deprecated. |
77 | Dont use it for new drivers. | ||
77 | 78 | ||
78 | Context: Process with BHs disabled or BH (timer), | 79 | Context: Process with BHs disabled or BH (timer), |
79 | will be called with interrupts disabled by netconsole. | 80 | will be called with interrupts disabled by netconsole. |
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index baa915f0d285..2088097663b5 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -449,7 +449,8 @@ struct net_device | |||
449 | #define NETIF_F_HW_VLAN_FILTER 512 /* Receive filtering on VLAN */ | 449 | #define NETIF_F_HW_VLAN_FILTER 512 /* Receive filtering on VLAN */ |
450 | #define NETIF_F_VLAN_CHALLENGED 1024 /* Device cannot handle VLAN packets */ | 450 | #define NETIF_F_VLAN_CHALLENGED 1024 /* Device cannot handle VLAN packets */ |
451 | #define NETIF_F_GSO 2048 /* Enable software GSO. */ | 451 | #define NETIF_F_GSO 2048 /* Enable software GSO. */ |
452 | #define NETIF_F_LLTX 4096 /* LockLess TX */ | 452 | #define NETIF_F_LLTX 4096 /* LockLess TX - deprecated. Please */ |
453 | /* do not use LLTX in new drivers */ | ||
453 | #define NETIF_F_NETNS_LOCAL 8192 /* Does not change network namespaces */ | 454 | #define NETIF_F_NETNS_LOCAL 8192 /* Does not change network namespaces */ |
454 | #define NETIF_F_MULTI_QUEUE 16384 /* Has multiple TX/RX queues */ | 455 | #define NETIF_F_MULTI_QUEUE 16384 /* Has multiple TX/RX queues */ |
455 | #define NETIF_F_LRO 32768 /* large receive offload */ | 456 | #define NETIF_F_LRO 32768 /* large receive offload */ |