Re: pktgen and spin_lock_bh in xmit path

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Tuesday, October 20, 2009 - 10:44 am

Ben Greear a écrit :

Thats not true since commit 2c11455321f37da6fe6cc36353149f9ac9183334
Date:   Thu Sep 3 00:11:45 2009 +0000
(macvlan: add multiqueue capability )

    macvlan devices are currently not multi-queue capable.

    We can do that defining rtnl_link_ops method,
    get_tx_queues(), called from rtnl_create_link()

    This new method gets num_tx_queues/real_num_tx_queues
    from lower device.

    macvlan_get_tx_queues() is a copy of vlan_get_tx_queues().

    Because macvlan_start_xmit() has to update netdev_queue
    stats only (and not dev->stats), I chose to change
    tx_errors/tx_aborted_errors accounting to tx_dropped,
    since netdev_queue structure doesnt define tx_errors /
    tx_aborted_errors.



Something is really wrong on your kernel :)


Please try last kernel before posting patches :)
--
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)