[dpdk-dev] [PATCH v3 06/13] mbuf: add functions to get the name of an ol_flag

2014-11-25 Thread Thomas Monjalon
> In test-pmd (rxonly.c), the code is able to dump the list of ol_flags. > The issue is that the list of flags in the application has to be > synchronized with the flags defined in rte_mbuf.h. > > This patch introduces 2 new functions rte_get_rx_ol_flag_name() > and rte_get_tx_ol_flag_name() that

[dpdk-dev] [PATCH v3 06/13] mbuf: add functions to get the name of an ol_flag

2014-11-20 Thread Olivier Matz
In test-pmd (rxonly.c), the code is able to dump the list of ol_flags. The issue is that the list of flags in the application has to be synchronized with the flags defined in rte_mbuf.h. This patch introduces 2 new functions rte_get_rx_ol_flag_name() and rte_get_tx_ol_flag_name() that returns the