[dpdk-dev] [PATCH v2 0/3] fix C++ includes

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Feb 16 08:14:22 CET 2016


When trying to build a C++ application, some errors appear from DPDK headers.
2 libraries are not fixed in this series:
- cmdline
- vhost which includes some not compliant Linux virtio headers

v2:
- move keep-alive struct out of header
- fix syntax in mbuf_offload cast

Thomas Monjalon (3):
  eal: fix keep alive header for C++
  hash: fix header for C++
  mbuf_offload: fix header for C++

 lib/librte_eal/common/include/rte_keepalive.h | 37 +++-----------------------
 lib/librte_eal/common/rte_keepalive.c         | 38 +++++++++++++++++++++++++++
 lib/librte_hash/rte_jhash.h                   |  2 +-
 lib/librte_mbuf_offload/rte_mbuf_offload.h    |  5 +++-
 4 files changed, 46 insertions(+), 36 deletions(-)

-- 
2.7.0



More information about the dev mailing list