OSDN Git Service

RDMA/mlx5: Enable reformat on NIC RX if supported
authorMark Bloch <markb@mellanox.com>
Sun, 2 Sep 2018 09:51:35 +0000 (12:51 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Sep 2018 15:28:06 +0000 (09:28 -0600)
commit5c2db53f62633689632aee7be9659418b2bf291f
treeddad5b4a0101d3d77d027621cd81d486279742db
parent10a308964eaf4bf7dea859dcb9f630c91b3b07be
RDMA/mlx5: Enable reformat on NIC RX if supported

A L3_TUNNEL_TO_L2 decap flow action requires to enable the encap bit on
the flow table, enable it if supported. This will allow to attach those
flow actions to NIC RX steering. We don't enable if running on a
representor.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c