diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2016-03-07 19:51:46 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 17:22:06 +0300 |
commit | b3638e1a76648dbd482cc5a8f27eb6948cc3bc86 (patch) | |
tree | 2e4ee030ec36f1bf2492564968b3d33a1c809f00 /drivers/hwmon | |
parent | 153fefbf34e5079c2dd69490f5f23373758d2e9c (diff) | |
download | linux-b3638e1a76648dbd482cc5a8f27eb6948cc3bc86.tar.xz |
net/mlx5_core: Introduce forward to next priority action
Add support to create flow rule that forward packets
to the first flow table in the next priority (next priority
could be the first priority in the next namespace or the
next priority in the same namespace).
This feature could be used for DONT_TRAP rules or rules
that only want to mark the packet with flow tag.
In order to do it optimally, each flow table has list
of all rules that point to this flow table,
when a flow table is destroyed/created, we update the list
head correspondingly.
This kind of rule is created when destination is NULL and
action is MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO.
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions