diff options
author | Jianbo Liu <jianbol@nvidia.com> | 2022-07-08 03:06:28 +0000 |
---|---|---|
committer | Simon Horman <simon.horman@corigine.com> | 2022-07-11 11:20:50 +0200 |
commit | 218304df186fbd8cd18f4229dbc34a8c6d0fd190 (patch) | |
tree | 6557456244c7221d5e37f644c510c8a85516a2b8 /Documentation | |
parent | f6ed09ef55e0e585e711de0a5cb65dde4dfc42cf (diff) | |
download | openvswitch-218304df186fbd8cd18f4229dbc34a8c6d0fd190.tar.gz |
netdev-offload-tc: Offloading rules with police actions
When offloading rule, tc should be filled with police index, instead
of meter id. As meter is mapped to police action, and the mapping is
inserted into meter_id_to_police_idx hmap, this hmap is used to find
the police index. Besides, the reverse mapping between meter id and
police index is also added, so meter id can be retrieved from this
hashmap and pass to dpif while dumping rules.
Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions