[ovs-git] [openvswitch/ovs] e14a9e: tc: Limit the max action number to 16
mishuang2017
noreply at github.com
Fri Oct 25 10:16:13 UTC 2019
Branch: refs/heads/branch-2.11
Home: https://github.com/openvswitch/ovs
Commit: e14a9e15f0e93b9654883e8ec8c05273d43e9c8e
https://github.com/openvswitch/ovs/commit/e14a9e15f0e93b9654883e8ec8c05273d43e9c8e
Author: Chris Mi <chrism at mellanox.com>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M lib/netdev-tc-offloads.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