[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090903.201057.33906063.davem@davemloft.net>
Date: Thu, 03 Sep 2009 20:10:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] macvlan: add multiqueue capability
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 03 Sep 2009 12:11:45 +0200
> 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.
>
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists