Re: [dpdk-dev] [patch] net/octeontx2: fix ptype get overflow

2019-09-23 Thread Jerin Jacob
On Fri, Sep 13, 2019 at 7:40 PM Jerin Jacob wrote: > > On Wed, Aug 14, 2019 at 3:11 PM wrote: > > > > From: Pavan Nikhilesh > > > > The function `rte_eth_dev_get_supported_ptypes` expects the underlying > > ethernet device to return array of supported ptypes. The ethernet device > > needs to set

Re: [dpdk-dev] [patch] net/octeontx2: fix ptype get overflow

2019-09-13 Thread Jerin Jacob
On Wed, Aug 14, 2019 at 3:11 PM wrote: > > From: Pavan Nikhilesh > > The function `rte_eth_dev_get_supported_ptypes` expects the underlying > ethernet device to return array of supported ptypes. The ethernet device > needs to set `RTE_PTYPE_UNKNOWN` as the last element which signifies > thats its

[dpdk-dev] [patch] net/octeontx2: fix ptype get overflow

2019-08-14 Thread pbhagavatula
From: Pavan Nikhilesh The function `rte_eth_dev_get_supported_ptypes` expects the underlying ethernet device to return array of supported ptypes. The ethernet device needs to set `RTE_PTYPE_UNKNOWN` as the last element which signifies thats its the end of the ptype array. Else the function `rte_e