[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1431100621.22756.13.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Fri, 08 May 2015 08:57:01 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...mgrid.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v5 2/2] pktgen: introduce xmit_mode
'<start_xmit|netif_receive>'
On Fri, 2015-05-08 at 17:39 +0200, Jesper Dangaard Brouer wrote:
> The funny thing now is that scaling does not "happen" as we stall on:
> atomic_long_inc(&skb->dev->rx_dropped);
Note we already have percpu device refcnt.
We could extend this to contain a per cpu rx_dropped, but I guess only
these tests hit this path, so I simply used one atomic_long_t here.
I guess an ingress action can do better, by stealing the packet before
hitting this point.
--
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