]> 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)
commit87723cc836a76a29a2468090b5889a8c7fbd77fb
tree4bfd38f09dab55e8564cccec062f5209929ac89f
parent4a652b7d6b9e5377e0b9060cbf050f586194ecf9
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