[ovs-git] [openvswitch/ovs] d0fbb0: tc: Limit the max action number to 16
mishuang2017
noreply at github.com
Fri Oct 18 09:59:07 UTC 2019
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: d0fbb09f907b9a5c02cf8f9b04ed03bee3516504
https://github.com/openvswitch/ovs/commit/d0fbb09f907b9a5c02cf8f9b04ed03bee3516504
Author: Chris Mi <chrism at mellanox.com>
Date: 2019-10-18 (Fri, 18 Oct 2019)
Changed paths:
M lib/netdev-offload-tc.c
M lib/tc.c
M lib/tc.h
Log Message:
-----------
tc: Limit the max action number to 16
Currently, ovs supports to offload max TCA_ACT_MAX_PRIO(32) actions.
But net sched api has a limit of 4K message size which is not enough
for 32 actions when echo flag is set.
After a lot of testing, we find that 16 actions is a reasonable number.
So in this commit, we introduced a new define to limit the max actions.
Fixes: 0c70132cd288("tc: Make the actions order consistent")
Signed-off-by: Chris Mi <chrism at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>
More information about the git
mailing list