net/mlx5: remove unused mreg copy
authorSuanming Mou <suanmingm@nvidia.com>
Wed, 28 Oct 2020 09:33:37 +0000 (17:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commitff7ab341aff9891e40910aaa0c7a7d9c1c815475
treeb6cc030d11291c4e5bd7a6a0752ea20a31c7e2ec
parent16a7dbc4f69006cc1c96ca2a2c6d3e3c51a2ff50
net/mlx5: remove unused mreg copy

After non-cache mode feature was implemented, the flows can only be
created when port started. No need to check if the mreg flows are
created in port stopped status, and apply the mreg flows after port
start will also never happen.

This commit removed the relevant not used mreg copy code.

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow.h