[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55287BBD.2030006@plumgrid.com>
Date: Fri, 10 Apr 2015 18:41:17 -0700
From: Alexei Starovoitov <ast@...mgrid.com>
To: Cong Wang <cwang@...pensource.com>,
Daniel Borkmann <daniel@...earbox.net>
CC: David Miller <davem@...emloft.net>,
Jamal Hadi Salim <jhs@...atatu.com>,
Eric Dumazet <edumazet@...gle.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] net: use jump label patching for ingress qdisc
in __netif_receive_skb_core
On 4/10/15 6:14 PM, Cong Wang wrote:
> So the following code is slow enough to deserve a static key
> optimization?
>
> struct netdev_queue *rxq = rcu_dereference(skb->dev->ingress_queue);
>
> if (!rxq || rcu_access_pointer(rxq->qdisc) == &noop_qdisc)
> goto out;
It helps a little bit here and helps even more to my ingress_l2 patch
that is based on top of this one. Every cycle counts.
--
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