[dpdk-dev] [PATCH v3] mbuf: add function to dump ol flag list

2016-10-07 Thread Olivier Matz
Hi Pablo, On 10/07/2016 05:51 AM, De Lara Guarch, Pablo wrote: > > >> -Original Message- >> From: Olivier Matz [mailto:olivier.matz at 6wind.com] >> Sent: Thursday, October 06, 2016 1:43 AM >> To: dev at dpdk.org; De Lara Guarch, Pablo >> Subject: [PATCH v3] mbuf: add function to dump ol

[dpdk-dev] [PATCH v3] mbuf: add function to dump ol flag list

2016-10-07 Thread De Lara Guarch, Pablo
> -Original Message- > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > Sent: Thursday, October 06, 2016 1:43 AM > To: dev at dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH v3] mbuf: add function to dump ol flag list > > The functions rte_get_rx_ol_flag_name() and rte_get_tx_ol

[dpdk-dev] [PATCH v3] mbuf: add function to dump ol flag list

2016-10-06 Thread Olivier Matz
The functions rte_get_rx_ol_flag_name() and rte_get_tx_ol_flag_name() can dump one flag, or set of flag that are part of the same mask (ex: PKT_TX_UDP_CKSUM, part of PKT_TX_L4_MASK). But they are not designed to dump the list of flags contained in mbuf->ol_flags. This commit introduce new function