Re: [patch] acenic driver update

From: kuznet@ms2.inr.ac.ru
Date: Tue Nov 14 2000 - 13:10:52 EST


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/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:26 EST