Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-07-11 Thread Thomas Monjalon
11/07/2017 15:30, Morten Brørup: > Morten Brørup wrote: > > Olivier Matz wrote: > > > As I said in a previous message, I think a good first step would be to > > > introduce a typedef for the port number: rte_eth_port_num_t. > > > It can still be uint8_t for now, and can be switched to 16 bits in on

Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-07-11 Thread Olivier MATZ
pdk.org] On Behalf Of Olivier Matz > >> Sent: Monday, July 10, 2017 10:00 AM > >> Subject: Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and > >> nb segments > >> > >> Hi, > >> > >> On Tue, 4 Jul 2017 07:54:23 +, "Wan

Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-07-11 Thread Wiles, Keith
Resend because of format problems sorry. > On Jul 10, 2017, at 3:15 AM, Morten Brørup wrote: > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Olivier Matz >> Sent: Monday, July 10, 2017 10:00 AM >> Subject: Re: [dpdk-dev] [P

Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-07-11 Thread Morten Brørup
k; > nelio.laranje...@6wind.com; arybche...@solarflare.com; > thomas.monja...@6wind.com; jerin.ja...@caviumnetworks.com > Subject: Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and > nb segments > > > On Jul 10, 2017, at 3:15 AM, Morten Brørup >

Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-07-11 Thread Wiles, Keith
On Jul 10, 2017, at 3:15 AM, Morten Brørup mailto:m...@smartsharesystems.com>> wrote: -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Olivier Matz Sent: Monday, July 10, 2017 10:00 AM Subject: Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port

Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-07-10 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Olivier Matz > Sent: Monday, July 10, 2017 10:00 AM > Subject: Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and > nb segments > > Hi, > > On Tue, 4 Jul 2017 07:54:23 +000

Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-07-10 Thread Olivier Matz
nyev, Konstantin ; > > Richardson, Bruce ; > > m...@smartsharesystems.com; Chilikin, Andrey ; > > jblu...@infradead.org; nelio.laranje...@6wind.com; > > arybche...@solarflare.com; thomas.monja...@6wind.com; > > jerin.ja...@caviumnetworks.com > > Subject: Re: [dpdk-de

Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-07-04 Thread Wang, Zhihong
t; jblu...@infradead.org; nelio.laranje...@6wind.com; > arybche...@solarflare.com; thomas.monja...@6wind.com; > jerin.ja...@caviumnetworks.com > Subject: Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb > segments > > Hi Yuanhan, > > On Thu, 6 Apr 2017 13:4

Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-04-18 Thread Olivier MATZ
Hi Yuanhan, On Thu, 6 Apr 2017 13:45:23 +0800, Yuanhan Liu wrote: > Hi Olivier, > > On Tue, Apr 04, 2017 at 06:28:05PM +0200, Olivier Matz wrote: > > Change the size of m->port and m->nb_segs to 16 bits. > > But all the ethdev APIs are still using 8 bits. 16 bits won't really > take effect w

Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-04-05 Thread Yuanhan Liu
Hi Olivier, On Tue, Apr 04, 2017 at 06:28:05PM +0200, Olivier Matz wrote: > Change the size of m->port and m->nb_segs to 16 bits. But all the ethdev APIs are still using 8 bits. 16 bits won't really take effect without updating those APIs. Any plans? --yliu

[dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port and nb segments

2017-04-04 Thread Olivier Matz
Change the size of m->port and m->nb_segs to 16 bits. It is now possible to reference a port identifier larger than 256 and have a mbuf chain larger than 256 segments. Signed-off-by: Olivier Matz --- app/test-pmd/csumonly.c | 4 ++-- .../linuxapp/eal/include