[ovs-dev] [PATCH] vport-internal_dev:Drop packets when interdev is not up

2014-07-29 Thread lichunhe
From: Chunhe Li If the internal device is not up, it should drop received packets. Sometimes it receive the broadcast or multicast packets, and the ip protocol stack will casue more cpu usage wasted. Signed-off-by: Chunhe Li --- datapath/vport-internal_dev.c | 5 + 1 file changed, 5 insert

[ovs-dev] [PATCH] ovs-lib.in:Add process name checking when start ovs service

2014-07-29 Thread lichunhe
From: Chunhe Li Only check wheather is daemon pid exist is not enough, becasue the pid which store in pidfile maybe assign to another process by OS. So it will checking failed for pid exist, but the starting process which own the pid is not the ovs daemon. Signed-off-by: Chunhe Li Signed-off-b

Re: [ovs-dev] [PATCH] vport-internal_dev:Drop packets when interdev is not up

2014-07-30 Thread Lichunhe
Thanks your reply, Could this patch be applied to other branches? Chunhe >-Original Message- >From: Pravin Shelar [mailto:pshe...@nicira.com] >Sent: Thursday, July 31, 2014 4:38 AM >To: Lichunhe >Cc: dev@openvswitch.org >Subject: Re: [ovs-dev] [PATCH] vport-internal_dev

Re: [ovs-dev] [PATCH] ovs-lib.in:Add process name checking when start ovs service

2014-07-31 Thread Lichunhe
>-Original Message- >From: Ben Pfaff [mailto:b...@nicira.com] >Sent: Friday, August 01, 2014 8:19 AM >To: Lichunhe >Cc: dev@openvswitch.org; Qianhuibin (Huibin QIAN, Euler) >Subject: Re: [ovs-dev] [PATCH] ovs-lib.in:Add process name checking when start >ovs service &g

[ovs-dev] [PATCH v2] ovs-lib.in:Add process name checking when start ovs service

2014-08-04 Thread lichunhe
From: Chunhe Li Only check wheather is daemon pid exist is not enough, becasue the pid which store in pidfile maybe assign to another process by OS. So it will checking failed for pid exist, but the starting process which own the pid is not the ovs daemon. patch v2: using /proc/$pid/comm chec

Re: [ovs-dev] [PATCH v2] ovs-lib.in:Add process name checking when start ovs service

2014-08-05 Thread Lichunhe
>-Original Message- >From: Ben Pfaff [mailto:b...@nicira.com] >Sent: Wednesday, August 06, 2014 4:52 AM >To: Lichunhe >Cc: dev@openvswitch.org; Qianhuibin (Huibin QIAN, Euler); Wuyunfei >Subject: Re: [PATCH v2] ovs-lib.in:Add process name checking when start ovs >serv

Re: [ovs-dev] [PATCH v2] ovs-lib.in:Add process name checking when start ovs service

2014-08-05 Thread Lichunhe
>-Original Message- >From: Ben Pfaff [mailto:b...@nicira.com] >Sent: Wednesday, August 06, 2014 4:52 AM >To: Lichunhe >Cc: dev@openvswitch.org; Qianhuibin (Huibin QIAN, Euler); Wuyunfei >Subject: Re: [PATCH v2] ovs-lib.in:Add process name checking when start ovs >serv

[ovs-dev] [PATCH 2/2] rhel:Change service providers to 'openvswitch'

2014-10-14 Thread lichunhe
From: Chunhe Li In rethat OS, the service name is "openvswitch", providers also should be change to "openvswitch" Signed-off-by: Chunhe Li Signed-off-by: Dongdong --- rhel/etc_init.d_openvswitch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhel/etc_init.d_openvswitch b/

Re: [ovs-dev] [PATCH 2/2] rhel:Change service providers to 'openvswitch'

2014-10-16 Thread Lichunhe
, October 17, 2014 2:50 AM >To: Lichunhe >Cc: dev@openvswitch.org; Liuyongan; dongdong (A); Qianhuibin >Subject: Re: [ovs-dev] [PATCH 2/2] rhel:Change service providers to >'openvswitch' > >On Wed, Oct 15, 2014 at 10:00:29AM +0800, lichu...@huawei.com wrote: >&g