[ovs-dev] [PATCH net-next v2] net: openvswitch: select vport upcall portid directly

David Miller davem at davemloft.net
Thu Nov 7 05:25:48 UTC 2019


From: xiangxia.m.yue at gmail.com
Date: Thu,  7 Nov 2019 00:34:28 +0800

> From: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> 
> 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>
> ---
> v2: drectly -> directly in the commit title

Applied.


More information about the dev mailing list