Skip to content

add missing C++ guards

Brian Dooley dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 1 replyIn review
  2. v111 patches 3 repliesApplied

Changes in v2 from the cover letter

- Fixed checkpatch errors

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11eal: fix missing C++ guardslib/eal/include/rte_bitops.h lib/eal/include/rte_branch_prediction.h lib/eal/include/rte_compat.h +7 more+80 -00 replies
2/11telemetry: fix missing C++ guardslib/telemetry/rte_telemetry.h+8 -00 replies
3/11ethdev: fix missing C++ guardslib/ethdev/ethdev_driver.h lib/ethdev/ethdev_pci.h lib/ethdev/ethdev_vdev.h +1 more+32 -00 replies
4/11metrics: fix missing C++ guardslib/metrics/rte_metrics_telemetry.h+7 -00 replies
5/11acl: fix missing C++ guardslib/acl/rte_acl_osdep.h+8 -00 replies
6/11compressdev: fix missing C++ guardslib/compressdev/rte_compressdev_internal.h+9 -00 replies
7/11eventdev: fix missing C++ guardslib/eventdev/eventdev_pmd.h lib/eventdev/eventdev_pmd_pci.h lib/eventdev/eventdev_pmd_vdev.h +1 more+33 -00 replies
8/11kni: fix missing C++ guardslib/kni/rte_kni_common.h+8 -00 replies
9/11vhost: fix missing C++ guardslib/vhost/rte_vdpa.h lib/vhost/rte_vhost_async.h lib/vhost/rte_vhost_crypto.h +1 more+33 -01 reply
10/11bpf: fix missing C++ guardslib/bpf/bpf_def.h+8 -00 replies
11/11cryptodev: fix missing C++ guardslib/cryptodev/cryptodev_pmd.h+8 -00 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchBruce RichardsonChenbo Xia
1/11A-b
2/11A-b
3/11A-b
4/11A-b
5/11A-b
6/11A-b
7/11A-b
8/11A-b
9/11A-b R-b
10/11A-b
11/11A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/11] add missing C++ guards

Public header files were missing 'extern "C"' guards. This set adds them in.

v2:
- Fixed checkpatch errors

Brian Dooley (11):
eal: fix missing C++ guards
telemetry: fix missing C++ guards
ethdev: fix missing C++ guards
metrics: fix missing C++ guards
acl: fix missing C++ guards
compressdev: fix missing C++ guards
eventdev: fix missing C++ guards
kni: fix missing C++ guards
vhost: fix missing C++ guards
bpf: fix missing C++ guards
cryptodev: fix missing C++ guards

 lib/acl/rte_acl_osdep.h                    | 8 ++++++++
 lib/bpf/bpf_def.h                          | 8 ++++++++
 lib/compressdev/rte_compressdev_internal.h | 9 +++++++++
 lib/cryptodev/cryptodev_pmd.h              | 8 ++++++++
 lib/eal/include/rte_bitops.h               | 8 ++++++++
 lib/eal/include/rte_branch_prediction.h    | 8 ++++++++
 lib/eal/include/rte_compat.h               | 8 ++++++++
 lib/eal/include/rte_hypervisor.h           | 8 ++++++++
 lib/eal/include/rte_keepalive.h            | 8 ++++++++
 lib/eal/include/rte_pci_dev_feature_defs.h | 8 ++++++++
 lib/eal/include/rte_pci_dev_features.h     | 8 ++++++++
 lib/eal/include/rte_time.h                 | 8 ++++++++
 lib/eal/include/rte_trace_point_register.h | 8 ++++++++
 lib/eal/linux/include/rte_os.h             | 8 ++++++++
 lib/ethdev/ethdev_driver.h                 | 8 ++++++++
 lib/ethdev/ethdev_pci.h                    | 8 ++++++++
 lib/ethdev/ethdev_vdev.h                   | 8 ++++++++
 lib/ethdev/rte_dev_info.h                  | 8 ++++++++
 lib/eventdev/eventdev_pmd.h                | 8 ++++++++
 lib/eventdev/eventdev_pmd_pci.h            | 8 ++++++++
 lib/eventdev/eventdev_pmd_vdev.h           | 8 ++++++++
 lib/eventdev/rte_event_ring.h              | 9 +++++++++
 lib/kni/rte_kni_common.h                   | 8 ++++++++
 lib/metrics/rte_metrics_telemetry.h        | 7 +++++++
 lib/telemetry/rte_telemetry.h              | 8 ++++++++
 lib/vhost/rte_vdpa.h                       | 9 +++++++++
 lib/vhost/rte_vhost_async.h                | 8 ++++++++
 lib/vhost/rte_vhost_crypto.h               | 8 ++++++++
 lib/vhost/vdpa_driver.h                    | 8 ++++++++
 29 files changed, 234 insertions(+)
Signature · 1 line
2.25.1