[ovs-dev] [PATCH ovn] ovn: Remove SBREC_TABLE_HA_CHASSIS ctl_table

2022-10-24 Thread Jun Gu
From: "jun.gu" Fix bug that ovn-sbctl daemon process exit when list non-existed ha_chassis. Submitted-at: https://github.com/ovn-org/ovn/pull/151 Signed-off-by: Jun Gu --- utilities/ovn-sbctl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/utilities/ovn-sbctl.c b/utilities/o

[ovs-dev] [PATCH net-next v4] net: openvswitch: Check vport netdev name

2024-04-19 Thread Jun Gu
Ensure that the provided netdev name is not one of its aliases to prevent unnecessary creation and destruction of the vport by ovs-vswitchd. Signed-off-by: Jun Gu Acked-by: Eelco Chaudron --- net/openvswitch/vport-netdev.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[ovs-dev] [PATCH net-next v4] net: openvswitch: Check vport netdev name

2024-04-18 Thread Jun Gu
From: "jun.gu" Ensure that the provided netdev name is not one of its aliases to prevent unnecessary creation and destruction of the vport by ovs-vswitchd. Signed-off-by: jun.gu Acked-by: Eelco Chaudron --- net/openvswitch/vport-netdev.c | 5 - 1 file changed, 4 insertions(+), 1

Re: [ovs-dev] [PATCH net-next v4] net: openvswitch: Check vport netdev name

2024-04-22 Thread Jun Gu
My mistake, I'm wondering that I need to submit a new patch or a v5 version based on this patch? 在 4/23/24 08:38, Jakub Kicinski 写道: On Fri, 19 Apr 2024 14:14:25 +0800 Jun Gu wrote: vport->dev = dev_get_by_name(ovs_dp_get_net(vport->dp), name); - if (!vpor

Re: [ovs-dev] [PATCH] net: openvswitch: Check vport name

2024-04-16 Thread Jun Gu
ration to run repeatedly. So the above issue can be avoided by the patch. 在 4/15/24 18:04, Eelco Chaudron 写道: On 13 Apr 2024, at 10:48, jun.gu wrote: Check vport name from dev_get_by_name, this can avoid to add and remove NIC repeatedly when NIC rename failed at system startup. Signed-off-by:

[ovs-dev] [PATCH net-next] net: openvswitch: Release reference to netdev

2024-04-23 Thread Jun Gu
dev_get_by_name will provide a reference on the netdev. So ensure that the reference of netdev is released after completed. Fixes: 2540088b836f ("net: openvswitch: Check vport netdev name") Signed-off-by: Jun Gu --- net/openvswitch/vport-netdev.c | 8 ++-- 1 file changed, 6 insert