Dropped transmits are not common, but when they do occur, increasing
the transmit queue length often helps.
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
static spinlock_t txlock;
static struct sk_buff_head skbtxq;
-/* enters with txlock held
- *
- * Use __must_hold(&txlock) for sparse when upcoming patch adds it to
- * compiler.h.
- */
+/* enters with txlock held */
static int
-tx(void)
+tx(void) __must_hold(&txlock)
{
struct sk_buff *skb;