[ovs-git] [openvswitch/ovs] bcf047: tc: Limit the max action number to 16
mishuang2017
noreply at github.com
Mon Oct 28 08:13:42 UTC 2019
Branch: refs/heads/branch-2.10
Home: https://github.com/openvswitch/ovs
Commit: bcf0477062e9e674574ac1beabbbb8c99b472fdb
https://github.com/openvswitch/ovs/commit/bcf0477062e9e674574ac1beabbbb8c99b472fdb
Author: Chris Mi <chrism at mellanox.com>
Date: 2019-10-26 (Sat, 26 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