diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2007-11-15 06:05:37 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-01-25 23:17:44 +0100 |
commit | 48fe5e594c979177b7f20affd027be56e8ea2767 (patch) | |
tree | 7e2885c5f3ac8cd1abc4366b228088589f1ec917 /drivers/infiniband/hw/mthca | |
parent | IB/ipath: Add mappings from HW register to PortInfo port physical state (diff) | |
download | linux-48fe5e594c979177b7f20affd027be56e8ea2767.tar.xz linux-48fe5e594c979177b7f20affd027be56e8ea2767.zip |
IPoIB: Remove redundant check of netif_queue_stopped() in xmit handler
qdisc_run() now tests for queue_stopped() before calling
__qdisc_run(), and the same check is done in every iteration of
__qdisc_run(), so another check is not required in the driver xmit.
This means that ipoib_start_xmit() no longer needs to test
netif_queue_stopped(); the test was added to fix earlier kernels,
where the networking stack did not guarantee that the xmit method of
an LLTX driver would not be called after the queue was stopped, but
current kernels do provide this guarantee.
To validate, I put a debug in the TX_BUSY path which never hit with 64
threads running overnight exercising this code a few 100 million
times.
Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca')
0 files changed, 0 insertions, 0 deletions