Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload

2019-08-07 Thread Andrew Rybchenko
Bhagavatula ; Hemant Agrawal ; Jerin Jacob Kollanukkaran ; dev@dpdk.org Subject: [EXT] Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload On Tue, 6 Aug 2019 12:06:35 +0300 Andrew Rybchenko wrote: On 8/6/19 11:47 AM, Pavan Nikhilesh Bhagavatula wrote: -Original Message- From: Hemant

Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload

2019-08-07 Thread Stephen Hemminger
gt;> Cc: Pavan Nikhilesh Bhagavatula ; Hemant > >> Agrawal ; Jerin Jacob Kollanukkaran > >> ; dev@dpdk.org > >> Subject: [EXT] Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload > >> > >> On Tue, 6 Aug 2019 12:06:35 +0300 > >> Andrew Rybchen

Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload

2019-08-07 Thread Andrew Rybchenko
Cc: dev@dpdk.org Subject: RE: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload Add PTYPE to DEV_RX_OFFLOAD_* flags. Currently, most of the NICs already support PTYPE parsing and update the mbuf->packet_type through an internal lookup table, but there is mbuf->no way to disable the

Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload

2019-08-06 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, August 7, 2019 4:45 AM > To: Andrew Rybchenko > Cc: Pavan Nikhilesh Bhagavatula ; Hemant > Agrawal ; Jerin Jacob Kollanukkaran > ; dev@dpdk.org > Subject: [EXT] Re: [dpdk-dev] [RFC 0/3] ethdev:

Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload

2019-08-06 Thread Stephen Hemminger
Bhagavatula ; Jerin > >> Jacob Kollanukkaran > >> Cc: dev@dpdk.org > >> Subject: RE: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload > >>> Add PTYPE to DEV_RX_OFFLOAD_* flags. > >>> > >>> Currently, most of the NICs already support

Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload

2019-08-06 Thread Andrew Rybchenko
On 8/6/19 11:47 AM, Pavan Nikhilesh Bhagavatula wrote: -Original Message- From: Hemant Agrawal Sent: Tuesday, August 6, 2019 1:49 PM To: Pavan Nikhilesh Bhagavatula ; Jerin Jacob Kollanukkaran Cc: dev@dpdk.org Subject: RE: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload Add

Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload

2019-08-06 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: Hemant Agrawal >Sent: Tuesday, August 6, 2019 1:49 PM >To: Pavan Nikhilesh Bhagavatula ; Jerin >Jacob Kollanukkaran >Cc: dev@dpdk.org >Subject: RE: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload >> >> Ad

Re: [dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload

2019-08-06 Thread Hemant Agrawal
> > Add PTYPE to DEV_RX_OFFLOAD_* flags. > > Currently, most of the NICs already support PTYPE parsing and update the > mbuf->packet_type through an internal lookup table, but there is no way to > disable the lookup if the application is not intrested in ptypes returned by > `rte_eth_dev_get_supp

[dpdk-dev] [RFC 0/3] ethdev: add ptype as Rx offload

2019-08-06 Thread pbhagavatula
From: Pavan Nikhilesh Add PTYPE to DEV_RX_OFFLOAD_* flags. Currently, most of the NICs already support PTYPE parsing and update the mbuf->packet_type through an internal lookup table, but there is no way to disable the lookup if the application is not intrested in ptypes returned by `rte_eth_dev