[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1375485466.4457.4.camel@edumazet-glaptop>
Date: Fri, 02 Aug 2013 16:17:46 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: nikolay@...hat.com, netdev@...r.kernel.org, andy@...yhouse.net,
fubar@...ibm.com
Subject: Re: [PATCH net] bonding: fix arp monitoring with vlan slaves
On Fri, 2013-08-02 at 15:32 -0700, David Miller wrote:
> Handling this specially in bonding isn't really ideal.
>
> Please either hide this detail in dev_trans_start(), or (preferrably)
> have vlan_dev_hard_start_xmit() set the trans_start timestamp
> properly thus making this just work for everything.
vlan is LLTX, so setting the timestamp would incur false sharing on
multiqueue.
But it's true we need a helper, because many callers do
if (dev->priv_flags & IFF_802_1Q_VLAN)
dev = vlan_dev_real_dev(dev);
or the slighly better
if (is_vlan_dev(dev))
dev = vlan_dev_real_dev(dev);
--
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