[ovs-dev] [PATCH V3 13/24] datapath: select vport upcall portid directly
Yi-Hung Wei
yihung.wei at gmail.com
Tue Sep 29 21:44:02 UTC 2020
On Wed, Sep 16, 2020 at 10:34 AM Greg Rose <gvrose8192 at gmail.com> wrote:
>
> From: Tonghao Zhang <xiangxia.m.yue at gmail.com>
>
> Upstream commit:
> commit 90ce9f23a886bdef7a4b7a9bd52c7a50a6a81635
> Author: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> Date: Thu Nov 7 00:34:28 2019 +0800
>
> net: openvswitch: select vport upcall portid directly
>
> The commit 69c51582ff786 ("dpif-netlink: don't allocate per
> thread netlink sockets"), in Open vSwitch ovs-vswitchd, has
> changed the number of allocated sockets to just one per port
> by moving the socket array from a per handler structure to
> a per datapath one. In the kernel datapath, a vport will have
> only one socket in most case, if so select it directly in
> fast-path.
>
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> Acked-by: Pravin B Shelar <pshelar at ovn.org>
> Signed-off-by: David S. Miller <davem at davemloft.net>
>
> Cc: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> Reviewed-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
> ---
LGTM
Acked-by: Yi-Hung Wei <yihung.wei at gmail.com>
More information about the dev
mailing list