On 03/10, Wang, Haiyue wrote:
>> >+static int
>> >+ice_dcf_dev_filter_ctrl(struct rte_eth_dev *dev,
>> >+                   enum rte_filter_type filter_type,
>> >+                   __rte_unused enum rte_filter_op filter_op,
>> >+                   __rte_unused void *arg)
>> >+{
>> 
>> legacy filter API will be deprecated, I think we should avoid adding support
>> in new PMD.
>
>This is the entry for new filter:
>
>dev->dev_ops->filter_ctrl(dev,
>                                                   RTE_ETH_FILTER_GENERIC,
>                                                   RTE_ETH_FILTER_GET,
>                                                   &ops)

Right, I have some misunderstanding before, the filter API will be deprecated,
but the dev->filter_ctrl ops is still needed.

Thanks,
Xiaolong

Reply via email to