net/mlx5: share Direct Rules/Verbs flow related structures
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Thu, 4 Apr 2019 13:04:25 +0000 (13:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Apr 2019 15:45:22 +0000 (17:45 +0200)
commit79e35d0d59793d6f70d13aee25aa2df3deefcd8e
treea179dcb78cd1f5892e5ce8d9e170a38350cfefd4
parentb2177648b8de1011aa9a538cd99cc25dd17be4bc
net/mlx5: share Direct Rules/Verbs flow related structures

Direct Rules/Verbs related structures are moved to
the shared context:
  - rx/tx namespaces, shared by master and representors
  - rx/tx flow tables
  - matchers
  - encap/decap action resources
  - flow tags (MARK actions)
  - modify action resources
  - jump tables

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow_dv.c