Re: [dpdk-dev] [PATCH 1/2] ethdev: replace callback getting filter operations

2021-03-12 Thread Wang, Haiyue
> -Original Message- > From: Andrew Rybchenko > Sent: Friday, March 12, 2021 16:26 > To: Thomas Monjalon ; Wang, Haiyue > > Cc: dev@dpdk.org; Ori Kam ; Ajit Khaparde > ; Somnath > Kotur ; Chas Williams ; Min Hu > (Connor) > ; Rahul Lakkireddy ; Hemant > Agrawal > ; Sachin Saxena ; Guo

Re: [dpdk-dev] [PATCH 1/2] ethdev: replace callback getting filter operations

2021-03-12 Thread Thomas Monjalon
12/03/2021 08:09, Andrew Rybchenko: > On 3/12/21 1:17 AM, Thomas Monjalon wrote: > > Since rte_flow is the only API for filtering operations, > > the legacy driver interface filter_ctrl was too much complicated > > for the simple task of getting the struct rte_flow_ops. > > > > The filter type RTE

Re: [dpdk-dev] [PATCH 1/2] ethdev: replace callback getting filter operations

2021-03-12 Thread Andrew Rybchenko
On 3/12/21 11:22 AM, Thomas Monjalon wrote: > 12/03/2021 02:44, Wang, Haiyue: >> From: Thomas Monjalon >>> -typedef int (*eth_filter_ctrl_t)(struct rte_eth_dev *dev, >>> -enum rte_filter_type filter_type, >>> -enum rte_filter_op filter_op, >>

Re: [dpdk-dev] [PATCH 1/2] ethdev: replace callback getting filter operations

2021-03-12 Thread Thomas Monjalon
12/03/2021 02:44, Wang, Haiyue: > From: Thomas Monjalon > > -typedef int (*eth_filter_ctrl_t)(struct rte_eth_dev *dev, > > -enum rte_filter_type filter_type, > > -enum rte_filter_op filter_op, > > -void *arg); > >

Re: [dpdk-dev] [PATCH 1/2] ethdev: replace callback getting filter operations

2021-03-11 Thread Andrew Rybchenko
On 3/12/21 1:17 AM, Thomas Monjalon wrote: > Since rte_flow is the only API for filtering operations, > the legacy driver interface filter_ctrl was too much complicated > for the simple task of getting the struct rte_flow_ops. > > The filter type RTE_ETH_FILTER_GENERIC and > the filter operarion R

Re: [dpdk-dev] [PATCH 1/2] ethdev: replace callback getting filter operations

2021-03-11 Thread Wang, Haiyue
> -Original Message- > From: Thomas Monjalon > Sent: Friday, March 12, 2021 06:18 > To: dev@dpdk.org > Cc: Ori Kam ; Ajit Khaparde ; > Somnath Kotur > ; Chas Williams ; Min Hu (Connor) > ; > Rahul Lakkireddy ; Hemant Agrawal > ; Sachin > Saxena ; Guo, Jia ; Wang, > Haiyue ; > Daley, Jo

[dpdk-dev] [PATCH 1/2] ethdev: replace callback getting filter operations

2021-03-11 Thread Thomas Monjalon
Since rte_flow is the only API for filtering operations, the legacy driver interface filter_ctrl was too much complicated for the simple task of getting the struct rte_flow_ops. The filter type RTE_ETH_FILTER_GENERIC and the filter operarion RTE_ETH_FILTER_GET are removed. The new driver callback