mbox series

[v2,0/2] support Direct Rules flows over shared IB context

Message ID 1554383065-11151-1-git-send-email-viacheslavo@mellanox.com (mailing list archive)
Headers
Series support Direct Rules flows over shared IB context |

Message

Slava Ovsiienko April 4, 2019, 1:04 p.m. UTC
  The Direct Rules/Direct Verbs flows support is going
to be added [1]. The master/representor over multiport
IB device is added [2]. This patchset adds support for
DR/DV flows with shared IB context over multiport IB
device.

The DV/DR flows applied to the master/representors on the
same IB device share the following entinies:
  - rx/tx namespaces
  - rx/tx flow tables
  - matchers
  - encap/decap action resources
  - flow tags (MARK actions)
  - modify action resources
  - jump tables

[1] "net/mlx5: Add Direct Rule support"
    http://patches.dpdk.org/cover/51856/
    
[2] "net/mlx5: add support for multiport IB devices"
    http://patches.dpdk.org/cover/51800/

v2:
  - mutex reverted to non-counting type (because there is
    no DV flow functions intercalls and reentrances)
  - some commits are squashed to make patchset more consistent
  - conditional directives cleanup

v1:
  http://patches.dpdk.org/cover/52053/

Viacheslav Ovsiienko (2):
  net/mlx5: add Direct Rules flow data alloc/free routines
  net/mlx5: share Direct Rules/Verbs flow related structures

 drivers/net/mlx5/mlx5.c         | 119 ++++++++++++++++++++++++++----
 drivers/net/mlx5/mlx5.h         |  45 +++++++-----
 drivers/net/mlx5/mlx5_flow_dv.c | 159 ++++++++++++++++++++++++++++++++--------
 3 files changed, 259 insertions(+), 64 deletions(-)
  

Comments

Shahaf Shuler April 4, 2019, 6:57 p.m. UTC | #1
Thursday, April 4, 2019 4:04 PM, Viacheslav Ovsiienko:
> Subject: [dpdk-dev] [PATCH v2 0/2] support Direct Rules flows over shared IB
> context
> 
> The Direct Rules/Direct Verbs flows support is going to be added [1]. The
> master/representor over multiport IB device is added [2]. This patchset adds
> support for DR/DV flows with shared IB context over multiport IB device.
> 
> The DV/DR flows applied to the master/representors on the same IB device
> share the following entinies:
>   - rx/tx namespaces
>   - rx/tx flow tables
>   - matchers
>   - encap/decap action resources
>   - flow tags (MARK actions)
>   - modify action resources
>   - jump tables

Series applied to next-net-mlx, thanks!

> 
> [1] "net/mlx5: Add Direct Rule support"
> 
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> es.dpdk.org%2Fcover%2F51856%2F&data=02%7C01%7Cshahafs%40mel
> lanox.com%7Cabc5776f51794b8f53dd08d6b8fe43c7%7Ca652971c7d2e4d9ba6
> a4d149256f461b%7C0%7C0%7C636899799527209089&sdata=EugeCEbt76
> LO%2F84BPRWYqvlx2e9imLeuW0OgFk82ICQ%3D&reserved=0
> 
> [2] "net/mlx5: add support for multiport IB devices"
> 
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> es.dpdk.org%2Fcover%2F51800%2F&data=02%7C01%7Cshahafs%40mel
> lanox.com%7Cabc5776f51794b8f53dd08d6b8fe43c7%7Ca652971c7d2e4d9ba6
> a4d149256f461b%7C0%7C0%7C636899799527209089&sdata=Qds0%2BG
> 5fUGneYAPimMLkgpy41w10aTPuXmH47NENSjc%3D&reserved=0
> 
> v2:
>   - mutex reverted to non-counting type (because there is
>     no DV flow functions intercalls and reentrances)
>   - some commits are squashed to make patchset more consistent
>   - conditional directives cleanup
> 
> v1:
> 
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> es.dpdk.org%2Fcover%2F52053%2F&data=02%7C01%7Cshahafs%40mel
> lanox.com%7Cabc5776f51794b8f53dd08d6b8fe43c7%7Ca652971c7d2e4d9ba6
> a4d149256f461b%7C0%7C0%7C636899799527209089&sdata=OvGIaSfZoT
> Ch9wjpeUkzCra76Ft7zZzF6QL2edTxEHM%3D&reserved=0
> 
> Viacheslav Ovsiienko (2):
>   net/mlx5: add Direct Rules flow data alloc/free routines
>   net/mlx5: share Direct Rules/Verbs flow related structures
> 
>  drivers/net/mlx5/mlx5.c         | 119 ++++++++++++++++++++++++++----
>  drivers/net/mlx5/mlx5.h         |  45 +++++++-----
>  drivers/net/mlx5/mlx5_flow_dv.c | 159
> ++++++++++++++++++++++++++++++++--------
>  3 files changed, 259 insertions(+), 64 deletions(-)
> 
> --
> 1.8.3.1