Re: [PATCH 1/1] net namespace: dynamically configure new net namespace inherit net config

2015-10-07 Thread yzhu1
Hi, Miller Would you like to check this patch? Thanks a lot. Zhu Yanjun On 06/26/2015 05:37 PM, Zhu Yanjun wrote: The new net namespace can inherit from the original net config, or the current net config. As such, a config is needed to decide where the new namespace inherit from. Signed-off-b

Re: [PATCH 1/2] net: Remove ndo_xmit_flush netdev operation, use signalling instead.

2015-09-01 Thread yzhu1
On 09/01/2015 04:23 PM, Daniel Borkmann wrote: On 09/01/2015 09:10 AM, yzhu1 wrote: On 09/01/2015 03:00 PM, David Miller wrote: From: yzhu1 Date: Tue, 1 Sep 2015 14:46:38 +0800 After I applied this patch, the skb->xmit_more is not always zero. There have been thousands upon thousands

Re: [PATCH 1/2] net: Remove ndo_xmit_flush netdev operation, use signalling instead.

2015-09-01 Thread yzhu1
On 09/01/2015 03:00 PM, David Miller wrote: From: yzhu1 Date: Tue, 1 Sep 2015 14:46:38 +0800 After I applied this patch, the skb->xmit_more is not always zero. There have been thousands upon thousands of commits since that change. You should be testing the tree as it currently stands,

Re: [PATCH 1/2] net: Remove ndo_xmit_flush netdev operation, use signalling instead.

2015-08-31 Thread yzhu1
On 08/26/2014 07:35 AM, David Miller wrote: As reported by Jesper Dangaard Brouer, for high packet rates the overhead of having another indirect call in the TX path is non-trivial. There is the indirect call itself, and then there is all of the reloading of the state to refetch the tail pointer

Re: Packet capturing performance

2015-07-01 Thread yzhu1
Hi, You can use netfilter to mirror the packets to another nic. Then you can capture these cloned patckets on this nic. It can not affect the performance. Believe me, I made tests with it. Zhu Yanjun On 05/20/2015 09:13 PM, Deniz Eren wrote: Hi, I'm having problem with packet capturing perfo

Re: [PATCH 1/1] net namespace: dynamically configure new net namespace inherit net config

2015-07-01 Thread yzhu1
Hi, David This patch is applied in our linux for a long time. It should work well. Would you like to let me know your advice about this patch? Thanks a lot. Zhu Yanjun On 06/26/2015 05:37 PM, Zhu Yanjun wrote: The new net namespace can inherit from the original net config, or the current net

Re: [PATCH 1/1] net namespace: dynamically configure new net namespace inherit net config

2015-06-26 Thread yzhu1
Hi, all Some expect the new net namespace inherits from the original net config. Some expect the new net namespace inherits from the current net config, including the modified net configurations. To meet the different reqirements, this patch is made. I think maybe mainline should need this p