DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/5] use portable macro for weak linking
@ 2024-12-24  3:05 Andre Muezerie
  2024-12-24  3:05 ` [PATCH 1/5] lib/eal: add " Andre Muezerie
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Andre Muezerie @ 2024-12-24  3:05 UTC (permalink / raw)
  Cc: dev, Andre Muezerie

MSVC uses pragmas to indicate weak linking, so the old __rte_weak
attribute needs to made into a macro so that the same syntax can
be used for MSVC and other compilers like gcc.

Andre Muezerie (5):
  lib/eal: add portable macro for weak linking
  app/test-compress-perf: use portable macro for weak linking
  drivers/bus: use portable macro for weak linking
  drivers/common: use portable macro for weak linking
  drivers/net: use portable macro for weak linking

 app/test-compress-perf/main.c            | 36 ++++++++++++------------
 drivers/bus/auxiliary/auxiliary_common.c |  8 +++---
 drivers/common/nitrox/nitrox_device.c    | 16 +++++------
 drivers/common/qat/qat_qp.c              |  4 +--
 drivers/net/enic/enic_main.c             |  4 +--
 drivers/net/fm10k/fm10k_ethdev.c         | 32 ++++++++++-----------
 drivers/net/hns3/hns3_rxtx.c             | 28 +++++++++---------
 drivers/net/nfp/nfdk/nfp_nfdk_vec_stub.c |  4 +--
 drivers/net/nfp/nfp_rxtx_vec_stub.c      |  8 +++---
 drivers/net/virtio/virtio_rxtx.c         |  8 +++---
 drivers/net/virtio/virtio_rxtx_simple.c  |  4 +--
 lib/eal/include/rte_common.h             | 14 ++++++++-
 12 files changed, 89 insertions(+), 77 deletions(-)

--
2.47.0.vfs.0.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-12-24  3:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-24  3:05 [PATCH 0/5] use portable macro for weak linking Andre Muezerie
2024-12-24  3:05 ` [PATCH 1/5] lib/eal: add " Andre Muezerie
2024-12-24  3:05 ` [PATCH 2/5] app/test-compress-perf: use " Andre Muezerie
2024-12-24  3:05 ` [PATCH 3/5] drivers/bus: " Andre Muezerie
2024-12-24  3:05 ` [PATCH 4/5] drivers/common: " Andre Muezerie
2024-12-24  3:05 ` [PATCH 5/5] drivers/net: " Andre Muezerie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).