[dpdk-dev] [PATCH v1 3/4] net/ice: add the DCF framework

Ye Xiaolong xiaolong.ye at intel.com
Tue Mar 10 06:23:11 CET 2020


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


More information about the dev mailing list