On 2/1/23 07:33, taoyuan_e...@hotmail.com wrote:
> From: eddytaoyuan
>
> 'struct cpumask cpu_used_mask' is embedded in struct sw_flow.
> However, its size is hardcoded to CONFIG_NR_CPUS bits, which can be
> 8192 by default, it costs memory and slows down ovs_flow_alloc.
> This fix uses actual
From: eddytaoyuan
'struct cpumask cpu_used_mask' is embedded in struct sw_flow.
However, its size is hardcoded to CONFIG_NR_CPUS bits, which can be
8192 by default, it costs memory and slows down ovs_flow_alloc.
This fix uses actual CPU number instead
Signed-off-by: eddytaoyuan
---
Bleep bloop. Greetings yuan tao, I am a robot and I have tried out your patch.
Thanks for your contribution.
I encountered some error that I wasn't expecting. See the details below.
git-am:
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed
From: eddytaoyuan
'struct cpumask cpu_used_mask' is embedded in struct sw_flow.
However, its size is hardcoded to CONFIG_NR_CPUS bits, which can be
8192 by default, it costs memory and slows down ovs_flow_alloc.
This fix uses actual CPU number instead
This submission is for 2.17 LTS only.
Bleep bloop. Greetings yuan tao, I am a robot and I have tried out your patch.
Thanks for your contribution.
I encountered some error that I wasn't expecting. See the details below.
git-am:
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed
From: eddytaoyuan
Signed-off-by: eddytaoyuan
---
datapath/flow.c | 6 +++---
datapath/flow.h | 2 +-
datapath/flow_table.c | 28 +---
3 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/datapath/flow.c b/datapath/flow.c
index