lkml.org 
[lkml]   [2000]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] acenic driver update
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.060 / U:3.124 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site