mbox

[v2,0/2] mbuf: minor cleanup

Message ID 20200916090944.125128-1-mb@smartsharesystems.com (mailing list archive)
Headers

Message

Morten Brørup Sept. 16, 2020, 9:09 a.m. UTC
  The mbuf header files had some commenting style errors that affected the
API documentation.
Also, the RTE_ prefix was missing on a macro and a definition.

This cleanup was also discussed here:
http://inbox.dpdk.org/dev/98CBD80474FA8B44BF855DF32C47DC35C6111E@smartserver.smartshare.dk/

Please note:
This patch does not touch the offload and attachment flags that are missing
the RTE_ prefix. I would rather leave that to another patch from someone who
can also write a devtools script to help converting drivers and applications
to the new names.

v2:
* Use RTE_MBUF_PORT_INVALID intead of MBUF_INVALID_PORT in rte_mbuf.c.


Morten Brørup (2):
  mbuf: minor cleanup
  mbuf: minor cleanup

 lib/librte_mbuf/rte_mbuf.c      |  4 +--
 lib/librte_mbuf/rte_mbuf.h      | 47 ++++++++++++++++++++-------------
 lib/librte_mbuf/rte_mbuf_core.h |  9 ++++---
 3 files changed, 37 insertions(+), 23 deletions(-)