Re: pktgen and spin_lock_bh in xmit path

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ben Greear
Date: Tuesday, October 20, 2009 - 2:10 pm

On 10/20/2009 11:54 AM, Eric Dumazet wrote:


I think that must be wrong.  The record_rx_queue sets it to queue_map + 1,
but the hard-start-xmit method (in ixgbe/ixgbe_main.c, at least), takes the
skb->queue_map and uses it as an index with no subtraction.

This causes watchdog timeouts because we are calling txq_trans_update in pktgen on
queue 0, for instance, but sending pkts on queue 1.  If queue 1 is ever
busy when the WD fires, link is reset.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pktgen and spin_lock_bh in xmit path, Ben Greear, (Mon Oct 19, 8:38 pm)
Re: pktgen and spin_lock_bh in xmit path, Eric Dumazet, (Mon Oct 19, 8:48 pm)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Mon Oct 19, 9:52 pm)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 10:37 am)
Re: pktgen and spin_lock_bh in xmit path, Eric Dumazet, (Tue Oct 20, 10:44 am)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 10:54 am)
Re: pktgen and spin_lock_bh in xmit path, Eric Dumazet, (Tue Oct 20, 11:35 am)
Re: pktgen and spin_lock_bh in xmit path, Eric Dumazet, (Tue Oct 20, 11:54 am)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 1:16 pm)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 2:10 pm)
Re: pktgen and spin_lock_bh in xmit path, Eric Dumazet, (Tue Oct 20, 2:22 pm)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 2:30 pm)
Re: pktgen and spin_lock_bh in xmit path, Eric Dumazet, (Tue Oct 20, 2:57 pm)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 4:17 pm)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 8:05 pm)
Re: pktgen and spin_lock_bh in xmit path, Eric Dumazet, (Tue Oct 20, 8:12 pm)
Re: pktgen and spin_lock_bh in xmit path, Eric Dumazet, (Tue Oct 20, 8:59 pm)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 10:00 pm)
Re: pktgen and spin_lock_bh in xmit path, Krishna Kumar2, (Tue Oct 20, 10:12 pm)
Re: pktgen and spin_lock_bh in xmit path, Eric Dumazet, (Tue Oct 20, 10:14 pm)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 10:32 pm)
Re: pktgen and spin_lock_bh in xmit path, Ben Greear, (Tue Oct 20, 10:40 pm)