Messages in this thread |  | | From | kuznet@ms2 ... | Subject | Re: [patch] acenic driver update | Date | Tue, 14 Nov 2000 21:10:52 +0300 (MSK) |
| |
Hello!
> - netif_stop_queue() was called in post softnet mode when entering > start_xmit() which was unnecessary. Now it is only set when the > queue is full.
Jes, it is not necessary since linux-2.0 or so...
All the difference with softnet is that you need not _test_ tbusy on entry. That's all, nothing more.
So, you do:
#if (LINUX_VERSION_CODE < 0x02032b) if (test_bit(&tbusy, 0)) return 1; #endif
on entry to start_xmit.
All the rest of code is invariant for 2.0, 2.2, 2.4, provided netif_* macros are defined for earlier kernels.
Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |