Re: [dpdk-dev] [PATCH 2/6] net/mlx5: add framework for switch flow rules

2018-07-12 Thread Yongseok Koh
On Thu, Jul 12, 2018 at 12:46:46PM +0200, Adrien Mazarguil wrote: > On Wed, Jul 11, 2018 at 05:59:18PM -0700, Yongseok Koh wrote: > > On Wed, Jun 27, 2018 at 08:08:12PM +0200, Adrien Mazarguil wrote: > > > Because mlx5 switch flow rules are configured through Netlink (TC > > > interface) and have l

Re: [dpdk-dev] [PATCH 2/6] net/mlx5: add framework for switch flow rules

2018-07-12 Thread Adrien Mazarguil
On Wed, Jul 11, 2018 at 05:59:18PM -0700, Yongseok Koh wrote: > On Wed, Jun 27, 2018 at 08:08:12PM +0200, Adrien Mazarguil wrote: > > Because mlx5 switch flow rules are configured through Netlink (TC > > interface) and have little in common with Verbs, this patch adds a separate > > parser function

Re: [dpdk-dev] [PATCH 2/6] net/mlx5: add framework for switch flow rules

2018-07-11 Thread Yongseok Koh
On Wed, Jun 27, 2018 at 08:08:12PM +0200, Adrien Mazarguil wrote: > Because mlx5 switch flow rules are configured through Netlink (TC > interface) and have little in common with Verbs, this patch adds a separate > parser function to handle them. > > - mlx5_nl_flow_transpose() converts a rte_flow r

[dpdk-dev] [PATCH 2/6] net/mlx5: add framework for switch flow rules

2018-06-27 Thread Adrien Mazarguil
Because mlx5 switch flow rules are configured through Netlink (TC interface) and have little in common with Verbs, this patch adds a separate parser function to handle them. - mlx5_nl_flow_transpose() converts a rte_flow rule to its TC equivalent and stores the result in a buffer. - mlx5_nl_flo