]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add support to match inner packet fields
authorMoses Reuben <mosesr@mellanox.com>
Mon, 14 Nov 2016 17:04:52 +0000 (19:04 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Dec 2016 18:34:24 +0000 (13:34 -0500)
commit25b97823408f359c215d22a99a924ff9d819794b
tree4bfd38f09dab55e8564cccec062f5209929ac89f
parent0ed0b1090679366851cca05cf9dadacc6fbe88a9
IB/mlx5: Add support to match inner packet fields

Add support to match packet fields which are tunneled,
i.e. support matching the header of the inner packet which is the result of
or bit operation of the original header and the IB_FLOW_SPEC_INNER type.

The combination of IB_FLOW_SPEC_INNER | IB_FLOW_SPEC_VXLAN_TUNNEL is not
needed to be checked, because the IB core has this check already.

Signed-off-by: Moses Reuben <mosesr@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c