Skip to content

Fixes for exported headers

Adrien Mazarguil dpdk-dev 3 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest14 patches 6 repliesApplied
  2. v213 patches 13 repliesSuperseded
  3. v113 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Reverted regression introduced in v2 related to RTE_PMD_DEBUG_TRACE() and RTE_LIBRTE_EVENTDEV_DEBUG.
- Addressed original issue with RTE_PMD_DEBUG_TRACE() in a new separate commit.
- Fixed remaining regression on the kernel side of avp.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/14crypto/scheduler: fix missing includesdrivers/crypto/scheduler/rte_cryptodev_scheduler.h drivers/crypto/scheduler/rte_cryptodev_scheduler_operations.h+2 -00 replies
2/14eventdev: fix errors with strict compilation flagslib/librte_eventdev/rte_eventdev.h lib/librte_eventdev/rte_eventdev_pmd.h+10 -91 reply
3/14latency: fix missing includes in exported headerlib/librte_latencystats/rte_latencystats.h+2 -00 replies
4/14net: fix missing include in exported headerlib/librte_net/rte_net_crc.h+2 -00 replies
5/14vhost: fix errors with strict compilation flagsdevtools/check-includes.sh lib/librte_vhost/rte_vhost.h+16 -40 replies
6/14mbuf: fix missing includes in exported headerlib/librte_mbuf/rte_mbuf_ptype.h+3 -00 replies
7/14net/avp: fix errors in exported headersdrivers/net/avp/rte_avp_common.h drivers/net/avp/rte_avp_fifo.h+29 -10 replies
8/14bitrate: fix errors in exported headerlib/librte_bitratestats/rte_bitrate.h+10 -01 reply
9/14efd: fix missing include in exported headerlib/librte_efd/rte_efd.h+2 -01 reply
10/14metrics: fix errors in exported headerlib/librte_metrics/rte_metrics.h+10 -01 reply
11/14ethdev: fix C++ errors in flow APIlib/librte_ether/rte_flow.h+26 -00 replies
12/14ethdev: fix C++ errors in flow API (MPLS, GRE)lib/librte_ether/rte_flow.h+4 -00 replies
13/14ethdev: fix incomplete items in flow APIapp/test-pmd/cmdline_flow.c doc/guides/prog_guide/rte_flow.rst doc/guides/testpmd_app_ug/testpmd_funcs.rst +1 more+101 -01 reply
14/14eal: fix debug macro redefinitionlib/librte_cryptodev/rte_cryptodev_pmd.h lib/librte_eal/common/include/rte_dev.h lib/librte_ether/rte_ethdev.h +1 more+14 -240 replies

Reviews trailers per patch

12 of 14 patches have a Reviewed-by or Acked-by.

PatchFan ZhangJasvinder SinghYuanhan LiuMaxime CoquelinOlivier MatzAllain LegacyShahaf ShulerBeilei XingJerin JacobRemy HortonPablo de LaraWenzhuo Lu
1/14A-b
2/14A-b
3/14
4/14A-b
5/14A-b A-b
6/14A-b
7/14A-b
8/14A-b
9/14A-b
10/14A-b
11/14A-b
12/14A-b A-b
13/14A-b
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 12 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/14] Fixes for exported headers

This series addresses the remaining issues seen by check-includes.sh in exported headers. Most of them may cause compilation errors in user applications:

- Dependencies on missing includes.
- Non-standard C/C++ constructs usage without associated safeties.
- Missing C++ awareness blocks.

It also addresses the incomplete implementation of E-Tag and NVGRE flow API pattern items.

Changes in v2:

- Fixed (still) incomplete E-tag and NVGRE flow API documentation.
- Renamed E-Tag item parameter "ecid_b" to "grp_ecid_b" in testpmd, to reflect that both fields are set at once.
- Fixed remaining compilation issue with RTE_LIBRTE_EVENTDEV_DEBUG.
- Fixed avp include to avoid kernel module compilation issue pointed out by Allain.

Changes in v3:

- Reverted regression introduced in v2 related to RTE_PMD_DEBUG_TRACE() and RTE_LIBRTE_EVENTDEV_DEBUG.
- Addressed original issue with RTE_PMD_DEBUG_TRACE() in a new separate commit.
- Fixed remaining regression on the kernel side of avp.

Adrien Mazarguil (14):
crypto/scheduler: fix missing includes
eventdev: fix errors with strict compilation flags
latency: fix missing includes in exported header
net: fix missing include in exported header
vhost: fix errors with strict compilation flags
mbuf: fix missing includes in exported header net/avp: fix errors in exported headers
bitrate: fix errors in exported header
efd: fix missing include in exported header
metrics: fix errors in exported header
ethdev: fix C++ errors in flow API
ethdev: fix C++ errors in flow API (MPLS, GRE)
ethdev: fix incomplete items in flow API
eal: fix debug macro redefinition

 app/test-pmd/cmdline_flow.c                     | 46 ++++++++++++++++++
 devtools/check-includes.sh                      |  4 +-
 doc/guides/prog_guide/rte_flow.rst              | 26 ++++++++++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst     |  8 +++
 .../crypto/scheduler/rte_cryptodev_scheduler.h  |  1 +
 .../rte_cryptodev_scheduler_operations.h        |  1 +
 drivers/net/avp/rte_avp_common.h                | 18 ++++++-
 drivers/net/avp/rte_avp_fifo.h                  | 12 +++++
 lib/librte_bitratestats/rte_bitrate.h           | 10 ++++
 lib/librte_cryptodev/rte_cryptodev_pmd.h        |  8 ---
 lib/librte_eal/common/include/rte_dev.h         | 14 ++++++
 lib/librte_efd/rte_efd.h                        |  2 +
 lib/librte_ether/rte_ethdev.h                   |  9 ----
 lib/librte_ether/rte_flow.h                     | 51 ++++++++++++++++++++
 lib/librte_eventdev/rte_eventdev.h              |  3 +-
 lib/librte_eventdev/rte_eventdev_pmd.h          | 23 ++++-----
 lib/librte_latencystats/rte_latencystats.h      |  2 +
 lib/librte_mbuf/rte_mbuf_ptype.h                |  3 ++
 lib/librte_metrics/rte_metrics.h                | 10 ++++
 lib/librte_net/rte_net_crc.h                    |  2 +
 lib/librte_vhost/rte_vhost.h                    | 16 ++++--
 21 files changed, 231 insertions(+), 38 deletions(-)
Signature · 1 line
2.1.4