[dpdk-dev] [PATCH 6/7] net: add ptype set default functionality

Andrew Rybchenko arybchenko at solarflare.com
Fri Aug 16 10:30:39 CEST 2019


On 8/16/19 8:55 AM, pbhagavatula at marvell.com wrote:
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
>
> Add ptype set default functionality i.e. enable ptype by default and
> report ptypes even if application disables ptypes.
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>

May be it is better to have rte_ethdev_supported_ptype_set_dummy()
in ethdev library and use it in PMDs instead of duplicating the function
in all drivers. Or even treat NULL as dummy? It will remove the patch
completely.



More information about the dev mailing list