Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-21 Thread Stephen Hemminger
On Tue, 21 Jan 2020 15:01:57 +0100 Olivier Matz wrote: > > I've checked the rte_mempool_get_priv() usage - in all header files there > > are the type casts. The "rte_mbuf.h" contains the rte_pktmbuf_priv_size() > > and > > rte_pktmbuf_data_room_size(), both provide the cast. What is the reason?

Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-21 Thread Olivier Matz
rad ; Raslan Darawsheh > > ; Ori Kam ; Shahaf Shuler > > ; tho...@mellanox.net > > Subject: Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get > > private > > mbuf pool flags > > > > > -Original Message- > > > From: Olivier Matz

Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-21 Thread Slava Ovsiienko
e: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private > mbuf pool flags > > > -Original Message- > > From: Olivier Matz > > Sent: Tuesday, January 21, 2020 10:14 > > To: Slava Ovsiienko > > Cc: Stephen Hemminger ; dev@dpdk.org; > > M

Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-21 Thread Slava Ovsiienko
> -Original Message- > From: Olivier Matz > Sent: Tuesday, January 21, 2020 10:14 > To: Slava Ovsiienko > Cc: Stephen Hemminger ; dev@dpdk.org; > Matan Azrad ; Raslan Darawsheh > ; Ori Kam ; Shahaf Shuler > ; tho...@mellanox.net > Subject: Re: [PATCH v5 1/5] mbuf: introduce routine to get

Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-21 Thread Olivier Matz
On Tue, Jan 21, 2020 at 08:00:17AM +, Slava Ovsiienko wrote: > > -Original Message- > > From: Stephen Hemminger > > Sent: Monday, January 20, 2020 22:44 > > To: Slava Ovsiienko > > Cc: dev@dpdk.org; Matan Azrad ; Raslan Darawsheh > > ; Ori Kam ; Shahaf Shuler > > ; olivier.m...@6wind.

Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-21 Thread Slava Ovsiienko
> -Original Message- > From: Stephen Hemminger > Sent: Monday, January 20, 2020 22:44 > To: Slava Ovsiienko > Cc: dev@dpdk.org; Matan Azrad ; Raslan Darawsheh > ; Ori Kam ; Shahaf Shuler > ; olivier.m...@6wind.com; tho...@mellanox.net > Subject: Re: [PATCH v5 1/5] mbuf: introduce routine

Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-20 Thread Slava Ovsiienko
Hi, Stephen I'm appreciated for the for reviewing. > -Original Message- > From: Stephen Hemminger > Sent: Monday, January 20, 2020 22:44 > To: Slava Ovsiienko > Cc: dev@dpdk.org; Matan Azrad ; Raslan Darawsheh > ; Ori Kam ; Shahaf Shuler > ; olivier.m...@6wind.com; tho...@mellanox.net >

Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-20 Thread Thomas Monjalon
20/01/2020 21:43, Stephen Hemminger: > On Mon, 20 Jan 2020 17:23:19 + > Viacheslav Ovsiienko wrote: > > > The routine rte_pktmbuf_priv_flags is introduced to fetch > > the flags from the mbuf memory pool private structure > > in unified fashion. > > > > Signed-off-by: Viacheslav Ovsiienko >

Re: [dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-20 Thread Stephen Hemminger
On Mon, 20 Jan 2020 17:23:19 + Viacheslav Ovsiienko wrote: > The routine rte_pktmbuf_priv_flags is introduced to fetch > the flags from the mbuf memory pool private structure > in unified fashion. > > Signed-off-by: Viacheslav Ovsiienko > Acked-by: Olivier Matz > --- > lib/librte_mbuf/rte

[dpdk-dev] [PATCH v5 1/5] mbuf: introduce routine to get private mbuf pool flags

2020-01-20 Thread Viacheslav Ovsiienko
The routine rte_pktmbuf_priv_flags is introduced to fetch the flags from the mbuf memory pool private structure in unified fashion. Signed-off-by: Viacheslav Ovsiienko Acked-by: Olivier Matz --- lib/librte_mbuf/rte_mbuf.h | 17 + 1 file changed, 17 insertions(+) diff --git a/li