Re: [dpdk-dev] [PATCH v3 7/7] examples: disable Rx packet type parsing

2019-09-30 Thread Pavan Nikhilesh Bhagavatula
>*app_params, >> } >> >> rte_eth_promiscuous_enable(port_id); >> +rte_eth_dev_set_supported_ptypes(port_id, >RTE_PTYPE_UNKNOWN); > >This is strange, since the function signature is defined (in 1/7) as: > > int rte_eth_dev_set_supported_ptypes(uint16_t port_id, uint32_t >ptype_mask,

Re: [dpdk-dev] [PATCH v3 7/7] examples: disable Rx packet type parsing

2019-09-30 Thread Aaron Conole
writes: > From: Pavan Nikhilesh > > Disable packet type parsing in examples that don't use > `rte_mbuf::packet_type` by setting ptype_mask as 0 in > `rte_eth_dev_set_supported_ptypes` > > Signed-off-by: Pavan Nikhilesh > --- > examples/bbdev_app/main.c | 1 + > examples/bond/m

[dpdk-dev] [PATCH v3 7/7] examples: disable Rx packet type parsing

2019-09-29 Thread pbhagavatula
From: Pavan Nikhilesh Disable packet type parsing in examples that don't use `rte_mbuf::packet_type` by setting ptype_mask as 0 in `rte_eth_dev_set_supported_ptypes` Signed-off-by: Pavan Nikhilesh --- examples/bbdev_app/main.c | 1 + examples/bond/main.c