[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1387583967.19078.476.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Fri, 20 Dec 2013 15:59:27 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 2/2] net_sched: optimize tcf_match_indev()
On Fri, 2013-12-20 at 15:49 -0800, Cong Wang wrote:
> On Thu, Dec 19, 2013 at 5:34 PM, Cong Wang <xiyou.wangcong@...il.com> wrote:
> > tcf_match_indev() is called in fast path, it is not wise to
> > search for a netdev by ifindex and then compare by its name,
> > just compare the ifindex.
> >
> > This will also save some bytes from the core struct of u32.
> >
> > Cc: Jamal Hadi Salim <jhs@...atatu.com>
> > Cc: David S. Miller <davem@...emloft.net>
> > Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
>
>
> Jamal, any comments on this patch itself?
How device renaming (dev_change_name()) is handled ?
--
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