[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEP_g=_D1m+p0POKC5ozFEgfEhGzN9G_+Yja_iBz4guuRe6Nog@mail.gmail.com>
Date: Sun, 7 Oct 2012 11:30:51 -0700
From: Jesse Gross <jesse@...ira.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: davem@...emloft.net, yongjun_wei@...ndmicro.com.cn,
dev@...nvswitch.org, netdev@...r.kernel.org
Subject: Re: [PATCH] openvswitch: using nla_for_each_X to simplify the code
On Sun, Oct 7, 2012 at 6:42 AM, Wei Yongjun <weiyj.lk@...il.com> wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> Using nla_for_each_nested() or nla_for_each_attr()
> to simplify the code.
>
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
It is done this way intentionally to avoid checks on the fast path for
conditions that have already been validated.
--
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