From 92219458ad941062989c4656a79780a13ce5269c Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Mon, 7 Nov 2022 14:52:41 +0200 Subject: [PATCH 001/150] issue: 3249310 Support only systemctl for vma service setup/removal Signed-off-by: Alexander Grissik --- Makefile.am | 6 ------ contrib/jenkins_tests/tool.sh | 25 ------------------------- contrib/scripts/libvma.spec.in | 17 ----------------- debian/postinst | 6 ------ debian/prerm | 9 --------- 5 files changed, 63 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5393820dc..0ae10a303 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,17 +24,11 @@ install-exec-hook: mkdir -p $(DESTDIR)$(prefix)/lib/systemd/system/; \ cp $(top_builddir)/contrib/scripts/vma.service $(DESTDIR)$(prefix)/lib/systemd/system/vma.service; \ chmod 644 $(DESTDIR)$(prefix)/lib/systemd/system/vma.service; \ - else \ - mkdir -p $(DESTDIR)/$(sysconfdir)/init.d; \ - cp $(top_builddir)/contrib/scripts/vma.init $(DESTDIR)$(sysconfdir)/init.d/vma; \ - chmod 755 $(DESTDIR)$(sysconfdir)/init.d/vma; \ fi uninstall-hook: if systemctl >/dev/null 2>&1; then \ rm -rf $(DESTDIR)$(prefix)/lib/systemd/system/vma.service; \ - else \ - rm -rf $(DESTDIR)$(sysconfdir)/init.d/vma; \ fi install-all: install diff --git a/contrib/jenkins_tests/tool.sh b/contrib/jenkins_tests/tool.sh index 8652c2e25..7fd27e66f 100755 --- a/contrib/jenkins_tests/tool.sh +++ b/contrib/jenkins_tests/tool.sh @@ -53,31 +53,6 @@ function check_daemon() if [ "0" == "$ret" -a "" != "$(pgrep ${prj_service})" ]; then ret=1 fi - else - service=${install_dir}/etc/init.d/vma - service_arg="" - - echo "System has been booted with SystemV" >> ${out_log} - echo "daemon check output: ${service}" >> ${out_log} - - if [ $(${sudo_cmd} ${service} start >>${out_log} 2>&1 || echo $?) ]; then - ret=1 - fi - sleep 3 - if [ "0" == "$ret" -a "" == "$(pgrep ${prj_service})" ]; then - ret=1 - fi - if [ $(${sudo_cmd} ${service} status >>${out_log} 2>&1 || echo $?) ]; then - ret=1 - fi - if [ $(${sudo_cmd} ${service} stop >>${out_log} 2>&1 || echo $?) ]; then - ret=1 - fi - sleep 3 - # Under docker containers service can be a zombie after killing - if [ "0" == "$ret" -a "" != "$(ps aux | grep ${prj_service} | egrep -v 'grep|defunct')" ]; then - ret=1 - fi fi eval "${sudo_cmd} pkill -9 ${prj_service} 2>/dev/null || true" diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 9117f268b..d7c32b6fd 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -122,12 +122,6 @@ if [ $1 = 1 ]; then %else systemctl --no-reload enable vma.service >/dev/null 2>&1 || true %endif - elif [ -e /sbin/chkconfig ]; then - /sbin/chkconfig --add vma - elif [ -e /usr/sbin/update-rc.d ]; then - /usr/sbin/update-rc.d vma defaults - else - %{_libdir}/lsb/install_initd %{_sysconfdir}/init.d/vma fi fi @@ -144,15 +138,6 @@ if [ $1 = 0 ]; then systemctl --no-reload disable vma.service >/dev/null 2>&1 || true systemctl stop vma.service || true %endif - elif [ -e /sbin/chkconfig ]; then - %{_sysconfdir}/init.d/vma stop - /sbin/chkconfig --del vma - elif [ -e /usr/sbin/update-rc.d ]; then - %{_sysconfdir}/init.d/vma stop - /usr/sbin/update-rc.d -f vma remove - else - %{_sysconfdir}/init.d/vma stop - %{_libdir}/lsb/remove_initd %{_sysconfdir}/init.d/vma fi fi @@ -183,8 +168,6 @@ fi %{_sbindir}/vmad %if "%{use_systemd}" == "1" %{_prefix}/lib/systemd/system/vma.service -%else -%{_sysconfdir}/init.d/vma %endif %{_mandir}/man7/vma.* %{_mandir}/man8/vmad.* diff --git a/debian/postinst b/debian/postinst index 4b400db49..988cb9b49 100644 --- a/debian/postinst +++ b/debian/postinst @@ -4,10 +4,4 @@ if systemctl >/dev/null 2>&1; then systemctl --no-reload enable vma.service >/dev/null 2>&1 || true -elif [ -e /sbin/chkconfig ]; then - /sbin/chkconfig --add vma || true -elif [ -e /usr/sbin/update-rc.d ]; then - /usr/sbin/update-rc.d vma defaults || true -else - /usr/lib/lsb/install_initd /etc/init.d/vma || true fi diff --git a/debian/prerm b/debian/prerm index 3e66bd060..2209c684a 100644 --- a/debian/prerm +++ b/debian/prerm @@ -3,13 +3,4 @@ if systemctl >/dev/null 2>&1; then systemctl --no-reload disable vma.service >/dev/null 2>&1 || true systemctl stop vma.service || true -elif [ -e /sbin/chkconfig ]; then - /etc/init.d/vma stop || true - /sbin/chkconfig --del vma || true -elif [ -e /usr/sbin/update-rc.d ]; then - /etc/init.d/vma stop || true - /usr/sbin/update-rc.d -f vma remove || true -else - /etc/init.d/vma stop || true - /usr/lib/lsb/remove_initd /etc/init.d/vma || true fi From 3a09224b50816c47fd2957fb33c9610062b28e2a Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Mon, 14 Nov 2022 17:48:03 +0200 Subject: [PATCH 002/150] issue: 321712 ****************** VMA 9.7.2 ******************* Signed-off-by: Alexander Grissik --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 59ad6c50b..35bfb91c4 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.7.2-1: +Date + Time 2022-11-14 +============================================================= +Fixed: + - RM #3249310 Support only systemctl for vma service setup/removal + Version 9.7.1-1: Date + Time 2022-10-24 ============================================================= diff --git a/configure.ac b/configure.ac index cca99175f..072e5b869 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 7) -define([prj_ver_revision], 1) +define([prj_ver_revision], 2) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index d7c32b6fd..dfb81eb67 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Mon Oct 24 2022 NVIDIA CORPORATION 9.7.1-1 -- Bump version to 9.7.1 +* Mon Nov 14 2022 NVIDIA CORPORATION 9.7.2-1 +- Bump version to 9.7.2 - Please refer to CHANGES for full changelog. From dfd16c2b265ef14efece0bb0ab4971e0fbcef680 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Thu, 15 Dec 2022 12:16:13 +0200 Subject: [PATCH 003/150] issue: 321712 ****************** VMA 9.8.0 ******************* Signed-off-by: Alexander Grissik --- CHANGES | 5 +++++ configure.ac | 4 ++-- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 35bfb91c4..2476e8861 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +Version 9.8.0-1: +Date + Time 2022-12-15 +============================================================= +Bumping the version + Version 9.7.2-1: Date + Time 2022-11-14 ============================================================= diff --git a/configure.ac b/configure.ac index 072e5b869..2518dae51 100644 --- a/configure.ac +++ b/configure.ac @@ -13,8 +13,8 @@ dnl===-----------------------------------------------------------------------=== # Update version number here: # define([prj_ver_major], 9) -define([prj_ver_minor], 7) -define([prj_ver_revision], 2) +define([prj_ver_minor], 8) +define([prj_ver_revision], 0) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index dfb81eb67..b00fff456 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Mon Nov 14 2022 NVIDIA CORPORATION 9.7.2-1 -- Bump version to 9.7.2 +* Thu Dec 15 2022 NVIDIA CORPORATION 9.8.0-1 +- Bump version to 9.8.0 - Please refer to CHANGES for full changelog. From 35833967e9ff708a5fbab90798e0fea34c0e1dfe Mon Sep 17 00:00:00 2001 From: Alex Briskin Date: Thu, 5 Jan 2023 09:57:23 +0200 Subject: [PATCH 004/150] issue: 3321730: Update the copyright statement to 2023 Signed-off-by: Alex Briskin --- LICENSE | 2 +- config/m4/compiler.m4 | 2 +- config/m4/dpcp.m4 | 2 +- config/m4/func.m4 | 2 +- config/m4/nl.m4 | 2 +- config/m4/opt.m4 | 2 +- config/m4/prof.m4 | 2 +- config/m4/verbs.m4 | 2 +- contrib/scripts/vma.init.in | 2 +- contrib/test_jenkins.sh | 2 +- debian/copyright | 4 ++-- src/state_machine/main.cpp | 2 +- src/state_machine/sm.cpp | 2 +- src/state_machine/sm.h | 2 +- src/state_machine/sm_fifo.cpp | 2 +- src/state_machine/sm_fifo.h | 2 +- src/stats/stats_data_reader.h | 2 +- src/stats/stats_printer.cpp | 2 +- src/stats/stats_publisher.cpp | 2 +- src/stats/stats_reader.cpp | 2 +- src/utils/asm-arm64.h | 2 +- src/utils/asm-ppc64.h | 2 +- src/utils/asm-x86.h | 2 +- src/utils/asm.h | 2 +- src/utils/atomic.h | 2 +- src/utils/bullseye.h | 2 +- src/utils/clock.h | 2 +- src/utils/compiler.h | 2 +- src/utils/lock_wrapper.h | 2 +- src/utils/rdtsc.h | 2 +- src/utils/types.h | 2 +- src/vlogger/main.cpp | 2 +- src/vlogger/vlogger.cpp | 2 +- src/vlogger/vlogger.h | 2 +- src/vma/config_scanner.c | 2 +- src/vma/dev/allocator.cpp | 2 +- src/vma/dev/allocator.h | 2 +- src/vma/dev/buffer_pool.cpp | 2 +- src/vma/dev/buffer_pool.h | 2 +- src/vma/dev/cq_mgr.cpp | 2 +- src/vma/dev/cq_mgr.h | 2 +- src/vma/dev/cq_mgr.inl | 2 +- src/vma/dev/cq_mgr_mlx5.cpp | 2 +- src/vma/dev/cq_mgr_mlx5.h | 2 +- src/vma/dev/cq_mgr_mlx5.inl | 2 +- src/vma/dev/dm_mgr.cpp | 2 +- src/vma/dev/dm_mgr.h | 2 +- src/vma/dev/gro_mgr.cpp | 2 +- src/vma/dev/gro_mgr.h | 2 +- src/vma/dev/ib_ctx_handler.cpp | 2 +- src/vma/dev/ib_ctx_handler.h | 2 +- src/vma/dev/ib_ctx_handler_collection.cpp | 2 +- src/vma/dev/ib_ctx_handler_collection.h | 2 +- src/vma/dev/net_device_entry.cpp | 2 +- src/vma/dev/net_device_entry.h | 2 +- src/vma/dev/net_device_table_mgr.cpp | 2 +- src/vma/dev/net_device_table_mgr.h | 2 +- src/vma/dev/net_device_val.cpp | 2 +- src/vma/dev/net_device_val.h | 2 +- src/vma/dev/qp_mgr.cpp | 2 +- src/vma/dev/qp_mgr.h | 2 +- src/vma/dev/qp_mgr_eth_direct.cpp | 2 +- src/vma/dev/qp_mgr_eth_direct.h | 2 +- src/vma/dev/qp_mgr_eth_mlx5.cpp | 2 +- src/vma/dev/qp_mgr_eth_mlx5.h | 2 +- src/vma/dev/rfs.cpp | 2 +- src/vma/dev/rfs.h | 2 +- src/vma/dev/rfs_mc.cpp | 2 +- src/vma/dev/rfs_mc.h | 2 +- src/vma/dev/rfs_uc.cpp | 2 +- src/vma/dev/rfs_uc.h | 2 +- src/vma/dev/rfs_uc_tcp_gro.cpp | 2 +- src/vma/dev/rfs_uc_tcp_gro.h | 2 +- src/vma/dev/ring.cpp | 2 +- src/vma/dev/ring.h | 2 +- src/vma/dev/ring_allocation_logic.cpp | 2 +- src/vma/dev/ring_allocation_logic.h | 2 +- src/vma/dev/ring_bond.cpp | 2 +- src/vma/dev/ring_bond.h | 2 +- src/vma/dev/ring_eth_direct.cpp | 2 +- src/vma/dev/ring_eth_direct.h | 2 +- src/vma/dev/ring_profile.cpp | 2 +- src/vma/dev/ring_profile.h | 2 +- src/vma/dev/ring_simple.cpp | 2 +- src/vma/dev/ring_simple.h | 2 +- src/vma/dev/ring_slave.cpp | 2 +- src/vma/dev/ring_slave.h | 2 +- src/vma/dev/ring_tap.cpp | 2 +- src/vma/dev/ring_tap.h | 2 +- src/vma/dev/time_converter.cpp | 2 +- src/vma/dev/time_converter.h | 2 +- src/vma/dev/time_converter_ib_ctx.cpp | 2 +- src/vma/dev/time_converter_ib_ctx.h | 2 +- src/vma/dev/time_converter_ptp.cpp | 2 +- src/vma/dev/time_converter_ptp.h | 2 +- src/vma/dev/wqe_send_handler.cpp | 2 +- src/vma/dev/wqe_send_handler.h | 2 +- src/vma/dev/wqe_send_ib_handler.cpp | 2 +- src/vma/dev/wqe_send_ib_handler.h | 2 +- src/vma/event/command.h | 2 +- src/vma/event/delta_timer.cpp | 2 +- src/vma/event/delta_timer.h | 2 +- src/vma/event/event.h | 2 +- src/vma/event/event_handler_ibverbs.h | 2 +- src/vma/event/event_handler_manager.cpp | 2 +- src/vma/event/event_handler_manager.h | 2 +- src/vma/event/event_handler_rdma_cm.h | 2 +- src/vma/event/netlink_event.cpp | 2 +- src/vma/event/netlink_event.h | 2 +- src/vma/event/timer_handler.h | 2 +- src/vma/event/timers_group.h | 2 +- src/vma/event/vlogger_timer_handler.cpp | 2 +- src/vma/event/vlogger_timer_handler.h | 2 +- src/vma/ib/base/verbs_extra.cpp | 2 +- src/vma/ib/base/verbs_extra.h | 2 +- src/vma/ib/mlx5/ib_mlx5.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5.h | 2 +- src/vma/ib/mlx5/ib_mlx5_dv.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5_dv.h | 2 +- src/vma/ib/mlx5/ib_mlx5_hw.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5_hw.h | 2 +- src/vma/infra/DemoCollMgr.cpp | 2 +- src/vma/infra/DemoCollMgr.h | 2 +- src/vma/infra/DemoObserver.cpp | 2 +- src/vma/infra/DemoObserver.h | 2 +- src/vma/infra/DemoSubject.cpp | 2 +- src/vma/infra/DemoSubject.h | 2 +- src/vma/infra/cache_subject_observer.h | 2 +- src/vma/infra/main.cpp | 2 +- src/vma/infra/sender.cpp | 2 +- src/vma/infra/sender.h | 2 +- src/vma/infra/sender_info_dst.cpp | 2 +- src/vma/infra/sender_info_dst.h | 2 +- src/vma/infra/subject_observer.cpp | 2 +- src/vma/infra/subject_observer.h | 2 +- src/vma/iomux/epfd_info.cpp | 2 +- src/vma/iomux/epfd_info.h | 2 +- src/vma/iomux/epoll_wait_call.cpp | 2 +- src/vma/iomux/epoll_wait_call.h | 2 +- src/vma/iomux/io_mux_call.cpp | 2 +- src/vma/iomux/io_mux_call.h | 2 +- src/vma/iomux/poll_call.cpp | 2 +- src/vma/iomux/poll_call.h | 2 +- src/vma/iomux/select_call.cpp | 2 +- src/vma/iomux/select_call.h | 2 +- src/vma/libvma.c | 2 +- src/vma/lwip/cc.c | 2 +- src/vma/lwip/cc.h | 2 +- src/vma/lwip/cc_cubic.c | 2 +- src/vma/lwip/cc_cubic.h | 2 +- src/vma/lwip/cc_lwip.c | 2 +- src/vma/lwip/cc_none.c | 2 +- src/vma/main.cpp | 2 +- src/vma/main.h | 2 +- src/vma/netlink/link_info.cpp | 2 +- src/vma/netlink/link_info.h | 2 +- src/vma/netlink/neigh_info.cpp | 2 +- src/vma/netlink/neigh_info.h | 2 +- src/vma/netlink/netlink_compatibility.cpp | 2 +- src/vma/netlink/netlink_compatibility.h | 2 +- src/vma/netlink/netlink_wrapper.cpp | 2 +- src/vma/netlink/netlink_wrapper.h | 2 +- src/vma/netlink/route_info.cpp | 2 +- src/vma/netlink/route_info.h | 2 +- src/vma/netlink/test_main.cpp | 2 +- src/vma/proto/L2_address.cpp | 2 +- src/vma/proto/L2_address.h | 2 +- src/vma/proto/arp.cpp | 2 +- src/vma/proto/arp.h | 2 +- src/vma/proto/dst_entry.cpp | 2 +- src/vma/proto/dst_entry.h | 2 +- src/vma/proto/dst_entry_tcp.cpp | 2 +- src/vma/proto/dst_entry_tcp.h | 2 +- src/vma/proto/dst_entry_udp.cpp | 2 +- src/vma/proto/dst_entry_udp.h | 2 +- src/vma/proto/dst_entry_udp_mc.cpp | 2 +- src/vma/proto/dst_entry_udp_mc.h | 2 +- src/vma/proto/flow_tuple.cpp | 2 +- src/vma/proto/flow_tuple.h | 2 +- src/vma/proto/header.cpp | 2 +- src/vma/proto/header.h | 2 +- src/vma/proto/igmp_handler.cpp | 2 +- src/vma/proto/igmp_handler.h | 2 +- src/vma/proto/igmp_mgr.cpp | 2 +- src/vma/proto/igmp_mgr.h | 2 +- src/vma/proto/ip_address.h | 2 +- src/vma/proto/ip_frag.cpp | 2 +- src/vma/proto/ip_frag.h | 2 +- src/vma/proto/mem_buf_desc.h | 2 +- src/vma/proto/neighbour.cpp | 2 +- src/vma/proto/neighbour.h | 2 +- src/vma/proto/neighbour_observer.h | 2 +- src/vma/proto/neighbour_table_mgr.cpp | 2 +- src/vma/proto/neighbour_table_mgr.h | 2 +- src/vma/proto/netlink_socket_mgr.h | 2 +- src/vma/proto/peer_key.h | 2 +- src/vma/proto/route_entry.cpp | 2 +- src/vma/proto/route_entry.h | 2 +- src/vma/proto/route_rule_table_key.h | 2 +- src/vma/proto/route_table_mgr.cpp | 2 +- src/vma/proto/route_table_mgr.h | 2 +- src/vma/proto/route_val.cpp | 2 +- src/vma/proto/route_val.h | 2 +- src/vma/proto/rule_entry.cpp | 2 +- src/vma/proto/rule_entry.h | 2 +- src/vma/proto/rule_table_mgr.cpp | 2 +- src/vma/proto/rule_table_mgr.h | 2 +- src/vma/proto/rule_val.cpp | 2 +- src/vma/proto/rule_val.h | 2 +- src/vma/proto/vma_lwip.cpp | 2 +- src/vma/proto/vma_lwip.h | 2 +- src/vma/sock/cleanable_obj.h | 2 +- src/vma/sock/fd_collection.cpp | 2 +- src/vma/sock/fd_collection.h | 2 +- src/vma/sock/pipeinfo.cpp | 2 +- src/vma/sock/pipeinfo.h | 2 +- src/vma/sock/pkt_rcvr_sink.h | 2 +- src/vma/sock/pkt_sndr_source.h | 2 +- src/vma/sock/sock-redirect.cpp | 2 +- src/vma/sock/sock-redirect.h | 2 +- src/vma/sock/socket_fd_api.cpp | 2 +- src/vma/sock/socket_fd_api.h | 2 +- src/vma/sock/sockinfo.cpp | 2 +- src/vma/sock/sockinfo.h | 2 +- src/vma/sock/sockinfo_tcp.cpp | 2 +- src/vma/sock/sockinfo_tcp.h | 2 +- src/vma/sock/sockinfo_udp.cpp | 2 +- src/vma/sock/sockinfo_udp.h | 2 +- src/vma/util/agent.cpp | 2 +- src/vma/util/agent.h | 2 +- src/vma/util/agent_def.h | 2 +- src/vma/util/chunk_list.h | 2 +- src/vma/util/config_parser.y | 2 +- src/vma/util/config_scanner.l | 2 +- src/vma/util/data_updater.cpp | 2 +- src/vma/util/data_updater.h | 2 +- src/vma/util/hash_map.h | 2 +- src/vma/util/hash_map.inl | 2 +- src/vma/util/if.h | 2 +- src/vma/util/instrumentation.cpp | 2 +- src/vma/util/instrumentation.h | 2 +- src/vma/util/libvma.h | 2 +- src/vma/util/match.cpp | 2 +- src/vma/util/sg_array.h | 2 +- src/vma/util/sock_addr.h | 2 +- src/vma/util/sys_vars.cpp | 2 +- src/vma/util/sys_vars.h | 2 +- src/vma/util/sysctl_reader.h | 2 +- src/vma/util/to_str.h | 2 +- src/vma/util/utils.cpp | 2 +- src/vma/util/utils.h | 2 +- src/vma/util/valgrind.h | 2 +- src/vma/util/vma_list.h | 2 +- src/vma/util/vma_stats.h | 2 +- src/vma/util/vtypes.h | 2 +- src/vma/util/wakeup.cpp | 2 +- src/vma/util/wakeup.h | 2 +- src/vma/util/wakeup_pipe.cpp | 2 +- src/vma/util/wakeup_pipe.h | 2 +- src/vma/vma_extra.h | 2 +- tests/api-support-check.py | 2 +- tests/async-echo-client/async-echo-client.py | 2 +- tests/async-echo-client/echo-server.py | 2 +- tests/async-echo-client/syncronized-echo-client.py | 2 +- tests/benchmarking_test/Accelerators_Benchmarking.sh | 2 +- tests/bindtodevice/client.py | 2 +- tests/connect-disconnect/client.py | 2 +- tests/extra_api_tests/socketxtreme/server_tcp.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/client.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/client.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/main.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/server.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/server.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/types.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/utils.c | 2 +- tests/functionality/getsockname_test.c | 2 +- tests/functionality/iomux/1epoll_1socket_twice.c | 2 +- tests/functionality/iomux/2epoll_1socket.c | 2 +- tests/functionality/iomux/client.py | 2 +- tests/functionality/iomux/eclient.py | 2 +- tests/functionality/iomux/eserver.py | 2 +- tests/functionality/iomux/pclient.py | 2 +- tests/functionality/iomux/pserver.py | 2 +- tests/functionality/iomux/server.py | 2 +- tests/gtest/common/base.cc | 2 +- tests/gtest/common/base.h | 2 +- tests/gtest/common/cmn.h | 2 +- tests/gtest/common/def.h | 2 +- tests/gtest/common/log.h | 2 +- tests/gtest/common/sys.cc | 2 +- tests/gtest/common/sys.h | 2 +- tests/gtest/main.cc | 2 +- tests/gtest/mix/mix_base.cc | 2 +- tests/gtest/mix/mix_base.h | 2 +- tests/gtest/mix/mix_list.cc | 2 +- tests/gtest/mix/sg_array.cc | 2 +- tests/gtest/sock/sock_base.cc | 2 +- tests/gtest/sock/sock_base.h | 2 +- tests/gtest/sock/sock_socket.cc | 2 +- tests/gtest/tcp/tcp_base.cc | 2 +- tests/gtest/tcp/tcp_base.h | 2 +- tests/gtest/tcp/tcp_bind.cc | 2 +- tests/gtest/tcp/tcp_connect.cc | 2 +- tests/gtest/tcp/tcp_connect_nb.cc | 2 +- tests/gtest/tcp/tcp_event.cc | 2 +- tests/gtest/tcp/tcp_send.cc | 2 +- tests/gtest/tcp/tcp_send_zc.cc | 2 +- tests/gtest/tcp/tcp_sendfile.cc | 2 +- tests/gtest/tcp/tcp_sendto.cc | 2 +- tests/gtest/tcp/tcp_socket.cc | 2 +- tests/gtest/tcp/tcp_tls.cc | 2 +- tests/gtest/udp/udp_base.cc | 2 +- tests/gtest/udp/udp_base.h | 2 +- tests/gtest/udp/udp_bind.cc | 2 +- tests/gtest/udp/udp_connect.cc | 2 +- tests/gtest/udp/udp_send.cc | 2 +- tests/gtest/udp/udp_sendto.cc | 2 +- tests/gtest/vma/vma_base.cc | 2 +- tests/gtest/vma/vma_base.h | 2 +- tests/gtest/vma/vma_poll.cc | 2 +- tests/gtest/vma/vma_recvfrom_zcopy.cc | 2 +- tests/gtest/vma/vma_ring.cc | 2 +- tests/gtest/vma/vma_sockopt.cc | 2 +- tests/gtest/vmad/vmad_base.cc | 2 +- tests/gtest/vmad/vmad_base.h | 2 +- tests/gtest/vmad/vmad_bitmap.cc | 2 +- tests/gtest/vmad/vmad_flow.cc | 2 +- tests/gtest/vmad/vmad_hash.cc | 2 +- tests/gtest/vmad/vmad_init.cc | 2 +- tests/gtest/vmad/vmad_state.cc | 2 +- tests/latency_test/tcp_lat.cpp | 2 +- tests/latency_test/udp_lat.c | 2 +- tests/listen/tcp_client.py | 2 +- tests/listen/tcp_server.py | 2 +- tests/low_pps_tcp_send_test/exchange.cpp | 2 +- tests/low_pps_tcp_send_test/trader.cpp | 2 +- tests/mc_loop_test/mc_loop_test.c | 2 +- tests/multithread_test/exchange.cpp | 2 +- tests/multithread_test/trader.cpp | 2 +- tests/pps_test/pps_test.c | 2 +- .../server_socket_receive_and_recreate_loop.py | 2 +- tests/resource_release_checker/server_socket_recreate_loop.py | 2 +- tests/reuse_ud_test.c | 2 +- tests/select_t1.c | 2 +- tests/server_test/client.cc | 2 +- tests/server_test/client.h | 2 +- tests/server_test/main.cc | 2 +- tests/server_test/options.cc | 2 +- tests/server_test/options.h | 2 +- tests/server_test/server.cc | 2 +- tests/server_test/server.h | 2 +- tests/server_test/vtime.cc | 2 +- tests/server_test/vtime.h | 2 +- tests/simple_fork/fork.py | 2 +- tests/tcp_window_size_exerciser/Makefile | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test.h | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test_client.c | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test_server.c | 2 +- tests/testbed/testbed.c | 2 +- tests/throughput_test/bandwidth_test.c | 2 +- tests/timetest/timetest.cpp | 2 +- tests/vma_perf_envelope/vma_multiplexers_test.sh | 2 +- tests/vma_perf_envelope/vma_perf_envelope.sh | 2 +- tools/daemon/bitmap.h | 2 +- tools/daemon/daemon.c | 2 +- tools/daemon/daemon.h | 2 +- tools/daemon/flow.c | 2 +- tools/daemon/hash.c | 2 +- tools/daemon/hash.h | 2 +- tools/daemon/loop.c | 2 +- tools/daemon/message.c | 2 +- tools/daemon/nl.c | 2 +- tools/daemon/nl.h | 2 +- tools/daemon/notify.c | 2 +- tools/daemon/store.c | 2 +- tools/daemon/tc.c | 2 +- tools/daemon/tc.h | 2 +- 377 files changed, 378 insertions(+), 378 deletions(-) diff --git a/LICENSE b/LICENSE index f8707a15c..af1ed7574 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4 index 014a01f1e..328d1bae9 100644 --- a/config/m4/compiler.m4 +++ b/config/m4/compiler.m4 @@ -1,6 +1,6 @@ # compiler.m4 - Configure compiler capabilities # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/dpcp.m4 b/config/m4/dpcp.m4 index b6089d299..ed9b46575 100644 --- a/config/m4/dpcp.m4 +++ b/config/m4/dpcp.m4 @@ -1,6 +1,6 @@ # dpcp.m4 - Library to operate with DevX # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/func.m4 b/config/m4/func.m4 index 40bfc18e9..e431f657e 100644 --- a/config/m4/func.m4 +++ b/config/m4/func.m4 @@ -1,6 +1,6 @@ # func.m4 - Collection of functions # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/nl.m4 b/config/m4/nl.m4 index 629395629..5384960e4 100644 --- a/config/m4/nl.m4 +++ b/config/m4/nl.m4 @@ -1,6 +1,6 @@ # nl.m4 - Detect nl package # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/opt.m4 b/config/m4/opt.m4 index efc56ff39..78ae62c7d 100644 --- a/config/m4/opt.m4 +++ b/config/m4/opt.m4 @@ -1,6 +1,6 @@ # opt.m4 - Macros to control optimization # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/prof.m4 b/config/m4/prof.m4 index fbb66fbd7..f8da738fd 100644 --- a/config/m4/prof.m4 +++ b/config/m4/prof.m4 @@ -1,6 +1,6 @@ # prof.m4 - Profiling, instrumentation # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index bc60f6271..59f0e9f75 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -1,6 +1,6 @@ # verbs.m4 - Parsing verbs capabilities # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/contrib/scripts/vma.init.in b/contrib/scripts/vma.init.in index 1f2a7adea..0d27194b9 100644 --- a/contrib/scripts/vma.init.in +++ b/contrib/scripts/vma.init.in @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright © 2001-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. +# Copyright © 2001-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/contrib/test_jenkins.sh b/contrib/test_jenkins.sh index 21e09ff35..e38536e26 100755 --- a/contrib/test_jenkins.sh +++ b/contrib/test_jenkins.sh @@ -2,7 +2,7 @@ # # Testing script for VMA, to run from Jenkins CI # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # See file LICENSE for terms. # diff --git a/debian/copyright b/debian/copyright index bd3b5ff20..aea9c3d8c 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: libvma Source: https://github.com/Mellanox/libvma Files: * -Copyright: 2001-2022 NVIDIA CORPORATION & AFFILIATES. +Copyright: 2001-2023 NVIDIA CORPORATION & AFFILIATES. License: GPL-2 or BSD * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU @@ -46,7 +46,7 @@ Copyright: 2007-2008, Swinburne University of Technology, Melbourne, Australia. 2009-2010, Lawrence Stewart 2010, The FreeBSD Foundation - 2001-2022 NVIDIA CORPORATION & AFFILIATES. + 2001-2023 NVIDIA CORPORATION & AFFILIATES. License: GPL-2 and 2BSD Files: src/vma/lwip/def.h diff --git a/src/state_machine/main.cpp b/src/state_machine/main.cpp index c4f2046fd..a82cddeff 100644 --- a/src/state_machine/main.cpp +++ b/src/state_machine/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm.cpp b/src/state_machine/sm.cpp index aeb97b0d1..4c353c2e0 100644 --- a/src/state_machine/sm.cpp +++ b/src/state_machine/sm.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm.h b/src/state_machine/sm.h index 68da0df25..166fbd0d5 100644 --- a/src/state_machine/sm.h +++ b/src/state_machine/sm.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm_fifo.cpp b/src/state_machine/sm_fifo.cpp index 66fad7c01..fa30266a3 100644 --- a/src/state_machine/sm_fifo.cpp +++ b/src/state_machine/sm_fifo.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm_fifo.h b/src/state_machine/sm_fifo.h index a075c5562..9c00c1d1b 100644 --- a/src/state_machine/sm_fifo.h +++ b/src/state_machine/sm_fifo.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_data_reader.h b/src/stats/stats_data_reader.h index 8cdf991fd..cae9c4877 100644 --- a/src/stats/stats_data_reader.h +++ b/src/stats/stats_data_reader.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_printer.cpp b/src/stats/stats_printer.cpp index eade1ea6c..e98c54676 100644 --- a/src/stats/stats_printer.cpp +++ b/src/stats/stats_printer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_publisher.cpp b/src/stats/stats_publisher.cpp index 2198b9f74..400a48a78 100644 --- a/src/stats/stats_publisher.cpp +++ b/src/stats/stats_publisher.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index 107f5e877..4704b9341 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-arm64.h b/src/utils/asm-arm64.h index 60762e0b1..c78835337 100644 --- a/src/utils/asm-arm64.h +++ b/src/utils/asm-arm64.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-ppc64.h b/src/utils/asm-ppc64.h index 1c7c16e53..bc7d3e78d 100644 --- a/src/utils/asm-ppc64.h +++ b/src/utils/asm-ppc64.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-x86.h b/src/utils/asm-x86.h index 95380cb50..d7ee4540a 100644 --- a/src/utils/asm-x86.h +++ b/src/utils/asm-x86.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm.h b/src/utils/asm.h index a99353ea3..12b9e4815 100644 --- a/src/utils/asm.h +++ b/src/utils/asm.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/atomic.h b/src/utils/atomic.h index 2c0d4efcd..4b4768149 100644 --- a/src/utils/atomic.h +++ b/src/utils/atomic.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/bullseye.h b/src/utils/bullseye.h index 3de32085d..d812a4d4e 100644 --- a/src/utils/bullseye.h +++ b/src/utils/bullseye.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/clock.h b/src/utils/clock.h index 241dbde77..b2d325c6d 100644 --- a/src/utils/clock.h +++ b/src/utils/clock.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/compiler.h b/src/utils/compiler.h index 399aa3068..77a4b38f6 100644 --- a/src/utils/compiler.h +++ b/src/utils/compiler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/lock_wrapper.h b/src/utils/lock_wrapper.h index 8379541d2..970413abb 100644 --- a/src/utils/lock_wrapper.h +++ b/src/utils/lock_wrapper.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/rdtsc.h b/src/utils/rdtsc.h index a6f23d3e5..6004162ae 100644 --- a/src/utils/rdtsc.h +++ b/src/utils/rdtsc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/types.h b/src/utils/types.h index 1af2e4e3a..376756eba 100644 --- a/src/utils/types.h +++ b/src/utils/types.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/main.cpp b/src/vlogger/main.cpp index 7c135966c..b7da24ba2 100644 --- a/src/vlogger/main.cpp +++ b/src/vlogger/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/vlogger.cpp b/src/vlogger/vlogger.cpp index c2b31643c..b9ba1d2da 100644 --- a/src/vlogger/vlogger.cpp +++ b/src/vlogger/vlogger.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/vlogger.h b/src/vlogger/vlogger.h index de2b358f4..1492eb1ae 100644 --- a/src/vlogger/vlogger.h +++ b/src/vlogger/vlogger.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/config_scanner.c b/src/vma/config_scanner.c index 7756b92f4..7063e2f9c 100644 --- a/src/vma/config_scanner.c +++ b/src/vma/config_scanner.c @@ -756,7 +756,7 @@ int libvma_yy_flex_debug = 0; char *libvma_yytext; /* Line 1 of config_scanner.l */ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index 127649681..b97b0f44e 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/allocator.h b/src/vma/dev/allocator.h index 194ab046f..4d38733cd 100644 --- a/src/vma/dev/allocator.h +++ b/src/vma/dev/allocator.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index fea85ae16..b73306945 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/buffer_pool.h b/src/vma/dev/buffer_pool.h index e25b551be..9773cd76a 100644 --- a/src/vma/dev/buffer_pool.h +++ b/src/vma/dev/buffer_pool.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.cpp b/src/vma/dev/cq_mgr.cpp index 2182fe2e9..29b34197c 100644 --- a/src/vma/dev/cq_mgr.cpp +++ b/src/vma/dev/cq_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.h b/src/vma/dev/cq_mgr.h index 2a40ed35d..26ed99373 100644 --- a/src/vma/dev/cq_mgr.h +++ b/src/vma/dev/cq_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.inl b/src/vma/dev/cq_mgr.inl index e7cf08770..6873ff279 100644 --- a/src/vma/dev/cq_mgr.inl +++ b/src/vma/dev/cq_mgr.inl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index 06c1b8a53..de7e260d2 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.h b/src/vma/dev/cq_mgr_mlx5.h index 82b181439..39a3bb6ee 100644 --- a/src/vma/dev/cq_mgr_mlx5.h +++ b/src/vma/dev/cq_mgr_mlx5.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.inl b/src/vma/dev/cq_mgr_mlx5.inl index df91687e3..629cd1cf3 100644 --- a/src/vma/dev/cq_mgr_mlx5.inl +++ b/src/vma/dev/cq_mgr_mlx5.inl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/dm_mgr.cpp b/src/vma/dev/dm_mgr.cpp index fe40a5158..098a8a945 100644 --- a/src/vma/dev/dm_mgr.cpp +++ b/src/vma/dev/dm_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/dm_mgr.h b/src/vma/dev/dm_mgr.h index baeb16f94..cff116e37 100644 --- a/src/vma/dev/dm_mgr.h +++ b/src/vma/dev/dm_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/gro_mgr.cpp b/src/vma/dev/gro_mgr.cpp index 965ad6cba..04f82b0a3 100644 --- a/src/vma/dev/gro_mgr.cpp +++ b/src/vma/dev/gro_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/gro_mgr.h b/src/vma/dev/gro_mgr.h index e0b7f2053..304f0de6e 100644 --- a/src/vma/dev/gro_mgr.h +++ b/src/vma/dev/gro_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 95c68ed5a..4c7babd96 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index c066b4634..5c4c5abd0 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler_collection.cpp b/src/vma/dev/ib_ctx_handler_collection.cpp index 26ff98543..61c34f0d7 100644 --- a/src/vma/dev/ib_ctx_handler_collection.cpp +++ b/src/vma/dev/ib_ctx_handler_collection.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler_collection.h b/src/vma/dev/ib_ctx_handler_collection.h index 029e6e77c..189ccc0bd 100644 --- a/src/vma/dev/ib_ctx_handler_collection.h +++ b/src/vma/dev/ib_ctx_handler_collection.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_entry.cpp b/src/vma/dev/net_device_entry.cpp index 5f7b047ce..585157ac5 100644 --- a/src/vma/dev/net_device_entry.cpp +++ b/src/vma/dev/net_device_entry.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_entry.h b/src/vma/dev/net_device_entry.h index d4fca71c7..b8867aff4 100644 --- a/src/vma/dev/net_device_entry.h +++ b/src/vma/dev/net_device_entry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index 02357fc9f..2962b5ad6 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_table_mgr.h b/src/vma/dev/net_device_table_mgr.h index 401f0e7b8..717d0b8e7 100644 --- a/src/vma/dev/net_device_table_mgr.h +++ b/src/vma/dev/net_device_table_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index a5be4a259..3a386f731 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_val.h b/src/vma/dev/net_device_val.h index f68623f21..334461e51 100644 --- a/src/vma/dev/net_device_val.h +++ b/src/vma/dev/net_device_val.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index 2eb39ba45..949075675 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index 2ccf59735..ee903d99f 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index 1104540f1..ae319435a 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_direct.h b/src/vma/dev/qp_mgr_eth_direct.h index eb17de15e..a9119a6f2 100644 --- a/src/vma/dev/qp_mgr_eth_direct.h +++ b/src/vma/dev/qp_mgr_eth_direct.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index 4b5369adb..c4e20bb38 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index 742cc0b85..083047229 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs.cpp b/src/vma/dev/rfs.cpp index d14ea732e..d1de4b29d 100644 --- a/src/vma/dev/rfs.cpp +++ b/src/vma/dev/rfs.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs.h b/src/vma/dev/rfs.h index ae9357b49..62bfd8e1d 100644 --- a/src/vma/dev/rfs.h +++ b/src/vma/dev/rfs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_mc.cpp b/src/vma/dev/rfs_mc.cpp index 0ffef0447..4d488beac 100644 --- a/src/vma/dev/rfs_mc.cpp +++ b/src/vma/dev/rfs_mc.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_mc.h b/src/vma/dev/rfs_mc.h index 33b1ad2d1..df12b458c 100644 --- a/src/vma/dev/rfs_mc.h +++ b/src/vma/dev/rfs_mc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc.cpp b/src/vma/dev/rfs_uc.cpp index 18d25f898..dfd24fdca 100644 --- a/src/vma/dev/rfs_uc.cpp +++ b/src/vma/dev/rfs_uc.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc.h b/src/vma/dev/rfs_uc.h index d34e20fb9..08dcffb5d 100644 --- a/src/vma/dev/rfs_uc.h +++ b/src/vma/dev/rfs_uc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc_tcp_gro.cpp b/src/vma/dev/rfs_uc_tcp_gro.cpp index 70cfea16a..4054076c3 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.cpp +++ b/src/vma/dev/rfs_uc_tcp_gro.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc_tcp_gro.h b/src/vma/dev/rfs_uc_tcp_gro.h index ab9a480f7..3371db26e 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.h +++ b/src/vma/dev/rfs_uc_tcp_gro.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring.cpp b/src/vma/dev/ring.cpp index 99f61080a..ddf7e592f 100644 --- a/src/vma/dev/ring.cpp +++ b/src/vma/dev/ring.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring.h b/src/vma/dev/ring.h index 169e46513..ca4872649 100644 --- a/src/vma/dev/ring.h +++ b/src/vma/dev/ring.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_allocation_logic.cpp b/src/vma/dev/ring_allocation_logic.cpp index 419fc1cbf..cc814590d 100644 --- a/src/vma/dev/ring_allocation_logic.cpp +++ b/src/vma/dev/ring_allocation_logic.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_allocation_logic.h b/src/vma/dev/ring_allocation_logic.h index bf9046e4c..d5a4d9014 100644 --- a/src/vma/dev/ring_allocation_logic.h +++ b/src/vma/dev/ring_allocation_logic.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index b4405b7fc..75af0283c 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index 128aa3879..3853658a6 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_eth_direct.cpp b/src/vma/dev/ring_eth_direct.cpp index 78049b3c3..ae51cebb8 100644 --- a/src/vma/dev/ring_eth_direct.cpp +++ b/src/vma/dev/ring_eth_direct.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_eth_direct.h b/src/vma/dev/ring_eth_direct.h index c038f4df0..08ece02e2 100644 --- a/src/vma/dev/ring_eth_direct.h +++ b/src/vma/dev/ring_eth_direct.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_profile.cpp b/src/vma/dev/ring_profile.cpp index 4b102b520..30bdb0599 100644 --- a/src/vma/dev/ring_profile.cpp +++ b/src/vma/dev/ring_profile.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_profile.h b/src/vma/dev/ring_profile.h index 9bf232602..54a52a593 100644 --- a/src/vma/dev/ring_profile.h +++ b/src/vma/dev/ring_profile.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index a8b9e575b..50df91a5b 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index 3089370d5..5d72f29a0 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_slave.cpp b/src/vma/dev/ring_slave.cpp index b5c11590a..e69aa3be6 100644 --- a/src/vma/dev/ring_slave.cpp +++ b/src/vma/dev/ring_slave.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_slave.h b/src/vma/dev/ring_slave.h index a494640ae..af9293ff3 100644 --- a/src/vma/dev/ring_slave.h +++ b/src/vma/dev/ring_slave.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index 9936e4b9a..a9416c61e 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index 3feb58d7b..691367b99 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter.cpp b/src/vma/dev/time_converter.cpp index b98b51fc0..c60be2c03 100644 --- a/src/vma/dev/time_converter.cpp +++ b/src/vma/dev/time_converter.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter.h b/src/vma/dev/time_converter.h index 3fbe5e6e3..5618e967b 100644 --- a/src/vma/dev/time_converter.h +++ b/src/vma/dev/time_converter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ib_ctx.cpp b/src/vma/dev/time_converter_ib_ctx.cpp index da7acafdd..c7ace8d4d 100644 --- a/src/vma/dev/time_converter_ib_ctx.cpp +++ b/src/vma/dev/time_converter_ib_ctx.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ib_ctx.h b/src/vma/dev/time_converter_ib_ctx.h index b44a855ca..e06695cdc 100644 --- a/src/vma/dev/time_converter_ib_ctx.h +++ b/src/vma/dev/time_converter_ib_ctx.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ptp.cpp b/src/vma/dev/time_converter_ptp.cpp index e786f0c91..eb60bf3d9 100644 --- a/src/vma/dev/time_converter_ptp.cpp +++ b/src/vma/dev/time_converter_ptp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ptp.h b/src/vma/dev/time_converter_ptp.h index 04946946a..21b7dd657 100644 --- a/src/vma/dev/time_converter_ptp.h +++ b/src/vma/dev/time_converter_ptp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_handler.cpp b/src/vma/dev/wqe_send_handler.cpp index 6285c66e5..b833468a5 100644 --- a/src/vma/dev/wqe_send_handler.cpp +++ b/src/vma/dev/wqe_send_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_handler.h b/src/vma/dev/wqe_send_handler.h index abebeb203..bb1d3ec7a 100644 --- a/src/vma/dev/wqe_send_handler.h +++ b/src/vma/dev/wqe_send_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_ib_handler.cpp b/src/vma/dev/wqe_send_ib_handler.cpp index b29912840..6ed6a7993 100644 --- a/src/vma/dev/wqe_send_ib_handler.cpp +++ b/src/vma/dev/wqe_send_ib_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_ib_handler.h b/src/vma/dev/wqe_send_ib_handler.h index 0b94ed7b8..79ceb76dc 100644 --- a/src/vma/dev/wqe_send_ib_handler.h +++ b/src/vma/dev/wqe_send_ib_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/command.h b/src/vma/event/command.h index a8cc2f422..560cbc208 100644 --- a/src/vma/event/command.h +++ b/src/vma/event/command.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/delta_timer.cpp b/src/vma/event/delta_timer.cpp index 9c3c273be..615e8f920 100644 --- a/src/vma/event/delta_timer.cpp +++ b/src/vma/event/delta_timer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/delta_timer.h b/src/vma/event/delta_timer.h index c453f8510..743956fbf 100644 --- a/src/vma/event/delta_timer.h +++ b/src/vma/event/delta_timer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event.h b/src/vma/event/event.h index fe7678efe..7eb9496ec 100644 --- a/src/vma/event/event.h +++ b/src/vma/event/event.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_ibverbs.h b/src/vma/event/event_handler_ibverbs.h index f3e783fd2..972e125bd 100644 --- a/src/vma/event/event_handler_ibverbs.h +++ b/src/vma/event/event_handler_ibverbs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index 9e2a2515c..a32a71ea2 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_manager.h b/src/vma/event/event_handler_manager.h index 300eae5d0..f07f817f3 100644 --- a/src/vma/event/event_handler_manager.h +++ b/src/vma/event/event_handler_manager.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_rdma_cm.h b/src/vma/event/event_handler_rdma_cm.h index dd0bcb518..88a3b40a5 100644 --- a/src/vma/event/event_handler_rdma_cm.h +++ b/src/vma/event/event_handler_rdma_cm.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/netlink_event.cpp b/src/vma/event/netlink_event.cpp index a8ad39450..72bceda44 100644 --- a/src/vma/event/netlink_event.cpp +++ b/src/vma/event/netlink_event.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/netlink_event.h b/src/vma/event/netlink_event.h index 2ea38262d..34cb7459c 100644 --- a/src/vma/event/netlink_event.h +++ b/src/vma/event/netlink_event.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/timer_handler.h b/src/vma/event/timer_handler.h index 0d7efdf87..9433e05f2 100644 --- a/src/vma/event/timer_handler.h +++ b/src/vma/event/timer_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/timers_group.h b/src/vma/event/timers_group.h index 40f25f6f5..60f5dce69 100644 --- a/src/vma/event/timers_group.h +++ b/src/vma/event/timers_group.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/vlogger_timer_handler.cpp b/src/vma/event/vlogger_timer_handler.cpp index 3fc394107..81f6e86e3 100644 --- a/src/vma/event/vlogger_timer_handler.cpp +++ b/src/vma/event/vlogger_timer_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/vlogger_timer_handler.h b/src/vma/event/vlogger_timer_handler.h index d9a330ba3..735570c14 100644 --- a/src/vma/event/vlogger_timer_handler.h +++ b/src/vma/event/vlogger_timer_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index cf69b141e..606778b75 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index 169254134..3075e7201 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5.cpp b/src/vma/ib/mlx5/ib_mlx5.cpp index d8431a9e9..b9dbbe4cb 100644 --- a/src/vma/ib/mlx5/ib_mlx5.cpp +++ b/src/vma/ib/mlx5/ib_mlx5.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5.h b/src/vma/ib/mlx5/ib_mlx5.h index 1888d324b..3ea3d1d2c 100644 --- a/src/vma/ib/mlx5/ib_mlx5.h +++ b/src/vma/ib/mlx5/ib_mlx5.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.cpp b/src/vma/ib/mlx5/ib_mlx5_dv.cpp index 36a279fa9..b31f6b108 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_dv.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.h b/src/vma/ib/mlx5/ib_mlx5_dv.h index 0209e5151..fabbdb82e 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.h +++ b/src/vma/ib/mlx5/ib_mlx5_dv.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.cpp b/src/vma/ib/mlx5/ib_mlx5_hw.cpp index 05122b797..035061408 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_hw.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.h b/src/vma/ib/mlx5/ib_mlx5_hw.h index e5aec9c67..ca4cc1339 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.h +++ b/src/vma/ib/mlx5/ib_mlx5_hw.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoCollMgr.cpp b/src/vma/infra/DemoCollMgr.cpp index 9ff100365..055a865fc 100644 --- a/src/vma/infra/DemoCollMgr.cpp +++ b/src/vma/infra/DemoCollMgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoCollMgr.h b/src/vma/infra/DemoCollMgr.h index 51fb4b3fc..968c6e946 100644 --- a/src/vma/infra/DemoCollMgr.h +++ b/src/vma/infra/DemoCollMgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoObserver.cpp b/src/vma/infra/DemoObserver.cpp index a278e1ed2..2b865063a 100644 --- a/src/vma/infra/DemoObserver.cpp +++ b/src/vma/infra/DemoObserver.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoObserver.h b/src/vma/infra/DemoObserver.h index fb7f9b0ef..12cbe30bf 100644 --- a/src/vma/infra/DemoObserver.h +++ b/src/vma/infra/DemoObserver.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoSubject.cpp b/src/vma/infra/DemoSubject.cpp index 8604bd25e..51e65ad9d 100644 --- a/src/vma/infra/DemoSubject.cpp +++ b/src/vma/infra/DemoSubject.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoSubject.h b/src/vma/infra/DemoSubject.h index 9c4714831..705f8bdaf 100644 --- a/src/vma/infra/DemoSubject.h +++ b/src/vma/infra/DemoSubject.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/cache_subject_observer.h b/src/vma/infra/cache_subject_observer.h index 46f0e4825..4c87ed2e1 100644 --- a/src/vma/infra/cache_subject_observer.h +++ b/src/vma/infra/cache_subject_observer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/main.cpp b/src/vma/infra/main.cpp index 5a29430b9..dfada7ed8 100644 --- a/src/vma/infra/main.cpp +++ b/src/vma/infra/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender.cpp b/src/vma/infra/sender.cpp index 8de97444f..f5e5d9488 100644 --- a/src/vma/infra/sender.cpp +++ b/src/vma/infra/sender.cpp @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender.h b/src/vma/infra/sender.h index ec0dbdb08..fbf7952a2 100644 --- a/src/vma/infra/sender.h +++ b/src/vma/infra/sender.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender_info_dst.cpp b/src/vma/infra/sender_info_dst.cpp index cdea27c22..cd31f985c 100644 --- a/src/vma/infra/sender_info_dst.cpp +++ b/src/vma/infra/sender_info_dst.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender_info_dst.h b/src/vma/infra/sender_info_dst.h index a471178a0..9392dba2b 100644 --- a/src/vma/infra/sender_info_dst.h +++ b/src/vma/infra/sender_info_dst.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/subject_observer.cpp b/src/vma/infra/subject_observer.cpp index e8b30a4a9..7bf159474 100644 --- a/src/vma/infra/subject_observer.cpp +++ b/src/vma/infra/subject_observer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/subject_observer.h b/src/vma/infra/subject_observer.h index 68585f15b..235e14ce6 100644 --- a/src/vma/infra/subject_observer.h +++ b/src/vma/infra/subject_observer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epfd_info.cpp b/src/vma/iomux/epfd_info.cpp index 40554cf2f..df4c6fd97 100644 --- a/src/vma/iomux/epfd_info.cpp +++ b/src/vma/iomux/epfd_info.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epfd_info.h b/src/vma/iomux/epfd_info.h index b89cbff92..7a10ba7f7 100644 --- a/src/vma/iomux/epfd_info.h +++ b/src/vma/iomux/epfd_info.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epoll_wait_call.cpp b/src/vma/iomux/epoll_wait_call.cpp index 46a5fa9e2..980b46cf3 100644 --- a/src/vma/iomux/epoll_wait_call.cpp +++ b/src/vma/iomux/epoll_wait_call.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epoll_wait_call.h b/src/vma/iomux/epoll_wait_call.h index 450505306..dc4b726fb 100644 --- a/src/vma/iomux/epoll_wait_call.h +++ b/src/vma/iomux/epoll_wait_call.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/io_mux_call.cpp b/src/vma/iomux/io_mux_call.cpp index 96c5a0997..618e1518b 100644 --- a/src/vma/iomux/io_mux_call.cpp +++ b/src/vma/iomux/io_mux_call.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/io_mux_call.h b/src/vma/iomux/io_mux_call.h index 4b6f577a1..f1bd087c0 100644 --- a/src/vma/iomux/io_mux_call.h +++ b/src/vma/iomux/io_mux_call.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/poll_call.cpp b/src/vma/iomux/poll_call.cpp index 7dada5e0f..27e946c3d 100644 --- a/src/vma/iomux/poll_call.cpp +++ b/src/vma/iomux/poll_call.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/poll_call.h b/src/vma/iomux/poll_call.h index cd250c226..8e944bd9e 100644 --- a/src/vma/iomux/poll_call.h +++ b/src/vma/iomux/poll_call.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/select_call.cpp b/src/vma/iomux/select_call.cpp index 22615ef61..0207ab966 100644 --- a/src/vma/iomux/select_call.cpp +++ b/src/vma/iomux/select_call.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/select_call.h b/src/vma/iomux/select_call.h index 0fc2c2b2a..c87c67865 100644 --- a/src/vma/iomux/select_call.h +++ b/src/vma/iomux/select_call.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/libvma.c b/src/vma/libvma.c index a91d578ff..b5d5cd9ab 100644 --- a/src/vma/libvma.c +++ b/src/vma/libvma.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc.c b/src/vma/lwip/cc.c index 343274c90..c4ac473a8 100644 --- a/src/vma/lwip/cc.c +++ b/src/vma/lwip/cc.c @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc.h b/src/vma/lwip/cc.h index f3d650aa4..dfc37ed2e 100644 --- a/src/vma/lwip/cc.h +++ b/src/vma/lwip/cc.h @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_cubic.c b/src/vma/lwip/cc_cubic.c index 4af31499a..bc2d2fe90 100644 --- a/src/vma/lwip/cc_cubic.c +++ b/src/vma/lwip/cc_cubic.c @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_cubic.h b/src/vma/lwip/cc_cubic.h index f70b7ba64..95f84efea 100644 --- a/src/vma/lwip/cc_cubic.h +++ b/src/vma/lwip/cc_cubic.h @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_lwip.c b/src/vma/lwip/cc_lwip.c index da4e22378..a6daae44c 100644 --- a/src/vma/lwip/cc_lwip.c +++ b/src/vma/lwip/cc_lwip.c @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_none.c b/src/vma/lwip/cc_none.c index 4f28926ff..eb1e33968 100644 --- a/src/vma/lwip/cc_none.c +++ b/src/vma/lwip/cc_none.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/main.cpp b/src/vma/main.cpp index db56d1e6f..14fc70a75 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/main.h b/src/vma/main.h index 4079b7fbd..60e4edd1d 100644 --- a/src/vma/main.h +++ b/src/vma/main.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/link_info.cpp b/src/vma/netlink/link_info.cpp index 0edde95ee..0d5f11540 100644 --- a/src/vma/netlink/link_info.cpp +++ b/src/vma/netlink/link_info.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/link_info.h b/src/vma/netlink/link_info.h index 333f63a3b..1a37b2707 100644 --- a/src/vma/netlink/link_info.h +++ b/src/vma/netlink/link_info.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/neigh_info.cpp b/src/vma/netlink/neigh_info.cpp index f5f037e25..b0d42654e 100644 --- a/src/vma/netlink/neigh_info.cpp +++ b/src/vma/netlink/neigh_info.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/neigh_info.h b/src/vma/netlink/neigh_info.h index 26b780565..a7af0a1dd 100644 --- a/src/vma/netlink/neigh_info.h +++ b/src/vma/netlink/neigh_info.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_compatibility.cpp b/src/vma/netlink/netlink_compatibility.cpp index 7034ebe72..744ecc9e6 100644 --- a/src/vma/netlink/netlink_compatibility.cpp +++ b/src/vma/netlink/netlink_compatibility.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_compatibility.h b/src/vma/netlink/netlink_compatibility.h index b4152a69a..6fac23355 100644 --- a/src/vma/netlink/netlink_compatibility.h +++ b/src/vma/netlink/netlink_compatibility.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_wrapper.cpp b/src/vma/netlink/netlink_wrapper.cpp index bdd2934ce..422d03583 100644 --- a/src/vma/netlink/netlink_wrapper.cpp +++ b/src/vma/netlink/netlink_wrapper.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_wrapper.h b/src/vma/netlink/netlink_wrapper.h index c7912e447..ca0970ba2 100644 --- a/src/vma/netlink/netlink_wrapper.h +++ b/src/vma/netlink/netlink_wrapper.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/route_info.cpp b/src/vma/netlink/route_info.cpp index 7976091d0..22214f10f 100644 --- a/src/vma/netlink/route_info.cpp +++ b/src/vma/netlink/route_info.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/route_info.h b/src/vma/netlink/route_info.h index f8fdf3669..ee6f42cfc 100644 --- a/src/vma/netlink/route_info.h +++ b/src/vma/netlink/route_info.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/test_main.cpp b/src/vma/netlink/test_main.cpp index 41ccb1651..4e84dbbdf 100644 --- a/src/vma/netlink/test_main.cpp +++ b/src/vma/netlink/test_main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/L2_address.cpp b/src/vma/proto/L2_address.cpp index 02e3043ca..d051bf447 100644 --- a/src/vma/proto/L2_address.cpp +++ b/src/vma/proto/L2_address.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/L2_address.h b/src/vma/proto/L2_address.h index ce9f931de..eaf43e242 100644 --- a/src/vma/proto/L2_address.h +++ b/src/vma/proto/L2_address.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/arp.cpp b/src/vma/proto/arp.cpp index 08ef8f3c4..6d025225a 100644 --- a/src/vma/proto/arp.cpp +++ b/src/vma/proto/arp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/arp.h b/src/vma/proto/arp.h index 4a723d6c7..afd4a7aff 100644 --- a/src/vma/proto/arp.h +++ b/src/vma/proto/arp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index c4c17aa4a..18ed0e2fe 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index 12c7b05f9..0a649d24b 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_tcp.cpp b/src/vma/proto/dst_entry_tcp.cpp index 5d5dc678e..fed70a6c0 100644 --- a/src/vma/proto/dst_entry_tcp.cpp +++ b/src/vma/proto/dst_entry_tcp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_tcp.h b/src/vma/proto/dst_entry_tcp.h index 50b5db433..c50851548 100644 --- a/src/vma/proto/dst_entry_tcp.h +++ b/src/vma/proto/dst_entry_tcp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp.cpp b/src/vma/proto/dst_entry_udp.cpp index e34ec221d..17fd2cf5f 100644 --- a/src/vma/proto/dst_entry_udp.cpp +++ b/src/vma/proto/dst_entry_udp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp.h b/src/vma/proto/dst_entry_udp.h index 3d548431e..2514d3dfa 100644 --- a/src/vma/proto/dst_entry_udp.h +++ b/src/vma/proto/dst_entry_udp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp_mc.cpp b/src/vma/proto/dst_entry_udp_mc.cpp index 3cdbe411b..fd05984bd 100644 --- a/src/vma/proto/dst_entry_udp_mc.cpp +++ b/src/vma/proto/dst_entry_udp_mc.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp_mc.h b/src/vma/proto/dst_entry_udp_mc.h index fd58c639e..0a9588f11 100644 --- a/src/vma/proto/dst_entry_udp_mc.h +++ b/src/vma/proto/dst_entry_udp_mc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/flow_tuple.cpp b/src/vma/proto/flow_tuple.cpp index 6ed5ef4ea..4eb689201 100644 --- a/src/vma/proto/flow_tuple.cpp +++ b/src/vma/proto/flow_tuple.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/flow_tuple.h b/src/vma/proto/flow_tuple.h index f6c937be9..fdeabef11 100644 --- a/src/vma/proto/flow_tuple.h +++ b/src/vma/proto/flow_tuple.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/header.cpp b/src/vma/proto/header.cpp index ce8580661..458a77f8e 100644 --- a/src/vma/proto/header.cpp +++ b/src/vma/proto/header.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/header.h b/src/vma/proto/header.h index 1e164b4f0..553668e52 100644 --- a/src/vma/proto/header.h +++ b/src/vma/proto/header.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_handler.cpp b/src/vma/proto/igmp_handler.cpp index 9bc09cf4b..ae3fedd94 100644 --- a/src/vma/proto/igmp_handler.cpp +++ b/src/vma/proto/igmp_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_handler.h b/src/vma/proto/igmp_handler.h index 93c11510c..e1b212d36 100644 --- a/src/vma/proto/igmp_handler.h +++ b/src/vma/proto/igmp_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_mgr.cpp b/src/vma/proto/igmp_mgr.cpp index e1c70996f..bad059055 100644 --- a/src/vma/proto/igmp_mgr.cpp +++ b/src/vma/proto/igmp_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_mgr.h b/src/vma/proto/igmp_mgr.h index 00e0eb445..8e7803a48 100644 --- a/src/vma/proto/igmp_mgr.h +++ b/src/vma/proto/igmp_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_address.h b/src/vma/proto/ip_address.h index 4d4594ac6..9518eaf87 100644 --- a/src/vma/proto/ip_address.h +++ b/src/vma/proto/ip_address.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_frag.cpp b/src/vma/proto/ip_frag.cpp index db94d81d0..0147c12d8 100644 --- a/src/vma/proto/ip_frag.cpp +++ b/src/vma/proto/ip_frag.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_frag.h b/src/vma/proto/ip_frag.h index ce372d4db..1e21e4f93 100644 --- a/src/vma/proto/ip_frag.h +++ b/src/vma/proto/ip_frag.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/mem_buf_desc.h b/src/vma/proto/mem_buf_desc.h index 084ab3797..b3fb6d7b5 100644 --- a/src/vma/proto/mem_buf_desc.h +++ b/src/vma/proto/mem_buf_desc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index da81d2d19..190e64331 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour.h b/src/vma/proto/neighbour.h index ba1286d0a..7d5aaa448 100644 --- a/src/vma/proto/neighbour.h +++ b/src/vma/proto/neighbour.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_observer.h b/src/vma/proto/neighbour_observer.h index ee8b4684d..a101f269c 100644 --- a/src/vma/proto/neighbour_observer.h +++ b/src/vma/proto/neighbour_observer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_table_mgr.cpp b/src/vma/proto/neighbour_table_mgr.cpp index 7ba12dc84..0629070d8 100644 --- a/src/vma/proto/neighbour_table_mgr.cpp +++ b/src/vma/proto/neighbour_table_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_table_mgr.h b/src/vma/proto/neighbour_table_mgr.h index a42e9bc8a..25c1ebcc6 100644 --- a/src/vma/proto/neighbour_table_mgr.h +++ b/src/vma/proto/neighbour_table_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/netlink_socket_mgr.h b/src/vma/proto/netlink_socket_mgr.h index 94d02c7d6..85c18ddfb 100644 --- a/src/vma/proto/netlink_socket_mgr.h +++ b/src/vma/proto/netlink_socket_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/peer_key.h b/src/vma/proto/peer_key.h index c23ddcb60..5d276c289 100644 --- a/src/vma/proto/peer_key.h +++ b/src/vma/proto/peer_key.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_entry.cpp b/src/vma/proto/route_entry.cpp index d8eae6cb6..9e9fc6c50 100644 --- a/src/vma/proto/route_entry.cpp +++ b/src/vma/proto/route_entry.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_entry.h b/src/vma/proto/route_entry.h index 848ad1380..3c65fedb5 100644 --- a/src/vma/proto/route_entry.h +++ b/src/vma/proto/route_entry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_rule_table_key.h b/src/vma/proto/route_rule_table_key.h index df6763465..d7b1f8cbe 100644 --- a/src/vma/proto/route_rule_table_key.h +++ b/src/vma/proto/route_rule_table_key.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index 34ba6eb85..53a37ba28 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_table_mgr.h b/src/vma/proto/route_table_mgr.h index 1aac72458..f40b304c2 100644 --- a/src/vma/proto/route_table_mgr.h +++ b/src/vma/proto/route_table_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_val.cpp b/src/vma/proto/route_val.cpp index 2a4e194db..5d060b0b5 100644 --- a/src/vma/proto/route_val.cpp +++ b/src/vma/proto/route_val.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_val.h b/src/vma/proto/route_val.h index fdab2345f..5490c3e17 100644 --- a/src/vma/proto/route_val.h +++ b/src/vma/proto/route_val.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_entry.cpp b/src/vma/proto/rule_entry.cpp index d5667719d..e96cdf13a 100644 --- a/src/vma/proto/rule_entry.cpp +++ b/src/vma/proto/rule_entry.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_entry.h b/src/vma/proto/rule_entry.h index 0476c6e62..96bc013de 100644 --- a/src/vma/proto/rule_entry.h +++ b/src/vma/proto/rule_entry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index e9ba85145..a5aed3e06 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_table_mgr.h b/src/vma/proto/rule_table_mgr.h index 6bf7368e4..16b4a7183 100644 --- a/src/vma/proto/rule_table_mgr.h +++ b/src/vma/proto/rule_table_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_val.cpp b/src/vma/proto/rule_val.cpp index 638fbb4c1..5a788a8e1 100644 --- a/src/vma/proto/rule_val.cpp +++ b/src/vma/proto/rule_val.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_val.h b/src/vma/proto/rule_val.h index 3412722cb..9a152abd0 100644 --- a/src/vma/proto/rule_val.h +++ b/src/vma/proto/rule_val.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/vma_lwip.cpp b/src/vma/proto/vma_lwip.cpp index 4855ea577..6e387d32a 100644 --- a/src/vma/proto/vma_lwip.cpp +++ b/src/vma/proto/vma_lwip.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/vma_lwip.h b/src/vma/proto/vma_lwip.h index fe06698ff..ac5b8669a 100644 --- a/src/vma/proto/vma_lwip.h +++ b/src/vma/proto/vma_lwip.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/cleanable_obj.h b/src/vma/sock/cleanable_obj.h index 2d7323333..59ce61470 100644 --- a/src/vma/sock/cleanable_obj.h +++ b/src/vma/sock/cleanable_obj.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/fd_collection.cpp b/src/vma/sock/fd_collection.cpp index 26a5e5937..fd3e8ce7f 100644 --- a/src/vma/sock/fd_collection.cpp +++ b/src/vma/sock/fd_collection.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/fd_collection.h b/src/vma/sock/fd_collection.h index b44f46e86..7fea0c4a4 100644 --- a/src/vma/sock/fd_collection.h +++ b/src/vma/sock/fd_collection.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pipeinfo.cpp b/src/vma/sock/pipeinfo.cpp index 1daabb028..072de9d67 100644 --- a/src/vma/sock/pipeinfo.cpp +++ b/src/vma/sock/pipeinfo.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pipeinfo.h b/src/vma/sock/pipeinfo.h index 59b515466..44ec22d76 100644 --- a/src/vma/sock/pipeinfo.h +++ b/src/vma/sock/pipeinfo.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pkt_rcvr_sink.h b/src/vma/sock/pkt_rcvr_sink.h index 1289224c0..9dd45e704 100644 --- a/src/vma/sock/pkt_rcvr_sink.h +++ b/src/vma/sock/pkt_rcvr_sink.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pkt_sndr_source.h b/src/vma/sock/pkt_sndr_source.h index 2e4d1ca84..c7116a0db 100644 --- a/src/vma/sock/pkt_sndr_source.h +++ b/src/vma/sock/pkt_sndr_source.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 882cde080..4308d21e8 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sock-redirect.h b/src/vma/sock/sock-redirect.h index 119d6e39f..117fd4ac4 100644 --- a/src/vma/sock/sock-redirect.h +++ b/src/vma/sock/sock-redirect.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/socket_fd_api.cpp b/src/vma/sock/socket_fd_api.cpp index 1fc788de6..17794df97 100644 --- a/src/vma/sock/socket_fd_api.cpp +++ b/src/vma/sock/socket_fd_api.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/socket_fd_api.h b/src/vma/sock/socket_fd_api.h index acd215345..e6908418a 100644 --- a/src/vma/sock/socket_fd_api.h +++ b/src/vma/sock/socket_fd_api.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index a16df79be..534ae2860 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo.h b/src/vma/sock/sockinfo.h index 1ce88d42b..033a3a2c4 100644 --- a/src/vma/sock/sockinfo.h +++ b/src/vma/sock/sockinfo.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 3523a75c6..eff5f04bb 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index d63a5025e..c7d8bde73 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index e85728d2d..e6edfc6ec 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_udp.h b/src/vma/sock/sockinfo_udp.h index 1f7305c00..e07858f32 100644 --- a/src/vma/sock/sockinfo_udp.h +++ b/src/vma/sock/sockinfo_udp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent.cpp b/src/vma/util/agent.cpp index ea5c1b56c..66c43d968 100644 --- a/src/vma/util/agent.cpp +++ b/src/vma/util/agent.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent.h b/src/vma/util/agent.h index 8738751c9..371585f44 100644 --- a/src/vma/util/agent.h +++ b/src/vma/util/agent.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent_def.h b/src/vma/util/agent_def.h index 59a9db653..ab55ec9fc 100644 --- a/src/vma/util/agent_def.h +++ b/src/vma/util/agent_def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/chunk_list.h b/src/vma/util/chunk_list.h index 13be8ff37..967d57d9b 100644 --- a/src/vma/util/chunk_list.h +++ b/src/vma/util/chunk_list.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/config_parser.y b/src/vma/util/config_parser.y index bdb4666a1..d12e7fe41 100644 --- a/src/vma/util/config_parser.y +++ b/src/vma/util/config_parser.y @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/config_scanner.l b/src/vma/util/config_scanner.l index 6d6183128..31552f3af 100644 --- a/src/vma/util/config_scanner.l +++ b/src/vma/util/config_scanner.l @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/data_updater.cpp b/src/vma/util/data_updater.cpp index 8f9fb1ff1..f792ef47e 100644 --- a/src/vma/util/data_updater.cpp +++ b/src/vma/util/data_updater.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/data_updater.h b/src/vma/util/data_updater.h index decee14aa..7de6269a5 100644 --- a/src/vma/util/data_updater.h +++ b/src/vma/util/data_updater.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/hash_map.h b/src/vma/util/hash_map.h index da6f29a8f..d22bcc085 100644 --- a/src/vma/util/hash_map.h +++ b/src/vma/util/hash_map.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/hash_map.inl b/src/vma/util/hash_map.inl index cec727352..0c5b63d52 100644 --- a/src/vma/util/hash_map.inl +++ b/src/vma/util/hash_map.inl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/if.h b/src/vma/util/if.h index 81b7bf8c1..ef472377c 100644 --- a/src/vma/util/if.h +++ b/src/vma/util/if.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/instrumentation.cpp b/src/vma/util/instrumentation.cpp index 83e526587..1c8d75a99 100644 --- a/src/vma/util/instrumentation.cpp +++ b/src/vma/util/instrumentation.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/instrumentation.h b/src/vma/util/instrumentation.h index 009ce2300..7dd7d1917 100644 --- a/src/vma/util/instrumentation.h +++ b/src/vma/util/instrumentation.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/libvma.h b/src/vma/util/libvma.h index 48caad399..f06429d1c 100644 --- a/src/vma/util/libvma.h +++ b/src/vma/util/libvma.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/match.cpp b/src/vma/util/match.cpp index f2fac3de1..24c0f030a 100644 --- a/src/vma/util/match.cpp +++ b/src/vma/util/match.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sg_array.h b/src/vma/util/sg_array.h index 9cf4d06a0..61a783415 100644 --- a/src/vma/util/sg_array.h +++ b/src/vma/util/sg_array.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sock_addr.h b/src/vma/util/sock_addr.h index 7ac475bef..b214ba70b 100644 --- a/src/vma/util/sock_addr.h +++ b/src/vma/util/sock_addr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 26a299460..9c0c1d303 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 6435e5ccb..a16ff28ca 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sysctl_reader.h b/src/vma/util/sysctl_reader.h index de1932fa5..c2824ecb8 100644 --- a/src/vma/util/sysctl_reader.h +++ b/src/vma/util/sysctl_reader.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/to_str.h b/src/vma/util/to_str.h index eb49c4d63..dd63731de 100644 --- a/src/vma/util/to_str.h +++ b/src/vma/util/to_str.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index ef9c096de..ab1156022 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index fa711f389..dd0b7ce74 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/valgrind.h b/src/vma/util/valgrind.h index a9fc65b22..c2a1a55a0 100644 --- a/src/vma/util/valgrind.h +++ b/src/vma/util/valgrind.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vma_list.h b/src/vma/util/vma_list.h index cd3e5f9ee..0ce65e8e5 100644 --- a/src/vma/util/vma_list.h +++ b/src/vma/util/vma_list.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vma_stats.h b/src/vma/util/vma_stats.h index bf0f6a911..e86d83ba9 100644 --- a/src/vma/util/vma_stats.h +++ b/src/vma/util/vma_stats.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vtypes.h b/src/vma/util/vtypes.h index 8d64255e8..96e5101fa 100644 --- a/src/vma/util/vtypes.h +++ b/src/vma/util/vtypes.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup.cpp b/src/vma/util/wakeup.cpp index 459a65718..195f170cf 100644 --- a/src/vma/util/wakeup.cpp +++ b/src/vma/util/wakeup.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup.h b/src/vma/util/wakeup.h index bd4fe547f..551ed9d8b 100644 --- a/src/vma/util/wakeup.h +++ b/src/vma/util/wakeup.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup_pipe.cpp b/src/vma/util/wakeup_pipe.cpp index 1acc315a2..b1065f3c2 100644 --- a/src/vma/util/wakeup_pipe.cpp +++ b/src/vma/util/wakeup_pipe.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup_pipe.h b/src/vma/util/wakeup_pipe.h index 18a950038..680bb318a 100644 --- a/src/vma/util/wakeup_pipe.h +++ b/src/vma/util/wakeup_pipe.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index 803ea3f76..c84ef8980 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/api-support-check.py b/tests/api-support-check.py index fe24487f4..fc72fc0dd 100755 --- a/tests/api-support-check.py +++ b/tests/api-support-check.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # #@copyright: -# Copyright (c) 2015-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/async-echo-client.py b/tests/async-echo-client/async-echo-client.py index a3372c416..2a6adf935 100755 --- a/tests/async-echo-client/async-echo-client.py +++ b/tests/async-echo-client/async-echo-client.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2015-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/echo-server.py b/tests/async-echo-client/echo-server.py index 4083d0f0c..880792666 100755 --- a/tests/async-echo-client/echo-server.py +++ b/tests/async-echo-client/echo-server.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2015-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/syncronized-echo-client.py b/tests/async-echo-client/syncronized-echo-client.py index 6c62674cd..59ce614e1 100755 --- a/tests/async-echo-client/syncronized-echo-client.py +++ b/tests/async-echo-client/syncronized-echo-client.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2015-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/benchmarking_test/Accelerators_Benchmarking.sh b/tests/benchmarking_test/Accelerators_Benchmarking.sh index af1b83e27..94198c9e2 100755 --- a/tests/benchmarking_test/Accelerators_Benchmarking.sh +++ b/tests/benchmarking_test/Accelerators_Benchmarking.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/bindtodevice/client.py b/tests/bindtodevice/client.py index b0021b78e..479e873b6 100755 --- a/tests/bindtodevice/client.py +++ b/tests/bindtodevice/client.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2016-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/connect-disconnect/client.py b/tests/connect-disconnect/client.py index 2fea4e782..ceb000b0f 100755 --- a/tests/connect-disconnect/client.py +++ b/tests/connect-disconnect/client.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2015-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/socketxtreme/server_tcp.c b/tests/extra_api_tests/socketxtreme/server_tcp.c index 3b8ebc9b5..66b8f693c 100644 --- a/tests/extra_api_tests/socketxtreme/server_tcp.c +++ b/tests/extra_api_tests/socketxtreme/server_tcp.c @@ -1,5 +1,5 @@ /* - * Copyright © 2019-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2019-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.c b/tests/extra_api_tests/tcp_zcopy_cb/client.c index 8e1bf4260..8715ec9b1 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.c @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.h b/tests/extra_api_tests/tcp_zcopy_cb/client.h index d7c64e577..ac89091b2 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.h @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/main.c b/tests/extra_api_tests/tcp_zcopy_cb/main.c index 37dd475c8..c1134e1c0 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/main.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/main.c @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.c b/tests/extra_api_tests/tcp_zcopy_cb/server.c index bce2675bf..474019396 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.c @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.h b/tests/extra_api_tests/tcp_zcopy_cb/server.h index bc558590c..e2c4fdd2f 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.h @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/types.h b/tests/extra_api_tests/tcp_zcopy_cb/types.h index 9b5e28e04..b2d3e3823 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/types.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/types.h @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/utils.c b/tests/extra_api_tests/tcp_zcopy_cb/utils.c index 3fbe28eb2..38f636276 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/utils.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/utils.c @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/getsockname_test.c b/tests/functionality/getsockname_test.c index 440d10dd4..bb0f667bd 100644 --- a/tests/functionality/getsockname_test.c +++ b/tests/functionality/getsockname_test.c @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/1epoll_1socket_twice.c b/tests/functionality/iomux/1epoll_1socket_twice.c index 366225df8..0e82ab81c 100644 --- a/tests/functionality/iomux/1epoll_1socket_twice.c +++ b/tests/functionality/iomux/1epoll_1socket_twice.c @@ -1,5 +1,5 @@ /* - * Copyright © 2016-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2016-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/2epoll_1socket.c b/tests/functionality/iomux/2epoll_1socket.c index f3e247ecd..36727d2e3 100644 --- a/tests/functionality/iomux/2epoll_1socket.c +++ b/tests/functionality/iomux/2epoll_1socket.c @@ -1,5 +1,5 @@ /* - * Copyright © 2016-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2016-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/client.py b/tests/functionality/iomux/client.py index 4c718f796..bd3eb7db5 100755 --- a/tests/functionality/iomux/client.py +++ b/tests/functionality/iomux/client.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2011-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/eclient.py b/tests/functionality/iomux/eclient.py index 8994df95b..aa06cf1ad 100644 --- a/tests/functionality/iomux/eclient.py +++ b/tests/functionality/iomux/eclient.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2011-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/eserver.py b/tests/functionality/iomux/eserver.py index d6e0940cd..f9cd269df 100644 --- a/tests/functionality/iomux/eserver.py +++ b/tests/functionality/iomux/eserver.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2011-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/pclient.py b/tests/functionality/iomux/pclient.py index 98d989eae..33b561d34 100644 --- a/tests/functionality/iomux/pclient.py +++ b/tests/functionality/iomux/pclient.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2011-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/pserver.py b/tests/functionality/iomux/pserver.py index db0ef8d18..2cf67e5b6 100644 --- a/tests/functionality/iomux/pserver.py +++ b/tests/functionality/iomux/pserver.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2011-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/server.py b/tests/functionality/iomux/server.py index 6581bb975..1bcf58139 100755 --- a/tests/functionality/iomux/server.py +++ b/tests/functionality/iomux/server.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2011-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/base.cc b/tests/gtest/common/base.cc index 2d6d2efc8..e1af62113 100644 --- a/tests/gtest/common/base.cc +++ b/tests/gtest/common/base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/base.h b/tests/gtest/common/base.h index f6b0ac4ea..acf00edca 100644 --- a/tests/gtest/common/base.h +++ b/tests/gtest/common/base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/cmn.h b/tests/gtest/common/cmn.h index 939394575..a764e8f9e 100644 --- a/tests/gtest/common/cmn.h +++ b/tests/gtest/common/cmn.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/def.h b/tests/gtest/common/def.h index 40e4ec346..4476ebdb5 100644 --- a/tests/gtest/common/def.h +++ b/tests/gtest/common/def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/log.h b/tests/gtest/common/log.h index ead69d0bb..d48259360 100644 --- a/tests/gtest/common/log.h +++ b/tests/gtest/common/log.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/sys.cc b/tests/gtest/common/sys.cc index 6c2325a1c..21c1f6f86 100644 --- a/tests/gtest/common/sys.cc +++ b/tests/gtest/common/sys.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/sys.h b/tests/gtest/common/sys.h index c20dece54..3a905bc7b 100644 --- a/tests/gtest/common/sys.h +++ b/tests/gtest/common/sys.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/main.cc b/tests/gtest/main.cc index fcd4b8fe3..23be63143 100644 --- a/tests/gtest/main.cc +++ b/tests/gtest/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_base.cc b/tests/gtest/mix/mix_base.cc index 12ac679bb..0d86d40ad 100644 --- a/tests/gtest/mix/mix_base.cc +++ b/tests/gtest/mix/mix_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_base.h b/tests/gtest/mix/mix_base.h index 715807002..1cd31c79c 100644 --- a/tests/gtest/mix/mix_base.h +++ b/tests/gtest/mix/mix_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_list.cc b/tests/gtest/mix/mix_list.cc index 8eac746aa..f1b1417f6 100644 --- a/tests/gtest/mix/mix_list.cc +++ b/tests/gtest/mix/mix_list.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/sg_array.cc b/tests/gtest/mix/sg_array.cc index bc5b97baa..be2b70959 100644 --- a/tests/gtest/mix/sg_array.cc +++ b/tests/gtest/mix/sg_array.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_base.cc b/tests/gtest/sock/sock_base.cc index 031990f4c..e60a76297 100644 --- a/tests/gtest/sock/sock_base.cc +++ b/tests/gtest/sock/sock_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_base.h b/tests/gtest/sock/sock_base.h index 736e1b0af..a04baa318 100644 --- a/tests/gtest/sock/sock_base.h +++ b/tests/gtest/sock/sock_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_socket.cc b/tests/gtest/sock/sock_socket.cc index 4e1d6bef0..d2bc312dd 100644 --- a/tests/gtest/sock/sock_socket.cc +++ b/tests/gtest/sock/sock_socket.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_base.cc b/tests/gtest/tcp/tcp_base.cc index 5a76c0f71..09c614778 100644 --- a/tests/gtest/tcp/tcp_base.cc +++ b/tests/gtest/tcp/tcp_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_base.h b/tests/gtest/tcp/tcp_base.h index 2da455ec8..369fbcba2 100644 --- a/tests/gtest/tcp/tcp_base.h +++ b/tests/gtest/tcp/tcp_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_bind.cc b/tests/gtest/tcp/tcp_bind.cc index 9a83fb04e..2e7c2b952 100644 --- a/tests/gtest/tcp/tcp_bind.cc +++ b/tests/gtest/tcp/tcp_bind.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_connect.cc b/tests/gtest/tcp/tcp_connect.cc index 2e91681c1..2aca12335 100644 --- a/tests/gtest/tcp/tcp_connect.cc +++ b/tests/gtest/tcp/tcp_connect.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_connect_nb.cc b/tests/gtest/tcp/tcp_connect_nb.cc index 2f54f0564..b2fae2b84 100644 --- a/tests/gtest/tcp/tcp_connect_nb.cc +++ b/tests/gtest/tcp/tcp_connect_nb.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_event.cc b/tests/gtest/tcp/tcp_event.cc index 00e4b559e..612e0a5a3 100644 --- a/tests/gtest/tcp/tcp_event.cc +++ b/tests/gtest/tcp/tcp_event.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_send.cc b/tests/gtest/tcp/tcp_send.cc index b5e11f6d6..e6abb42bc 100644 --- a/tests/gtest/tcp/tcp_send.cc +++ b/tests/gtest/tcp/tcp_send.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_send_zc.cc b/tests/gtest/tcp/tcp_send_zc.cc index 8cef13954..0562a88ae 100644 --- a/tests/gtest/tcp/tcp_send_zc.cc +++ b/tests/gtest/tcp/tcp_send_zc.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sendfile.cc b/tests/gtest/tcp/tcp_sendfile.cc index f73eb90fd..d204bda33 100644 --- a/tests/gtest/tcp/tcp_sendfile.cc +++ b/tests/gtest/tcp/tcp_sendfile.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sendto.cc b/tests/gtest/tcp/tcp_sendto.cc index 174b082a7..c44d31e96 100644 --- a/tests/gtest/tcp/tcp_sendto.cc +++ b/tests/gtest/tcp/tcp_sendto.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_socket.cc b/tests/gtest/tcp/tcp_socket.cc index 678b98764..fdfa59b99 100644 --- a/tests/gtest/tcp/tcp_socket.cc +++ b/tests/gtest/tcp/tcp_socket.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_tls.cc b/tests/gtest/tcp/tcp_tls.cc index e35323681..1e20a833e 100644 --- a/tests/gtest/tcp/tcp_tls.cc +++ b/tests/gtest/tcp/tcp_tls.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_base.cc b/tests/gtest/udp/udp_base.cc index 6a0a6dc13..afc548b8d 100644 --- a/tests/gtest/udp/udp_base.cc +++ b/tests/gtest/udp/udp_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_base.h b/tests/gtest/udp/udp_base.h index 7c09a6044..9e8ce3a36 100644 --- a/tests/gtest/udp/udp_base.h +++ b/tests/gtest/udp/udp_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_bind.cc b/tests/gtest/udp/udp_bind.cc index 99d6a7035..4298a45b1 100644 --- a/tests/gtest/udp/udp_bind.cc +++ b/tests/gtest/udp/udp_bind.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_connect.cc b/tests/gtest/udp/udp_connect.cc index dbba81bb4..64fb58763 100644 --- a/tests/gtest/udp/udp_connect.cc +++ b/tests/gtest/udp/udp_connect.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_send.cc b/tests/gtest/udp/udp_send.cc index 77ac99f66..1d8f21412 100644 --- a/tests/gtest/udp/udp_send.cc +++ b/tests/gtest/udp/udp_send.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_sendto.cc b/tests/gtest/udp/udp_sendto.cc index 9721d7472..b36063e47 100644 --- a/tests/gtest/udp/udp_sendto.cc +++ b/tests/gtest/udp/udp_sendto.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_base.cc b/tests/gtest/vma/vma_base.cc index f081de21f..7e986944f 100644 --- a/tests/gtest/vma/vma_base.cc +++ b/tests/gtest/vma/vma_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_base.h b/tests/gtest/vma/vma_base.h index 15f76f2e5..8d4cd99e0 100644 --- a/tests/gtest/vma/vma_base.h +++ b/tests/gtest/vma/vma_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_poll.cc b/tests/gtest/vma/vma_poll.cc index 7085accca..d955cc2c2 100644 --- a/tests/gtest/vma/vma_poll.cc +++ b/tests/gtest/vma/vma_poll.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_recvfrom_zcopy.cc b/tests/gtest/vma/vma_recvfrom_zcopy.cc index 9881e4aef..7c14c4e3c 100644 --- a/tests/gtest/vma/vma_recvfrom_zcopy.cc +++ b/tests/gtest/vma/vma_recvfrom_zcopy.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_ring.cc b/tests/gtest/vma/vma_ring.cc index ddd34f8ee..0004d2006 100644 --- a/tests/gtest/vma/vma_ring.cc +++ b/tests/gtest/vma/vma_ring.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_sockopt.cc b/tests/gtest/vma/vma_sockopt.cc index 7941d7ea0..95d5bbf80 100644 --- a/tests/gtest/vma/vma_sockopt.cc +++ b/tests/gtest/vma/vma_sockopt.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_base.cc b/tests/gtest/vmad/vmad_base.cc index 195757a1a..4e83ebdf3 100644 --- a/tests/gtest/vmad/vmad_base.cc +++ b/tests/gtest/vmad/vmad_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_base.h b/tests/gtest/vmad/vmad_base.h index e7de1caad..60779029f 100644 --- a/tests/gtest/vmad/vmad_base.h +++ b/tests/gtest/vmad/vmad_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_bitmap.cc b/tests/gtest/vmad/vmad_bitmap.cc index b70536110..fc6378a36 100644 --- a/tests/gtest/vmad/vmad_bitmap.cc +++ b/tests/gtest/vmad/vmad_bitmap.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_flow.cc b/tests/gtest/vmad/vmad_flow.cc index ad38645a5..119080454 100644 --- a/tests/gtest/vmad/vmad_flow.cc +++ b/tests/gtest/vmad/vmad_flow.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_hash.cc b/tests/gtest/vmad/vmad_hash.cc index 1a04fdaa7..f788c954f 100644 --- a/tests/gtest/vmad/vmad_hash.cc +++ b/tests/gtest/vmad/vmad_hash.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_init.cc b/tests/gtest/vmad/vmad_init.cc index 0a8cf6819..6a52e74ca 100644 --- a/tests/gtest/vmad/vmad_init.cc +++ b/tests/gtest/vmad/vmad_init.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_state.cc b/tests/gtest/vmad/vmad_state.cc index 6f055b94f..858bb1751 100644 --- a/tests/gtest/vmad/vmad_state.cc +++ b/tests/gtest/vmad/vmad_state.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/latency_test/tcp_lat.cpp b/tests/latency_test/tcp_lat.cpp index 8d64e077a..41e8b544c 100644 --- a/tests/latency_test/tcp_lat.cpp +++ b/tests/latency_test/tcp_lat.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/latency_test/udp_lat.c b/tests/latency_test/udp_lat.c index 8382c9bfe..40f449172 100644 --- a/tests/latency_test/udp_lat.c +++ b/tests/latency_test/udp_lat.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/listen/tcp_client.py b/tests/listen/tcp_client.py index 4d43bb5d0..618e8b95c 100755 --- a/tests/listen/tcp_client.py +++ b/tests/listen/tcp_client.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2015-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/listen/tcp_server.py b/tests/listen/tcp_server.py index f5a55f3c3..b01e6fac7 100755 --- a/tests/listen/tcp_server.py +++ b/tests/listen/tcp_server.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2015-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/low_pps_tcp_send_test/exchange.cpp b/tests/low_pps_tcp_send_test/exchange.cpp index a6e53a0f4..e52e1effa 100755 --- a/tests/low_pps_tcp_send_test/exchange.cpp +++ b/tests/low_pps_tcp_send_test/exchange.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/low_pps_tcp_send_test/trader.cpp b/tests/low_pps_tcp_send_test/trader.cpp index 467a61b1b..b9ff223ac 100755 --- a/tests/low_pps_tcp_send_test/trader.cpp +++ b/tests/low_pps_tcp_send_test/trader.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/mc_loop_test/mc_loop_test.c b/tests/mc_loop_test/mc_loop_test.c index 3eace97e4..7bfb12f0b 100644 --- a/tests/mc_loop_test/mc_loop_test.c +++ b/tests/mc_loop_test/mc_loop_test.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/multithread_test/exchange.cpp b/tests/multithread_test/exchange.cpp index 0c8ab6050..e258d3854 100755 --- a/tests/multithread_test/exchange.cpp +++ b/tests/multithread_test/exchange.cpp @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/multithread_test/trader.cpp b/tests/multithread_test/trader.cpp index 7e73e1c48..c7b34d8e6 100755 --- a/tests/multithread_test/trader.cpp +++ b/tests/multithread_test/trader.cpp @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/pps_test/pps_test.c b/tests/pps_test/pps_test.c index a69594903..eab45f200 100644 --- a/tests/pps_test/pps_test.c +++ b/tests/pps_test/pps_test.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py index 54c61744d..4693bd1a9 100755 --- a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2016-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/resource_release_checker/server_socket_recreate_loop.py b/tests/resource_release_checker/server_socket_recreate_loop.py index dae2fbce4..d84fda92c 100755 --- a/tests/resource_release_checker/server_socket_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_recreate_loop.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2016-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/reuse_ud_test.c b/tests/reuse_ud_test.c index 31abdad54..e1f2ef20b 100644 --- a/tests/reuse_ud_test.c +++ b/tests/reuse_ud_test.c @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/select_t1.c b/tests/select_t1.c index 46ed9eda3..f3bc06f8b 100644 --- a/tests/select_t1.c +++ b/tests/select_t1.c @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/client.cc b/tests/server_test/client.cc index 5d7b8e1fd..5dd8e44df 100644 --- a/tests/server_test/client.cc +++ b/tests/server_test/client.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/client.h b/tests/server_test/client.h index 6c9aa65d3..3f185b355 100644 --- a/tests/server_test/client.h +++ b/tests/server_test/client.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/main.cc b/tests/server_test/main.cc index ce8e640e4..51e7e20b3 100644 --- a/tests/server_test/main.cc +++ b/tests/server_test/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/options.cc b/tests/server_test/options.cc index 5a39e1d57..8154f718b 100644 --- a/tests/server_test/options.cc +++ b/tests/server_test/options.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/options.h b/tests/server_test/options.h index bca456a41..7b561f696 100644 --- a/tests/server_test/options.h +++ b/tests/server_test/options.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/server.cc b/tests/server_test/server.cc index 18217db7b..91bd7f75e 100644 --- a/tests/server_test/server.cc +++ b/tests/server_test/server.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/server.h b/tests/server_test/server.h index 542dda649..3ddea4185 100644 --- a/tests/server_test/server.h +++ b/tests/server_test/server.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/vtime.cc b/tests/server_test/vtime.cc index 9470514c5..0f3e88898 100644 --- a/tests/server_test/vtime.cc +++ b/tests/server_test/vtime.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/vtime.h b/tests/server_test/vtime.h index a83f2a2a9..ce80f07ba 100644 --- a/tests/server_test/vtime.h +++ b/tests/server_test/vtime.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/simple_fork/fork.py b/tests/simple_fork/fork.py index 686bf0a9e..b5d31865c 100755 --- a/tests/simple_fork/fork.py +++ b/tests/simple_fork/fork.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2015-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/Makefile b/tests/tcp_window_size_exerciser/Makefile index 7298771eb..fb23e3fed 100644 --- a/tests/tcp_window_size_exerciser/Makefile +++ b/tests/tcp_window_size_exerciser/Makefile @@ -1,5 +1,5 @@ # -# Copyright © 2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. +# Copyright © 2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test.h b/tests/tcp_window_size_exerciser/tcp_wnd_test.h index 17eeb5b8f..0d218180f 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test.h +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c index bf18c543b..0a0fd25f8 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c index 7934283d3..a0c692e56 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/testbed/testbed.c b/tests/testbed/testbed.c index d0bfc2d35..8c52927a5 100644 --- a/tests/testbed/testbed.c +++ b/tests/testbed/testbed.c @@ -1,5 +1,5 @@ /* - * Copyright © 2016-2022 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/throughput_test/bandwidth_test.c b/tests/throughput_test/bandwidth_test.c index 1b6e74222..9ea721687 100644 --- a/tests/throughput_test/bandwidth_test.c +++ b/tests/throughput_test/bandwidth_test.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/timetest/timetest.cpp b/tests/timetest/timetest.cpp index fe84c8421..8341a66d1 100644 --- a/tests/timetest/timetest.cpp +++ b/tests/timetest/timetest.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/vma_perf_envelope/vma_multiplexers_test.sh b/tests/vma_perf_envelope/vma_multiplexers_test.sh index 54cda5d23..ae8224394 100755 --- a/tests/vma_perf_envelope/vma_multiplexers_test.sh +++ b/tests/vma_perf_envelope/vma_multiplexers_test.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/vma_perf_envelope/vma_perf_envelope.sh b/tests/vma_perf_envelope/vma_perf_envelope.sh index b85aab1fd..50249c18c 100755 --- a/tests/vma_perf_envelope/vma_perf_envelope.sh +++ b/tests/vma_perf_envelope/vma_perf_envelope.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/bitmap.h b/tools/daemon/bitmap.h index e415bccbc..f62c05865 100644 --- a/tools/daemon/bitmap.h +++ b/tools/daemon/bitmap.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/daemon.c b/tools/daemon/daemon.c index c6f021e1f..cc9e272a0 100644 --- a/tools/daemon/daemon.c +++ b/tools/daemon/daemon.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/daemon.h b/tools/daemon/daemon.h index 407a1d718..afeef35c5 100644 --- a/tools/daemon/daemon.h +++ b/tools/daemon/daemon.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/flow.c b/tools/daemon/flow.c index 3ae41d333..4d3a37360 100644 --- a/tools/daemon/flow.c +++ b/tools/daemon/flow.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/hash.c b/tools/daemon/hash.c index b4051c26e..b07fb2baa 100644 --- a/tools/daemon/hash.c +++ b/tools/daemon/hash.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/hash.h b/tools/daemon/hash.h index 67d1cec7d..bb218f68d 100644 --- a/tools/daemon/hash.h +++ b/tools/daemon/hash.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/loop.c b/tools/daemon/loop.c index b1d63e46a..7dd0f9b59 100644 --- a/tools/daemon/loop.c +++ b/tools/daemon/loop.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/message.c b/tools/daemon/message.c index 56ea577e4..eaeb5f51b 100644 --- a/tools/daemon/message.c +++ b/tools/daemon/message.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/nl.c b/tools/daemon/nl.c index 03abf8da1..f329d21c7 100644 --- a/tools/daemon/nl.c +++ b/tools/daemon/nl.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/nl.h b/tools/daemon/nl.h index 9eb4367c3..d4ac9c30f 100644 --- a/tools/daemon/nl.h +++ b/tools/daemon/nl.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/notify.c b/tools/daemon/notify.c index 9ce97404b..f59a6d838 100644 --- a/tools/daemon/notify.c +++ b/tools/daemon/notify.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/store.c b/tools/daemon/store.c index 5ac5efa4e..8d349ea19 100644 --- a/tools/daemon/store.c +++ b/tools/daemon/store.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/tc.c b/tools/daemon/tc.c index ad8b077b8..80e3124b7 100644 --- a/tools/daemon/tc.c +++ b/tools/daemon/tc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/tc.h b/tools/daemon/tc.h index 94ee85469..ac79d2bc0 100644 --- a/tools/daemon/tc.h +++ b/tools/daemon/tc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU From 708bf0fbe57409d3635fa3c5faf7b014c78a6768 Mon Sep 17 00:00:00 2001 From: Alexander Ryabov Date: Wed, 14 Dec 2022 12:35:47 +0400 Subject: [PATCH 005/150] issue: 3325307 CI OS list updated Signed-off-by: Alexander Ryabov --- .ci/matrix_job.yaml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 74911e972..843c18784 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -27,21 +27,13 @@ env: runs_on_dockers: # mofed - - {name: 'rhel8.3-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.3/builder:mofed-5.2-0.5.3.0', category: 'base', arch: 'x86_64'} - - {name: 'sl15sp2-mofed-x86_64', url: 'harbor.mellanox.com/swx-infra/x86_64/sles15sp2/builder:mofed-5.2-2.2.0.0', category: 'base', arch: 'x86_64'} - - {name: 'fc31-mofed-x86_64', url: 'harbor.mellanox.com/swx-infra/x86_64/fedora31/builder:mofed-5.1-1.0.7.0', category: 'base', arch: 'x86_64'} + - {name: 'rhel8.6-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:mofed-5.6-0.4.5.0', category: 'base', arch: 'x86_64'} + - {name: 'rhel9.0-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel9.0/builder:mofed-5.7-0.2.3.0', category: 'base', arch: 'x86_64'} + - {name: 'sl15sp4-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/sles15sp4/builder:mofed-5.6-2.0.9.0', category: 'base', arch: 'x86_64'} - {name: 'ub20.04-mofed-x86_64', url: 'harbor.mellanox.com/swx-infra/x86_64/ubuntu20.04/builder:mofed-5.2-2.2.0.0', category: 'base', arch: 'x86_64'} + - {name: 'ub20.04-mofed-aarch64', url: 'harbor.mellanox.com/swx-infra/aarch64/ubuntu20.04/builder:mofed-5.2-1.0.4.0', category: 'base', arch: 'aarch64'} + - {name: 'ub20.04-inbox-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu20.04/builder:inbox', category: 'base', arch: 'aarch64'} - {name: 'ub22.04-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu22.04/builder:mofed-5.7-0.1.1.0', category: 'base', arch: 'x86_64'} - -# - {name: 'ub20.04-mofed-aarch64', url: 'harbor.mellanox.com/swx-infra/aarch64/ubuntu20.04/builder:mofed-5.2-1.0.4.0', category: 'base', arch: 'aarch64'} -# - {name: 'ub20.04-mofed-ppc64le', url: 'harbor.mellanox.com/swx-infra/ppc64le/ubuntu20.04/builder:mofed-5.2-1.0.4.0', category: 'base', arch: 'ppc64le'} -# inbox - - {name: 'ub21.10-inbox-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu21.10/builder:inbox', category: 'base', arch: 'x86_64'} - - {name: 'rhel8.3-inbox-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.3/builder:inbox', category: 'base', arch: 'x86_64'} - - {name: 'rhel8.3-inbox-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/rhel8.3/builder:inbox', category: 'base', arch: 'aarch64'} -# legacy - - {name: 'rhel7.6-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel7.6/builder:mofed-5.1-0.6.6.0', category: 'base', arch: 'x86_64'} - - {name: 'rhel7.6-inbox-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel7.6/builder:inbox', category: 'base', arch: 'x86_64'} # tool - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.3/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', url: 'harbor.mellanox.com/toolbox/ngci-centos:7.9.2009.2', category: 'tool', arch: 'x86_64'} From c4c92eb8404d760b077e8f2f7eaccfd3296ef582 Mon Sep 17 00:00:00 2001 From: Alexander Ryabov Date: Tue, 10 Jan 2023 14:47:55 +0400 Subject: [PATCH 006/150] issue: 3325307 Fedora 36, RHEL 8.6-inbox x86_64 added to CI OS list, ubuntu20.04-inbox-aarch64 removed Signed-off-by: Alexander Ryabov --- .ci/matrix_job.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 843c18784..d37c63d09 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -32,8 +32,9 @@ runs_on_dockers: - {name: 'sl15sp4-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/sles15sp4/builder:mofed-5.6-2.0.9.0', category: 'base', arch: 'x86_64'} - {name: 'ub20.04-mofed-x86_64', url: 'harbor.mellanox.com/swx-infra/x86_64/ubuntu20.04/builder:mofed-5.2-2.2.0.0', category: 'base', arch: 'x86_64'} - {name: 'ub20.04-mofed-aarch64', url: 'harbor.mellanox.com/swx-infra/aarch64/ubuntu20.04/builder:mofed-5.2-1.0.4.0', category: 'base', arch: 'aarch64'} - - {name: 'ub20.04-inbox-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu20.04/builder:inbox', category: 'base', arch: 'aarch64'} + - {name: 'rhel8.6-inbox-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'base', arch: 'x86_64'} - {name: 'ub22.04-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu22.04/builder:mofed-5.7-0.1.1.0', category: 'base', arch: 'x86_64'} + - {name: 'fc36-x86_64', url: 'harbor.mellanox.com/rivermax/x86_64/fedora36:builder', category: 'base', arch: 'x86_64'} # tool - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.3/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', url: 'harbor.mellanox.com/toolbox/ngci-centos:7.9.2009.2', category: 'tool', arch: 'x86_64'} From 8c77e65e9bf187371df1f7303095b9952e3a30c3 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Mon, 16 Jan 2023 10:23:42 +0200 Subject: [PATCH 007/150] issue: 321712 ****************** VMA 9.8.1 ******************* Signed-off-by: Alexander Grissik --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 2476e8861..05f081840 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.8.1-1: +Date + Time 2023-01-16 +============================================================= +Fixed: + - RM #3321730 Update the copyright statement to 2023 + Version 9.8.0-1: Date + Time 2022-12-15 ============================================================= diff --git a/configure.ac b/configure.ac index 2518dae51..72fa7da25 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 0) +define([prj_ver_revision], 1) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index b00fff456..193be00c7 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Thu Dec 15 2022 NVIDIA CORPORATION 9.8.0-1 -- Bump version to 9.8.0 +* Mon Jan 16 2023 NVIDIA CORPORATION 9.8.1-1 +- Bump version to 9.8.1 - Please refer to CHANGES for full changelog. From 84d96403187ce1a9637278dc97ca7dffca0051b8 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Sun, 29 Jan 2023 13:37:59 +0200 Subject: [PATCH 008/150] issue: 3364842 Adding COPYING license file Signed-off-by: Alexander Grissik --- COPYING | 72 +++++++++++++++++++ .../jenkins_tests/copyright-check-map.yaml | 1 + 2 files changed, 73 insertions(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 000000000..29f48021a --- /dev/null +++ b/COPYING @@ -0,0 +1,72 @@ +SPDX-FileCopyrightText: Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: GPL-2.0-only + +GNU GENERAL PUBLIC LICENSE + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. +b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. +c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, +b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, +c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + diff --git a/contrib/jenkins_tests/copyright-check-map.yaml b/contrib/jenkins_tests/copyright-check-map.yaml index c5cdea233..11807ba1d 100644 --- a/contrib/jenkins_tests/copyright-check-map.yaml +++ b/contrib/jenkins_tests/copyright-check-map.yaml @@ -15,6 +15,7 @@ general: - ".*LICENSE" - ".*NOTICE" - ".*README" + - ".*COPYING" - ".*TODO" - ".*license" - ".*\\.md" From 74a4c748a25b29e2cf32df8b5d6314e7ad7ac2e7 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Mon, 20 Feb 2023 18:05:47 +0200 Subject: [PATCH 009/150] issue: 3373882 Fix compilation issue for gcc 13.0.1 Signed-off-by: Igor Ivanov --- config/m4/compiler.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4 index 328d1bae9..ec6340bd4 100644 --- a/config/m4/compiler.m4 +++ b/config/m4/compiler.m4 @@ -143,7 +143,7 @@ case $CC in -Wno-free-nonheap-object " CXXFLAGS="$CXXFLAGS -Wshadow -Wall -Wextra -Werror -Wundef \ -ffunction-sections -fdata-sections -Wsequence-point -pipe -Winit-self -Wmissing-include-dirs \ - -Wno-free-nonheap-object " + -Wno-free-nonheap-object -Wno-overloaded-virtual " ;; icc*|icpc*) AC_MSG_RESULT([icc]) From e66fe73f35b573f184c893fbbe66054660c4bf84 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Wed, 1 Mar 2023 14:22:21 +0200 Subject: [PATCH 010/150] issue: 321712 ****************** VMA 9.8.20 ****************** Signed-off-by: Alexander Grissik --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 05f081840..81a2a9705 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.8.20-1: +Date + Time 2023-03-01 +============================================================= +Fixed: + - RM #3373882 Fix compilation issue for gcc 13.0.1 + Version 9.8.1-1: Date + Time 2023-01-16 ============================================================= diff --git a/configure.ac b/configure.ac index 72fa7da25..948361282 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 1) +define([prj_ver_revision], 20) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 193be00c7..1eabde54c 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Mon Jan 16 2023 NVIDIA CORPORATION 9.8.1-1 -- Bump version to 9.8.1 +* Wed Mar 1 2023 NVIDIA CORPORATION 9.8.20-1 +- Bump version to 9.8.20 - Please refer to CHANGES for full changelog. From 9204ac4d1e072dbc6ee0406c0f31d30da6bfd925 Mon Sep 17 00:00:00 2001 From: Shaligin Rostislav Date: Wed, 31 May 2023 10:04:55 +0300 Subject: [PATCH 011/150] issue: 3325307 [CI] Replacing r-aa-fatty09 with beni09 temporarely removed Fedora 3.6 changed BlackDuck default to false Signed-off-by: Shaligin Rostislav --- .ci/matrix_job.yaml | 16 ++++++++-------- .ci/proj_jjb.yaml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index d37c63d09..13951435c 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -34,14 +34,14 @@ runs_on_dockers: - {name: 'ub20.04-mofed-aarch64', url: 'harbor.mellanox.com/swx-infra/aarch64/ubuntu20.04/builder:mofed-5.2-1.0.4.0', category: 'base', arch: 'aarch64'} - {name: 'rhel8.6-inbox-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'base', arch: 'x86_64'} - {name: 'ub22.04-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu22.04/builder:mofed-5.7-0.1.1.0', category: 'base', arch: 'x86_64'} - - {name: 'fc36-x86_64', url: 'harbor.mellanox.com/rivermax/x86_64/fedora36:builder', category: 'base', arch: 'x86_64'} +# - {name: 'fc36-x86_64', url: 'harbor.mellanox.com/rivermax/x86_64/fedora36:builder', category: 'base', arch: 'x86_64'} # tool - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.3/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', url: 'harbor.mellanox.com/toolbox/ngci-centos:7.9.2009.2', category: 'tool', arch: 'x86_64'} - {name: 'header-check', url: 'harbor.mellanox.com/toolbox/header_check:0.0.14', category: 'tool', arch: 'x86_64', tag: '0.0.14'} runs_on_agents: - - {nodeLabel: 'r-aa-fatty09', category: 'base'} + - {nodeLabel: 'beni09', category: 'base'} - {nodeLabel: 'r-aa-fatty22-005', category: 'azure'} - {nodeLabel: 'r-aa-fatty22-006', category: 'azure'} @@ -138,7 +138,7 @@ steps: containerSelector: - "{name: 'skip-container'}" agentSelector: - - "{nodeLabel: 'r-aa-fatty09'}" + - "{nodeLabel: 'beni09'}" run: | [ "x${do_style}" == "xtrue" ] && action=yes || action=no env WORKSPACE=$PWD TARGET=${flags} jenkins_test_style=${action} ./contrib/test_jenkins.sh @@ -190,7 +190,7 @@ steps: containerSelector: - "{name: 'skip-container'}" agentSelector: - - "{nodeLabel: 'r-aa-fatty09', variant:1}" + - "{nodeLabel: 'beni09', variant:1}" run: | [ "x${do_cppcheck}" == "xtrue" ] && action=yes || action=no env WORKSPACE=$PWD TARGET=${flags} jenkins_test_cppcheck=${action} ./contrib/test_jenkins.sh @@ -207,7 +207,7 @@ steps: containerSelector: - "{name: 'skip-container'}" agentSelector: - - "{nodeLabel: 'r-aa-fatty09', variant:1}" + - "{nodeLabel: 'beni09', variant:1}" run: | [ "x${do_csbuild}" == "xtrue" ] && action=yes || action=no env WORKSPACE=$PWD TARGET=${flags} jenkins_test_csbuild=${action} ./contrib/test_jenkins.sh @@ -224,7 +224,7 @@ steps: containerSelector: - "{name: 'skip-container'}" agentSelector: - - "{nodeLabel: 'r-aa-fatty09', variant:1}" + - "{nodeLabel: 'beni09', variant:1}" run: | [ "x${do_test}" == "xtrue" ] && action=yes || action=no env WORKSPACE=$PWD TARGET=${flags} jenkins_test_run=${action} ./contrib/test_jenkins.sh @@ -241,7 +241,7 @@ steps: containerSelector: - "{name: 'skip-container'}" agentSelector: - - "{nodeLabel: 'r-aa-fatty09', variant:1}" + - "{nodeLabel: 'beni09', variant:1}" run: | [ "x${do_gtest}" == "xtrue" ] && action=yes || action=no env WORKSPACE=$PWD TARGET=${flags} jenkins_test_gtest=${action} ./contrib/test_jenkins.sh @@ -260,7 +260,7 @@ steps: containerSelector: - "{name: 'skip-container'}" agentSelector: - - "{nodeLabel: 'r-aa-fatty09', variant:1}" + - "{nodeLabel: 'beni09', variant:1}" run: | [ "x${do_valgrind}" == "xtrue" ] && action=yes || action=no env WORKSPACE=$PWD TARGET=${flags} jenkins_test_vg=${action} ./contrib/test_jenkins.sh diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index 0228e8bef..b35a90857 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -84,7 +84,7 @@ description: "Collect artifacts." - bool: name: "do_blackduck" - default: true + default: false description: "Run BlackDuck." - bool: name: "do_copyrights" From 088f41098eea52ba33e91cbb5393a329f45b463a Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Thu, 8 Jun 2023 10:35:59 +0300 Subject: [PATCH 012/150] issue: 321712 ****************** VMA 9.8.30 ****************** Signed-off-by: Alexander Grissik --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 81a2a9705..6d0b1d43f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.8.30-1: +Date + Time 2023-06-08 +============================================================= +Added: + - RM #3420360 Support for ConnectX-7 + Version 9.8.20-1: Date + Time 2023-03-01 ============================================================= diff --git a/configure.ac b/configure.ac index 948361282..7e0176375 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 20) +define([prj_ver_revision], 30) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 1eabde54c..d7d1c168a 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Wed Mar 1 2023 NVIDIA CORPORATION 9.8.20-1 -- Bump version to 9.8.20 +* Thu Jun 8 2023 NVIDIA CORPORATION 9.8.30-1 +- Bump version to 9.8.30 - Please refer to CHANGES for full changelog. From 92f3868fd0474956afe6cb43f8de4d16abba83d6 Mon Sep 17 00:00:00 2001 From: Iftah Levi Date: Sun, 9 Jul 2023 14:08:44 +0300 Subject: [PATCH 013/150] issue: 3525812 Fix buffer leak socketextreme In reclaim buffer api - vma_socketxtreme_free_vma_packets we use reclaim_recv_buffers method which uses try_lock on the ring, but in case the lock has failed - buffers will not be returned. The fix - in case the ring is locked - reclaim buffers to the global pool. Signed-off-by: Iftah Levi --- src/vma/sock/sock-redirect.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 4308d21e8..9b232e609 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -466,7 +466,9 @@ int vma_socketxtreme_free_vma_packets(struct vma_packet_desc_t *packets, int num p_socket_object->free_buffs(packets[i].total_len); } if (rng) { - rng->reclaim_recv_buffers(desc); + if (!rng->reclaim_recv_buffers(desc)) { + g_buffer_pool_rx->put_buffers_thread_safe(desc); + } } else { goto err; } From daaad2b10f1c4c64800529ade1643050939320f9 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Mon, 10 Jul 2023 14:26:04 +0300 Subject: [PATCH 014/150] issue: 321712 ****************** VMA 9.8.31 ****************** Signed-off-by: Alexander Grissik --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 6d0b1d43f..daa2f5345 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.8.31-1: +Date + Time 2023-07-10 +============================================================= +Fixed: + - RM #3525812 Socketxtreme buffer reclaim leak + Version 9.8.30-1: Date + Time 2023-06-08 ============================================================= diff --git a/configure.ac b/configure.ac index 7e0176375..bce897944 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 30) +define([prj_ver_revision], 31) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index d7d1c168a..0839a9496 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Thu Jun 8 2023 NVIDIA CORPORATION 9.8.30-1 -- Bump version to 9.8.30 +* Mon Jul 10 2023 NVIDIA CORPORATION 9.8.31-1 +- Bump version to 9.8.31 - Please refer to CHANGES for full changelog. From 89554e23b700f43fdc8a34350b06c2d64a8eda95 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Wed, 7 Jun 2023 15:13:10 +0300 Subject: [PATCH 015/150] issue: 3497651 Improve CI Signed-off-by: Igor Ivanov --- contrib/jenkins_tests/cppcheck.sh | 2 +- contrib/jenkins_tests/globals.sh | 14 ++++++++------ contrib/jenkins_tests/rpm.sh | 8 ++++---- contrib/jenkins_tests/test.sh | 28 +++++++++++++++++++--------- contrib/jenkins_tests/vg.sh | 10 +++++----- contrib/jenkins_tests/vutil.sh | 2 +- contrib/test_jenkins.sh | 6 ++++-- 7 files changed, 42 insertions(+), 28 deletions(-) diff --git a/contrib/jenkins_tests/cppcheck.sh b/contrib/jenkins_tests/cppcheck.sh index 9d82959b6..c442602a4 100755 --- a/contrib/jenkins_tests/cppcheck.sh +++ b/contrib/jenkins_tests/cppcheck.sh @@ -13,7 +13,7 @@ if [ $(command -v ${tool_app} >/dev/null 2>&1 || echo $?) ]; then if [ $? -eq 0 ]; then eval "cd cppcheck && checkout 2.1 " > /dev/null 2>&1 if [ $? -eq 0 ]; then - eval "make -j FILESDIR=$PWD HAVE_RULES=yes " > /dev/null 2>&1 + eval "make $make_opt FILESDIR=$PWD HAVE_RULES=yes " > /dev/null 2>&1 if [ $? -eq 0 ]; then tool_app=$PWD/cppcheck fi diff --git a/contrib/jenkins_tests/globals.sh b/contrib/jenkins_tests/globals.sh index 113767ae5..c2cd32bee 100755 --- a/contrib/jenkins_tests/globals.sh +++ b/contrib/jenkins_tests/globals.sh @@ -4,6 +4,7 @@ main() { WORKSPACE=${WORKSPACE:=$(pwd)} BUILD_NUMBER=${BUILD_NUMBER:=0} +HOSTNAME=${HOSTNAME:=$(uname -n 2>/dev/null)} # exit code rc=0 @@ -287,29 +288,30 @@ do_check_dpcp() ret=0 pushd $(pwd) > /dev/null 2>&1 - dpcp_dir=${WORKSPACE}/${prefix}/dpcp + dpcp_dir=${WORKSPACE}/${prefix}/_dpcp-last mkdir -p ${dpcp_dir} > /dev/null 2>&1 cd ${dpcp_dir} set +e - if [ $ret -eq 0 ]; then - eval "timeout -s SIGKILL 20s git clone git@github.com:Mellanox/dpcp.git . " > /dev/null 2>&1 + if [ ! -d ${dpcp_dir}/install -a $ret -eq 0 ]; then + branch=${main:-ghprbTargetBranch} + eval "timeout -s SIGKILL 30s git clone --branch $branch git@github.com:Mellanox/dpcp.git . " > /dev/null 2>&1 ret=$? fi if [ $ret -eq 0 ]; then - last_tag=$(git tag -l --format "%(refname:short)" --sort=-version:refname | head -n1) + last_tag=$(git describe --tags $(git rev-list --tags --max-count=1)) if [ -z "$last_tag" ]; then ret=1 fi fi - if [ $ret -eq 0 ]; then + if [ ! -d ${dpcp_dir}/install -a $ret -eq 0 ]; then eval "git checkout $last_tag" > /dev/null 2>&1 ret=$? fi - if [ $ret -eq 0 ]; then + if [ ! -d ${dpcp_dir}/install -a $ret -eq 0 ]; then eval "./autogen.sh && ./configure --prefix=${dpcp_dir}/install && make $make_opt install" > /dev/null 2>&1 ret=$? fi diff --git a/contrib/jenkins_tests/rpm.sh b/contrib/jenkins_tests/rpm.sh index bcf0396a9..53f992343 100755 --- a/contrib/jenkins_tests/rpm.sh +++ b/contrib/jenkins_tests/rpm.sh @@ -46,9 +46,9 @@ test_id=0 if [ $opt_tarball -eq 1 ]; then # Automake 1.10.1 has a bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456632 if [ -n "$(automake --version | grep 'automake (GNU automake) 1.10.1')" ]; then - test_exec='make dist' + test_exec='make $make_opt dist' else - test_exec='make dist && make distcheck' + test_exec='make $make_opt dist && make $make_opt distcheck' fi do_check_result "$test_exec" "$test_id" "tarball" "$rpm_tap" "${rpm_dir}/rpm-${test_id}" @@ -75,14 +75,14 @@ if [ $opt_binrpm -eq 1 ]; then if [ $opt_rpm -eq 1 ]; then test_exec="env RPM_BUILD_NCPUS=${NPROC} rpmbuild -bb $rpmmacros $rpmopts $rpmspec" else - test_exec="dpkg-buildpackage -us -uc -b $make_opt" + test_exec="dpkg-buildpackage -us -uc -b" fi do_check_result "$test_exec" "$test_id" "binrpm" "$rpm_tap" "${rpm_dir}/rpm-${test_id}" test_id=$((test_id+1)) fi if [ $opt_checkpkg -eq 1 ]; then - test_exec="env RPM_BUILD_NCPUS=${NPROC} VMA_RELEASE=1 ${WORKSPACE}/contrib/build_pkg.sh -b -s -i ${WORKSPACE} -o ${rpm_dir}/dist-pkg" + test_exec="env RPM_BUILD_NCPUS=${NPROC} PRJ_RELEASE=1 ${WORKSPACE}/contrib/build_pkg.sh -b -s -a \"configure_options=$jenkins_test_custom_configure\" -i ${WORKSPACE} -o ${rpm_dir}/dist-pkg" do_check_result "$test_exec" "$test_id" "checkpkg" "$rpm_tap" "${rpm_dir}/rpm-${test_id}" test_id=$((test_id+1)) fi diff --git a/contrib/jenkins_tests/test.sh b/contrib/jenkins_tests/test.sh index 9fd987ec5..74abc461c 100755 --- a/contrib/jenkins_tests/test.sh +++ b/contrib/jenkins_tests/test.sh @@ -19,17 +19,27 @@ rm -rf $test_dir mkdir -p $test_dir cd $test_dir +test_app="sockperf" + +# Download sockperf to use verifier do_cmd "wget -O sockperf_v2.zip https://github.com/Mellanox/sockperf/archive/sockperf_v2.zip && unzip sockperf_v2.zip && mv sockperf-sockperf_v2 sockperf" cd sockperf -./autogen.sh -./configure --prefix=$PWD/install CPPFLAGS="-I${install_dir}/include" -make install -test_app="$PWD/install/bin/sockperf" - -if [ $(command -v $test_app >/dev/null 2>&1 || echo $?) ]; then - echo can not find $test_app - exit 1 +# This unit requires sockperf so check for existence +if [ $(command -v ${test_app} >/dev/null 2>&1 || echo $?) ]; then + set +e + ./autogen.sh + ./configure --prefix=$PWD/install CPPFLAGS="-I${install_dir}/include" + make install + test_app="$PWD/install/bin/sockperf" + set -e + + if [ $(command -v ${test_app} >/dev/null 2>&1 || echo $?) ]; then + echo "[SKIP] $test_app does not exist" + exit 1 + fi +else + test_app="$(command -v ${test_app})" fi test_ip_list="" @@ -42,7 +52,7 @@ if [ ! -z "${test_remote_ip}" ] ; then exit 1 } test_ip_list="eth:${test_remote_ip}" - [ -z "${NODE_NAME}" ] && NODE_NAME=$(hostname) + [ -z "${NODE_NAME}" ] && NODE_NAME=${HOSTNAME} sperf_exec_dir="/tmp/sockperf_exec_${NODE_NAME}" rmt_user=root diff --git a/contrib/jenkins_tests/vg.sh b/contrib/jenkins_tests/vg.sh index f7e57bbf0..af4c4c9b8 100755 --- a/contrib/jenkins_tests/vg.sh +++ b/contrib/jenkins_tests/vg.sh @@ -21,11 +21,11 @@ rc=$? test_ip_list="" -#if [ ! -z $(do_get_ip 'ib' 'mlx5') ]; then -# test_ip_list="${test_ip_list} ib:$(do_get_ip 'ib' 'mlx5')" +#if [ ! -z $(do_get_ip 'ib') ]; then +# test_ip_list="${test_ip_list} ib:$(do_get_ip 'ib')" #fi -if [ ! -z "$(do_get_ip 'eth' 'mlx5')" ]; then - test_ip_list="${test_ip_list} eth:$(do_get_ip 'eth' 'mlx5')" +if [ ! -z "$(do_get_ip 'eth')" ]; then + test_ip_list="${test_ip_list} eth_ip4:$(do_get_ip 'eth')" fi test_list="tcp:--tcp udp:" test_lib=${vg_dir}/install/lib/${prj_lib} @@ -41,7 +41,7 @@ if [ $(command -v $test_app_path >/dev/null 2>&1 || echo $?) ]; then ./autogen.sh ./configure --prefix=$PWD/install CPPFLAGS="-I${install_dir}/include" - make install + make $make_opt install test_app_path="$PWD/install/bin/sockperf" cd $vg_dir diff --git a/contrib/jenkins_tests/vutil.sh b/contrib/jenkins_tests/vutil.sh index 53c741c36..bd4a2125e 100755 --- a/contrib/jenkins_tests/vutil.sh +++ b/contrib/jenkins_tests/vutil.sh @@ -1,6 +1,6 @@ #!/bin/bash -HOST=$(hostname) +HOST=${HOSTNAME} server_success_msgs="'Test end', 'interrupted by', 'exit'" server_failure_msgs="'Segmentation fault', 'Assertion', 'ERROR'" diff --git a/contrib/test_jenkins.sh b/contrib/test_jenkins.sh index e38536e26..32e87cfee 100755 --- a/contrib/test_jenkins.sh +++ b/contrib/test_jenkins.sh @@ -15,7 +15,7 @@ echo "======================================================" echo -echo "# starting on host ---------> $(hostname 2>/dev/null) " +echo "# starting on host ---------> ${HOSTNAME} " echo "# arguments called with ----> ${@} " echo "# path to me ---------------> ${0} " echo "# parent path --------------> ${0%/*} " @@ -54,10 +54,12 @@ echo "# BUILD_NUMBER -------------> ${BUILD_NUMBER} " echo "# TARGET -------------------> ${TARGET} " echo +# When create artifact # Values: none, fail, always # jenkins_opt_artifacts=${jenkins_opt_artifacts:="always"} +# Stop verification after number of erros # Values: 0..N test (max 100) # jenkins_opt_exit=${jenkins_opt_exit:="6"} @@ -124,7 +126,7 @@ for target_v in "${target_list[@]}"; do ret=0 IFS=':' read target_name target_option <<< "$target_v" - export jenkins_test_artifacts="${WORKSPACE}/${prefix}/vma-${BUILD_NUMBER}-$(hostname -s)-${target_name}" + export jenkins_test_artifacts="${WORKSPACE}/${prefix}/vma-${BUILD_NUMBER}-${HOSTNAME}-${target_name}" export jenkins_test_custom_configure="${jenkins_test_custom_configure} ${target_option}" export jenkins_target="${target_name}" set +x From dedd17e1b31a7508e6c2bfe411455778400a99c9 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Wed, 7 Jun 2023 15:15:21 +0300 Subject: [PATCH 016/150] issue: 3497651 Use ConnectX-5 in CI by default Signed-off-by: Igor Ivanov --- contrib/jenkins_tests/globals.sh | 38 +++++++++++++++++--------------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/contrib/jenkins_tests/globals.sh b/contrib/jenkins_tests/globals.sh index c2cd32bee..548c84768 100755 --- a/contrib/jenkins_tests/globals.sh +++ b/contrib/jenkins_tests/globals.sh @@ -198,14 +198,19 @@ function do_check_result() } # Detect interface ip -# $1 - [ib|eth] to select link type or empty to select the first found -# $2 - [empty|mlx4|mlx5] +# $1 - [ib|eth|inet6] to select link type or empty to select the first found +# $2 - [empty|mlx4|mlx5|ConnectX-4|ConnectX-5|ConnectX-6|ConnectX-7] (default: ConnectX-7) # $3 - ip address not to get # function do_get_ip() { + opt1=${1:-'eth'} + opt2=${2:-'ConnectX-5'} + opt3=${3:-''} + sv_ifs=${IFS} - netdevs=$(ibdev2netdev | grep Up | grep "$2" | cut -f 5 -d ' ') + # filter by second parameter + netdevs=$(${sudo_cmd} ibdev2netdev -v | grep Up | grep "$opt2" | awk -F' ' '{ print $(NF-1) }') IFS=$'\n' read -rd '' -a netdev_ifs <<< "${netdevs}" lnkifs=$(ip -o link | awk '{print $2,$(NF-2)}') IFS=$'\n' read -rd '' -a lnk_ifs <<< "${lnkifs}" @@ -240,22 +245,19 @@ function do_get_ip() fi fi - for ip in ${ifs_array[@]}; do - if [ -n "$1" -a "$1" == "ib" -a -n "$(ip link show $ip | grep 'link/inf')" ]; then - found_ip=$(ip -4 address show $ip | grep 'inet' | sed 's/.*inet \([0-9\.]\+\).*/\1/') - if [ -n "$(ibdev2netdev | grep $ip | grep mlx5)" ]; then - local ofed_v=$(ofed_info -s | grep OFED | sed 's/.*[l|X]-\([0-9\.]\+\).*/\1/') - if [ $(echo $ofed_v | grep 4.[1-9] >/dev/null 2>&1 || echo $?) ]; then - echo "$ip is CX4 device that does not support IPoIB in OFED: $ofed_v" - unset found_ip - fi - fi - elif [ -n "$1" -a "$1" == "eth" -a -n "$(ip link show $ip | grep 'link/eth')" ]; then - found_ip=$(ip -4 address show $ip | grep 'inet' | sed 's/.*inet \([0-9\.]\+\).*/\1/') - elif [ -z "$1" ]; then - found_ip=$(ip -4 address show $ip | grep 'inet' | sed 's/.*inet \([0-9\.]\+\).*/\1/') + # collect ip addresses + for _if in ${ifs_array[@]}; do + if [ -n "$opt1" -a "$opt1" == "ib" -a -n "$(ip link show $_if | grep 'link/inf')" ]; then + found_ip=$(ip -4 address show $_if | grep 'inet' | sed 's/.*inet \([0-9\.]\+\).*/\1/') + elif [ -n "$opt1" -a "$opt1" == "inet6" -a -n "$(ip link show $_if | grep 'link/eth')" ]; then + found_ip=$(ip -6 address show $_if | grep 'inet6' | sed 's/.*inet6 \([0-9a-fA-F\:]\+\).*/\1/' | grep -v fe80 | head -n 1) + elif [ -n "$opt1" -a "$opt1" == "eth" -a -n "$(ip link show $_if | grep 'link/eth')" ]; then + found_ip=$(ip -4 address show $_if | grep 'inet' | sed 's/.*inet \([0-9\.]\+\).*/\1/' | head -n1) + elif [ -z "$opt1" ]; then + found_ip=$(ip -4 address show $_if | grep 'inet' | sed 's/.*inet \([0-9\.]\+\).*/\1/' | head -n1) fi - if [ -n "$found_ip" -a "$found_ip" != "$3" ]; then + # skip ip address passed as the third parameter + if [ -n "$found_ip" -a "$found_ip" != "$opt3" ]; then echo $found_ip break fi From 7414406d2399c19bb2c49661e492af2bdb6f2ef4 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Mon, 6 Mar 2023 11:21:55 +0200 Subject: [PATCH 017/150] issue: 3388776 Improve systemd check for chroot environment See: http://0pointer.de/blog/projects/changing-roots First of all, systemctl detects when it is run in a chroot. If so, most of its operations will become NOPs, with the exception of systemctl enable and systemctl disable. If a package installation script hence calls these two commands, services will be enabled in the guest OS. However, should a package installation script include a command like systemctl restart as part of the package upgrade process this will have no effect at all when run in a chroot() environment. Signed-off-by: Igor Ivanov --- Makefile.am | 4 ++-- contrib/scripts/libvma.spec.in | 8 ++++---- debian/postinst | 2 +- debian/postrm | 2 +- debian/prerm | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0ae10a303..0f8198bde 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,14 +20,14 @@ mydocdir = $(if $(docdir),$(docdir),${datadir}/doc/$(distdir)) mydoc_DATA = README CHANGES install-exec-hook: - if systemctl >/dev/null 2>&1; then \ + if command -v systemctl >/dev/null 2>&1; then \ mkdir -p $(DESTDIR)$(prefix)/lib/systemd/system/; \ cp $(top_builddir)/contrib/scripts/vma.service $(DESTDIR)$(prefix)/lib/systemd/system/vma.service; \ chmod 644 $(DESTDIR)$(prefix)/lib/systemd/system/vma.service; \ fi uninstall-hook: - if systemctl >/dev/null 2>&1; then \ + if command -v systemctl >/dev/null 2>&1; then \ rm -rf $(DESTDIR)$(prefix)/lib/systemd/system/vma.service; \ fi diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 0839a9496..7b77c274f 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -4,7 +4,7 @@ %{!?make_build: %global make_build %{__make} %{?_smp_mflags} %{?mflags} V=1} %{!?run_ldconfig: %global run_ldconfig %{?ldconfig}} %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} -%global use_systemd %(if systemctl >/dev/null 2>&1; then echo -n '1'; else echo -n '0'; fi) +%global use_systemd %(if command -v systemctl >/dev/null 2>&1; then echo -n '1'; else echo -n '0'; fi) Name: libvma Version: @VERSION@ @@ -112,7 +112,7 @@ install -m 755 ./%{name}-debug.so $RPM_BUILD_ROOT/%{_libdir}/%{name}-debug.so %{run_ldconfig} %endif if [ $1 = 1 ]; then - if systemctl >/dev/null 2>&1; then + if command -v systemctl >/dev/null 2>&1; then %if 0%{?rhel} >= 9 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1210 %if 0%{?suse_version} %service_add_post vma.service @@ -127,7 +127,7 @@ fi %preun if [ $1 = 0 ]; then - if systemctl >/dev/null 2>&1; then + if command -v systemctl >/dev/null 2>&1; then %if 0%{?rhel} >= 9 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1210 %if 0%{?suse_version} %service_del_preun vma.service @@ -147,7 +147,7 @@ fi %else %{run_ldconfig} %endif -if systemctl >/dev/null 2>&1; then +if command -v systemctl >/dev/null 2>&1; then %if 0%{?rhel} >= 9 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1210 %if 0%{?suse_version} %service_del_postun vma.service diff --git a/debian/postinst b/debian/postinst index 988cb9b49..4d6f157e4 100644 --- a/debian/postinst +++ b/debian/postinst @@ -2,6 +2,6 @@ /sbin/ldconfig -if systemctl >/dev/null 2>&1; then +if command -v systemctl >/dev/null 2>&1; then systemctl --no-reload enable vma.service >/dev/null 2>&1 || true fi diff --git a/debian/postrm b/debian/postrm index 401aea584..4750f5e5b 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,5 +1,5 @@ #!/bin/bash /sbin/ldconfig -if systemctl >/dev/null 2>&1; then +if command -v systemctl >/dev/null 2>&1; then systemctl --system daemon-reload >/dev/null 2>&1 || true fi diff --git a/debian/prerm b/debian/prerm index 2209c684a..aa5723f24 100644 --- a/debian/prerm +++ b/debian/prerm @@ -1,6 +1,6 @@ #!/bin/bash -if systemctl >/dev/null 2>&1; then +if command -v systemctl >/dev/null 2>&1; then systemctl --no-reload disable vma.service >/dev/null 2>&1 || true systemctl stop vma.service || true fi From be10cae252a3379038294928d440e47988647e20 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Thu, 31 Aug 2023 11:22:35 +0300 Subject: [PATCH 018/150] issue: 3591039 Fixing lwip seqno wrap around condition Equality checks in lwip on seqno related parameters must be done using special macros to a handle situations when seqno wraps around. Signed-off-by: Alexander Grissik --- src/vma/lwip/tcp_in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vma/lwip/tcp_in.c b/src/vma/lwip/tcp_in.c index 985d75d24..f94bb91f5 100644 --- a/src/vma/lwip/tcp_in.c +++ b/src/vma/lwip/tcp_in.c @@ -1566,7 +1566,7 @@ tcp_receive(struct tcp_pcb *pcb, tcp_in_data* in_data) pbuf_realloc(next->p, next->len); } /* check if the remote side overruns our receive window */ - if ((u32_t)in_data->tcplen + in_data->seqno > pcb->rcv_nxt + (u32_t)pcb->rcv_wnd) { + if (TCP_SEQ_GT(in_data->seqno + in_data->tcplen, pcb->rcv_nxt + pcb->rcv_wnd)) { LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: other end overran receive window" "seqno %"U32_F" len %"U16_F" right edge %"U32_F"\n", From ac4c571ce0cba96f5c8aef83b3c1ee47110ff9ca Mon Sep 17 00:00:00 2001 From: Dmytro Podgornyi Date: Thu, 31 Aug 2023 16:46:08 +0300 Subject: [PATCH 019/150] issue: 3591039 Fix type overflow during trimming TCP seg With LRO/GRO, TCP segments can be large and 16bit type is not enough to fit possible offsets/lengths. This can lead to a type overflow and broken pbuf chains as result. Further, a broken chain breaks accounting of received data what leads to a warning or even a segfault. Increase type length for pbuf_header() and the trimming code. This fixes pbuf chain. Also increase type length for pbuf_realloc() to avoid similar issues in the future. Signed-off-by: Dmytro Podgornyi --- src/vma/lwip/pbuf.c | 11 +++++------ src/vma/lwip/pbuf.h | 4 ++-- src/vma/lwip/tcp_in.c | 18 ++++++------------ 3 files changed, 13 insertions(+), 20 deletions(-) diff --git a/src/vma/lwip/pbuf.c b/src/vma/lwip/pbuf.c index 940ef3901..5bbba3ae1 100644 --- a/src/vma/lwip/pbuf.c +++ b/src/vma/lwip/pbuf.c @@ -87,10 +87,10 @@ * @note Despite its name, pbuf_realloc cannot grow the size of a pbuf (chain). */ void -pbuf_realloc(struct pbuf *p, u16_t new_len) +pbuf_realloc(struct pbuf *p, u32_t new_len) { struct pbuf *q; - u16_t rem_len; /* remaining length */ + u32_t rem_len; /* remaining length */ s32_t grow; LWIP_ASSERT("pbuf_realloc: p != NULL", p != NULL); @@ -117,7 +117,6 @@ pbuf_realloc(struct pbuf *p, u16_t new_len) /* decrease remaining length by pbuf length */ rem_len -= q->len; /* decrease total length indicator */ - LWIP_ASSERT("grow < max_u16_t", grow < 0xffff); q->tot_len += grow; /* proceed to next pbuf in chain */ q = q->next; @@ -166,11 +165,11 @@ pbuf_realloc(struct pbuf *p, u16_t new_len) * */ u8_t -pbuf_header(struct pbuf *p, s16_t header_size_increment) +pbuf_header(struct pbuf *p, s32_t header_size_increment) { u16_t type; + u32_t increment_magnitude; void *payload; - u16_t increment_magnitude; LWIP_ASSERT("p != NULL", p != NULL); if ((header_size_increment == 0) || (p == NULL)) { @@ -209,7 +208,7 @@ pbuf_header(struct pbuf *p, s16_t header_size_increment) p->len += header_size_increment; p->tot_len += header_size_increment; - LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_header: old %p new %p (%"S16_F")\n", + LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_header: old %p new %p (%"S32_F")\n", (void *)payload, (void *)p->payload, header_size_increment)); (void)payload; /* Fix warning -Wunused-but-set-variable */ diff --git a/src/vma/lwip/pbuf.h b/src/vma/lwip/pbuf.h index d59bf87e5..6b0c09d7a 100644 --- a/src/vma/lwip/pbuf.h +++ b/src/vma/lwip/pbuf.h @@ -118,8 +118,8 @@ struct pbuf_custom { /* Initializes the pbuf module. This call is empty for now, but may not be in future. */ #define pbuf_init() -void pbuf_realloc(struct pbuf *p, u16_t size); -u8_t pbuf_header(struct pbuf *p, s16_t header_size); +void pbuf_realloc(struct pbuf *p, u32_t size); +u8_t pbuf_header(struct pbuf *p, s32_t header_size); void pbuf_ref(struct pbuf *p); u8_t pbuf_free(struct pbuf *p); u8_t pbuf_clen(struct pbuf *p); diff --git a/src/vma/lwip/tcp_in.c b/src/vma/lwip/tcp_in.c index f94bb91f5..73986c5ef 100644 --- a/src/vma/lwip/tcp_in.c +++ b/src/vma/lwip/tcp_in.c @@ -115,7 +115,7 @@ L3_level_tcp_input(struct pbuf *p, struct tcp_pcb* pcb) /* remove header from payload */ - if (pbuf_header(p, -((s16_t)(IPH_HL(in_data.iphdr) * 4))) || (p->tot_len < sizeof(struct tcp_hdr))) { + if (pbuf_header(p, -((s32_t)(IPH_HL(in_data.iphdr) * 4))) || (p->tot_len < sizeof(struct tcp_hdr))) { /* drop short packets */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: short packet (%"U16_F" bytes) discarded\n", (u16_t)p->tot_len)); TCP_STATS_INC(tcp.lenerr); @@ -903,7 +903,7 @@ tcp_receive(struct tcp_pcb *pcb, tcp_in_data* in_data) s32_t off; s16_t m; u32_t right_wnd_edge; - u16_t new_tot_len; + u32_t new_tot_len; int found_dupack = 0; s8_t persist = 0; @@ -1251,36 +1251,30 @@ tcp_receive(struct tcp_pcb *pcb, tcp_in_data* in_data) off = pcb->rcv_nxt - in_data->seqno; p = in_data->inseg.p; LWIP_ASSERT("inseg.p != NULL", in_data->inseg.p); - LWIP_ASSERT("insane offset!", (off < 0x7fff)); if (in_data->inseg.p->len < off) { LWIP_ASSERT("pbuf too short!", (((s32_t)in_data->inseg.p->tot_len) >= off)); - new_tot_len = (u16_t)(in_data->inseg.p->tot_len - off); + new_tot_len = in_data->inseg.p->tot_len - off; while (p->len < off) { off -= p->len; - /* KJM following line changed (with addition of new_tot_len var) - to fix bug #9076 - inseg.p->tot_len -= p->len; */ p->tot_len = new_tot_len; p->len = 0; p = p->next; } - if(pbuf_header(p, (s16_t)-off)) { + if(pbuf_header(p, -off)) { /* Do we need to cope with this failing? Assert for now */ LWIP_ASSERT("pbuf_header failed", 0); } } else { - if(pbuf_header(in_data->inseg.p, (s16_t)-off)) { + if(pbuf_header(in_data->inseg.p, -off)) { /* Do we need to cope with this failing? Assert for now */ LWIP_ASSERT("pbuf_header failed", 0); } } - /* KJM following line changed to use p->payload rather than inseg->p->payload - to fix bug #9076 */ #if LWIP_TSO #else in_data->inseg.dataptr = p->payload; #endif /* LWIP_TSO */ - in_data->inseg.len -= (u16_t)(pcb->rcv_nxt - in_data->seqno); + in_data->inseg.len -= pcb->rcv_nxt - in_data->seqno; in_data->inseg.tcphdr->seqno = in_data->seqno = pcb->rcv_nxt; } else { From f5b14d6df8977cc372182f30c96f6ff6d1d775e5 Mon Sep 17 00:00:00 2001 From: Iftah Levi Date: Sun, 3 Sep 2023 14:12:37 +0300 Subject: [PATCH 020/150] issue: 3591039 Fix ref count for mem_buf chains Chain of pbufs can contain some pbufs with ref count >=1 like in ooo or flow tag flows. While processing Rx packets we may split buffer chains and we increment ref count for the new head of the chain after the split. It will cause a wrong ref count, and the buffer won't be reclaimed. Therefore we reset ref count 0 for chained mem_buf_desc in m_rx_pkt_ready_list except for the head. Related to issue 3231710. Signed-off-by: Iftah Levi --- src/vma/proto/mem_buf_desc.h | 1 + src/vma/sock/sockinfo_tcp.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/src/vma/proto/mem_buf_desc.h b/src/vma/proto/mem_buf_desc.h index b3fb6d7b5..a09c4b684 100644 --- a/src/vma/proto/mem_buf_desc.h +++ b/src/vma/proto/mem_buf_desc.h @@ -132,6 +132,7 @@ class mem_buf_desc_t { inline int get_ref_count() const {return atomic_read(&n_ref_count);} inline void reset_ref_count() {atomic_set(&n_ref_count, 0);} + inline void set_ref_count(int x) {atomic_set(&n_ref_count, x);} inline int inc_ref_count() {return atomic_fetch_and_inc(&n_ref_count);} inline int dec_ref_count() {return atomic_fetch_and_dec(&n_ref_count);} diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index eff5f04bb..e6d7df602 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1677,7 +1677,16 @@ err_t sockinfo_tcp::rx_lwip_cb(void *arg, struct tcp_pcb *pcb, pbuf *p_curr_buff = p; conn->m_connected.get_sa(p_first_desc->rx.src); + // To avoid reset ref count for first mem_buf_desc, save it and set after the while + int head_ref = p_first_desc->get_ref_count(); while (p_curr_buff) { + /* Here we reset ref count for all mem_buf_desc except for the head (p_first_desc). + Chain of pbufs can contain some pbufs with ref count >=1 like in ooo or flow tag flows. + While processing Rx packets we may split buffer chains and we increment ref count + for the new head of the chain after the split. It will cause a wrong ref count, + and the buffer won't be reclaimed. Resetting it here will migitate the issue. + TODO: remove ref count for TCP. */ + p_curr_desc->reset_ref_count(); p_curr_desc->rx.context = conn; p_first_desc->rx.n_frags++; p_curr_desc->rx.frag.iov_base = p_curr_buff->payload; @@ -1687,6 +1696,7 @@ err_t sockinfo_tcp::rx_lwip_cb(void *arg, struct tcp_pcb *pcb, p_curr_buff = p_curr_buff->next; p_curr_desc = p_curr_desc->p_next_desc; } + p_first_desc->set_ref_count(head_ref); vma_recv_callback_retval_t callback_retval = VMA_PACKET_RECV; From 8986188eebf03c1bd1c1e90d2dad6cbeed442053 Mon Sep 17 00:00:00 2001 From: Iftah Levi Date: Sun, 3 Sep 2023 14:20:39 +0300 Subject: [PATCH 021/150] issue: 3591039 Fix GRO retransmitted TCP stream Handle retransmitted TCP stream in GRO. In case we got a packet that its sequence number is older than what we already received, we won't aggregate it to GRO, but pass it to lwip to handle. Related to issue 3532666. Signed-off-by: Iftah Levi --- src/vma/dev/rfs_uc_tcp_gro.cpp | 18 +++++++++++++++++- src/vma/dev/rfs_uc_tcp_gro.h | 1 + src/vma/sock/sockinfo_tcp.h | 3 ++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/vma/dev/rfs_uc_tcp_gro.cpp b/src/vma/dev/rfs_uc_tcp_gro.cpp index 4054076c3..87a546dbb 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.cpp +++ b/src/vma/dev/rfs_uc_tcp_gro.cpp @@ -35,6 +35,7 @@ #include "vma/dev/gro_mgr.h" #include "vma/dev/ring_simple.h" #include "vma/proto/route_rule_table_key.h" +#include #define MODULE_NAME "rfs_uc_tcp_gro" @@ -45,7 +46,7 @@ rfs_uc_tcp_gro::rfs_uc_tcp_gro(flow_tuple *flow_spec_5t, ring_slave *p_ring, rfs_rule_filter* rule_filter, uint32_t flow_tag_id) : rfs_uc(flow_spec_5t, p_ring, rule_filter, flow_tag_id), - m_b_active(false), m_b_reserved(false) + m_b_active(false), m_b_reserved(false), m_pcb(nullptr) { ring_simple* p_check_ring = dynamic_cast(p_ring); @@ -236,6 +237,21 @@ bool rfs_uc_tcp_gro::tcp_ip_check(mem_buf_desc_t* mem_buf_desc, iphdr* p_ip_h, t return false; } + // Set pbc once here since in constructor we don't have sockinfo yet + if (unlikely(!m_pcb)) { + sockinfo_tcp *sock = dynamic_cast(m_sinks_list[0]); + if (unlikely(!sock)) { + __log_err("sockinfo_tcp is null, can't check for already received packets"); + return false; + } + m_pcb = sock->get_pcb(); + } + + // Dont accumulate packets that already received before + if (TCP_SEQ_LT(ntohl(p_tcp_h->seq) + mem_buf_desc->rx.sz_payload - 1, m_pcb->rcv_nxt)) { + return false; + } + return true; } diff --git a/src/vma/dev/rfs_uc_tcp_gro.h b/src/vma/dev/rfs_uc_tcp_gro.h index 3371db26e..5054a36fc 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.h +++ b/src/vma/dev/rfs_uc_tcp_gro.h @@ -85,6 +85,7 @@ class rfs_uc_tcp_gro : public rfs_uc struct gro_mem_buf_desc m_gro_desc; uint32_t m_n_buf_max; uint32_t m_n_byte_max; + struct tcp_pcb *m_pcb; }; diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index c7d8bde73..fbb088db0 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -158,7 +158,8 @@ class sockinfo_tcp : public sockinfo, public timer_handler /* This function is used for socketxtreme mode */ virtual int free_buffs(uint16_t len); - virtual void statistics_print(vlog_levels_t log_level = VLOG_DEBUG); + virtual void statistics_print(vlog_levels_t log_level = VLOG_DEBUG); + inline struct tcp_pcb *get_pcb(void) { return &m_pcb; } //Returns the connected pcb, with 5 tuple which matches the input arguments, //in state "SYN Received" or NULL if pcb wasn't found From d2a370f7a643757c699031eb95820ecb2e2284e7 Mon Sep 17 00:00:00 2001 From: Iftah Levi Date: Sun, 3 Sep 2023 14:35:23 +0300 Subject: [PATCH 022/150] issue: 3591039 Incorrect pbuf chain split tcp_split_rexmit function used to split tcp segments by taking the pbuf chain of the orig segment and split it so the head pbuf will remain in the orig segment, and the second pbuf + its chain will be part of a new segment. The split was done incorrectly so the second pbuf had a wrong tot_len value. It wokred fine if the second pbuf has no chained pbufs. Related to issue 3291178. Signed-off-by: Iftah Levi --- src/vma/lwip/tcp_out.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/vma/lwip/tcp_out.c b/src/vma/lwip/tcp_out.c index 9af839898..40795e3f9 100644 --- a/src/vma/lwip/tcp_out.c +++ b/src/vma/lwip/tcp_out.c @@ -1209,7 +1209,7 @@ tcp_rexmit_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t wnd) } cur_p->len += optlen; - cur_p->tot_len = cur_p->len; + cur_p->tot_len += optlen; cur_p->payload = (u8_t *)cur_p->payload - optlen; /* Fill in tcp_seg (allocation was done before). @@ -1220,6 +1220,9 @@ tcp_rexmit_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t wnd) if (cur_seg->len > pcb->mss) { cur_seg->flags |= TF_SEG_OPTS_TSO; } + cur_p->len -= optlen; + cur_p->tot_len -= optlen; + cur_p->payload = (u8_t *)cur_p->payload + optlen; return seg; } From e3d75c30a18637ce8ce118e93fb3e7e90422c9be Mon Sep 17 00:00:00 2001 From: Asaf Sonis Date: Tue, 5 Sep 2023 12:04:51 +0300 Subject: [PATCH 023/150] issue: 3593939 Remove DPCP dependency from VMA Signed-off-by: Asaf Sonis --- .ci/matrix_job.yaml | 1 - config/m4/dpcp.m4 | 80 -------------------- configure.ac | 2 - contrib/jenkins_tests/globals.sh | 49 ------------ contrib/test_jenkins.sh | 9 --- src/vma/Makefile.am | 2 +- src/vma/dev/ib_ctx_handler.cpp | 123 ------------------------------- src/vma/dev/ib_ctx_handler.h | 11 --- src/vma/sock/sock-redirect.cpp | 42 ----------- src/vma/vma_extra.h | 18 ----- 10 files changed, 1 insertion(+), 336 deletions(-) delete mode 100644 config/m4/dpcp.m4 diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 13951435c..16db4812f 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -50,7 +50,6 @@ matrix: flags: - default - extra - - dpcp arch: - x86_64 - aarch64 diff --git a/config/m4/dpcp.m4 b/config/m4/dpcp.m4 deleted file mode 100644 index ed9b46575..000000000 --- a/config/m4/dpcp.m4 +++ /dev/null @@ -1,80 +0,0 @@ -# dpcp.m4 - Library to operate with DevX -# -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# See file LICENSE for terms. -# - -########################## -# libdpcp usage support -# -AC_DEFUN([DPCP_CAPABILITY_SETUP], -[ -AC_ARG_WITH([dpcp], - AS_HELP_STRING([--with-dpcp(=DIR)], - [Search for dpcp headers and libraries in DIR (default NO)]), - [], - [with_dpcp=no] -) - -if test "x$vma_cv_directverbs" != x3 && test "x$with_dpcp" != xno; then - AC_MSG_ERROR([dpcp can be used under RDMA-core subsystem only]) -fi - -vma_cv_dpcp=0 -AS_IF([test "x$with_dpcp" == xno], - [], - [ - if test -z "$with_dpcp" || test "$with_dpcp" = "yes"; then - with_dpcp=/usr - fi - - FUNC_CHECK_WITHDIR([dpcp], [$with_dpcp], [include/mellanox/dpcp.h]) - - vma_cv_dpcp_save_CPPFLAGS="$CPPFLAGS" - vma_cv_dpcp_save_CXXFLAGS="$CXXFLAGS" - vma_cv_dpcp_save_CFLAGS="$CFLAGS" - vma_cv_dpcp_save_LDFLAGS="$LDFLAGS" - vma_cv_dpcp_save_LIBS="$LIBS" - - vma_cv_dpcp_CPPFLAGS="-I$with_dpcp/include" - vma_cv_dpcp_LIBS="-ldpcp -lmlx5" - vma_cv_dpcp_LDFLAGS="-L$with_dpcp/lib -Wl,--rpath,$with_dpcp/lib" - if test -d "$with_dpcp/lib64"; then - vma_cv_dpcp_LDFLAGS="-L$with_dpcp/lib64 -Wl,--rpath,$with_dpcp/lib64" - fi - - CPPFLAGS="-std=c++11 $vma_cv_dpcp_CPPFLAGS $CPPFLAGS" - CXXFLAGS="-std=c++11 $CXXFLAGS" - LDFLAGS="$vma_cv_dpcp_LDFLAGS $LDFLAGS" - LIBS="$vma_cv_dpcp_LIBS $LIBS" - - AC_LANG_PUSH([C++]) - AC_CHECK_HEADER( - [mellanox/dpcp.h], - [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], - [[dpcp::provider *provider; - dpcp::provider::get_instance(provider);]])], - [vma_cv_dpcp=1]) - ]) - AC_LANG_POP() - - CPPFLAGS="$vma_cv_dpcp_save_CPPFLAGS" - CXXFLAGS="$vma_cv_dpcp_save_CXXFLAGS" - CFLAGS="$vma_cv_dpcp_save_CFLAGS" - LDFLAGS="$vma_cv_dpcp_save_LDFLAGS" - LIBS="$vma_cv_dpcp_save_LIBS" - ]) - -AC_MSG_CHECKING([for dpcp support]) -if test "$vma_cv_dpcp" -ne 0; then - CPPFLAGS="$CPPFLAGS $vma_cv_dpcp_CPPFLAGS" - LDFLAGS="$LDFLAGS $vma_cv_dpcp_LDFLAGS" - AC_SUBST([DPCP_LIBS], ["-ldpcp"]) - AC_DEFINE_UNQUOTED([DEFINED_DPCP], [1], [Define to 1 to use DPCP]) - AC_MSG_RESULT([yes]) -else - AS_IF([test "x$with_dpcp" == xno], - [AC_MSG_RESULT([no])], - [AC_MSG_ERROR([dpcp support requested but not present])]) -fi -]) diff --git a/configure.ac b/configure.ac index bce897944..25fffe7ce 100644 --- a/configure.ac +++ b/configure.ac @@ -84,7 +84,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_include([config/m4/func.m4]) m4_include([config/m4/opt.m4]) m4_include([config/m4/verbs.m4]) -m4_include([config/m4/dpcp.m4]) m4_include([config/m4/nl.m4]) m4_include([config/m4/prof.m4]) m4_include([config/m4/compiler.m4]) @@ -216,7 +215,6 @@ AC_MSG_RESULT($ac_cv_ofed_path) VERBS_CAPABILITY_SETUP() OPT_VMA_LOGGING() PROF_IBPROF_SETUP() -DPCP_CAPABILITY_SETUP() # Enable internal performance counters # Note: uncomment setup to activate this ability diff --git a/contrib/jenkins_tests/globals.sh b/contrib/jenkins_tests/globals.sh index 548c84768..22e00d140 100755 --- a/contrib/jenkins_tests/globals.sh +++ b/contrib/jenkins_tests/globals.sh @@ -278,55 +278,6 @@ do_version_check() }' } -do_check_dpcp() -{ - local ret=0 - local version=$(echo "${jenkins_ofed}" | cut -f1-2 -d.) - - if do_version_check $version '<' '5.2' ; then - return - fi - echo "Checking dpcp usage" - - ret=0 - pushd $(pwd) > /dev/null 2>&1 - dpcp_dir=${WORKSPACE}/${prefix}/_dpcp-last - mkdir -p ${dpcp_dir} > /dev/null 2>&1 - cd ${dpcp_dir} - - set +e - if [ ! -d ${dpcp_dir}/install -a $ret -eq 0 ]; then - branch=${main:-ghprbTargetBranch} - eval "timeout -s SIGKILL 30s git clone --branch $branch git@github.com:Mellanox/dpcp.git . " > /dev/null 2>&1 - ret=$? - fi - - if [ $ret -eq 0 ]; then - last_tag=$(git describe --tags $(git rev-list --tags --max-count=1)) - if [ -z "$last_tag" ]; then - ret=1 - fi - fi - - if [ ! -d ${dpcp_dir}/install -a $ret -eq 0 ]; then - eval "git checkout $last_tag" > /dev/null 2>&1 - ret=$? - fi - - if [ ! -d ${dpcp_dir}/install -a $ret -eq 0 ]; then - eval "./autogen.sh && ./configure --prefix=${dpcp_dir}/install && make $make_opt install" > /dev/null 2>&1 - ret=$? - fi - set -e - - popd > /dev/null 2>&1 - if [ $ret -eq 0 ]; then - eval "$1=${dpcp_dir}/install" - echo "dpcp: $last_tag : ${dpcp_dir}/install" - else - echo "dpcp: no" - fi -} ####################################################### # diff --git a/contrib/test_jenkins.sh b/contrib/test_jenkins.sh index 32e87cfee..6a271dc00 100755 --- a/contrib/test_jenkins.sh +++ b/contrib/test_jenkins.sh @@ -104,15 +104,6 @@ if [ "$TARGET" == "all" -o "$TARGET" == "extra" ]; then target_list[$i]="extra: --enable-tso" i=$((i+1)) fi -if [ "$TARGET" == "all" -o "$TARGET" == "dpcp" ]; then - do_check_dpcp opt_value - if [ ! -z "${opt_value}" ]; then - target_list[$i]="dpcp: --enable-tso --enable-nginx --with-dpcp=${opt_value}" - i=$((i+1)) - else - echo "Requested dpcp support can not be executed" - fi -fi echo echo "======================================================" diff --git a/src/vma/Makefile.am b/src/vma/Makefile.am index 1fd5f4373..d2963700b 100644 --- a/src/vma/Makefile.am +++ b/src/vma/Makefile.am @@ -51,7 +51,7 @@ AM_CPPFLAGS := \ libvma_la_LDFLAGS := -no-undefined -version-number @PRJ_LIBRARY_MAJOR@:@PRJ_LIBRARY_MINOR@:@PRJ_LIBRARY_REVISION@ libvma_la_LIBADD = \ - -lrt -ldl -lpthread $(LIBNL_LIBS) $(VERBS_LIBS) $(DPCP_LIBS) \ + -lrt -ldl -lpthread $(LIBNL_LIBS) $(VERBS_LIBS) \ $(top_builddir)/src/utils/libutils.la \ $(top_builddir)/src/vlogger/libvlogger.la \ $(top_builddir)/src/state_machine/libstate_machine.la \ diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 4c7babd96..0df33cd9d 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -72,10 +72,6 @@ ib_ctx_handler::ib_ctx_handler(struct ib_ctx_handler_desc *desc) : } m_p_ibv_context = NULL; -#ifdef DEFINED_DPCP - m_p_adapter = set_dpcp_adapter(); - if (NULL == m_p_adapter) -#endif /* DEFINED_DPCP */ { #if defined(DEFINED_ROCE_LAG) struct mlx5dv_context_attr dv_attr; @@ -135,12 +131,6 @@ ib_ctx_handler::ib_ctx_handler(struct ib_ctx_handler_desc *desc) : ibv_dealloc_pd(m_p_ibv_pd); } -#ifdef DEFINED_DPCP - if (m_p_adapter) { - delete m_p_adapter; - m_p_ibv_context = NULL; - } -#endif /* DEFINED_DPCP */ if (m_p_ibv_context) { ibv_close_device(m_p_ibv_context); m_p_ibv_context = NULL; @@ -174,12 +164,6 @@ ib_ctx_handler::~ib_ctx_handler() } delete m_p_ibv_device_attr; -#ifdef DEFINED_DPCP - if (m_p_adapter) { - delete m_p_adapter; - m_p_ibv_context = NULL; - } -#endif /* DEFINED_DPCP */ if (m_p_ibv_context) { ibv_close_device(m_p_ibv_context); m_p_ibv_context = NULL; @@ -229,113 +213,6 @@ void ib_ctx_handler::print_val() ibch_logdbg("%s", m_str); } -#ifdef DEFINED_DPCP -dpcp::adapter* ib_ctx_handler::set_dpcp_adapter() -{ - dpcp::status status = dpcp::DPCP_ERR_NO_SUPPORT; - dpcp::provider *p_provider = NULL; - dpcp::adapter_info* dpcp_lst = NULL; - size_t adapters_num = 0; - size_t i = 0; - - m_p_adapter = NULL; - if (!m_p_ibv_device) { - return NULL; - } - - status = dpcp::provider::get_instance(p_provider); - if (dpcp::DPCP_OK != status) { - ibch_logerr("failed getting provider status = %d", status); - goto err; - } - - status = p_provider->get_adapter_info_lst(NULL, adapters_num); - if (0 == adapters_num) { - ibch_logdbg("found no adapters status = %d", status); - goto err; - } - - dpcp_lst = new (std::nothrow)dpcp::adapter_info[adapters_num]; - if (!dpcp_lst) { - ibch_logerr("failed allocating memory for devices"); - goto err; - } - - status = p_provider->get_adapter_info_lst(dpcp_lst, adapters_num); - if (dpcp::DPCP_OK != status) { - ibch_logerr("failed getting adapter list"); - goto err; - } - - for (i = 0; i < adapters_num; i++) { - if (dpcp_lst[i].name == m_p_ibv_device->name) { - dpcp::adapter *adapter = NULL; - - status = p_provider->open_adapter(dpcp_lst[i].name, adapter); - if ((dpcp::DPCP_OK == status) && (adapter)) { - int ret = 0; - struct ibv_context *ctx = NULL; - struct ibv_pd *pd = NULL; - mlx5dv_obj mlx5_obj; - - ctx = (ibv_context*)adapter->get_ibv_context(); - if (!ctx) { - ibch_logerr("failed getting context for adapter %p (errno=%d %m) ", - adapter, errno); - delete adapter; - goto err; - } - - pd = ibv_alloc_pd(ctx); - if (!pd) { - ibch_logerr("failed pd allocation for %p context (errno=%d %m) ", - ctx, errno); - delete adapter; - goto err; - } - - mlx5_obj.pd.in = pd; - mlx5dv_pd out_pd; - mlx5_obj.pd.out = &out_pd; - - ret = vma_ib_mlx5dv_init_obj(&mlx5_obj, MLX5DV_OBJ_PD); - if (ret) { - ibch_logerr("failed getting mlx5_pd for %p (errno=%d %m) ", - m_p_ibv_pd, errno); - ibv_dealloc_pd(pd); - delete adapter; - goto err; - } - - adapter->set_pd(out_pd.pdn, pd); - status = adapter->open(); - if (dpcp::DPCP_OK != status) { - ibch_logerr("failed opening dpcp adapter %s got %d", - adapter->get_name().c_str(), status); - ibv_dealloc_pd(pd); - delete adapter; - goto err; - } - - m_p_adapter = adapter; - m_p_ibv_context = ctx; - m_p_ibv_pd = pd; - ibch_logdbg("dpcp adapter: %s is up", adapter->get_name().c_str()); - } - - break; - } - } - -err: - if (dpcp_lst) { - delete[] dpcp_lst; - } - - return m_p_adapter; -} -#endif /* DEFINED_DPCP */ - void ib_ctx_handler::set_ctx_time_converter_status(ts_conversion_mode_t conversion_mode) { if (m_p_ctx_time_converter != NULL) { diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index 5c4c5abd0..52f4222f6 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -42,10 +42,6 @@ #include "vma/ib/base/verbs_extra.h" #include "utils/lock_wrapper.h" -#ifdef DEFINED_DPCP -#include -#endif /* DEFINED_DPCP */ - typedef std::unordered_map mr_map_lkey_t; @@ -77,10 +73,6 @@ class ib_ctx_handler : public event_handler_ibverbs ibv_device* get_ibv_device() { return m_p_ibv_device; } inline char* get_ibname() { return (m_p_ibv_device ? m_p_ibv_device->name : (char *)""); } struct ibv_context* get_ibv_context() { return m_p_ibv_context; } -#ifdef DEFINED_DPCP - dpcp::adapter* set_dpcp_adapter(); - dpcp::adapter* get_dpcp_adapter() { return m_p_adapter; } -#endif /* DEFINED_DPCP */ vma_ibv_device_attr* get_ibv_device_attr() { return vma_get_device_orig_attr(m_p_ibv_device_attr); } #ifdef DEFINED_TSO vma_ibv_device_attr_ex* get_ibv_device_attr_ex() { return m_p_ibv_device_attr; } @@ -113,9 +105,6 @@ class ib_ctx_handler : public event_handler_ibverbs void handle_event_device_fatal(); ibv_device* m_p_ibv_device; // HCA handle struct ibv_context* m_p_ibv_context; -#ifdef DEFINED_DPCP - dpcp::adapter *m_p_adapter; -#endif /* DEFINED_DPCP */ vma_ibv_device_attr_ex* m_p_ibv_device_attr; ibv_pd* m_p_ibv_pd; bool m_flow_tag_enabled; diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 9b232e609..6002e1560 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -756,47 +756,6 @@ int vma_dereg_mr_on_ring(int __fd, void *addr, size_t length) } } -extern "C" -int vma_get_dpcp_devices(uintptr_t **devices, size_t *devices_num) -{ -#ifdef DEFINED_DPCP - ib_context_map_t *ib_ctx_map = NULL; - ib_ctx_handler *p_ib_ctx_h = NULL; - size_t found_devs = 0; - - if (!devices_num) { - return EINVAL; - } - - ib_ctx_map = g_p_ib_ctx_handler_collection->get_ib_cxt_list(); - if (ib_ctx_map) { - ib_context_map_t::iterator iter; - - for (iter = ib_ctx_map->begin(); iter != ib_ctx_map->end(); iter++) { - p_ib_ctx_h = iter->second; - if (p_ib_ctx_h->get_dpcp_adapter()) { - if (devices && (found_devs < *devices_num)) { - devices[found_devs] = (uintptr_t*)p_ib_ctx_h->get_dpcp_adapter(); - } - found_devs++; - } - } - } - - *devices_num = found_devs; - srdr_logdbg_entry("returned %zd devices", found_devs); - - return 0; -#else - NOT_IN_USE(devices); - NOT_IN_USE(devices_num); - VLOG_PRINTF_ONCE_THEN_ALWAYS(VLOG_WARNING, VLOG_DEBUG, - "vma_get_dpcp_devices is no supported"); - errno = EOPNOTSUPP; - return -1; -#endif /* DEFINED_DPCP */ -} - //----------------------------------------------------------------------------- // replacement functions //----------------------------------------------------------------------------- @@ -1133,7 +1092,6 @@ int getsockopt(int __fd, int __level, int __optname, SET_EXTRA_API(socketxtreme_free_vma_buff, enable_socketxtreme ? vma_socketxtreme_free_vma_buff : dummy_vma_socketxtreme_free_vma_buff, VMA_EXTRA_API_SOCKETXTREME_FREE_VMA_BUFF); SET_EXTRA_API(dump_fd_stats, vma_dump_fd_stats, VMA_EXTRA_API_DUMP_FD_STATS); SET_EXTRA_API(vma_modify_ring, vma_modify_ring, VMA_EXTRA_API_MODIFY_RING); - SET_EXTRA_API(get_dpcp_devices, vma_get_dpcp_devices, VMA_EXTRA_API_GET_DPCP_DEVICES); *((vma_api_t**)__optval) = vma_api; return 0; } diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index c84ef8980..3c59c7721 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -366,7 +366,6 @@ typedef enum { VMA_EXTRA_API_REGISTER_MEMORY_ON_RING = (1 << 17), VMA_EXTRA_API_DEREGISTER_MEMORY_ON_RING = (1 << 18), VMA_EXTRA_API_MODIFY_RING = (1 << 20), - VMA_EXTRA_API_GET_DPCP_DEVICES = (1 << 21) } vma_extra_api_mask; /** @@ -715,23 +714,6 @@ struct __attribute__ ((packed)) vma_api_t { */ uint64_t vma_extra_supported_mask; - /** - * get dpcp devices allocated by VMA - * - * @param devices - pointer to write the data to. can be NULL see notes - * @param devices_num - IN\OUT parameter - * IN - devices size given by user - * OUT- devices returned to user - * - * @return 0 on success -1 otherwise - * - * @note application can: - * call twice once with devices == NULL and get the size needed to allocate - * and call again to get the filled device array. - * if application is called with big enough buffer VMA will update the - * size actually used. - */ - int (*get_dpcp_devices)(uintptr_t **devices, size_t *devices_num); }; /** From 6fe417f78723331c24ba812134786532a0f38900 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Tue, 12 Sep 2023 09:00:20 +0300 Subject: [PATCH 024/150] issue: 3604175 Fixing stuck empty rx ring cleanup When the ring is destroyed and the RQ is empty the termination loop becomes infinte. It waits for the last_posted_wqe to be retrieved. but since it is empty the last posted wqe was already retrieved. Signed-off-by: Alexander Grissik --- src/vma/dev/qp_mgr.cpp | 3 ++- src/vma/dev/qp_mgr.h | 1 + src/vma/dev/qp_mgr_eth_mlx5.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index 949075675..316bb0a67 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -412,7 +412,8 @@ void qp_mgr::release_rx_buffers() qp_logdbg("draining rx cq_mgr %p (last_posted_rx_wr_id = %lu)", m_p_cq_mgr_rx, m_last_posted_rx_wr_id); uintptr_t last_polled_rx_wr_id = 0; while (m_p_cq_mgr_rx && last_polled_rx_wr_id != m_last_posted_rx_wr_id && - errno != EIO && !m_p_ib_ctx_handler->is_removed()) { + errno != EIO && !m_p_ib_ctx_handler->is_removed() && + !is_rq_empty()) { // Process the FLUSH'ed WQE's int ret = m_p_cq_mgr_rx->drain_and_proccess(&last_polled_rx_wr_id); diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index ee903d99f..a4c5bf7af 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -188,6 +188,7 @@ friend class cq_mgr_mp; virtual int send_to_wire(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp); virtual bool is_completion_need() { return !m_n_unsignaled_count; }; + virtual bool is_rq_empty() const { return false; } }; class qp_mgr_eth : public qp_mgr diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index 083047229..f7d4fa9c9 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -66,6 +66,8 @@ friend class cq_mgr_mlx5; void trigger_completion_for_all_sent_packets(); void init_sq(); + virtual bool is_rq_empty() const { return (m_mlx5_qp.rq.head == m_mlx5_qp.rq.tail); } + uint64_t* m_sq_wqe_idx_to_wrid; uint64_t m_rq_wqe_counter; private: From ae7f37cbdd4fae4b56fb5523bab8fbdb7dbc4177 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Tue, 12 Sep 2023 13:24:00 +0300 Subject: [PATCH 025/150] issue: 321712 ****************** VMA 9.8.40 ****************** Signed-off-by: Alexander Grissik --- CHANGES | 14 ++++++++++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index daa2f5345..44bcc7b22 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,17 @@ +Version 9.8.40-1: +Date + Time 2023-09-12 +============================================================= +Removed: + - RM #3593939 DPCP dependency + +Fixed: + - RM #3591039 Wrong lwip seqno wrap around condition + - RM #3591039 Type overflow during trimming TCP seg + - RM #3591039 Ref count for mem_buf chains + - RM #3591039 GRO retransmitted TCP stream + - RM #3591039 Incorrect pbuf chain split + - RM #3604175 Fixing stuck empty rx ring cleanup + Version 9.8.31-1: Date + Time 2023-07-10 ============================================================= diff --git a/configure.ac b/configure.ac index 25fffe7ce..9a19c3292 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 31) +define([prj_ver_revision], 40) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 7b77c274f..272a900c1 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Mon Jul 10 2023 NVIDIA CORPORATION 9.8.31-1 -- Bump version to 9.8.31 +* Tue Sep 12 2023 NVIDIA CORPORATION 9.8.40-1 +- Bump version to 9.8.40 - Please refer to CHANGES for full changelog. From 3b0168ce8fde69f5bd4ba575683686ae371e44d1 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Thu, 21 Sep 2023 11:39:59 +0300 Subject: [PATCH 026/150] issue: 3604029 Fix releasing ring flow For rx flow create key basing on allocation logic during ring creation and store it in sockinfo object. Use actual key (w/o or w/ migration sceanrio) from sockinfo object. Signed-off-by: Igor Ivanov --- src/vma/sock/sockinfo.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index 534ae2860..866787f18 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -817,11 +817,7 @@ bool sockinfo::destroy_nd_resources(const ip_address ip_local) BULLSEYE_EXCLUDE_BLOCK_START unlock_rx_q(); resource_allocation_key *key; - if (m_ring_alloc_logic.is_logic_support_migration()) { - key = m_ring_alloc_logic.get_key(); - } else { - key = m_ring_alloc_logic.create_new_key(ip_local.get_in_addr()); - } + key = m_ring_alloc_logic.get_key(); if (p_nd_resources->p_ndv->release_ring(key) < 0) { lock_rx_q(); si_logerr("Failed to release ring for allocation key %s on ip %s", From 0239ddac35d982079a87ffb2a370aaa7a1c90d34 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Mon, 2 Oct 2023 11:13:42 +0300 Subject: [PATCH 027/150] issue: 3623373 Fix corruption during ring release Sockinfo object can use few different rx rings but all these rings should have the same key and identical ring allocation logic otherwise corruption happens during ring release. Signed-off-by: Igor Ivanov --- src/vma/sock/sockinfo.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index 866787f18..a8d378f2d 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -747,7 +747,11 @@ net_device_resources_t* sockinfo::create_nd_resources(const ip_address ip_local) unlock_rx_q(); m_rx_ring_map_lock.lock(); resource_allocation_key *key; - if (m_rx_ring_map.size() && m_ring_alloc_logic.is_logic_support_migration()) { + /* Sockinfo object can use few different rx rings but all these rings should + * have the same key and identical ring allocation logic otherwise + * corruption happens during ring releasing + */ + if (m_rx_ring_map.size()) { key = m_ring_alloc_logic.get_key(); } else { key = m_ring_alloc_logic.create_new_key(ip_local.get_in_addr()); From 5195dcd5c694e82a3bf6c35d43b247f92cd15a3b Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Mon, 2 Oct 2023 11:27:00 +0300 Subject: [PATCH 028/150] issue: 3623373 Add special processing for RING_LOGIC_PER_IP Ring per ip logic was introduced in "1465058 Introduce ring per ip-address logic" but was broken by "1653789 Fix Rx and Tx migrations thread safety" incorrect is_logic_support_migration() modification. As a result XLIO_RING_MIGRATION_RATIO_RX=-1 does not work. This change add special processing in ring creation/destruction. Signed-off-by: Igor Ivanov --- src/vma/dev/ring_allocation_logic.h | 1 + src/vma/sock/sockinfo.cpp | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/vma/dev/ring_allocation_logic.h b/src/vma/dev/ring_allocation_logic.h index d5a4d9014..3471aeb08 100644 --- a/src/vma/dev/ring_allocation_logic.h +++ b/src/vma/dev/ring_allocation_logic.h @@ -81,6 +81,7 @@ class ring_allocation_logic bool should_migrate_ring(); bool is_logic_support_migration() { return m_res_key.get_ring_alloc_logic() >= RING_LOGIC_PER_THREAD && m_ring_migration_ratio > 0;} uint64_t calc_res_key_by_logic(); + inline ring_logic_t get_alloc_logic_type() { return m_res_key.get_ring_alloc_logic(); } inline void enable_migration(bool active) { m_active = active; } const char* to_str(); diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index a8d378f2d..563a571c2 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -750,8 +750,10 @@ net_device_resources_t* sockinfo::create_nd_resources(const ip_address ip_local) /* Sockinfo object can use few different rx rings but all these rings should * have the same key and identical ring allocation logic otherwise * corruption happens during ring releasing + * Exception: RING_LOGIC_PER_IP - different ip generate different keys */ - if (m_rx_ring_map.size()) { + if (m_rx_ring_map.size() && + (m_ring_alloc_logic.get_alloc_logic_type() != RING_LOGIC_PER_IP)) { key = m_ring_alloc_logic.get_key(); } else { key = m_ring_alloc_logic.create_new_key(ip_local.get_in_addr()); @@ -821,7 +823,11 @@ bool sockinfo::destroy_nd_resources(const ip_address ip_local) BULLSEYE_EXCLUDE_BLOCK_START unlock_rx_q(); resource_allocation_key *key; - key = m_ring_alloc_logic.get_key(); + if (m_ring_alloc_logic.get_alloc_logic_type() != RING_LOGIC_PER_IP) { + key = m_ring_alloc_logic.get_key(); + } else { + key = m_ring_alloc_logic.create_new_key(ip_local.get_in_addr()); + } if (p_nd_resources->p_ndv->release_ring(key) < 0) { lock_rx_q(); si_logerr("Failed to release ring for allocation key %s on ip %s", From fdb5c5d782ee4c22a301c339222e60fec89511af Mon Sep 17 00:00:00 2001 From: Alex Briskin Date: Thu, 2 Nov 2023 10:30:25 +0200 Subject: [PATCH 029/150] issue: 3655436 Add full TCP_KEEPALIVE support 1. Enabled the feature in LwIP 2. Added support for reading the /proc/sys/net/ipv4/tcp_keepalive_* files at the XLIO startup. 3. Add support for TCP_KEEP* setsockop/getsockopt values. 4. Added unit tests. 5. Updated the CI to execute the new tests. Signed-off-by: Alex Briskin --- contrib/jenkins_tests/gtest.sh | 2 + src/vma/lwip/opt.h | 2 +- src/vma/lwip/tcp.c | 12 ++ src/vma/lwip/tcp.h | 2 + src/vma/sock/sockinfo_tcp.cpp | 78 +++++++ src/vma/util/sysctl_reader.h | 25 +++ src/vma/util/utils.cpp | 10 +- tests/gtest/Makefile.am | 1 + tests/gtest/common/log.h | 5 +- tests/gtest/tcp/tcp_sockopt.cc | 363 +++++++++++++++++++++++++++++++++ 10 files changed, 493 insertions(+), 7 deletions(-) create mode 100644 tests/gtest/tcp/tcp_sockopt.cc diff --git a/contrib/jenkins_tests/gtest.sh b/contrib/jenkins_tests/gtest.sh index 014d29f97..241a2e60d 100755 --- a/contrib/jenkins_tests/gtest.sh +++ b/contrib/jenkins_tests/gtest.sh @@ -48,6 +48,8 @@ eval "${sudo_cmd} ${install_dir}/sbin/${prj_service} --console -v5 &" # Exclude VMA EXTRA API tests eval "${sudo_cmd} $timeout_exe env GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=-vma_*:tcp_send_zc* --gtest_output=xml:${WORKSPACE}/${prefix}/test-basic.xml" rc=$(($rc+$?)) +eval "${sudo_cmd} $timeout_exe env GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=keep_alive* --gtest_output=xml:${WORKSPACE}/${prefix}/test-keepalive.xml" +rc=$(($rc+$?)) make -C tests/gtest clean make -C tests/gtest CPPFLAGS="-DEXTRA_API_ENABLED=1" diff --git a/src/vma/lwip/opt.h b/src/vma/lwip/opt.h index ebe868041..3d2b5f928 100644 --- a/src/vma/lwip/opt.h +++ b/src/vma/lwip/opt.h @@ -721,7 +721,7 @@ * in seconds. (does not require sockets.c, and will affect tcp.c) */ #ifndef LWIP_TCP_KEEPALIVE -#define LWIP_TCP_KEEPALIVE 0 +#define LWIP_TCP_KEEPALIVE 1 #endif /* diff --git a/src/vma/lwip/tcp.c b/src/vma/lwip/tcp.c index 0bdefcc8a..196358fed 100644 --- a/src/vma/lwip/tcp.c +++ b/src/vma/lwip/tcp.c @@ -1398,6 +1398,18 @@ tcp_mss_follow_mtu_with_default(u16_t defsendmss, struct tcp_pcb *pcb) } #endif /* TCP_CALCULATE_EFF_SEND_MSS */ +void tcp_set_keepalive(struct tcp_pcb *pcb, u32_t idle, u32_t intvl, u32_t cnt) +{ + pcb->keep_idle = idle; +#if LWIP_TCP_KEEPALIVE + pcb->keep_intvl = intvl; + pcb->keep_cnt = cnt; +#else + (void)intvl; + (void)cnt; +#endif /* LWIP_TCP_KEEPALIVE */ +} + #if TCP_DEBUG || TCP_INPUT_DEBUG || TCP_OUTPUT_DEBUG /** * Print a tcp header for debugging purposes. diff --git a/src/vma/lwip/tcp.h b/src/vma/lwip/tcp.h index 22d8bb79a..d35c6d0e5 100644 --- a/src/vma/lwip/tcp.h +++ b/src/vma/lwip/tcp.h @@ -547,6 +547,8 @@ s32_t tcp_is_wnd_available(struct tcp_pcb *pcb, u32_t data_len); #define get_tcp_state(pcb) ((pcb)->private_state) #define set_tcp_state(pcb, state) external_tcp_state_observer((pcb)->my_container, (pcb)->private_state = state) +void tcp_set_keepalive(struct tcp_pcb *pcb, u32_t idle, u32_t intvl, u32_t cnt); + #ifdef __cplusplus } #endif diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index e6d7df602..99375278b 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -105,6 +105,11 @@ static bool is_inherited_option(int __level, int __optname) switch (__optname) { case TCP_MAXSEG: case TCP_NODELAY: + case TCP_KEEPIDLE: +#if LWIP_TCP_KEEPALIVE + case TCP_KEEPINTVL: + case TCP_KEEPCNT: +#endif ret = true; } } else if (__level == IPPROTO_IP) { @@ -257,6 +262,12 @@ sockinfo_tcp::sockinfo_tcp(int fd): tcp_pcb_init(&m_pcb, TCP_PRIO_NORMAL); + const tcp_keepalive_info keepalive_info = + safe_mce_sys().sysctl_reader.get_tcp_keepalive_info(); + tcp_set_keepalive(&m_pcb, static_cast(1000U * keepalive_info.idle_secs), + static_cast(1000U * keepalive_info.interval_secs), + static_cast(keepalive_info.num_probes)); + si_tcp_logdbg("new pcb %p pcb state %d", &m_pcb, get_tcp_state(&m_pcb)); tcp_arg(&m_pcb, this); tcp_ip_output(&m_pcb, sockinfo_tcp::ip_output); @@ -3681,6 +3692,41 @@ int sockinfo_tcp::setsockopt(int __level, int __optname, unlock_tcp_con(); si_tcp_logdbg("(TCP_QUICKACK) value: %d", val); break; + case TCP_KEEPIDLE: { + auto *int_ptr = reinterpret_cast(__optval); + if (__optlen < sizeof(int) || *int_ptr <= 0) { + errno = EINVAL; + ret = -1; + } else { + auto idle_sec = static_cast(*int_ptr); + si_tcp_logdbg("TCP_KEEPIDLE value: %us", idle_sec); + m_pcb.keep_idle = idle_sec * 1000U; + } + } break; +#if LWIP_TCP_KEEPALIVE + case TCP_KEEPINTVL: { + auto *int_ptr = reinterpret_cast(__optval); + if (__optlen < sizeof(int) || *int_ptr <= 0) { + errno = EINVAL; + ret = -1; + } else { + auto keep_intvl = static_cast(*int_ptr); + si_tcp_logdbg("TCP_KEEPINTVL value: %us", keep_intvl); + m_pcb.keep_intvl = keep_intvl * 1000U; + } + } break; + case TCP_KEEPCNT: { + auto *int_ptr = reinterpret_cast(__optval); + if (__optlen < sizeof(int) || *int_ptr <= 0) { + errno = EINVAL; + ret = -1; + } else { + auto keep_cnt = static_cast(*int_ptr); + si_tcp_logdbg("TCP_KEEPCNT value: %u", keep_cnt); + m_pcb.keep_cnt = keep_cnt; + } + } break; +#endif /* LWIP_TCP_KEEPALIVE */ default: ret = SOCKOPT_HANDLE_BY_OS; supported = false; @@ -3890,6 +3936,38 @@ int sockinfo_tcp::getsockopt_offload(int __level, int __optname, void *__optval, errno = EINVAL; } break; + case TCP_KEEPIDLE: + if (*__optlen >= sizeof(unsigned int)) { + *(unsigned int *)__optval = m_pcb.keep_idle / 1000; + *__optlen = sizeof(unsigned int); + si_tcp_logdbg("TCP_KEEPIDLE value: %us", m_pcb.keep_idle / 1000); + ret = 0; + } else { + errno = EINVAL; + } + break; +#if LWIP_TCP_KEEPALIVE + case TCP_KEEPINTVL: + if (*__optlen >= sizeof(unsigned int)) { + *(unsigned int *)__optval = m_pcb.keep_intvl / 1000; + *__optlen = sizeof(unsigned int); + si_tcp_logdbg("TCP_KEEPINTVL value: %us", m_pcb.keep_intvl / 1000); + ret = 0; + } else { + errno = EINVAL; + } + break; + case TCP_KEEPCNT: + if (*__optlen >= sizeof(unsigned int)) { + *(unsigned int *)__optval = m_pcb.keep_cnt; + *__optlen = sizeof(unsigned int); + si_tcp_logdbg("TCP_KEEPCNT value: %us", m_pcb.keep_cnt); + ret = 0; + } else { + errno = EINVAL; + } + break; +#endif /* LWIP_TCP_KEEPALIVE */ default: ret = SOCKOPT_HANDLE_BY_OS; break; diff --git a/src/vma/util/sysctl_reader.h b/src/vma/util/sysctl_reader.h index c2824ecb8..c91c446c5 100644 --- a/src/vma/util/sysctl_reader.h +++ b/src/vma/util/sysctl_reader.h @@ -43,6 +43,12 @@ struct sysctl_tcp_mem { int max_value; }; +struct tcp_keepalive_info { + int idle_secs; + int interval_secs; + int num_probes; +}; + class sysctl_reader_t { private: @@ -97,6 +103,7 @@ public : get_net_ipv4_ttl(true); get_igmp_max_membership(true); get_igmp_max_source_membership(true); + get_tcp_keepalive_info(true); } int get_tcp_max_syn_backlog(bool update = false) { @@ -140,6 +147,24 @@ public : return &tcp_mem; } + const tcp_keepalive_info get_tcp_keepalive_info(bool update = false) + { + static tcp_keepalive_info val = {7200, 75, 9}; + auto read_file_to_positive_int = [](const char *path, int default_value) { + int ret = read_file_to_int(path, default_value); + return ret > 0 ? ret : default_value; + }; + if (update) { + val.idle_secs = + read_file_to_positive_int("/proc/sys/net/ipv4/tcp_keepalive_time", val.idle_secs); + val.interval_secs = + read_file_to_positive_int("/proc/sys/net/ipv4/tcp_keepalive_intvl", val.interval_secs); + val.num_probes = + read_file_to_positive_int("/proc/sys/net/ipv4/tcp_keepalive_probes", val.num_probes); + } + return val; + } + int get_tcp_window_scaling(bool update = false) { static int val; if (update) diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index ab1156022..bcfa08f77 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -36,6 +36,7 @@ #include #include #include +#include #include #include "vma/util/if.h" #include @@ -437,12 +438,13 @@ int priv_read_file(const char *path, char *buf, size_t size, vlog_levels_t log_l int read_file_to_int(const char *path, int default_value) { - char buf[25]; - int rc = priv_safe_read_file(path, buf, sizeof buf); - if (rc < 0) { + int value = -1; + std::ifstream file_stream(path); + if (!file_stream || !(file_stream >> value)) { __log_warn("ERROR while getting int from from file %s, we'll use default %d", path, default_value); + return default_value; } - return (rc < 0) ? default_value : atoi(buf); + return value; } int get_ifinfo_from_ip(const struct sockaddr& addr, char* ifname, uint32_t& ifflags) diff --git a/tests/gtest/Makefile.am b/tests/gtest/Makefile.am index d5f968191..1f5f8080e 100644 --- a/tests/gtest/Makefile.am +++ b/tests/gtest/Makefile.am @@ -104,6 +104,7 @@ gtest_SOURCES = \ tcp/tcp_sendfile.cc \ tcp/tcp_send_zc.cc \ tcp/tcp_tls.cc \ + tcp/tcp_sockopt.cc \ \ udp/udp_base.cc \ udp/udp_bind.cc \ diff --git a/tests/gtest/common/log.h b/tests/gtest/common/log.h index d48259360..a474fbdca 100644 --- a/tests/gtest/common/log.h +++ b/tests/gtest/common/log.h @@ -37,9 +37,10 @@ extern struct gtest_configure_t gtest_conf; #define log_fatal(fmt, ...) \ do { \ - if (gtest_conf.log_level > 0) \ + if (gtest_conf.log_level > 0) { \ fprintf(stderr, "[ FATAL ] " fmt, ##__VA_ARGS__); \ - exit(1); \ + } \ + exit(1); \ } while (0) #define log_error(fmt, ...) \ diff --git a/tests/gtest/tcp/tcp_sockopt.cc b/tests/gtest/tcp/tcp_sockopt.cc new file mode 100644 index 000000000..13c37d800 --- /dev/null +++ b/tests/gtest/tcp/tcp_sockopt.cc @@ -0,0 +1,363 @@ +/* + * Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * + * This software is available to you under a choice of one of two + * licenses. You may choose to be licensed under the terms of the GNU + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#include "common/def.h" +extern struct gtest_configure_t gtest_conf; + +struct reusable_cleanable_test_socket { + int m_fd; + reusable_cleanable_test_socket(int domain, int type, int protocol) { + m_fd = socket(domain, type, protocol); + EXPECT_GE(m_fd, 0) << "Unable to open the socket"; + int reuse = 1; + auto result = + setsockopt(m_fd, SOL_SOCKET, SO_REUSEADDR, &reuse, sizeof(reuse)); + EXPECT_EQ(result, 0) << "setsockopt failed to set reuse addr"; + + struct timeval tv; + tv.tv_sec = 5; + tv.tv_usec = 0; + setsockopt(m_fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); + } + explicit reusable_cleanable_test_socket(int fd) : m_fd{fd} { + EXPECT_GE(m_fd, 0) << "Unable to open the socket"; + }; + ~reusable_cleanable_test_socket() { close(m_fd); } + + operator int() const { return m_fd; } +}; + +struct ipc { + enum FifoDirection : size_t { ReadSide, WriteSide }; + int m_pipe[2]; + ipc() : m_pipe{-1, -1} {} + + ~ipc() { reset(); } + void create() { + if (pipe(m_pipe) != 0) { + throw std::runtime_error("Pipe not created"); + } + } + void reset() { + if (m_pipe[ReadSide] != -1) { + close(m_pipe[ReadSide]); + } + if (m_pipe[WriteSide] != -1) { + close(m_pipe[WriteSide]); + } + } + bool wait_peer() { + if (m_pipe[ReadSide] == -1) { + return false; + } + + if (m_pipe[WriteSide] != -1) { + if (close(m_pipe[WriteSide]) != 0) { + return false; + } + m_pipe[WriteSide] = -1; + } + + char buffer[16]; + auto result = read(m_pipe[ReadSide], buffer, 1) == 1; + return result; + } + + bool signal_to_peer() { + if (m_pipe[WriteSide] == -1) { + return false; + } + + if (m_pipe[ReadSide] != -1) { + if (close(m_pipe[ReadSide]) != 0) { + return false; + } + m_pipe[ReadSide] = -1; + } + + return write(m_pipe[WriteSide], "X", 1) == 1; + } +}; + +using sockopt_parameters = std::tuple; +using tcp_sockopt_positive = testing::TestWithParam; +/* + * @test tcp_sockopt_positive.set_and_get_value + * @brief + * This is a parameterized test requiring sockopt_parameters. The parameters in the + * sockopt_parameters are the socket domain, setsockopt/getsockopt level, optname, + * and value. + * The test sets the value and checks the value with the setsockopt/getsockopt syscalls. + * @details + */ +TEST_P(tcp_sockopt_positive, set_and_get_value) { + int socket_domain, level, optname, value; + std::tie(socket_domain, level, optname, value) = GetParam(); + + auto fd = reusable_cleanable_test_socket(socket_domain, static_cast(SOCK_STREAM), 0); + EXPECT_GE(fd, 0) << "socket syscall failed"; + auto result = setsockopt(fd, level, optname, &value, sizeof(value)); + EXPECT_EQ(result, 0) << "setsockopt failed to set the value"; + + int actual_value = -1; + socklen_t actual_len = sizeof(actual_value); + result = getsockopt(fd, level, optname, &actual_value, &actual_len); + EXPECT_EQ(result, 0) << "getsockopt failed to get the value"; + EXPECT_EQ(actual_len, sizeof(actual_value)) + << "Got unexpected size of agument"; + ASSERT_EQ(actual_value, value); +} + +/* The valid ranges are dictated by the Linux Kernel and not the TCP RFC 9293 + * There may be multiple instantiations of the tcp_sockopt_positive class and + * it's test cases. + */ +INSTANTIATE_TEST_CASE_P( + keep_alive, tcp_sockopt_positive, + testing::Values(std::make_tuple(AF_INET, SOL_SOCKET, SO_KEEPALIVE, 1), + std::make_tuple(AF_INET, SOL_SOCKET, SO_KEEPALIVE, 0), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPIDLE, 1), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPIDLE, + std::numeric_limits::max()), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPINTVL, 1), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPINTVL, + std::numeric_limits::max()), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPCNT, 1), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPCNT, + std::numeric_limits::max()), + std::make_tuple(AF_INET6, SOL_SOCKET, SO_KEEPALIVE, 1), + std::make_tuple(AF_INET6, SOL_SOCKET, SO_KEEPALIVE, 0), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPIDLE, 1), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPIDLE, + std::numeric_limits::max()), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPINTVL, 1), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPINTVL, + std::numeric_limits::max()), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPCNT, 1), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPCNT, + std::numeric_limits::max()))); + +using tcp_setsockopt_negative = testing::TestWithParam; +/* + * @test tcp_setsockopt_negative.set_invalid_value + * @brief + * This is a parameterized test requiring sockopt_parameters. The parameters in the + * sockopt_parameters are the socket domain, setsockopt/getsockopt level, optname, + * and value. + * The test attempts setting an invalid value via setsockopt syscall. + * @details + */ +TEST_P(tcp_setsockopt_negative, set_invalid_value) { + int socket_domain, level, optname, value; + std::tie(socket_domain, level, optname, value) = GetParam(); + + auto fd = reusable_cleanable_test_socket(socket_domain, SOCK_STREAM, 0); + EXPECT_GE(fd, 0) << "socket syscall failed to setup a socket"; + + auto result = setsockopt(fd, level, optname, &value, sizeof(value)); + EXPECT_NE(result, 0) << "setsockopt didn't fail to set the value"; +} + +/* The valid ranges are dictated by the Linux Kernel and not the TCP RFC 9293 + * There may be multiple instantiations of the tcp_setsockopt_negative class and + * it's test cases. + */ +INSTANTIATE_TEST_CASE_P( + keep_alive, tcp_setsockopt_negative, + testing::Values(std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPIDLE, -1), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPIDLE, + std::numeric_limits::max() + 1), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPINTVL, -1), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPINTVL, 0), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPINTVL, + std::numeric_limits::max() + 1), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPCNT, -1), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPCNT, 0), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPCNT, + std::numeric_limits::max() + 1), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPIDLE, -1), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPIDLE, + std::numeric_limits::max() + 1), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPINTVL, -1), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPINTVL, 0), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPINTVL, + std::numeric_limits::max() + 1), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPCNT, -1), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPCNT, 0), + std::make_tuple(AF_INET6, IPPROTO_TCP, TCP_KEEPCNT, + std::numeric_limits::max() + 1))); + +using getscokopt_params = std::tuple; +using tcp_sockopt_default = testing::TestWithParam; +/* + * @test tcp_sockopt_default.matches_the_value_in_the_file + * @brief + * This is a parameterized test requiring sockopt_parameters. The parameters in the + * sockopt_parameters are the socket domain, setsockopt/getsockopt level, optname, + * and file path containing the default value. + * The test verifies that the default value of a newly creates socket match file. + * @details + */ +TEST_P(tcp_sockopt_default, matches_the_value_in_the_file) { + int socket_domain, level, optname; + const char *file_path; + std::tie(socket_domain, level, optname, file_path) = GetParam(); + + auto fd = reusable_cleanable_test_socket(socket_domain, SOCK_STREAM, 0); + EXPECT_GE(fd, 0) << "socket syscall failed to setup a socket"; + + /* Get the value via getsockopt */ + int getsockopt_value = -1; + socklen_t actual_len = sizeof(getsockopt_value); + auto result = + getsockopt(fd, level, optname, &getsockopt_value, &actual_len); + EXPECT_EQ(result, 0) << "getsockopt failed"; + EXPECT_EQ(actual_len, sizeof(getsockopt_value)) + << "Got unexpected size of agument"; + + /* Get the value from the file */ + int file_value = -1; + EXPECT_TRUE(bool(std::ifstream{file_path} >> file_value)) + << "Failed reading the file"; + + ASSERT_EQ(getsockopt_value, file_value) + << "The values in the file and the getsockopt differ"; + close(fd); +} + +INSTANTIATE_TEST_CASE_P( + keep_alive, tcp_sockopt_default, + testing::Values( + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPIDLE, + "/proc/sys/net/ipv4/tcp_keepalive_time"), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPINTVL, + "/proc/sys/net/ipv4/tcp_keepalive_intvl"), + std::make_tuple(AF_INET, IPPROTO_TCP, TCP_KEEPCNT, + "/proc/sys/net/ipv4/tcp_keepalive_probes"))); + +using setsockopt_param = std::tuple; +class tcp_with_fifo : public testing::TestWithParam { +protected: + ipc m_ipc_server_to_client{}; + + void SetUp() override { m_ipc_server_to_client.create(); } + + void TearDown() override { m_ipc_server_to_client.reset(); } +}; + +/* + * @test tcp_with_fifo.set_listen_get_accept_socket + * @brief + * This is a parameterized test requiring sockopt_parameters. The parameters in the + * sockopt_parameters are the socket domain, setsockopt level, optname, and value. + * The test verifies that the set value is inherited by the accepted socket. + * @details + */ +TEST_P(tcp_with_fifo, accepted_socket_inherits_the_setsockopt_param) { + int level, optname, value; + std::tie(level, optname, value) = GetParam(); + pid_t pid = fork(); + + if (pid > 0) { // Parent process (the "server" process) + + auto listen_fd = reusable_cleanable_test_socket( + gtest_conf.server_addr.sin_family, SOCK_STREAM, 0); + EXPECT_GE(listen_fd, 0) << "socket syscall failed to setup a socket"; + + EXPECT_EQ(bind(listen_fd, (struct sockaddr *)>est_conf.server_addr, + sizeof(gtest_conf.server_addr)), + 0); + EXPECT_EQ(listen(listen_fd, 5), 0); + + auto result = setsockopt(listen_fd, level, optname, &value, sizeof(value)); + EXPECT_EQ(result, 0) << "setsockopt failed to set the value"; + + m_ipc_server_to_client.signal_to_peer(); + + reusable_cleanable_test_socket accepted_fd{accept(listen_fd, nullptr, 0)}; + EXPECT_GE(accepted_fd, 0) << "Invalid accepted_fd"; + + int actual_value = -1; + socklen_t actual_len = sizeof(actual_value); + result = getsockopt(accepted_fd, level, optname, &actual_value, + &actual_len); + m_ipc_server_to_client.signal_to_peer(); + + int status; + EXPECT_EQ(pid, wait(&status)); + EXPECT_TRUE(WIFEXITED(status)); + EXPECT_EQ(result, 0) << "getsockopt failed to get the value"; + EXPECT_EQ(actual_len, sizeof(actual_value)) + << "Got unexpected size of agument"; + + ASSERT_EQ(actual_value, value); + } else if (pid == 0) { // Child process (the "client" process) + auto client_fd = reusable_cleanable_test_socket( + gtest_conf.client_addr.sin_family, SOCK_STREAM, 0); + EXPECT_GE(client_fd, 0) << "socket syscall failed to setup a socket"; + EXPECT_EQ(bind(client_fd, (struct sockaddr *)>est_conf.client_addr, + sizeof(gtest_conf.client_addr)), + 0); + m_ipc_server_to_client.wait_peer(); + + auto result = connect(client_fd, (struct sockaddr *)>est_conf.server_addr, + sizeof(gtest_conf.server_addr)); + EXPECT_EQ(result, 0); + + m_ipc_server_to_client.wait_peer(); + + // This exit stops the process from inerfering with other tests. + exit(testing::Test::HasFailure()); + } else { + FAIL() << "Fork failed"; + } +} + +INSTANTIATE_TEST_CASE_P( + keep_alive, tcp_with_fifo, + testing::Values( + std::make_tuple(SOL_SOCKET, SO_KEEPALIVE, 0), + std::make_tuple(SOL_SOCKET, SO_KEEPALIVE, 1), + std::make_tuple(static_cast(IPPROTO_TCP), TCP_KEEPIDLE, 1234), + std::make_tuple(static_cast(IPPROTO_TCP), TCP_KEEPINTVL, 12345), + std::make_tuple(static_cast(IPPROTO_TCP), TCP_KEEPCNT, 123))); From ea804dba6eb32b28ab4efe77f8e0c35b2bfc7d77 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Wed, 27 Dec 2023 17:51:04 +0200 Subject: [PATCH 030/150] issue: 3655436 Return ETIMEDOUT err for timed out socket Set ETIMEDOUT errno and return -1 from recv in case a socket was timed out, instead of 0 return value and 0 errno. For instance, in case of TCP keep alive timeout. Signed-off-by: Alexander Grissik --- src/vma/lwip/tcp.c | 2 +- src/vma/sock/sockinfo_tcp.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/vma/lwip/tcp.c b/src/vma/lwip/tcp.c index 196358fed..72fdc0e65 100644 --- a/src/vma/lwip/tcp.c +++ b/src/vma/lwip/tcp.c @@ -761,7 +761,7 @@ tcp_slowtmr(struct tcp_pcb* pcb) ip4_addr3_16(&pcb->remote_ip), ip4_addr4_16(&pcb->remote_ip))); ++pcb_remove; - err = ERR_ABRT; + err = ERR_TIMEOUT; ++pcb_reset; } #if LWIP_TCP_KEEPALIVE diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 99375278b..f4c0c6547 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1882,6 +1882,9 @@ int sockinfo_tcp::handle_rx_error(bool is_blocking) si_tcp_logdbg("RX on reseted socket"); m_conn_state = TCP_CONN_FAILED; errno = ECONNRESET; + } else if (m_conn_state == TCP_CONN_TIMEOUT) { + si_tcp_logdbg("RX on timed out socket"); + errno = ETIMEDOUT; } else { si_tcp_logdbg("RX on disconnected socket - EOF"); ret = 0; From 2d1bccc79691965268bf77507e68b72ee9fd3c44 Mon Sep 17 00:00:00 2001 From: Iftah Levi Date: Thu, 7 Dec 2023 16:48:07 +0200 Subject: [PATCH 031/150] issue: 3697720 Fixing socket destruction race When a socket that was not yet accepted is closed we should close it under lock otherwise, the internal-thread can delete the object that is still under handling after the close(). One scenario that may lead there is when there is not enough segments to send SYN-ACK, then the socket is abonded and closed() while still processing tcp_listen_input. Signed-off-by: Iftah Levi --- src/vma/sock/sockinfo_tcp.cpp | 43 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index f4c0c6547..c14b0e3c2 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1213,23 +1213,19 @@ void sockinfo_tcp::err_lwip_cb(void *pcb_container, err_t err) } if (conn->m_parent != NULL) { - //in case we got RST before we accepted the connection - int delete_fd = 0; - sockinfo_tcp *parent = conn->m_parent; - bool locked_by_me = false; - if (conn->m_tcp_con_lock.is_locked_by_me()) { - locked_by_me = true; - conn->unlock_tcp_con(); - } - if ((delete_fd = parent->handle_child_FIN(conn))) { - //close will clean sockinfo_tcp object and the opened OS socket + //in case we got RST or abandon() before we accepted the connection + conn->unlock_tcp_con(); + int delete_fd = conn->m_parent->handle_child_FIN(conn); + conn->lock_tcp_con(); + + if (delete_fd) { + // Object destruction is expected to happen in internal thread. Unless VMA is in late + // terminating stage, in which case we don't expect to handle packets. + // Calling close() under lock will prevent internal thread to delete the object before + // we finish with the current processing. close(delete_fd); - if (locked_by_me) - conn->lock_tcp_con(); //todo sock and fd_collection destruction race? if so, conn might be invalid? delay close to internal thread? return; } - if (locked_by_me) - conn->lock_tcp_con(); } /* @@ -1653,18 +1649,21 @@ err_t sockinfo_tcp::rx_lwip_cb(void *arg, struct tcp_pcb *pcb, tcp_recv(&(conn->m_pcb), sockinfo_tcp::rx_drop_lwip_cb); if (conn->m_parent != NULL) { - //in case we got FIN before we accepted the connection - int delete_fd = 0; - sockinfo_tcp *parent = conn->m_parent; - /* TODO need to add some refcount inside parent in case parent and child are closed together*/ + // in case we got FIN before we accepted the connection + /* TODO need to add some refcount inside parent in case parent and child are closed + * together*/ conn->unlock_tcp_con(); - if ((delete_fd = parent->handle_child_FIN(conn))) { - //close will clean sockinfo_tcp object and the opened OS socket + int delete_fd = conn->m_parent->handle_child_FIN(conn); + conn->lock_tcp_con(); + + if (delete_fd) { + // Object destruction is expected to happen in internal thread. Unless XLIO is in late + // terminating stage, in which case we don't expect to handle packets. + // Calling close() under lock will prevent internal thread to delete the object before + // we finish with the current processing. close(delete_fd); - conn->lock_tcp_con(); //todo sock and fd_collection destruction race? if so, conn might be invalid? delay close to internal thread? return ERR_ABRT; } - conn->lock_tcp_con(); } return ERR_OK; } From 069d43c3cf4ed2adb841cf637104ff09e4f9ac7c Mon Sep 17 00:00:00 2001 From: Iftah Levi Date: Thu, 7 Dec 2023 16:54:48 +0200 Subject: [PATCH 032/150] issue: 3697720 Remove deferred timers logic The motivation is to run timers only in internal thread. When we handle timers inside main thread we may delete or close socket (as part of timer) during socket operation. In that case main thread will crash after returning from timer handling. Signed-off-by: Iftah Levi --- README | 9 ------- src/vma/main.cpp | 1 - src/vma/sock/sockinfo_tcp.cpp | 44 +++-------------------------------- src/vma/sock/sockinfo_tcp.h | 2 -- src/vma/util/sys_vars.cpp | 6 ----- src/vma/util/sys_vars.h | 18 -------------- 6 files changed, 3 insertions(+), 77 deletions(-) diff --git a/README b/README index 631af198d..e930e7cf8 100644 --- a/README +++ b/README @@ -169,7 +169,6 @@ Example: VMA DETAILS: Internal Thread Affinity -1 [VMA_INTERNAL_THREAD_AFFINITY] VMA DETAILS: Internal Thread Cpuset [VMA_INTERNAL_THREAD_CPUSET] VMA DETAILS: Internal Thread Arm CQ Disabled [VMA_INTERNAL_THREAD_ARM_CQ] - VMA DETAILS: Internal Thread TCP Handling 0 (deferred) [VMA_INTERNAL_THREAD_TCP_TIMER_HANDLING] VMA DETAILS: Thread mode Multi spin lock [VMA_THREAD_MODE] VMA DETAILS: Buffer batching mode 1 (Batch and reclaim buffers) [VMA_BUFFER_BATCHING_MODE] VMA DETAILS: Mem Allocate type 1 (Contig Pages) [VMA_MEM_ALLOC_TYPE] @@ -813,14 +812,6 @@ The value is the path to the cpuset (for example: /dev/cpuset/my_set), or an emp string to run it on the same cpuset the process runs on. Default value is an empty string. -VMA_INTERNAL_THREAD_TCP_TIMER_HANDLING -Select the internal thread policy when handling TCP timers -Use value of 0 for deferred handling. The internal thread will not handle TCP timers upon timer -expiration (once every 100ms) in order to let application threads handling it first -Use value of 1 for immediate handling. The internal thread will try locking and handling TCP timers upon -timer expiration (once every 100ms). Application threads may be blocked till internal thread finishes handling TCP timers -Default value is 0 (deferred handling) - VMA_INTERNAL_THREAD_ARM_CQ Wakeup the internal thread for each packet that the CQ receive. Poll and process the packet and bring it to the socket layer. diff --git a/src/vma/main.cpp b/src/vma/main.cpp index 14fc70a75..35dd334cf 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -533,7 +533,6 @@ void print_vma_global_settings() VLOG_STR_PARAM_STRING("Internal Thread Affinity", safe_mce_sys().internal_thread_affinity_str, MCE_DEFAULT_INTERNAL_THREAD_AFFINITY_STR, SYS_VAR_INTERNAL_THREAD_AFFINITY, safe_mce_sys().internal_thread_affinity_str); VLOG_STR_PARAM_STRING("Internal Thread Cpuset", safe_mce_sys().internal_thread_cpuset, MCE_DEFAULT_INTERNAL_THREAD_CPUSET, SYS_VAR_INTERNAL_THREAD_CPUSET, safe_mce_sys().internal_thread_cpuset); VLOG_PARAM_STRING("Internal Thread Arm CQ", safe_mce_sys().internal_thread_arm_cq_enabled, MCE_DEFAULT_INTERNAL_THREAD_ARM_CQ_ENABLED, SYS_VAR_INTERNAL_THREAD_ARM_CQ, safe_mce_sys().internal_thread_arm_cq_enabled ? "Enabled " : "Disabled"); - VLOG_PARAM_NUMSTR("Internal Thread TCP Handling", safe_mce_sys().internal_thread_tcp_timer_handling, MCE_DEFAULT_INTERNAL_THREAD_TCP_TIMER_HANDLING, SYS_VAR_INTERNAL_THREAD_TCP_TIMER_HANDLING, internal_thread_tcp_timer_handling_str(safe_mce_sys().internal_thread_tcp_timer_handling)); VLOG_PARAM_STRING("Thread mode", safe_mce_sys().thread_mode, MCE_DEFAULT_THREAD_MODE, SYS_VAR_THREAD_MODE, thread_mode_str(safe_mce_sys().thread_mode)); VLOG_PARAM_NUMSTR("Buffer batching mode", safe_mce_sys().buffer_batching_mode, MCE_DEFAULT_BUFFER_BATCHING_MODE, SYS_VAR_BUFFER_BATCHING_MODE, buffer_batching_mode_str(safe_mce_sys().buffer_batching_mode)); switch (safe_mce_sys().mem_alloc_type) { diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index c14b0e3c2..00049fe66 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -133,10 +133,6 @@ inline void sockinfo_tcp::lock_tcp_con() inline void sockinfo_tcp::unlock_tcp_con() { - if (m_timer_pending) { - tcp_timer(); - } - m_tcp_con_lock.unlock(); } @@ -162,12 +158,6 @@ inline int sockinfo_tcp::rx_wait(int &poll_count, bool is_blocking) inline int sockinfo_tcp::rx_wait_lockless(int & poll_count, bool is_blocking) { - if (m_timer_pending) { - m_tcp_con_lock.lock(); - tcp_timer(); - m_tcp_con_lock.unlock(); - } - return rx_wait_helper(poll_count, is_blocking); } @@ -229,10 +219,8 @@ inline void sockinfo_tcp::reuse_buffer(mem_buf_desc_t *buff) sockinfo_tcp::sockinfo_tcp(int fd): sockinfo(fd), m_timer_handle(NULL), - m_timer_pending(false), m_sysvar_buffer_batching_mode(safe_mce_sys().buffer_batching_mode), m_sysvar_tcp_ctl_thread(safe_mce_sys().tcp_ctl_thread), - m_sysvar_internal_thread_tcp_timer_handling(safe_mce_sys().internal_thread_tcp_timer_handling), m_sysvar_rx_poll_on_tx_tcp(safe_mce_sys().rx_poll_on_tx_tcp) { si_tcp_logfuncall(""); @@ -627,7 +615,6 @@ void sockinfo_tcp::tcp_timer() } tcp_tmr(&m_pcb); - m_timer_pending = false; return_pending_rx_buffs(); return_pending_tx_buffs(); @@ -1508,34 +1495,9 @@ void sockinfo_tcp::handle_timer_expired(void* user_data) if (m_sysvar_tcp_ctl_thread > CTL_THREAD_DISABLE) process_rx_ctl_packets(); - if (m_sysvar_internal_thread_tcp_timer_handling == INTERNAL_THREAD_TCP_TIMER_HANDLING_DEFERRED) { - // DEFERRED. if Internal thread is here first and m_timer_pending is false it jsut - // sets it as true for its next iteration (within 100ms), letting - // application threads have a chance of running tcp_timer() - if (m_timer_pending) { - if (m_tcp_con_lock.trylock()) { - return; - } - tcp_timer(); - m_tcp_con_lock.unlock(); - } - m_timer_pending = true; - } - else { // IMMEDIATE - // Set the pending flag before getting the lock, so in the rare case of - // a race with unlock_tcp_con(), the timer will be called twice. If we set - // the flag after trylock(), the timer may not be called in case of a race. - - // any thread (internal or application) will try locking - // and running the tcp_timer - m_timer_pending = true; - if (m_tcp_con_lock.trylock()) { - return; - } - - tcp_timer(); - m_tcp_con_lock.unlock(); - } + m_tcp_con_lock.lock(); + tcp_timer(); + m_tcp_con_lock.unlock(); } void sockinfo_tcp::abort_connection() diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index fbb088db0..9a26fb9b5 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -282,7 +282,6 @@ class sockinfo_tcp : public sockinfo, public timer_handler void *m_timer_handle; lock_spin_recursive m_tcp_con_lock; - bool m_timer_pending; // used for reporting 'connected' on second non-blocking call to connect or // second call to failed connect blocking socket. @@ -292,7 +291,6 @@ class sockinfo_tcp : public sockinfo, public timer_handler const buffer_batching_mode_t m_sysvar_buffer_batching_mode; const tcp_ctl_thread_t m_sysvar_tcp_ctl_thread; - const internal_thread_tcp_timer_handling_t m_sysvar_internal_thread_tcp_timer_handling; struct tcp_seg * m_tcp_seg_list; int m_tcp_seg_count; diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 9c0c1d303..bb9e569b4 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -589,7 +589,6 @@ void mce_sys_var::get_env_params() offloaded_sockets = MCE_DEFAULT_OFFLOADED_SOCKETS; timer_resolution_msec = MCE_DEFAULT_TIMER_RESOLUTION_MSEC; tcp_timer_resolution_msec= MCE_DEFAULT_TCP_TIMER_RESOLUTION_MSEC; - internal_thread_tcp_timer_handling = MCE_DEFAULT_INTERNAL_THREAD_TCP_TIMER_HANDLING; tcp_ctl_thread = MCE_DEFAULT_TCP_CTL_THREAD; tcp_ts_opt = MCE_DEFAULT_TCP_TIMESTAMP_OPTION; tcp_nodelay = MCE_DEFAULT_TCP_NODELAY; @@ -1117,11 +1116,6 @@ void mce_sys_var::get_env_params() if ((env_ptr = getenv(SYS_VAR_TCP_TIMER_RESOLUTION_MSEC)) != NULL) tcp_timer_resolution_msec = atoi(env_ptr); - if ((env_ptr = getenv(SYS_VAR_INTERNAL_THREAD_TCP_TIMER_HANDLING)) != NULL) { - internal_thread_tcp_timer_handling = - atoi(env_ptr) == 1 ? INTERNAL_THREAD_TCP_TIMER_HANDLING_IMMEDIATE : INTERNAL_THREAD_TCP_TIMER_HANDLING_DEFERRED; - } - if ((env_ptr = getenv(SYS_VAR_TCP_CTL_THREAD)) != NULL) { tcp_ctl_thread = (tcp_ctl_thread_t)atoi(env_ptr); if (tcp_ctl_thread >= CTL_THREAD_LAST || tcp_ctl_thread < 0) diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index a16ff28ca..88fe6e240 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -175,21 +175,6 @@ static inline const char* ctl_thread_str(tcp_ctl_thread_t logic) return "unsupported"; } -typedef enum { - INTERNAL_THREAD_TCP_TIMER_HANDLING_DEFERRED = 0, - INTERNAL_THREAD_TCP_TIMER_HANDLING_IMMEDIATE -} internal_thread_tcp_timer_handling_t; - -static inline const char* internal_thread_tcp_timer_handling_str(internal_thread_tcp_timer_handling_t handling) -{ - switch (handling) { - case INTERNAL_THREAD_TCP_TIMER_HANDLING_DEFERRED: return "(deferred)"; - case INTERNAL_THREAD_TCP_TIMER_HANDLING_IMMEDIATE: return "(immediate)"; - default: break; - } - return "unsupported"; -} - namespace vma_spec { // convert str to vVMA_spec_t; upon error - returns the given 'def_value' vma_spec_t from_str(const char* str, vma_spec_t def_value = MCE_SPEC_NONE); @@ -407,7 +392,6 @@ struct mce_sys_var { char internal_thread_affinity_str[FILENAME_MAX]; cpu_set_t internal_thread_affinity; bool internal_thread_arm_cq_enabled; - internal_thread_tcp_timer_handling_t internal_thread_tcp_timer_handling; bool handle_bf; bool enable_ipoib; @@ -559,7 +543,6 @@ extern mce_sys_var & safe_mce_sys(); #define SYS_VAR_INTERNAL_THREAD_AFFINITY "VMA_INTERNAL_THREAD_AFFINITY" #define SYS_VAR_INTERNAL_THREAD_CPUSET "VMA_INTERNAL_THREAD_CPUSET" #define SYS_VAR_INTERNAL_THREAD_ARM_CQ "VMA_INTERNAL_THREAD_ARM_CQ" -#define SYS_VAR_INTERNAL_THREAD_TCP_TIMER_HANDLING "VMA_INTERNAL_THREAD_TCP_TIMER_HANDLING" #define SYS_VAR_NETLINK_TIMER_MSEC "VMA_NETLINK_TIMER" @@ -676,7 +659,6 @@ extern mce_sys_var & safe_mce_sys(); #define MCE_DEFAULT_INTERNAL_THREAD_AFFINITY (-1) #define MCE_DEFAULT_INTERNAL_THREAD_AFFINITY_STR ("-1") #define MCE_DEFAULT_INTERNAL_THREAD_CPUSET ("") -#define MCE_DEFAULT_INTERNAL_THREAD_TCP_TIMER_HANDLING (INTERNAL_THREAD_TCP_TIMER_HANDLING_DEFERRED) #define MCE_DEFAULT_NETLINK_TIMER_MSEC (10000) #define MCE_DEFAULT_NEIGH_UC_ARP_QUATA 3 From 70161db3c1397bab9d45c7b517079734a023140e Mon Sep 17 00:00:00 2001 From: Iftah Levi Date: Sun, 10 Dec 2023 18:45:23 +0200 Subject: [PATCH 033/150] issue: 3697720 Option to postpone socket close Add VMA option VMA_DEFERRED_CLOSE to postpone shadow socket close. Disabled by default (no changes vs previous code). Signed-off-by: Iftah Levi --- src/vma/main.cpp | 1 + src/vma/sock/sock-redirect.cpp | 13 +++++++++---- src/vma/sock/sock-redirect.h | 2 +- src/vma/sock/socket_fd_api.cpp | 3 +++ src/vma/util/sys_vars.cpp | 5 +++++ src/vma/util/sys_vars.h | 5 +++++ 6 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/vma/main.cpp b/src/vma/main.cpp index 35dd334cf..74ce206ec 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -570,6 +570,7 @@ void print_vma_global_settings() VLOG_PARAM_NUMBER("MSS", safe_mce_sys().lwip_mss, MCE_DEFAULT_MSS, SYS_VAR_MSS); break; } VLOG_PARAM_NUMSTR("TCP CC Algorithm", safe_mce_sys().lwip_cc_algo_mod, MCE_DEFAULT_LWIP_CC_ALGO_MOD, SYS_VAR_TCP_CC_ALGO, lwip_cc_algo_str(safe_mce_sys().lwip_cc_algo_mod)); + VLOG_PARAM_STRING("Deferred close", safe_mce_sys().deferred_close, MCE_DEFAULT_DEFERRED_CLOSE, SYS_VAR_DEFERRED_CLOSE, safe_mce_sys().deferred_close ? "Enabled " : "Disabled"); VLOG_PARAM_STRING("Polling Rx on Tx TCP", safe_mce_sys().rx_poll_on_tx_tcp, MCE_DEFAULT_RX_POLL_ON_TX_TCP, SYS_VAR_VMA_RX_POLL_ON_TX_TCP, safe_mce_sys().rx_poll_on_tx_tcp ? "Enabled " : "Disabled"); VLOG_PARAM_STRING("Trig dummy send getsockname()", safe_mce_sys().trigger_dummy_send_getsockname, MCE_DEFAULT_TRIGGER_DUMMY_SEND_GETSOCKNAME, SYS_VAR_VMA_TRIGGER_DUMMY_SEND_GETSOCKNAME, safe_mce_sys().trigger_dummy_send_getsockname ? "Enabled " : "Disabled"); diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 6002e1560..99d8e31f7 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -319,9 +319,9 @@ void dbg_check_if_need_to_send_mcpkt() dbg_check_if_need_to_send_mcpkt_prevent_nested_calls--; } -void handle_close(int fd, bool cleanup, bool passthrough) +bool handle_close(int fd, bool cleanup, bool passthrough) { - + bool to_close_now = true; srdr_logfunc("Cleanup fd=%d", fd); if (g_p_fd_collection) { @@ -330,12 +330,17 @@ void handle_close(int fd, bool cleanup, bool passthrough) if (fd_collection_get_sockfd(fd)) { g_p_fd_collection->del_sockfd(fd, cleanup); + if (safe_mce_sys().deferred_close) { + to_close_now = false; + } } if (fd_collection_get_epfd(fd)) { g_p_fd_collection->del_epfd(fd, cleanup); } } + + return to_close_now; } @@ -814,9 +819,9 @@ int close(int __fd) srdr_logdbg_entry("fd=%d", __fd); - handle_close(__fd); + bool close_now = handle_close(__fd); - return orig_os_api.close(__fd); + return close_now ? orig_os_api.close(__fd) : 0; } extern "C" diff --git a/src/vma/sock/sock-redirect.h b/src/vma/sock/sock-redirect.h index 117fd4ac4..cf916c626 100644 --- a/src/vma/sock/sock-redirect.h +++ b/src/vma/sock/sock-redirect.h @@ -189,7 +189,7 @@ extern iomux_stats_t* g_p_epoll_stats; int do_global_ctors(); void reset_globals(); -void handle_close(int fd, bool cleanup = false, bool passthrough = false); +bool handle_close(int fd, bool cleanup = false, bool passthrough = false); // allow calling our socket(...) implementation safely from within libvma.so // this is critical in case VMA was loaded using dlopen and not using LD_PRELOAD diff --git a/src/vma/sock/socket_fd_api.cpp b/src/vma/sock/socket_fd_api.cpp index 17794df97..4459505f7 100644 --- a/src/vma/sock/socket_fd_api.cpp +++ b/src/vma/sock/socket_fd_api.cpp @@ -56,6 +56,9 @@ socket_fd_api::socket_fd_api(int fd) : m_epoll_event_flags(0), m_fd(fd), m_n_sys socket_fd_api::~socket_fd_api() { + if (safe_mce_sys().deferred_close && (m_fd >= 0)) { + orig_os_api.close(m_fd); + } } diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index bb9e569b4..6da36be33 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -620,6 +620,7 @@ void mce_sys_var::get_env_params() neigh_wait_till_send_arp_msec = MCE_DEFAULT_NEIGH_UC_ARP_DELAY_MSEC; timer_netlink_update_msec = MCE_DEFAULT_NETLINK_TIMER_MSEC; + deferred_close = MCE_DEFAULT_DEFERRED_CLOSE; rx_poll_on_tx_tcp = MCE_DEFAULT_RX_POLL_ON_TX_TCP; trigger_dummy_send_getsockname = MCE_DEFAULT_TRIGGER_DUMMY_SEND_GETSOCKNAME; @@ -1266,6 +1267,10 @@ void mce_sys_var::get_env_params() if ((env_ptr = getenv(SYS_VAR_TCP_CC_ALGO)) != NULL) lwip_cc_algo_mod = (uint32_t)atoi(env_ptr); + if ((env_ptr = getenv(SYS_VAR_DEFERRED_CLOSE)) != NULL) { + deferred_close = atoi(env_ptr) ? true : false; + } + if ((env_ptr = getenv(SYS_VAR_VMA_RX_POLL_ON_TX_TCP)) != NULL) rx_poll_on_tx_tcp = atoi(env_ptr) ? true : false; diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 88fe6e240..dda56af87 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -409,6 +409,9 @@ struct mce_sys_var { uint32_t vma_time_measure_num_samples; char vma_time_measure_filename[PATH_MAX]; sysctl_reader_t & sysctl_reader; + // Workaround for #3440429: postpone close(2) to the socket destructor, so the sockfd is closed + // after the rfs rule is destroyed. Otherwise, flow_tag or TCP port can be reused too early. + bool deferred_close; bool rx_poll_on_tx_tcp; hyper_t hypervisor; bool trigger_dummy_send_getsockname; @@ -552,6 +555,7 @@ extern mce_sys_var & safe_mce_sys(); #define SYS_VAR_VMA_TIME_MEASURE_NUM_SAMPLES "VMA_TIME_MEASURE_NUM_SAMPLES" #define SYS_VAR_VMA_TIME_MEASURE_DUMP_FILE "VMA_TIME_MEASURE_DUMP_FILE" +#define SYS_VAR_DEFERRED_CLOSE "VMA_DEFERRED_CLOSE" #define SYS_VAR_VMA_RX_POLL_ON_TX_TCP "VMA_RX_POLL_ON_TX_TCP" #define SYS_VAR_VMA_TRIGGER_DUMMY_SEND_GETSOCKNAME "VMA_TRIGGER_DUMMY_SEND_GETSOCKNAME" @@ -686,6 +690,7 @@ extern mce_sys_var & safe_mce_sys(); #endif /* DEFINED_TSO */ #define MCE_DEFAULT_RX_POLL_ON_TX_TCP (false) #define MCE_DEFAULT_TRIGGER_DUMMY_SEND_GETSOCKNAME (false) +#define MCE_DEFAULT_DEFERRED_CLOSE (false) #define MCE_ALIGNMENT ((unsigned long)63) #define RX_BUF_SIZE(mtu) ((mtu) + IPOIB_HDR_LEN + GRH_HDR_LEN) // RX buffers are larger in IB From a0c94d049e6c36cf70f911c7c543ef13d7ed8188 Mon Sep 17 00:00:00 2001 From: John Drouhard Date: Wed, 13 Dec 2023 16:23:54 -0600 Subject: [PATCH 034/150] issue: 1214066 Update some unsigned char -> uint32_t for table_id --- src/vma/proto/route_table_mgr.cpp | 10 +++++----- src/vma/proto/route_table_mgr.h | 2 +- src/vma/proto/rule_table_mgr.cpp | 2 +- src/vma/proto/rule_table_mgr.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index 53a37ba28..4ee34533b 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -182,7 +182,7 @@ void route_table_mgr::rt_mgr_update_source_ip() if (p_val->get_gw_addr() && !p_val->get_src_addr()) { route_val* p_val_dst; in_addr_t in_addr = p_val->get_gw_addr(); - unsigned char table_id = p_val->get_table_id(); + uint32_t table_id = p_val->get_table_id(); if (find_route_val(in_addr, table_id, p_val_dst)) { if (p_val_dst->get_src_addr()) { p_val->set_src_addr(p_val_dst->get_src_addr()); @@ -318,7 +318,7 @@ void route_table_mgr::parse_attr(struct rtattr *rt_attribute, route_val *p_val) } } -bool route_table_mgr::find_route_val(in_addr_t &dst, unsigned char table_id, route_val* &p_val) +bool route_table_mgr::find_route_val(in_addr_t &dst, uint32_t table_id, route_val* &p_val) { ip_address dst_addr = dst; rt_mgr_logfunc("dst addr '%s'", dst_addr.to_str().c_str()); @@ -357,12 +357,12 @@ bool route_table_mgr::route_resolve(IN route_rule_table_key key, OUT route_resul rt_mgr_logdbg("dst addr '%s'", dst_addr.to_str().c_str()); route_val *p_val = NULL; - std::deque table_id_list; + std::deque table_id_list; g_p_rule_table_mgr->rule_resolve(key, table_id_list); auto_unlocker lock(m_lock); - std::deque::iterator table_id_iter = table_id_list.begin(); + std::deque::iterator table_id_iter = table_id_list.begin(); for (; table_id_iter != table_id_list.end(); table_id_iter++) { if (find_route_val(dst, *table_id_iter, p_val)) { res.p_src = p_val->get_src_addr(); @@ -392,7 +392,7 @@ void route_table_mgr::update_entry(INOUT route_entry* p_ent, bool b_register_to_ if (p_rr_entry && p_rr_entry->get_val(p_rr_val)) { route_val* p_val = NULL; in_addr_t peer_ip = p_ent->get_key().get_dst_ip(); - unsigned char table_id; + uint32_t table_id; for (std::deque::iterator p_rule_val = p_rr_val->begin(); p_rule_val != p_rr_val->end(); p_rule_val++) { table_id = (*p_rule_val)->get_table_id(); if (find_route_val(peer_ip, table_id, p_val)) { diff --git a/src/vma/proto/route_table_mgr.h b/src/vma/proto/route_table_mgr.h index f40b304c2..ecbab29d7 100644 --- a/src/vma/proto/route_table_mgr.h +++ b/src/vma/proto/route_table_mgr.h @@ -75,7 +75,7 @@ class route_table_mgr : public netlink_socket_mgr, public cache_table // in constructor creates route_entry for each net_dev, to receive events in case there are no other route_entrys in_addr_route_entry_map_t m_rte_list_for_each_net_dev; - bool find_route_val(in_addr_t &dst_addr, unsigned char table_id, route_val* &p_val); + bool find_route_val(in_addr_t &dst_addr, uint32_t table_id, route_val* &p_val); // save current main rt table void update_tbl(); diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index a5aed3e06..4af4a5728 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -261,7 +261,7 @@ bool rule_table_mgr::is_matching_rule(route_rule_table_key key, rule_val* p_val) // key : key object that contain information about destination. // table_id_list : list that will contain table ID for all rule that match destination info // Returns true if at least one rule match destination info, false otherwise. -bool rule_table_mgr::rule_resolve(route_rule_table_key key, std::deque &table_id_list) +bool rule_table_mgr::rule_resolve(route_rule_table_key key, std::deque &table_id_list) { rr_mgr_logdbg("dst info: '%s'", key.to_str().c_str()); diff --git a/src/vma/proto/rule_table_mgr.h b/src/vma/proto/rule_table_mgr.h index 16b4a7183..e4cc0bdc1 100644 --- a/src/vma/proto/rule_table_mgr.h +++ b/src/vma/proto/rule_table_mgr.h @@ -51,7 +51,7 @@ class rule_table_mgr : public netlink_socket_mgr, public cache_table_m rule_entry* create_new_entry(route_rule_table_key key, const observer *obs); void update_entry(rule_entry* p_ent); - bool rule_resolve(route_rule_table_key key, std::deque &table_id_list); + bool rule_resolve(route_rule_table_key key, std::deque &table_id_list); protected: virtual bool parse_enrty(nlmsghdr *nl_header, rule_val *p_val); From bd109dd3226463abe363c8a5b505f93e66a197b3 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Thu, 28 Dec 2023 16:21:56 +0200 Subject: [PATCH 035/150] issue: 321712 ****************** VMA 9.8.50 ****************** Signed-off-by: Alexander Grissik --- CHANGES | 10 ++++++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 44bcc7b22..44e34ffb7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,13 @@ +Version 9.8.50-1: +Date + Time 2023-12-28 +============================================================= +Fixed: + - RM #3604029 Fix releasing ring flow + - RM #3623373 Fix corruption during ring release + - RM #3655436 Add full TCP_KEEPALIVE support + - RM #3697720 Fixing socket destruction race + - RM #1214066 Update some unsigned char -> uint32_t for table_id + Version 9.8.40-1: Date + Time 2023-09-12 ============================================================= diff --git a/configure.ac b/configure.ac index 9a19c3292..e9f3e55af 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 40) +define([prj_ver_revision], 50) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 272a900c1..7355d5a57 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Tue Sep 12 2023 NVIDIA CORPORATION 9.8.40-1 -- Bump version to 9.8.40 +* Thu Dec 28 2023 NVIDIA CORPORATION 9.8.50-1 +- Bump version to 9.8.50 - Please refer to CHANGES for full changelog. From cef07e0d0fb6173ed9c3f6f91ed7b48245ca4e5a Mon Sep 17 00:00:00 2001 From: Alex Briskin Date: Mon, 1 Jan 2024 12:12:24 +0200 Subject: [PATCH 036/150] issue: 3723595 Update the copyright statement to 2024 Signed-off-by: Alex Briskin --- COPYING | 2 +- LICENSE | 2 +- config/m4/compiler.m4 | 2 +- config/m4/func.m4 | 2 +- config/m4/nl.m4 | 2 +- config/m4/opt.m4 | 2 +- config/m4/prof.m4 | 4 ++-- config/m4/verbs.m4 | 2 +- contrib/scripts/vma.init.in | 2 +- contrib/test_jenkins.sh | 2 +- debian/copyright | 2 +- src/state_machine/main.cpp | 2 +- src/state_machine/sm.cpp | 2 +- src/state_machine/sm.h | 2 +- src/state_machine/sm_fifo.cpp | 2 +- src/state_machine/sm_fifo.h | 2 +- src/stats/stats_data_reader.h | 2 +- src/stats/stats_printer.cpp | 2 +- src/stats/stats_publisher.cpp | 2 +- src/stats/stats_reader.cpp | 2 +- src/utils/asm-arm64.h | 2 +- src/utils/asm-ppc64.h | 2 +- src/utils/asm-x86.h | 2 +- src/utils/asm.h | 2 +- src/utils/atomic.h | 2 +- src/utils/bullseye.h | 2 +- src/utils/clock.h | 2 +- src/utils/compiler.h | 2 +- src/utils/lock_wrapper.h | 2 +- src/utils/rdtsc.h | 2 +- src/utils/types.h | 2 +- src/vlogger/main.cpp | 2 +- src/vlogger/vlogger.cpp | 2 +- src/vlogger/vlogger.h | 2 +- src/vma/config_scanner.c | 2 +- src/vma/dev/allocator.cpp | 2 +- src/vma/dev/allocator.h | 2 +- src/vma/dev/buffer_pool.cpp | 2 +- src/vma/dev/buffer_pool.h | 2 +- src/vma/dev/cq_mgr.cpp | 2 +- src/vma/dev/cq_mgr.h | 2 +- src/vma/dev/cq_mgr.inl | 2 +- src/vma/dev/cq_mgr_mlx5.cpp | 2 +- src/vma/dev/cq_mgr_mlx5.h | 2 +- src/vma/dev/cq_mgr_mlx5.inl | 2 +- src/vma/dev/dm_mgr.cpp | 2 +- src/vma/dev/dm_mgr.h | 2 +- src/vma/dev/gro_mgr.cpp | 2 +- src/vma/dev/gro_mgr.h | 2 +- src/vma/dev/ib_ctx_handler.cpp | 2 +- src/vma/dev/ib_ctx_handler.h | 2 +- src/vma/dev/ib_ctx_handler_collection.cpp | 2 +- src/vma/dev/ib_ctx_handler_collection.h | 2 +- src/vma/dev/net_device_entry.cpp | 2 +- src/vma/dev/net_device_entry.h | 2 +- src/vma/dev/net_device_table_mgr.cpp | 2 +- src/vma/dev/net_device_table_mgr.h | 2 +- src/vma/dev/net_device_val.cpp | 2 +- src/vma/dev/net_device_val.h | 2 +- src/vma/dev/qp_mgr.cpp | 2 +- src/vma/dev/qp_mgr.h | 2 +- src/vma/dev/qp_mgr_eth_direct.cpp | 2 +- src/vma/dev/qp_mgr_eth_direct.h | 2 +- src/vma/dev/qp_mgr_eth_mlx5.cpp | 2 +- src/vma/dev/qp_mgr_eth_mlx5.h | 2 +- src/vma/dev/rfs.cpp | 2 +- src/vma/dev/rfs.h | 2 +- src/vma/dev/rfs_mc.cpp | 2 +- src/vma/dev/rfs_mc.h | 2 +- src/vma/dev/rfs_uc.cpp | 2 +- src/vma/dev/rfs_uc.h | 2 +- src/vma/dev/rfs_uc_tcp_gro.cpp | 2 +- src/vma/dev/rfs_uc_tcp_gro.h | 2 +- src/vma/dev/ring.cpp | 2 +- src/vma/dev/ring.h | 2 +- src/vma/dev/ring_allocation_logic.cpp | 2 +- src/vma/dev/ring_allocation_logic.h | 2 +- src/vma/dev/ring_bond.cpp | 2 +- src/vma/dev/ring_bond.h | 2 +- src/vma/dev/ring_eth_direct.cpp | 2 +- src/vma/dev/ring_eth_direct.h | 2 +- src/vma/dev/ring_profile.cpp | 2 +- src/vma/dev/ring_profile.h | 2 +- src/vma/dev/ring_simple.cpp | 2 +- src/vma/dev/ring_simple.h | 2 +- src/vma/dev/ring_slave.cpp | 2 +- src/vma/dev/ring_slave.h | 2 +- src/vma/dev/ring_tap.cpp | 2 +- src/vma/dev/ring_tap.h | 2 +- src/vma/dev/time_converter.cpp | 2 +- src/vma/dev/time_converter.h | 2 +- src/vma/dev/time_converter_ib_ctx.cpp | 2 +- src/vma/dev/time_converter_ib_ctx.h | 2 +- src/vma/dev/time_converter_ptp.cpp | 2 +- src/vma/dev/time_converter_ptp.h | 2 +- src/vma/dev/wqe_send_handler.cpp | 2 +- src/vma/dev/wqe_send_handler.h | 2 +- src/vma/dev/wqe_send_ib_handler.cpp | 2 +- src/vma/dev/wqe_send_ib_handler.h | 2 +- src/vma/event/command.h | 2 +- src/vma/event/delta_timer.cpp | 2 +- src/vma/event/delta_timer.h | 2 +- src/vma/event/event.h | 2 +- src/vma/event/event_handler_ibverbs.h | 2 +- src/vma/event/event_handler_manager.cpp | 2 +- src/vma/event/event_handler_manager.h | 2 +- src/vma/event/event_handler_rdma_cm.h | 2 +- src/vma/event/netlink_event.cpp | 2 +- src/vma/event/netlink_event.h | 2 +- src/vma/event/timer_handler.h | 2 +- src/vma/event/timers_group.h | 2 +- src/vma/event/vlogger_timer_handler.cpp | 2 +- src/vma/event/vlogger_timer_handler.h | 2 +- src/vma/ib/base/verbs_extra.cpp | 2 +- src/vma/ib/base/verbs_extra.h | 2 +- src/vma/ib/mlx5/ib_mlx5.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5.h | 2 +- src/vma/ib/mlx5/ib_mlx5_dv.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5_dv.h | 2 +- src/vma/ib/mlx5/ib_mlx5_hw.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5_hw.h | 2 +- src/vma/infra/DemoCollMgr.cpp | 2 +- src/vma/infra/DemoCollMgr.h | 2 +- src/vma/infra/DemoObserver.cpp | 2 +- src/vma/infra/DemoObserver.h | 2 +- src/vma/infra/DemoSubject.cpp | 2 +- src/vma/infra/DemoSubject.h | 2 +- src/vma/infra/cache_subject_observer.h | 2 +- src/vma/infra/main.cpp | 2 +- src/vma/infra/sender.cpp | 2 +- src/vma/infra/sender.h | 2 +- src/vma/infra/sender_info_dst.cpp | 2 +- src/vma/infra/sender_info_dst.h | 2 +- src/vma/infra/subject_observer.cpp | 2 +- src/vma/infra/subject_observer.h | 2 +- src/vma/iomux/epfd_info.cpp | 2 +- src/vma/iomux/epfd_info.h | 2 +- src/vma/iomux/epoll_wait_call.cpp | 2 +- src/vma/iomux/epoll_wait_call.h | 2 +- src/vma/iomux/io_mux_call.cpp | 2 +- src/vma/iomux/io_mux_call.h | 2 +- src/vma/iomux/poll_call.cpp | 2 +- src/vma/iomux/poll_call.h | 2 +- src/vma/iomux/select_call.cpp | 2 +- src/vma/iomux/select_call.h | 2 +- src/vma/libvma.c | 2 +- src/vma/lwip/cc.c | 2 +- src/vma/lwip/cc.h | 2 +- src/vma/lwip/cc_cubic.c | 2 +- src/vma/lwip/cc_cubic.h | 2 +- src/vma/lwip/cc_lwip.c | 2 +- src/vma/lwip/cc_none.c | 2 +- src/vma/main.cpp | 2 +- src/vma/main.h | 2 +- src/vma/netlink/link_info.cpp | 2 +- src/vma/netlink/link_info.h | 2 +- src/vma/netlink/neigh_info.cpp | 2 +- src/vma/netlink/neigh_info.h | 2 +- src/vma/netlink/netlink_compatibility.cpp | 2 +- src/vma/netlink/netlink_compatibility.h | 2 +- src/vma/netlink/netlink_wrapper.cpp | 2 +- src/vma/netlink/netlink_wrapper.h | 2 +- src/vma/netlink/route_info.cpp | 2 +- src/vma/netlink/route_info.h | 2 +- src/vma/netlink/test_main.cpp | 2 +- src/vma/proto/L2_address.cpp | 2 +- src/vma/proto/L2_address.h | 2 +- src/vma/proto/arp.cpp | 2 +- src/vma/proto/arp.h | 2 +- src/vma/proto/dst_entry.cpp | 2 +- src/vma/proto/dst_entry.h | 2 +- src/vma/proto/dst_entry_tcp.cpp | 2 +- src/vma/proto/dst_entry_tcp.h | 2 +- src/vma/proto/dst_entry_udp.cpp | 2 +- src/vma/proto/dst_entry_udp.h | 2 +- src/vma/proto/dst_entry_udp_mc.cpp | 2 +- src/vma/proto/dst_entry_udp_mc.h | 2 +- src/vma/proto/flow_tuple.cpp | 2 +- src/vma/proto/flow_tuple.h | 2 +- src/vma/proto/header.cpp | 2 +- src/vma/proto/header.h | 2 +- src/vma/proto/igmp_handler.cpp | 2 +- src/vma/proto/igmp_handler.h | 2 +- src/vma/proto/igmp_mgr.cpp | 2 +- src/vma/proto/igmp_mgr.h | 2 +- src/vma/proto/ip_address.h | 2 +- src/vma/proto/ip_frag.cpp | 2 +- src/vma/proto/ip_frag.h | 2 +- src/vma/proto/mem_buf_desc.h | 2 +- src/vma/proto/neighbour.cpp | 2 +- src/vma/proto/neighbour.h | 2 +- src/vma/proto/neighbour_observer.h | 2 +- src/vma/proto/neighbour_table_mgr.cpp | 2 +- src/vma/proto/neighbour_table_mgr.h | 2 +- src/vma/proto/netlink_socket_mgr.h | 2 +- src/vma/proto/peer_key.h | 2 +- src/vma/proto/route_entry.cpp | 2 +- src/vma/proto/route_entry.h | 2 +- src/vma/proto/route_rule_table_key.h | 2 +- src/vma/proto/route_table_mgr.cpp | 2 +- src/vma/proto/route_table_mgr.h | 2 +- src/vma/proto/route_val.cpp | 2 +- src/vma/proto/route_val.h | 2 +- src/vma/proto/rule_entry.cpp | 2 +- src/vma/proto/rule_entry.h | 2 +- src/vma/proto/rule_table_mgr.cpp | 2 +- src/vma/proto/rule_table_mgr.h | 2 +- src/vma/proto/rule_val.cpp | 2 +- src/vma/proto/rule_val.h | 2 +- src/vma/proto/vma_lwip.cpp | 2 +- src/vma/proto/vma_lwip.h | 2 +- src/vma/sock/cleanable_obj.h | 2 +- src/vma/sock/fd_collection.cpp | 2 +- src/vma/sock/fd_collection.h | 2 +- src/vma/sock/pipeinfo.cpp | 2 +- src/vma/sock/pipeinfo.h | 2 +- src/vma/sock/pkt_rcvr_sink.h | 2 +- src/vma/sock/pkt_sndr_source.h | 2 +- src/vma/sock/sock-redirect.cpp | 2 +- src/vma/sock/sock-redirect.h | 2 +- src/vma/sock/socket_fd_api.cpp | 2 +- src/vma/sock/socket_fd_api.h | 2 +- src/vma/sock/sockinfo.cpp | 2 +- src/vma/sock/sockinfo.h | 2 +- src/vma/sock/sockinfo_tcp.cpp | 2 +- src/vma/sock/sockinfo_tcp.h | 2 +- src/vma/sock/sockinfo_udp.cpp | 2 +- src/vma/sock/sockinfo_udp.h | 2 +- src/vma/util/agent.cpp | 2 +- src/vma/util/agent.h | 2 +- src/vma/util/agent_def.h | 2 +- src/vma/util/chunk_list.h | 2 +- src/vma/util/config_parser.y | 2 +- src/vma/util/config_scanner.l | 2 +- src/vma/util/data_updater.cpp | 2 +- src/vma/util/data_updater.h | 2 +- src/vma/util/hash_map.h | 2 +- src/vma/util/hash_map.inl | 2 +- src/vma/util/if.h | 2 +- src/vma/util/instrumentation.cpp | 2 +- src/vma/util/instrumentation.h | 2 +- src/vma/util/libvma.h | 2 +- src/vma/util/match.cpp | 2 +- src/vma/util/sg_array.h | 2 +- src/vma/util/sock_addr.h | 2 +- src/vma/util/sys_vars.cpp | 2 +- src/vma/util/sys_vars.h | 2 +- src/vma/util/sysctl_reader.h | 2 +- src/vma/util/to_str.h | 2 +- src/vma/util/utils.cpp | 2 +- src/vma/util/utils.h | 2 +- src/vma/util/valgrind.h | 2 +- src/vma/util/vma_list.h | 2 +- src/vma/util/vma_stats.h | 2 +- src/vma/util/vtypes.h | 2 +- src/vma/util/wakeup.cpp | 2 +- src/vma/util/wakeup.h | 2 +- src/vma/util/wakeup_pipe.cpp | 2 +- src/vma/util/wakeup_pipe.h | 2 +- src/vma/vma_extra.h | 2 +- tests/api-support-check.py | 2 +- tests/async-echo-client/async-echo-client.py | 2 +- tests/async-echo-client/echo-server.py | 2 +- tests/async-echo-client/syncronized-echo-client.py | 2 +- tests/benchmarking_test/Accelerators_Benchmarking.sh | 2 +- tests/bindtodevice/client.py | 2 +- tests/connect-disconnect/client.py | 2 +- tests/extra_api_tests/socketxtreme/server_tcp.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/client.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/client.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/main.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/server.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/server.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/types.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/utils.c | 2 +- tests/functionality/getsockname_test.c | 2 +- tests/functionality/iomux/1epoll_1socket_twice.c | 2 +- tests/functionality/iomux/2epoll_1socket.c | 2 +- tests/functionality/iomux/client.py | 4 ++-- tests/functionality/iomux/eclient.py | 4 ++-- tests/functionality/iomux/eserver.py | 4 ++-- tests/functionality/iomux/pclient.py | 2 +- tests/functionality/iomux/pserver.py | 2 +- tests/functionality/iomux/server.py | 2 +- tests/gtest/common/base.cc | 2 +- tests/gtest/common/base.h | 2 +- tests/gtest/common/cmn.h | 2 +- tests/gtest/common/def.h | 2 +- tests/gtest/common/log.h | 2 +- tests/gtest/common/sys.cc | 2 +- tests/gtest/common/sys.h | 2 +- tests/gtest/main.cc | 2 +- tests/gtest/mix/mix_base.cc | 2 +- tests/gtest/mix/mix_base.h | 2 +- tests/gtest/mix/mix_list.cc | 2 +- tests/gtest/mix/sg_array.cc | 2 +- tests/gtest/sock/sock_base.cc | 2 +- tests/gtest/sock/sock_base.h | 2 +- tests/gtest/sock/sock_socket.cc | 2 +- tests/gtest/tcp/tcp_base.cc | 2 +- tests/gtest/tcp/tcp_base.h | 2 +- tests/gtest/tcp/tcp_bind.cc | 2 +- tests/gtest/tcp/tcp_connect.cc | 2 +- tests/gtest/tcp/tcp_connect_nb.cc | 2 +- tests/gtest/tcp/tcp_event.cc | 2 +- tests/gtest/tcp/tcp_send.cc | 2 +- tests/gtest/tcp/tcp_send_zc.cc | 2 +- tests/gtest/tcp/tcp_sendfile.cc | 2 +- tests/gtest/tcp/tcp_sendto.cc | 2 +- tests/gtest/tcp/tcp_socket.cc | 2 +- tests/gtest/tcp/tcp_sockopt.cc | 2 +- tests/gtest/tcp/tcp_tls.cc | 2 +- tests/gtest/udp/udp_base.cc | 2 +- tests/gtest/udp/udp_base.h | 2 +- tests/gtest/udp/udp_bind.cc | 2 +- tests/gtest/udp/udp_connect.cc | 2 +- tests/gtest/udp/udp_send.cc | 2 +- tests/gtest/udp/udp_sendto.cc | 2 +- tests/gtest/vma/vma_base.cc | 2 +- tests/gtest/vma/vma_base.h | 2 +- tests/gtest/vma/vma_poll.cc | 2 +- tests/gtest/vma/vma_recvfrom_zcopy.cc | 2 +- tests/gtest/vma/vma_ring.cc | 2 +- tests/gtest/vma/vma_sockopt.cc | 2 +- tests/gtest/vmad/vmad_base.cc | 2 +- tests/gtest/vmad/vmad_base.h | 2 +- tests/gtest/vmad/vmad_bitmap.cc | 2 +- tests/gtest/vmad/vmad_flow.cc | 2 +- tests/gtest/vmad/vmad_hash.cc | 2 +- tests/gtest/vmad/vmad_init.cc | 2 +- tests/gtest/vmad/vmad_state.cc | 2 +- tests/latency_test/tcp_lat.cpp | 2 +- tests/latency_test/udp_lat.c | 2 +- tests/listen/tcp_client.py | 2 +- tests/listen/tcp_server.py | 2 +- tests/low_pps_tcp_send_test/exchange.cpp | 2 +- tests/low_pps_tcp_send_test/trader.cpp | 2 +- tests/mc_loop_test/mc_loop_test.c | 2 +- tests/multithread_test/exchange.cpp | 2 +- tests/multithread_test/trader.cpp | 2 +- tests/pps_test/pps_test.c | 2 +- .../server_socket_receive_and_recreate_loop.py | 2 +- tests/resource_release_checker/server_socket_recreate_loop.py | 2 +- tests/reuse_ud_test.c | 2 +- tests/select_t1.c | 2 +- tests/server_test/client.cc | 2 +- tests/server_test/client.h | 2 +- tests/server_test/main.cc | 2 +- tests/server_test/options.cc | 2 +- tests/server_test/options.h | 2 +- tests/server_test/server.cc | 2 +- tests/server_test/server.h | 2 +- tests/server_test/vtime.cc | 2 +- tests/server_test/vtime.h | 2 +- tests/simple_fork/fork.py | 2 +- tests/tcp_window_size_exerciser/Makefile | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test.h | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test_client.c | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test_server.c | 2 +- tests/testbed/testbed.c | 2 +- tests/throughput_test/bandwidth_test.c | 2 +- tests/timetest/timetest.cpp | 2 +- tests/vma_perf_envelope/vma_multiplexers_test.sh | 2 +- tests/vma_perf_envelope/vma_perf_envelope.sh | 2 +- tools/daemon/bitmap.h | 2 +- tools/daemon/daemon.c | 2 +- tools/daemon/daemon.h | 2 +- tools/daemon/flow.c | 2 +- tools/daemon/hash.c | 2 +- tools/daemon/hash.h | 2 +- tools/daemon/loop.c | 2 +- tools/daemon/message.c | 2 +- tools/daemon/nl.c | 2 +- tools/daemon/nl.h | 2 +- tools/daemon/notify.c | 2 +- tools/daemon/store.c | 2 +- tools/daemon/tc.c | 2 +- tools/daemon/tc.h | 2 +- 378 files changed, 382 insertions(+), 382 deletions(-) diff --git a/COPYING b/COPYING index 29f48021a..13acd22a8 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -SPDX-FileCopyrightText: Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: GPL-2.0-only GNU GENERAL PUBLIC LICENSE diff --git a/LICENSE b/LICENSE index af1ed7574..7f1319e5d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4 index ec6340bd4..7bc1d79f4 100644 --- a/config/m4/compiler.m4 +++ b/config/m4/compiler.m4 @@ -1,6 +1,6 @@ # compiler.m4 - Configure compiler capabilities # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/func.m4 b/config/m4/func.m4 index e431f657e..86dbca696 100644 --- a/config/m4/func.m4 +++ b/config/m4/func.m4 @@ -1,6 +1,6 @@ # func.m4 - Collection of functions # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/nl.m4 b/config/m4/nl.m4 index 5384960e4..56c0fe19c 100644 --- a/config/m4/nl.m4 +++ b/config/m4/nl.m4 @@ -1,6 +1,6 @@ # nl.m4 - Detect nl package # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/opt.m4 b/config/m4/opt.m4 index 78ae62c7d..81ab5b425 100644 --- a/config/m4/opt.m4 +++ b/config/m4/opt.m4 @@ -1,6 +1,6 @@ # opt.m4 - Macros to control optimization # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/prof.m4 b/config/m4/prof.m4 index f8da738fd..1d925384c 100644 --- a/config/m4/prof.m4 +++ b/config/m4/prof.m4 @@ -1,6 +1,6 @@ # prof.m4 - Profiling, instrumentation # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # @@ -249,4 +249,4 @@ AS_IF([test "x$with_rdtsc_receivefrom_to_sendto" == xyes], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])] ) -]) \ No newline at end of file +]) diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index 59f0e9f75..a5d46afd2 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -1,6 +1,6 @@ # verbs.m4 - Parsing verbs capabilities # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/contrib/scripts/vma.init.in b/contrib/scripts/vma.init.in index 0d27194b9..ff31b35d8 100644 --- a/contrib/scripts/vma.init.in +++ b/contrib/scripts/vma.init.in @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright © 2001-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. +# Copyright © 2001-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/contrib/test_jenkins.sh b/contrib/test_jenkins.sh index 6a271dc00..b8371a3f0 100755 --- a/contrib/test_jenkins.sh +++ b/contrib/test_jenkins.sh @@ -2,7 +2,7 @@ # # Testing script for VMA, to run from Jenkins CI # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # See file LICENSE for terms. # diff --git a/debian/copyright b/debian/copyright index aea9c3d8c..fa7ec5553 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: libvma Source: https://github.com/Mellanox/libvma Files: * -Copyright: 2001-2023 NVIDIA CORPORATION & AFFILIATES. +Copyright: 2001-2024 NVIDIA CORPORATION & AFFILIATES. License: GPL-2 or BSD * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/main.cpp b/src/state_machine/main.cpp index a82cddeff..85957c4df 100644 --- a/src/state_machine/main.cpp +++ b/src/state_machine/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm.cpp b/src/state_machine/sm.cpp index 4c353c2e0..b750e1780 100644 --- a/src/state_machine/sm.cpp +++ b/src/state_machine/sm.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm.h b/src/state_machine/sm.h index 166fbd0d5..7fe8a0a9d 100644 --- a/src/state_machine/sm.h +++ b/src/state_machine/sm.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm_fifo.cpp b/src/state_machine/sm_fifo.cpp index fa30266a3..23ac7b202 100644 --- a/src/state_machine/sm_fifo.cpp +++ b/src/state_machine/sm_fifo.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm_fifo.h b/src/state_machine/sm_fifo.h index 9c00c1d1b..42b5741bf 100644 --- a/src/state_machine/sm_fifo.h +++ b/src/state_machine/sm_fifo.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_data_reader.h b/src/stats/stats_data_reader.h index cae9c4877..9b903bf07 100644 --- a/src/stats/stats_data_reader.h +++ b/src/stats/stats_data_reader.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_printer.cpp b/src/stats/stats_printer.cpp index e98c54676..d2b62d5e1 100644 --- a/src/stats/stats_printer.cpp +++ b/src/stats/stats_printer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_publisher.cpp b/src/stats/stats_publisher.cpp index 400a48a78..11be6d504 100644 --- a/src/stats/stats_publisher.cpp +++ b/src/stats/stats_publisher.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index 4704b9341..110ec2ffb 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-arm64.h b/src/utils/asm-arm64.h index c78835337..1c51d190e 100644 --- a/src/utils/asm-arm64.h +++ b/src/utils/asm-arm64.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-ppc64.h b/src/utils/asm-ppc64.h index bc7d3e78d..9c92be3f4 100644 --- a/src/utils/asm-ppc64.h +++ b/src/utils/asm-ppc64.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-x86.h b/src/utils/asm-x86.h index d7ee4540a..ffc34f0be 100644 --- a/src/utils/asm-x86.h +++ b/src/utils/asm-x86.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm.h b/src/utils/asm.h index 12b9e4815..348faff1c 100644 --- a/src/utils/asm.h +++ b/src/utils/asm.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/atomic.h b/src/utils/atomic.h index 4b4768149..379f790b0 100644 --- a/src/utils/atomic.h +++ b/src/utils/atomic.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/bullseye.h b/src/utils/bullseye.h index d812a4d4e..787690bf3 100644 --- a/src/utils/bullseye.h +++ b/src/utils/bullseye.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/clock.h b/src/utils/clock.h index b2d325c6d..e38e13579 100644 --- a/src/utils/clock.h +++ b/src/utils/clock.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/compiler.h b/src/utils/compiler.h index 77a4b38f6..abf167075 100644 --- a/src/utils/compiler.h +++ b/src/utils/compiler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/lock_wrapper.h b/src/utils/lock_wrapper.h index 970413abb..413e0ab70 100644 --- a/src/utils/lock_wrapper.h +++ b/src/utils/lock_wrapper.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/rdtsc.h b/src/utils/rdtsc.h index 6004162ae..a2bc99b95 100644 --- a/src/utils/rdtsc.h +++ b/src/utils/rdtsc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/types.h b/src/utils/types.h index 376756eba..50803ae7a 100644 --- a/src/utils/types.h +++ b/src/utils/types.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/main.cpp b/src/vlogger/main.cpp index b7da24ba2..f2c0bc2f8 100644 --- a/src/vlogger/main.cpp +++ b/src/vlogger/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/vlogger.cpp b/src/vlogger/vlogger.cpp index b9ba1d2da..161c524d9 100644 --- a/src/vlogger/vlogger.cpp +++ b/src/vlogger/vlogger.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/vlogger.h b/src/vlogger/vlogger.h index 1492eb1ae..b7b152b90 100644 --- a/src/vlogger/vlogger.h +++ b/src/vlogger/vlogger.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/config_scanner.c b/src/vma/config_scanner.c index 7063e2f9c..7ad21e2de 100644 --- a/src/vma/config_scanner.c +++ b/src/vma/config_scanner.c @@ -756,7 +756,7 @@ int libvma_yy_flex_debug = 0; char *libvma_yytext; /* Line 1 of config_scanner.l */ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index b97b0f44e..a8ca863d3 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/allocator.h b/src/vma/dev/allocator.h index 4d38733cd..fe2dec7eb 100644 --- a/src/vma/dev/allocator.h +++ b/src/vma/dev/allocator.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index b73306945..95ad4c367 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/buffer_pool.h b/src/vma/dev/buffer_pool.h index 9773cd76a..c46867504 100644 --- a/src/vma/dev/buffer_pool.h +++ b/src/vma/dev/buffer_pool.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.cpp b/src/vma/dev/cq_mgr.cpp index 29b34197c..883640b0e 100644 --- a/src/vma/dev/cq_mgr.cpp +++ b/src/vma/dev/cq_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.h b/src/vma/dev/cq_mgr.h index 26ed99373..208903c9b 100644 --- a/src/vma/dev/cq_mgr.h +++ b/src/vma/dev/cq_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.inl b/src/vma/dev/cq_mgr.inl index 6873ff279..25228b95b 100644 --- a/src/vma/dev/cq_mgr.inl +++ b/src/vma/dev/cq_mgr.inl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index de7e260d2..2ab88b9ca 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.h b/src/vma/dev/cq_mgr_mlx5.h index 39a3bb6ee..a7463eab9 100644 --- a/src/vma/dev/cq_mgr_mlx5.h +++ b/src/vma/dev/cq_mgr_mlx5.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.inl b/src/vma/dev/cq_mgr_mlx5.inl index 629cd1cf3..6f34d8bda 100644 --- a/src/vma/dev/cq_mgr_mlx5.inl +++ b/src/vma/dev/cq_mgr_mlx5.inl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/dm_mgr.cpp b/src/vma/dev/dm_mgr.cpp index 098a8a945..1f5b7f2e4 100644 --- a/src/vma/dev/dm_mgr.cpp +++ b/src/vma/dev/dm_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/dm_mgr.h b/src/vma/dev/dm_mgr.h index cff116e37..b6b541988 100644 --- a/src/vma/dev/dm_mgr.h +++ b/src/vma/dev/dm_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/gro_mgr.cpp b/src/vma/dev/gro_mgr.cpp index 04f82b0a3..930913e3e 100644 --- a/src/vma/dev/gro_mgr.cpp +++ b/src/vma/dev/gro_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/gro_mgr.h b/src/vma/dev/gro_mgr.h index 304f0de6e..8ec9d3be1 100644 --- a/src/vma/dev/gro_mgr.h +++ b/src/vma/dev/gro_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 0df33cd9d..88c6a39b0 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index 52f4222f6..4ad61f082 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler_collection.cpp b/src/vma/dev/ib_ctx_handler_collection.cpp index 61c34f0d7..543d2e5ba 100644 --- a/src/vma/dev/ib_ctx_handler_collection.cpp +++ b/src/vma/dev/ib_ctx_handler_collection.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler_collection.h b/src/vma/dev/ib_ctx_handler_collection.h index 189ccc0bd..40bdc2f55 100644 --- a/src/vma/dev/ib_ctx_handler_collection.h +++ b/src/vma/dev/ib_ctx_handler_collection.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_entry.cpp b/src/vma/dev/net_device_entry.cpp index 585157ac5..67f10622f 100644 --- a/src/vma/dev/net_device_entry.cpp +++ b/src/vma/dev/net_device_entry.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_entry.h b/src/vma/dev/net_device_entry.h index b8867aff4..d68212657 100644 --- a/src/vma/dev/net_device_entry.h +++ b/src/vma/dev/net_device_entry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index 2962b5ad6..79c27ace1 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_table_mgr.h b/src/vma/dev/net_device_table_mgr.h index 717d0b8e7..dcac7b5e6 100644 --- a/src/vma/dev/net_device_table_mgr.h +++ b/src/vma/dev/net_device_table_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index 3a386f731..89b832d11 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_val.h b/src/vma/dev/net_device_val.h index 334461e51..7d1b3c00e 100644 --- a/src/vma/dev/net_device_val.h +++ b/src/vma/dev/net_device_val.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index 316bb0a67..7d09ddd41 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index a4c5bf7af..4d39181a5 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index ae319435a..9fb5d898b 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_direct.h b/src/vma/dev/qp_mgr_eth_direct.h index a9119a6f2..641b6ae48 100644 --- a/src/vma/dev/qp_mgr_eth_direct.h +++ b/src/vma/dev/qp_mgr_eth_direct.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index c4e20bb38..c2abb563f 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index f7d4fa9c9..88877f375 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs.cpp b/src/vma/dev/rfs.cpp index d1de4b29d..14f2b6a77 100644 --- a/src/vma/dev/rfs.cpp +++ b/src/vma/dev/rfs.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs.h b/src/vma/dev/rfs.h index 62bfd8e1d..2e0670e82 100644 --- a/src/vma/dev/rfs.h +++ b/src/vma/dev/rfs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_mc.cpp b/src/vma/dev/rfs_mc.cpp index 4d488beac..fe90e805d 100644 --- a/src/vma/dev/rfs_mc.cpp +++ b/src/vma/dev/rfs_mc.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_mc.h b/src/vma/dev/rfs_mc.h index df12b458c..bed583300 100644 --- a/src/vma/dev/rfs_mc.h +++ b/src/vma/dev/rfs_mc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc.cpp b/src/vma/dev/rfs_uc.cpp index dfd24fdca..eceb28d3e 100644 --- a/src/vma/dev/rfs_uc.cpp +++ b/src/vma/dev/rfs_uc.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc.h b/src/vma/dev/rfs_uc.h index 08dcffb5d..3ae9d1fc2 100644 --- a/src/vma/dev/rfs_uc.h +++ b/src/vma/dev/rfs_uc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc_tcp_gro.cpp b/src/vma/dev/rfs_uc_tcp_gro.cpp index 87a546dbb..fa50b3027 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.cpp +++ b/src/vma/dev/rfs_uc_tcp_gro.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc_tcp_gro.h b/src/vma/dev/rfs_uc_tcp_gro.h index 5054a36fc..2a3186659 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.h +++ b/src/vma/dev/rfs_uc_tcp_gro.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring.cpp b/src/vma/dev/ring.cpp index ddf7e592f..2cbd247a3 100644 --- a/src/vma/dev/ring.cpp +++ b/src/vma/dev/ring.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring.h b/src/vma/dev/ring.h index ca4872649..a773f6c5f 100644 --- a/src/vma/dev/ring.h +++ b/src/vma/dev/ring.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_allocation_logic.cpp b/src/vma/dev/ring_allocation_logic.cpp index cc814590d..a84a63660 100644 --- a/src/vma/dev/ring_allocation_logic.cpp +++ b/src/vma/dev/ring_allocation_logic.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_allocation_logic.h b/src/vma/dev/ring_allocation_logic.h index 3471aeb08..525942d36 100644 --- a/src/vma/dev/ring_allocation_logic.h +++ b/src/vma/dev/ring_allocation_logic.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index 75af0283c..b12aef223 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index 3853658a6..da7c03114 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_eth_direct.cpp b/src/vma/dev/ring_eth_direct.cpp index ae51cebb8..012d599d5 100644 --- a/src/vma/dev/ring_eth_direct.cpp +++ b/src/vma/dev/ring_eth_direct.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_eth_direct.h b/src/vma/dev/ring_eth_direct.h index 08ece02e2..6f7faaabc 100644 --- a/src/vma/dev/ring_eth_direct.h +++ b/src/vma/dev/ring_eth_direct.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_profile.cpp b/src/vma/dev/ring_profile.cpp index 30bdb0599..ef69b326c 100644 --- a/src/vma/dev/ring_profile.cpp +++ b/src/vma/dev/ring_profile.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_profile.h b/src/vma/dev/ring_profile.h index 54a52a593..706cc9148 100644 --- a/src/vma/dev/ring_profile.h +++ b/src/vma/dev/ring_profile.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index 50df91a5b..c6892db2d 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index 5d72f29a0..e68ecaaa6 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_slave.cpp b/src/vma/dev/ring_slave.cpp index e69aa3be6..0f5d39f23 100644 --- a/src/vma/dev/ring_slave.cpp +++ b/src/vma/dev/ring_slave.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_slave.h b/src/vma/dev/ring_slave.h index af9293ff3..cf4691837 100644 --- a/src/vma/dev/ring_slave.h +++ b/src/vma/dev/ring_slave.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index a9416c61e..69c1e0981 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index 691367b99..4359f118b 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter.cpp b/src/vma/dev/time_converter.cpp index c60be2c03..dac5ee3ca 100644 --- a/src/vma/dev/time_converter.cpp +++ b/src/vma/dev/time_converter.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter.h b/src/vma/dev/time_converter.h index 5618e967b..b4d2ef343 100644 --- a/src/vma/dev/time_converter.h +++ b/src/vma/dev/time_converter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ib_ctx.cpp b/src/vma/dev/time_converter_ib_ctx.cpp index c7ace8d4d..cdfc6c571 100644 --- a/src/vma/dev/time_converter_ib_ctx.cpp +++ b/src/vma/dev/time_converter_ib_ctx.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ib_ctx.h b/src/vma/dev/time_converter_ib_ctx.h index e06695cdc..30f1704e8 100644 --- a/src/vma/dev/time_converter_ib_ctx.h +++ b/src/vma/dev/time_converter_ib_ctx.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ptp.cpp b/src/vma/dev/time_converter_ptp.cpp index eb60bf3d9..05b26f66e 100644 --- a/src/vma/dev/time_converter_ptp.cpp +++ b/src/vma/dev/time_converter_ptp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ptp.h b/src/vma/dev/time_converter_ptp.h index 21b7dd657..20827abaf 100644 --- a/src/vma/dev/time_converter_ptp.h +++ b/src/vma/dev/time_converter_ptp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_handler.cpp b/src/vma/dev/wqe_send_handler.cpp index b833468a5..0d0794cdf 100644 --- a/src/vma/dev/wqe_send_handler.cpp +++ b/src/vma/dev/wqe_send_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_handler.h b/src/vma/dev/wqe_send_handler.h index bb1d3ec7a..1f60ba009 100644 --- a/src/vma/dev/wqe_send_handler.h +++ b/src/vma/dev/wqe_send_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_ib_handler.cpp b/src/vma/dev/wqe_send_ib_handler.cpp index 6ed6a7993..935bde1e1 100644 --- a/src/vma/dev/wqe_send_ib_handler.cpp +++ b/src/vma/dev/wqe_send_ib_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_ib_handler.h b/src/vma/dev/wqe_send_ib_handler.h index 79ceb76dc..215bee8dc 100644 --- a/src/vma/dev/wqe_send_ib_handler.h +++ b/src/vma/dev/wqe_send_ib_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/command.h b/src/vma/event/command.h index 560cbc208..c64be00f3 100644 --- a/src/vma/event/command.h +++ b/src/vma/event/command.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/delta_timer.cpp b/src/vma/event/delta_timer.cpp index 615e8f920..eecb6e45f 100644 --- a/src/vma/event/delta_timer.cpp +++ b/src/vma/event/delta_timer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/delta_timer.h b/src/vma/event/delta_timer.h index 743956fbf..8132b2b88 100644 --- a/src/vma/event/delta_timer.h +++ b/src/vma/event/delta_timer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event.h b/src/vma/event/event.h index 7eb9496ec..4acda697d 100644 --- a/src/vma/event/event.h +++ b/src/vma/event/event.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_ibverbs.h b/src/vma/event/event_handler_ibverbs.h index 972e125bd..44b4533af 100644 --- a/src/vma/event/event_handler_ibverbs.h +++ b/src/vma/event/event_handler_ibverbs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index a32a71ea2..293618e62 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_manager.h b/src/vma/event/event_handler_manager.h index f07f817f3..7d8bb8396 100644 --- a/src/vma/event/event_handler_manager.h +++ b/src/vma/event/event_handler_manager.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_rdma_cm.h b/src/vma/event/event_handler_rdma_cm.h index 88a3b40a5..91e08551b 100644 --- a/src/vma/event/event_handler_rdma_cm.h +++ b/src/vma/event/event_handler_rdma_cm.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/netlink_event.cpp b/src/vma/event/netlink_event.cpp index 72bceda44..9aa52e90a 100644 --- a/src/vma/event/netlink_event.cpp +++ b/src/vma/event/netlink_event.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/netlink_event.h b/src/vma/event/netlink_event.h index 34cb7459c..16c75e541 100644 --- a/src/vma/event/netlink_event.h +++ b/src/vma/event/netlink_event.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/timer_handler.h b/src/vma/event/timer_handler.h index 9433e05f2..772b5caff 100644 --- a/src/vma/event/timer_handler.h +++ b/src/vma/event/timer_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/timers_group.h b/src/vma/event/timers_group.h index 60f5dce69..ec9e623f6 100644 --- a/src/vma/event/timers_group.h +++ b/src/vma/event/timers_group.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/vlogger_timer_handler.cpp b/src/vma/event/vlogger_timer_handler.cpp index 81f6e86e3..df1032038 100644 --- a/src/vma/event/vlogger_timer_handler.cpp +++ b/src/vma/event/vlogger_timer_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/vlogger_timer_handler.h b/src/vma/event/vlogger_timer_handler.h index 735570c14..3b64bea83 100644 --- a/src/vma/event/vlogger_timer_handler.h +++ b/src/vma/event/vlogger_timer_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index 606778b75..d226b31dd 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index 3075e7201..40758bfea 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5.cpp b/src/vma/ib/mlx5/ib_mlx5.cpp index b9dbbe4cb..b270685a8 100644 --- a/src/vma/ib/mlx5/ib_mlx5.cpp +++ b/src/vma/ib/mlx5/ib_mlx5.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5.h b/src/vma/ib/mlx5/ib_mlx5.h index 3ea3d1d2c..8cc93de3d 100644 --- a/src/vma/ib/mlx5/ib_mlx5.h +++ b/src/vma/ib/mlx5/ib_mlx5.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.cpp b/src/vma/ib/mlx5/ib_mlx5_dv.cpp index b31f6b108..0f54e8f54 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_dv.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.h b/src/vma/ib/mlx5/ib_mlx5_dv.h index fabbdb82e..1d89672e0 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.h +++ b/src/vma/ib/mlx5/ib_mlx5_dv.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.cpp b/src/vma/ib/mlx5/ib_mlx5_hw.cpp index 035061408..d617f6c50 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_hw.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.h b/src/vma/ib/mlx5/ib_mlx5_hw.h index ca4cc1339..bdf5a25d1 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.h +++ b/src/vma/ib/mlx5/ib_mlx5_hw.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoCollMgr.cpp b/src/vma/infra/DemoCollMgr.cpp index 055a865fc..776a4dc19 100644 --- a/src/vma/infra/DemoCollMgr.cpp +++ b/src/vma/infra/DemoCollMgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoCollMgr.h b/src/vma/infra/DemoCollMgr.h index 968c6e946..2ddf4e7e5 100644 --- a/src/vma/infra/DemoCollMgr.h +++ b/src/vma/infra/DemoCollMgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoObserver.cpp b/src/vma/infra/DemoObserver.cpp index 2b865063a..662f8fae8 100644 --- a/src/vma/infra/DemoObserver.cpp +++ b/src/vma/infra/DemoObserver.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoObserver.h b/src/vma/infra/DemoObserver.h index 12cbe30bf..e00aa8d2a 100644 --- a/src/vma/infra/DemoObserver.h +++ b/src/vma/infra/DemoObserver.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoSubject.cpp b/src/vma/infra/DemoSubject.cpp index 51e65ad9d..d64fc375e 100644 --- a/src/vma/infra/DemoSubject.cpp +++ b/src/vma/infra/DemoSubject.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoSubject.h b/src/vma/infra/DemoSubject.h index 705f8bdaf..fd297f4ed 100644 --- a/src/vma/infra/DemoSubject.h +++ b/src/vma/infra/DemoSubject.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/cache_subject_observer.h b/src/vma/infra/cache_subject_observer.h index 4c87ed2e1..c59420ea9 100644 --- a/src/vma/infra/cache_subject_observer.h +++ b/src/vma/infra/cache_subject_observer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/main.cpp b/src/vma/infra/main.cpp index dfada7ed8..92a457c13 100644 --- a/src/vma/infra/main.cpp +++ b/src/vma/infra/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender.cpp b/src/vma/infra/sender.cpp index f5e5d9488..ae616d5b7 100644 --- a/src/vma/infra/sender.cpp +++ b/src/vma/infra/sender.cpp @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender.h b/src/vma/infra/sender.h index fbf7952a2..99f36acc6 100644 --- a/src/vma/infra/sender.h +++ b/src/vma/infra/sender.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender_info_dst.cpp b/src/vma/infra/sender_info_dst.cpp index cd31f985c..41847c502 100644 --- a/src/vma/infra/sender_info_dst.cpp +++ b/src/vma/infra/sender_info_dst.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender_info_dst.h b/src/vma/infra/sender_info_dst.h index 9392dba2b..c6ce5b8d3 100644 --- a/src/vma/infra/sender_info_dst.h +++ b/src/vma/infra/sender_info_dst.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/subject_observer.cpp b/src/vma/infra/subject_observer.cpp index 7bf159474..21ee66dad 100644 --- a/src/vma/infra/subject_observer.cpp +++ b/src/vma/infra/subject_observer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/subject_observer.h b/src/vma/infra/subject_observer.h index 235e14ce6..44cfcdfbb 100644 --- a/src/vma/infra/subject_observer.h +++ b/src/vma/infra/subject_observer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epfd_info.cpp b/src/vma/iomux/epfd_info.cpp index df4c6fd97..d491403cb 100644 --- a/src/vma/iomux/epfd_info.cpp +++ b/src/vma/iomux/epfd_info.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epfd_info.h b/src/vma/iomux/epfd_info.h index 7a10ba7f7..9f2379d23 100644 --- a/src/vma/iomux/epfd_info.h +++ b/src/vma/iomux/epfd_info.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epoll_wait_call.cpp b/src/vma/iomux/epoll_wait_call.cpp index 980b46cf3..259dc0515 100644 --- a/src/vma/iomux/epoll_wait_call.cpp +++ b/src/vma/iomux/epoll_wait_call.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epoll_wait_call.h b/src/vma/iomux/epoll_wait_call.h index dc4b726fb..5e716aa06 100644 --- a/src/vma/iomux/epoll_wait_call.h +++ b/src/vma/iomux/epoll_wait_call.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/io_mux_call.cpp b/src/vma/iomux/io_mux_call.cpp index 618e1518b..93619382d 100644 --- a/src/vma/iomux/io_mux_call.cpp +++ b/src/vma/iomux/io_mux_call.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/io_mux_call.h b/src/vma/iomux/io_mux_call.h index f1bd087c0..0e02dbf51 100644 --- a/src/vma/iomux/io_mux_call.h +++ b/src/vma/iomux/io_mux_call.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/poll_call.cpp b/src/vma/iomux/poll_call.cpp index 27e946c3d..1860b27ab 100644 --- a/src/vma/iomux/poll_call.cpp +++ b/src/vma/iomux/poll_call.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/poll_call.h b/src/vma/iomux/poll_call.h index 8e944bd9e..1d5275fea 100644 --- a/src/vma/iomux/poll_call.h +++ b/src/vma/iomux/poll_call.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/select_call.cpp b/src/vma/iomux/select_call.cpp index 0207ab966..0a6e578ee 100644 --- a/src/vma/iomux/select_call.cpp +++ b/src/vma/iomux/select_call.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/select_call.h b/src/vma/iomux/select_call.h index c87c67865..3899d5051 100644 --- a/src/vma/iomux/select_call.h +++ b/src/vma/iomux/select_call.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/libvma.c b/src/vma/libvma.c index b5d5cd9ab..9d860f6c7 100644 --- a/src/vma/libvma.c +++ b/src/vma/libvma.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc.c b/src/vma/lwip/cc.c index c4ac473a8..71b09859f 100644 --- a/src/vma/lwip/cc.c +++ b/src/vma/lwip/cc.c @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc.h b/src/vma/lwip/cc.h index dfc37ed2e..5889f0473 100644 --- a/src/vma/lwip/cc.h +++ b/src/vma/lwip/cc.h @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_cubic.c b/src/vma/lwip/cc_cubic.c index bc2d2fe90..94e0ed47c 100644 --- a/src/vma/lwip/cc_cubic.c +++ b/src/vma/lwip/cc_cubic.c @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_cubic.h b/src/vma/lwip/cc_cubic.h index 95f84efea..bfb3f6600 100644 --- a/src/vma/lwip/cc_cubic.h +++ b/src/vma/lwip/cc_cubic.h @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_lwip.c b/src/vma/lwip/cc_lwip.c index a6daae44c..1784f2519 100644 --- a/src/vma/lwip/cc_lwip.c +++ b/src/vma/lwip/cc_lwip.c @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_none.c b/src/vma/lwip/cc_none.c index eb1e33968..1e969b326 100644 --- a/src/vma/lwip/cc_none.c +++ b/src/vma/lwip/cc_none.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/main.cpp b/src/vma/main.cpp index 74ce206ec..3da25c6ea 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/main.h b/src/vma/main.h index 60e4edd1d..a248d3ff7 100644 --- a/src/vma/main.h +++ b/src/vma/main.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/link_info.cpp b/src/vma/netlink/link_info.cpp index 0d5f11540..02d45cc64 100644 --- a/src/vma/netlink/link_info.cpp +++ b/src/vma/netlink/link_info.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/link_info.h b/src/vma/netlink/link_info.h index 1a37b2707..b10769060 100644 --- a/src/vma/netlink/link_info.h +++ b/src/vma/netlink/link_info.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/neigh_info.cpp b/src/vma/netlink/neigh_info.cpp index b0d42654e..83391b433 100644 --- a/src/vma/netlink/neigh_info.cpp +++ b/src/vma/netlink/neigh_info.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/neigh_info.h b/src/vma/netlink/neigh_info.h index a7af0a1dd..550f38a8e 100644 --- a/src/vma/netlink/neigh_info.h +++ b/src/vma/netlink/neigh_info.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_compatibility.cpp b/src/vma/netlink/netlink_compatibility.cpp index 744ecc9e6..649159a3e 100644 --- a/src/vma/netlink/netlink_compatibility.cpp +++ b/src/vma/netlink/netlink_compatibility.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_compatibility.h b/src/vma/netlink/netlink_compatibility.h index 6fac23355..f50077b02 100644 --- a/src/vma/netlink/netlink_compatibility.h +++ b/src/vma/netlink/netlink_compatibility.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_wrapper.cpp b/src/vma/netlink/netlink_wrapper.cpp index 422d03583..f1c03dc02 100644 --- a/src/vma/netlink/netlink_wrapper.cpp +++ b/src/vma/netlink/netlink_wrapper.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_wrapper.h b/src/vma/netlink/netlink_wrapper.h index ca0970ba2..e289f9610 100644 --- a/src/vma/netlink/netlink_wrapper.h +++ b/src/vma/netlink/netlink_wrapper.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/route_info.cpp b/src/vma/netlink/route_info.cpp index 22214f10f..be62f52f3 100644 --- a/src/vma/netlink/route_info.cpp +++ b/src/vma/netlink/route_info.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/route_info.h b/src/vma/netlink/route_info.h index ee6f42cfc..6127d5f51 100644 --- a/src/vma/netlink/route_info.h +++ b/src/vma/netlink/route_info.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/test_main.cpp b/src/vma/netlink/test_main.cpp index 4e84dbbdf..d7243de33 100644 --- a/src/vma/netlink/test_main.cpp +++ b/src/vma/netlink/test_main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/L2_address.cpp b/src/vma/proto/L2_address.cpp index d051bf447..d20f00a2c 100644 --- a/src/vma/proto/L2_address.cpp +++ b/src/vma/proto/L2_address.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/L2_address.h b/src/vma/proto/L2_address.h index eaf43e242..8d8fb0dbb 100644 --- a/src/vma/proto/L2_address.h +++ b/src/vma/proto/L2_address.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/arp.cpp b/src/vma/proto/arp.cpp index 6d025225a..c23a26cb6 100644 --- a/src/vma/proto/arp.cpp +++ b/src/vma/proto/arp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/arp.h b/src/vma/proto/arp.h index afd4a7aff..219a87d7b 100644 --- a/src/vma/proto/arp.h +++ b/src/vma/proto/arp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index 18ed0e2fe..bccf1ba60 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index 0a649d24b..533edf324 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_tcp.cpp b/src/vma/proto/dst_entry_tcp.cpp index fed70a6c0..39531e15e 100644 --- a/src/vma/proto/dst_entry_tcp.cpp +++ b/src/vma/proto/dst_entry_tcp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_tcp.h b/src/vma/proto/dst_entry_tcp.h index c50851548..c1b209ece 100644 --- a/src/vma/proto/dst_entry_tcp.h +++ b/src/vma/proto/dst_entry_tcp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp.cpp b/src/vma/proto/dst_entry_udp.cpp index 17fd2cf5f..9f8febd19 100644 --- a/src/vma/proto/dst_entry_udp.cpp +++ b/src/vma/proto/dst_entry_udp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp.h b/src/vma/proto/dst_entry_udp.h index 2514d3dfa..fbf603b0a 100644 --- a/src/vma/proto/dst_entry_udp.h +++ b/src/vma/proto/dst_entry_udp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp_mc.cpp b/src/vma/proto/dst_entry_udp_mc.cpp index fd05984bd..044264f34 100644 --- a/src/vma/proto/dst_entry_udp_mc.cpp +++ b/src/vma/proto/dst_entry_udp_mc.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp_mc.h b/src/vma/proto/dst_entry_udp_mc.h index 0a9588f11..690c6a9ce 100644 --- a/src/vma/proto/dst_entry_udp_mc.h +++ b/src/vma/proto/dst_entry_udp_mc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/flow_tuple.cpp b/src/vma/proto/flow_tuple.cpp index 4eb689201..f92c0ca5f 100644 --- a/src/vma/proto/flow_tuple.cpp +++ b/src/vma/proto/flow_tuple.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/flow_tuple.h b/src/vma/proto/flow_tuple.h index fdeabef11..d94b73353 100644 --- a/src/vma/proto/flow_tuple.h +++ b/src/vma/proto/flow_tuple.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/header.cpp b/src/vma/proto/header.cpp index 458a77f8e..21e290a12 100644 --- a/src/vma/proto/header.cpp +++ b/src/vma/proto/header.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/header.h b/src/vma/proto/header.h index 553668e52..57f3dca6c 100644 --- a/src/vma/proto/header.h +++ b/src/vma/proto/header.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_handler.cpp b/src/vma/proto/igmp_handler.cpp index ae3fedd94..949e0762b 100644 --- a/src/vma/proto/igmp_handler.cpp +++ b/src/vma/proto/igmp_handler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_handler.h b/src/vma/proto/igmp_handler.h index e1b212d36..9281bdfab 100644 --- a/src/vma/proto/igmp_handler.h +++ b/src/vma/proto/igmp_handler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_mgr.cpp b/src/vma/proto/igmp_mgr.cpp index bad059055..bff35db8f 100644 --- a/src/vma/proto/igmp_mgr.cpp +++ b/src/vma/proto/igmp_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_mgr.h b/src/vma/proto/igmp_mgr.h index 8e7803a48..2994b493c 100644 --- a/src/vma/proto/igmp_mgr.h +++ b/src/vma/proto/igmp_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_address.h b/src/vma/proto/ip_address.h index 9518eaf87..012956971 100644 --- a/src/vma/proto/ip_address.h +++ b/src/vma/proto/ip_address.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_frag.cpp b/src/vma/proto/ip_frag.cpp index 0147c12d8..c4cb97061 100644 --- a/src/vma/proto/ip_frag.cpp +++ b/src/vma/proto/ip_frag.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_frag.h b/src/vma/proto/ip_frag.h index 1e21e4f93..6395ce518 100644 --- a/src/vma/proto/ip_frag.h +++ b/src/vma/proto/ip_frag.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/mem_buf_desc.h b/src/vma/proto/mem_buf_desc.h index a09c4b684..e55c1f676 100644 --- a/src/vma/proto/mem_buf_desc.h +++ b/src/vma/proto/mem_buf_desc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index 190e64331..d1f0e3a22 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour.h b/src/vma/proto/neighbour.h index 7d5aaa448..60ac90469 100644 --- a/src/vma/proto/neighbour.h +++ b/src/vma/proto/neighbour.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_observer.h b/src/vma/proto/neighbour_observer.h index a101f269c..cac033cbb 100644 --- a/src/vma/proto/neighbour_observer.h +++ b/src/vma/proto/neighbour_observer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_table_mgr.cpp b/src/vma/proto/neighbour_table_mgr.cpp index 0629070d8..ab6e5ea32 100644 --- a/src/vma/proto/neighbour_table_mgr.cpp +++ b/src/vma/proto/neighbour_table_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_table_mgr.h b/src/vma/proto/neighbour_table_mgr.h index 25c1ebcc6..004f0a57f 100644 --- a/src/vma/proto/neighbour_table_mgr.h +++ b/src/vma/proto/neighbour_table_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/netlink_socket_mgr.h b/src/vma/proto/netlink_socket_mgr.h index 85c18ddfb..1e1c978c2 100644 --- a/src/vma/proto/netlink_socket_mgr.h +++ b/src/vma/proto/netlink_socket_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/peer_key.h b/src/vma/proto/peer_key.h index 5d276c289..9f0ef0ebb 100644 --- a/src/vma/proto/peer_key.h +++ b/src/vma/proto/peer_key.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_entry.cpp b/src/vma/proto/route_entry.cpp index 9e9fc6c50..cc778c3bf 100644 --- a/src/vma/proto/route_entry.cpp +++ b/src/vma/proto/route_entry.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_entry.h b/src/vma/proto/route_entry.h index 3c65fedb5..ac0eff582 100644 --- a/src/vma/proto/route_entry.h +++ b/src/vma/proto/route_entry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_rule_table_key.h b/src/vma/proto/route_rule_table_key.h index d7b1f8cbe..f61a76d13 100644 --- a/src/vma/proto/route_rule_table_key.h +++ b/src/vma/proto/route_rule_table_key.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index 4ee34533b..597d6343a 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_table_mgr.h b/src/vma/proto/route_table_mgr.h index ecbab29d7..fb0310f13 100644 --- a/src/vma/proto/route_table_mgr.h +++ b/src/vma/proto/route_table_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_val.cpp b/src/vma/proto/route_val.cpp index 5d060b0b5..651baafef 100644 --- a/src/vma/proto/route_val.cpp +++ b/src/vma/proto/route_val.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_val.h b/src/vma/proto/route_val.h index 5490c3e17..aa90c5003 100644 --- a/src/vma/proto/route_val.h +++ b/src/vma/proto/route_val.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_entry.cpp b/src/vma/proto/rule_entry.cpp index e96cdf13a..a9bf3a11e 100644 --- a/src/vma/proto/rule_entry.cpp +++ b/src/vma/proto/rule_entry.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_entry.h b/src/vma/proto/rule_entry.h index 96bc013de..45db4aea3 100644 --- a/src/vma/proto/rule_entry.h +++ b/src/vma/proto/rule_entry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index 4af4a5728..32847014f 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_table_mgr.h b/src/vma/proto/rule_table_mgr.h index e4cc0bdc1..f3f6fdcf7 100644 --- a/src/vma/proto/rule_table_mgr.h +++ b/src/vma/proto/rule_table_mgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_val.cpp b/src/vma/proto/rule_val.cpp index 5a788a8e1..3c56f4561 100644 --- a/src/vma/proto/rule_val.cpp +++ b/src/vma/proto/rule_val.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_val.h b/src/vma/proto/rule_val.h index 9a152abd0..9d6f8d200 100644 --- a/src/vma/proto/rule_val.h +++ b/src/vma/proto/rule_val.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/vma_lwip.cpp b/src/vma/proto/vma_lwip.cpp index 6e387d32a..ac3f252bb 100644 --- a/src/vma/proto/vma_lwip.cpp +++ b/src/vma/proto/vma_lwip.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/vma_lwip.h b/src/vma/proto/vma_lwip.h index ac5b8669a..bfdc61109 100644 --- a/src/vma/proto/vma_lwip.h +++ b/src/vma/proto/vma_lwip.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/cleanable_obj.h b/src/vma/sock/cleanable_obj.h index 59ce61470..95d3f6fd8 100644 --- a/src/vma/sock/cleanable_obj.h +++ b/src/vma/sock/cleanable_obj.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/fd_collection.cpp b/src/vma/sock/fd_collection.cpp index fd3e8ce7f..a758aaac0 100644 --- a/src/vma/sock/fd_collection.cpp +++ b/src/vma/sock/fd_collection.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/fd_collection.h b/src/vma/sock/fd_collection.h index 7fea0c4a4..7dab97a61 100644 --- a/src/vma/sock/fd_collection.h +++ b/src/vma/sock/fd_collection.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pipeinfo.cpp b/src/vma/sock/pipeinfo.cpp index 072de9d67..0c46bac79 100644 --- a/src/vma/sock/pipeinfo.cpp +++ b/src/vma/sock/pipeinfo.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pipeinfo.h b/src/vma/sock/pipeinfo.h index 44ec22d76..7fe3ae55a 100644 --- a/src/vma/sock/pipeinfo.h +++ b/src/vma/sock/pipeinfo.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pkt_rcvr_sink.h b/src/vma/sock/pkt_rcvr_sink.h index 9dd45e704..61d9db840 100644 --- a/src/vma/sock/pkt_rcvr_sink.h +++ b/src/vma/sock/pkt_rcvr_sink.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pkt_sndr_source.h b/src/vma/sock/pkt_sndr_source.h index c7116a0db..724b5ea1f 100644 --- a/src/vma/sock/pkt_sndr_source.h +++ b/src/vma/sock/pkt_sndr_source.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 99d8e31f7..84b3fd1b5 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sock-redirect.h b/src/vma/sock/sock-redirect.h index cf916c626..020c97b4a 100644 --- a/src/vma/sock/sock-redirect.h +++ b/src/vma/sock/sock-redirect.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/socket_fd_api.cpp b/src/vma/sock/socket_fd_api.cpp index 4459505f7..6e335f8cf 100644 --- a/src/vma/sock/socket_fd_api.cpp +++ b/src/vma/sock/socket_fd_api.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/socket_fd_api.h b/src/vma/sock/socket_fd_api.h index e6908418a..f2550a08f 100644 --- a/src/vma/sock/socket_fd_api.h +++ b/src/vma/sock/socket_fd_api.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index 563a571c2..f84948c99 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo.h b/src/vma/sock/sockinfo.h index 033a3a2c4..a10e457a4 100644 --- a/src/vma/sock/sockinfo.h +++ b/src/vma/sock/sockinfo.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 00049fe66..747b46965 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index 9a26fb9b5..cc59cca67 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index e6edfc6ec..3ed423766 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_udp.h b/src/vma/sock/sockinfo_udp.h index e07858f32..10de22def 100644 --- a/src/vma/sock/sockinfo_udp.h +++ b/src/vma/sock/sockinfo_udp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent.cpp b/src/vma/util/agent.cpp index 66c43d968..0aba73216 100644 --- a/src/vma/util/agent.cpp +++ b/src/vma/util/agent.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent.h b/src/vma/util/agent.h index 371585f44..2c3494c26 100644 --- a/src/vma/util/agent.h +++ b/src/vma/util/agent.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent_def.h b/src/vma/util/agent_def.h index ab55ec9fc..d52e1809c 100644 --- a/src/vma/util/agent_def.h +++ b/src/vma/util/agent_def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/chunk_list.h b/src/vma/util/chunk_list.h index 967d57d9b..69c1bc05b 100644 --- a/src/vma/util/chunk_list.h +++ b/src/vma/util/chunk_list.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/config_parser.y b/src/vma/util/config_parser.y index d12e7fe41..7531277aa 100644 --- a/src/vma/util/config_parser.y +++ b/src/vma/util/config_parser.y @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/config_scanner.l b/src/vma/util/config_scanner.l index 31552f3af..04357737c 100644 --- a/src/vma/util/config_scanner.l +++ b/src/vma/util/config_scanner.l @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/data_updater.cpp b/src/vma/util/data_updater.cpp index f792ef47e..e16faea23 100644 --- a/src/vma/util/data_updater.cpp +++ b/src/vma/util/data_updater.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/data_updater.h b/src/vma/util/data_updater.h index 7de6269a5..0c9061c36 100644 --- a/src/vma/util/data_updater.h +++ b/src/vma/util/data_updater.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/hash_map.h b/src/vma/util/hash_map.h index d22bcc085..43db50b6f 100644 --- a/src/vma/util/hash_map.h +++ b/src/vma/util/hash_map.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/hash_map.inl b/src/vma/util/hash_map.inl index 0c5b63d52..9b0d91088 100644 --- a/src/vma/util/hash_map.inl +++ b/src/vma/util/hash_map.inl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/if.h b/src/vma/util/if.h index ef472377c..2c8c57f2d 100644 --- a/src/vma/util/if.h +++ b/src/vma/util/if.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/instrumentation.cpp b/src/vma/util/instrumentation.cpp index 1c8d75a99..aa51a0bff 100644 --- a/src/vma/util/instrumentation.cpp +++ b/src/vma/util/instrumentation.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/instrumentation.h b/src/vma/util/instrumentation.h index 7dd7d1917..037616733 100644 --- a/src/vma/util/instrumentation.h +++ b/src/vma/util/instrumentation.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/libvma.h b/src/vma/util/libvma.h index f06429d1c..5cf712e8d 100644 --- a/src/vma/util/libvma.h +++ b/src/vma/util/libvma.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/match.cpp b/src/vma/util/match.cpp index 24c0f030a..3ef33695b 100644 --- a/src/vma/util/match.cpp +++ b/src/vma/util/match.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sg_array.h b/src/vma/util/sg_array.h index 61a783415..4dc28686e 100644 --- a/src/vma/util/sg_array.h +++ b/src/vma/util/sg_array.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sock_addr.h b/src/vma/util/sock_addr.h index b214ba70b..f104cdaf4 100644 --- a/src/vma/util/sock_addr.h +++ b/src/vma/util/sock_addr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 6da36be33..c1ad27baa 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index dda56af87..a05ec7b21 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sysctl_reader.h b/src/vma/util/sysctl_reader.h index c91c446c5..33882198e 100644 --- a/src/vma/util/sysctl_reader.h +++ b/src/vma/util/sysctl_reader.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/to_str.h b/src/vma/util/to_str.h index dd63731de..b0ecb069a 100644 --- a/src/vma/util/to_str.h +++ b/src/vma/util/to_str.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index bcfa08f77..25c2cf540 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index dd0b7ce74..3bcd16a42 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/valgrind.h b/src/vma/util/valgrind.h index c2a1a55a0..b6d9ed73e 100644 --- a/src/vma/util/valgrind.h +++ b/src/vma/util/valgrind.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vma_list.h b/src/vma/util/vma_list.h index 0ce65e8e5..5ed6a7a3a 100644 --- a/src/vma/util/vma_list.h +++ b/src/vma/util/vma_list.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vma_stats.h b/src/vma/util/vma_stats.h index e86d83ba9..f34a893c6 100644 --- a/src/vma/util/vma_stats.h +++ b/src/vma/util/vma_stats.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vtypes.h b/src/vma/util/vtypes.h index 96e5101fa..6031cebf3 100644 --- a/src/vma/util/vtypes.h +++ b/src/vma/util/vtypes.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup.cpp b/src/vma/util/wakeup.cpp index 195f170cf..6e29e2a6d 100644 --- a/src/vma/util/wakeup.cpp +++ b/src/vma/util/wakeup.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup.h b/src/vma/util/wakeup.h index 551ed9d8b..bb5f50bc6 100644 --- a/src/vma/util/wakeup.h +++ b/src/vma/util/wakeup.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup_pipe.cpp b/src/vma/util/wakeup_pipe.cpp index b1065f3c2..7675a0381 100644 --- a/src/vma/util/wakeup_pipe.cpp +++ b/src/vma/util/wakeup_pipe.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup_pipe.h b/src/vma/util/wakeup_pipe.h index 680bb318a..899f80f4a 100644 --- a/src/vma/util/wakeup_pipe.h +++ b/src/vma/util/wakeup_pipe.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index 3c59c7721..07944d89a 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/api-support-check.py b/tests/api-support-check.py index fc72fc0dd..d724866f8 100755 --- a/tests/api-support-check.py +++ b/tests/api-support-check.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # #@copyright: -# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/async-echo-client.py b/tests/async-echo-client/async-echo-client.py index 2a6adf935..fb4430909 100755 --- a/tests/async-echo-client/async-echo-client.py +++ b/tests/async-echo-client/async-echo-client.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/echo-server.py b/tests/async-echo-client/echo-server.py index 880792666..c040a02d8 100755 --- a/tests/async-echo-client/echo-server.py +++ b/tests/async-echo-client/echo-server.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/syncronized-echo-client.py b/tests/async-echo-client/syncronized-echo-client.py index 59ce614e1..01c91dd19 100755 --- a/tests/async-echo-client/syncronized-echo-client.py +++ b/tests/async-echo-client/syncronized-echo-client.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/benchmarking_test/Accelerators_Benchmarking.sh b/tests/benchmarking_test/Accelerators_Benchmarking.sh index 94198c9e2..cf17e25bd 100755 --- a/tests/benchmarking_test/Accelerators_Benchmarking.sh +++ b/tests/benchmarking_test/Accelerators_Benchmarking.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/bindtodevice/client.py b/tests/bindtodevice/client.py index 479e873b6..4c6c7ffd8 100755 --- a/tests/bindtodevice/client.py +++ b/tests/bindtodevice/client.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/connect-disconnect/client.py b/tests/connect-disconnect/client.py index ceb000b0f..e61d561e4 100755 --- a/tests/connect-disconnect/client.py +++ b/tests/connect-disconnect/client.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/socketxtreme/server_tcp.c b/tests/extra_api_tests/socketxtreme/server_tcp.c index 66b8f693c..828d7e548 100644 --- a/tests/extra_api_tests/socketxtreme/server_tcp.c +++ b/tests/extra_api_tests/socketxtreme/server_tcp.c @@ -1,5 +1,5 @@ /* - * Copyright © 2019-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2019-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.c b/tests/extra_api_tests/tcp_zcopy_cb/client.c index 8715ec9b1..aa81c5a79 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.c @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.h b/tests/extra_api_tests/tcp_zcopy_cb/client.h index ac89091b2..98c9ac729 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.h @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/main.c b/tests/extra_api_tests/tcp_zcopy_cb/main.c index c1134e1c0..4de7ce487 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/main.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/main.c @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.c b/tests/extra_api_tests/tcp_zcopy_cb/server.c index 474019396..452d02034 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.c @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.h b/tests/extra_api_tests/tcp_zcopy_cb/server.h index e2c4fdd2f..b1a673178 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.h @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/types.h b/tests/extra_api_tests/tcp_zcopy_cb/types.h index b2d3e3823..a74c99ecf 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/types.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/types.h @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/utils.c b/tests/extra_api_tests/tcp_zcopy_cb/utils.c index 38f636276..241e9a8a5 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/utils.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/utils.c @@ -1,5 +1,5 @@ /* - * Copyright © 2014-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/getsockname_test.c b/tests/functionality/getsockname_test.c index bb0f667bd..79f2f26d2 100644 --- a/tests/functionality/getsockname_test.c +++ b/tests/functionality/getsockname_test.c @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/1epoll_1socket_twice.c b/tests/functionality/iomux/1epoll_1socket_twice.c index 0e82ab81c..bcec0d887 100644 --- a/tests/functionality/iomux/1epoll_1socket_twice.c +++ b/tests/functionality/iomux/1epoll_1socket_twice.c @@ -1,5 +1,5 @@ /* - * Copyright © 2016-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2016-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/2epoll_1socket.c b/tests/functionality/iomux/2epoll_1socket.c index 36727d2e3..fc6d7ade6 100644 --- a/tests/functionality/iomux/2epoll_1socket.c +++ b/tests/functionality/iomux/2epoll_1socket.c @@ -1,5 +1,5 @@ /* - * Copyright © 2016-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2016-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/client.py b/tests/functionality/iomux/client.py index bd3eb7db5..1fad27dd4 100755 --- a/tests/functionality/iomux/client.py +++ b/tests/functionality/iomux/client.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU @@ -125,4 +125,4 @@ def block_till_writeable (sock): psocket.close() csocket.close() -sys.exit (ret) \ No newline at end of file +sys.exit (ret) diff --git a/tests/functionality/iomux/eclient.py b/tests/functionality/iomux/eclient.py index aa06cf1ad..f7f839074 100644 --- a/tests/functionality/iomux/eclient.py +++ b/tests/functionality/iomux/eclient.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU @@ -137,4 +137,4 @@ def block_till_writeable (sock): psocket.close() csocket.close() epfd.close() -sys.exit (ret) \ No newline at end of file +sys.exit (ret) diff --git a/tests/functionality/iomux/eserver.py b/tests/functionality/iomux/eserver.py index f9cd269df..f773fbecc 100644 --- a/tests/functionality/iomux/eserver.py +++ b/tests/functionality/iomux/eserver.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU @@ -151,4 +151,4 @@ def print_info (msg): if cserver: cserver.close() if psocket: psocket.close() if csocket: csocket.close() -if epfd: epfd.close() \ No newline at end of file +if epfd: epfd.close() diff --git a/tests/functionality/iomux/pclient.py b/tests/functionality/iomux/pclient.py index 33b561d34..6be3aeada 100644 --- a/tests/functionality/iomux/pclient.py +++ b/tests/functionality/iomux/pclient.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/pserver.py b/tests/functionality/iomux/pserver.py index 2cf67e5b6..33ae97b7c 100644 --- a/tests/functionality/iomux/pserver.py +++ b/tests/functionality/iomux/pserver.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/server.py b/tests/functionality/iomux/server.py index 1bcf58139..5240da436 100755 --- a/tests/functionality/iomux/server.py +++ b/tests/functionality/iomux/server.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2011-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/base.cc b/tests/gtest/common/base.cc index e1af62113..90e89ac83 100644 --- a/tests/gtest/common/base.cc +++ b/tests/gtest/common/base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/base.h b/tests/gtest/common/base.h index acf00edca..8b74265b5 100644 --- a/tests/gtest/common/base.h +++ b/tests/gtest/common/base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/cmn.h b/tests/gtest/common/cmn.h index a764e8f9e..02372a154 100644 --- a/tests/gtest/common/cmn.h +++ b/tests/gtest/common/cmn.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/def.h b/tests/gtest/common/def.h index 4476ebdb5..6b518e06f 100644 --- a/tests/gtest/common/def.h +++ b/tests/gtest/common/def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/log.h b/tests/gtest/common/log.h index a474fbdca..8cb8980a0 100644 --- a/tests/gtest/common/log.h +++ b/tests/gtest/common/log.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/sys.cc b/tests/gtest/common/sys.cc index 21c1f6f86..260fafcbe 100644 --- a/tests/gtest/common/sys.cc +++ b/tests/gtest/common/sys.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/sys.h b/tests/gtest/common/sys.h index 3a905bc7b..909d63ad5 100644 --- a/tests/gtest/common/sys.h +++ b/tests/gtest/common/sys.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/main.cc b/tests/gtest/main.cc index 23be63143..672de1902 100644 --- a/tests/gtest/main.cc +++ b/tests/gtest/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_base.cc b/tests/gtest/mix/mix_base.cc index 0d86d40ad..0becb7fb6 100644 --- a/tests/gtest/mix/mix_base.cc +++ b/tests/gtest/mix/mix_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_base.h b/tests/gtest/mix/mix_base.h index 1cd31c79c..90dad1988 100644 --- a/tests/gtest/mix/mix_base.h +++ b/tests/gtest/mix/mix_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_list.cc b/tests/gtest/mix/mix_list.cc index f1b1417f6..56c00c00a 100644 --- a/tests/gtest/mix/mix_list.cc +++ b/tests/gtest/mix/mix_list.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/sg_array.cc b/tests/gtest/mix/sg_array.cc index be2b70959..1ab9fa0b1 100644 --- a/tests/gtest/mix/sg_array.cc +++ b/tests/gtest/mix/sg_array.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_base.cc b/tests/gtest/sock/sock_base.cc index e60a76297..3f0e48d39 100644 --- a/tests/gtest/sock/sock_base.cc +++ b/tests/gtest/sock/sock_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_base.h b/tests/gtest/sock/sock_base.h index a04baa318..b7926764a 100644 --- a/tests/gtest/sock/sock_base.h +++ b/tests/gtest/sock/sock_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_socket.cc b/tests/gtest/sock/sock_socket.cc index d2bc312dd..31bd758ae 100644 --- a/tests/gtest/sock/sock_socket.cc +++ b/tests/gtest/sock/sock_socket.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_base.cc b/tests/gtest/tcp/tcp_base.cc index 09c614778..732088679 100644 --- a/tests/gtest/tcp/tcp_base.cc +++ b/tests/gtest/tcp/tcp_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_base.h b/tests/gtest/tcp/tcp_base.h index 369fbcba2..b1bb044a0 100644 --- a/tests/gtest/tcp/tcp_base.h +++ b/tests/gtest/tcp/tcp_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_bind.cc b/tests/gtest/tcp/tcp_bind.cc index 2e7c2b952..01b9aabd4 100644 --- a/tests/gtest/tcp/tcp_bind.cc +++ b/tests/gtest/tcp/tcp_bind.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_connect.cc b/tests/gtest/tcp/tcp_connect.cc index 2aca12335..cc8bb3e01 100644 --- a/tests/gtest/tcp/tcp_connect.cc +++ b/tests/gtest/tcp/tcp_connect.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_connect_nb.cc b/tests/gtest/tcp/tcp_connect_nb.cc index b2fae2b84..9ce435450 100644 --- a/tests/gtest/tcp/tcp_connect_nb.cc +++ b/tests/gtest/tcp/tcp_connect_nb.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_event.cc b/tests/gtest/tcp/tcp_event.cc index 612e0a5a3..3a81b0b74 100644 --- a/tests/gtest/tcp/tcp_event.cc +++ b/tests/gtest/tcp/tcp_event.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_send.cc b/tests/gtest/tcp/tcp_send.cc index e6abb42bc..7d789a80c 100644 --- a/tests/gtest/tcp/tcp_send.cc +++ b/tests/gtest/tcp/tcp_send.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_send_zc.cc b/tests/gtest/tcp/tcp_send_zc.cc index 0562a88ae..9e77bb152 100644 --- a/tests/gtest/tcp/tcp_send_zc.cc +++ b/tests/gtest/tcp/tcp_send_zc.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sendfile.cc b/tests/gtest/tcp/tcp_sendfile.cc index d204bda33..1ae62d0ec 100644 --- a/tests/gtest/tcp/tcp_sendfile.cc +++ b/tests/gtest/tcp/tcp_sendfile.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sendto.cc b/tests/gtest/tcp/tcp_sendto.cc index c44d31e96..78ee5ce5b 100644 --- a/tests/gtest/tcp/tcp_sendto.cc +++ b/tests/gtest/tcp/tcp_sendto.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_socket.cc b/tests/gtest/tcp/tcp_socket.cc index fdfa59b99..475ea73ae 100644 --- a/tests/gtest/tcp/tcp_socket.cc +++ b/tests/gtest/tcp/tcp_socket.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sockopt.cc b/tests/gtest/tcp/tcp_sockopt.cc index 13c37d800..4cd6d25d0 100644 --- a/tests/gtest/tcp/tcp_sockopt.cc +++ b/tests/gtest/tcp/tcp_sockopt.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_tls.cc b/tests/gtest/tcp/tcp_tls.cc index 1e20a833e..41f61b61d 100644 --- a/tests/gtest/tcp/tcp_tls.cc +++ b/tests/gtest/tcp/tcp_tls.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_base.cc b/tests/gtest/udp/udp_base.cc index afc548b8d..8c81f49c1 100644 --- a/tests/gtest/udp/udp_base.cc +++ b/tests/gtest/udp/udp_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_base.h b/tests/gtest/udp/udp_base.h index 9e8ce3a36..ead5b13c3 100644 --- a/tests/gtest/udp/udp_base.h +++ b/tests/gtest/udp/udp_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_bind.cc b/tests/gtest/udp/udp_bind.cc index 4298a45b1..0619fddb7 100644 --- a/tests/gtest/udp/udp_bind.cc +++ b/tests/gtest/udp/udp_bind.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_connect.cc b/tests/gtest/udp/udp_connect.cc index 64fb58763..dff9094b2 100644 --- a/tests/gtest/udp/udp_connect.cc +++ b/tests/gtest/udp/udp_connect.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_send.cc b/tests/gtest/udp/udp_send.cc index 1d8f21412..3e0c5ea3c 100644 --- a/tests/gtest/udp/udp_send.cc +++ b/tests/gtest/udp/udp_send.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_sendto.cc b/tests/gtest/udp/udp_sendto.cc index b36063e47..ec4c1db34 100644 --- a/tests/gtest/udp/udp_sendto.cc +++ b/tests/gtest/udp/udp_sendto.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_base.cc b/tests/gtest/vma/vma_base.cc index 7e986944f..9ef06fcd9 100644 --- a/tests/gtest/vma/vma_base.cc +++ b/tests/gtest/vma/vma_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_base.h b/tests/gtest/vma/vma_base.h index 8d4cd99e0..d56495476 100644 --- a/tests/gtest/vma/vma_base.h +++ b/tests/gtest/vma/vma_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_poll.cc b/tests/gtest/vma/vma_poll.cc index d955cc2c2..0d4ead76a 100644 --- a/tests/gtest/vma/vma_poll.cc +++ b/tests/gtest/vma/vma_poll.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_recvfrom_zcopy.cc b/tests/gtest/vma/vma_recvfrom_zcopy.cc index 7c14c4e3c..11cf4509c 100644 --- a/tests/gtest/vma/vma_recvfrom_zcopy.cc +++ b/tests/gtest/vma/vma_recvfrom_zcopy.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_ring.cc b/tests/gtest/vma/vma_ring.cc index 0004d2006..07885bb19 100644 --- a/tests/gtest/vma/vma_ring.cc +++ b/tests/gtest/vma/vma_ring.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_sockopt.cc b/tests/gtest/vma/vma_sockopt.cc index 95d5bbf80..3250fb54d 100644 --- a/tests/gtest/vma/vma_sockopt.cc +++ b/tests/gtest/vma/vma_sockopt.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_base.cc b/tests/gtest/vmad/vmad_base.cc index 4e83ebdf3..e70cc38c7 100644 --- a/tests/gtest/vmad/vmad_base.cc +++ b/tests/gtest/vmad/vmad_base.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_base.h b/tests/gtest/vmad/vmad_base.h index 60779029f..8113089b3 100644 --- a/tests/gtest/vmad/vmad_base.h +++ b/tests/gtest/vmad/vmad_base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_bitmap.cc b/tests/gtest/vmad/vmad_bitmap.cc index fc6378a36..c5ad437d3 100644 --- a/tests/gtest/vmad/vmad_bitmap.cc +++ b/tests/gtest/vmad/vmad_bitmap.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_flow.cc b/tests/gtest/vmad/vmad_flow.cc index 119080454..4ac9b6c66 100644 --- a/tests/gtest/vmad/vmad_flow.cc +++ b/tests/gtest/vmad/vmad_flow.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_hash.cc b/tests/gtest/vmad/vmad_hash.cc index f788c954f..6bc237bc3 100644 --- a/tests/gtest/vmad/vmad_hash.cc +++ b/tests/gtest/vmad/vmad_hash.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_init.cc b/tests/gtest/vmad/vmad_init.cc index 6a52e74ca..3b513f38e 100644 --- a/tests/gtest/vmad/vmad_init.cc +++ b/tests/gtest/vmad/vmad_init.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_state.cc b/tests/gtest/vmad/vmad_state.cc index 858bb1751..ca7b9f174 100644 --- a/tests/gtest/vmad/vmad_state.cc +++ b/tests/gtest/vmad/vmad_state.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/latency_test/tcp_lat.cpp b/tests/latency_test/tcp_lat.cpp index 41e8b544c..9058ed516 100644 --- a/tests/latency_test/tcp_lat.cpp +++ b/tests/latency_test/tcp_lat.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/latency_test/udp_lat.c b/tests/latency_test/udp_lat.c index 40f449172..0d0ad3fe1 100644 --- a/tests/latency_test/udp_lat.c +++ b/tests/latency_test/udp_lat.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/listen/tcp_client.py b/tests/listen/tcp_client.py index 618e8b95c..4b25b2a4c 100755 --- a/tests/listen/tcp_client.py +++ b/tests/listen/tcp_client.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/listen/tcp_server.py b/tests/listen/tcp_server.py index b01e6fac7..2366e60dc 100755 --- a/tests/listen/tcp_server.py +++ b/tests/listen/tcp_server.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/low_pps_tcp_send_test/exchange.cpp b/tests/low_pps_tcp_send_test/exchange.cpp index e52e1effa..ddcd00277 100755 --- a/tests/low_pps_tcp_send_test/exchange.cpp +++ b/tests/low_pps_tcp_send_test/exchange.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/low_pps_tcp_send_test/trader.cpp b/tests/low_pps_tcp_send_test/trader.cpp index b9ff223ac..84bbe0711 100755 --- a/tests/low_pps_tcp_send_test/trader.cpp +++ b/tests/low_pps_tcp_send_test/trader.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/mc_loop_test/mc_loop_test.c b/tests/mc_loop_test/mc_loop_test.c index 7bfb12f0b..25c3b33ec 100644 --- a/tests/mc_loop_test/mc_loop_test.c +++ b/tests/mc_loop_test/mc_loop_test.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/multithread_test/exchange.cpp b/tests/multithread_test/exchange.cpp index e258d3854..ac9930bb8 100755 --- a/tests/multithread_test/exchange.cpp +++ b/tests/multithread_test/exchange.cpp @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/multithread_test/trader.cpp b/tests/multithread_test/trader.cpp index c7b34d8e6..df200ae83 100755 --- a/tests/multithread_test/trader.cpp +++ b/tests/multithread_test/trader.cpp @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/pps_test/pps_test.c b/tests/pps_test/pps_test.c index eab45f200..e075faba8 100644 --- a/tests/pps_test/pps_test.c +++ b/tests/pps_test/pps_test.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py index 4693bd1a9..ce3afd11f 100755 --- a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/resource_release_checker/server_socket_recreate_loop.py b/tests/resource_release_checker/server_socket_recreate_loop.py index d84fda92c..3ad24690b 100755 --- a/tests/resource_release_checker/server_socket_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_recreate_loop.py @@ -2,7 +2,7 @@ # # #@copyright: -# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/reuse_ud_test.c b/tests/reuse_ud_test.c index e1f2ef20b..ece705d03 100644 --- a/tests/reuse_ud_test.c +++ b/tests/reuse_ud_test.c @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/select_t1.c b/tests/select_t1.c index f3bc06f8b..be18d50f5 100644 --- a/tests/select_t1.c +++ b/tests/select_t1.c @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/client.cc b/tests/server_test/client.cc index 5dd8e44df..5fbaa3659 100644 --- a/tests/server_test/client.cc +++ b/tests/server_test/client.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/client.h b/tests/server_test/client.h index 3f185b355..c339532c9 100644 --- a/tests/server_test/client.h +++ b/tests/server_test/client.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/main.cc b/tests/server_test/main.cc index 51e7e20b3..c9f8db459 100644 --- a/tests/server_test/main.cc +++ b/tests/server_test/main.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/options.cc b/tests/server_test/options.cc index 8154f718b..13959f517 100644 --- a/tests/server_test/options.cc +++ b/tests/server_test/options.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/options.h b/tests/server_test/options.h index 7b561f696..c9cccfbbc 100644 --- a/tests/server_test/options.h +++ b/tests/server_test/options.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/server.cc b/tests/server_test/server.cc index 91bd7f75e..0c143ce66 100644 --- a/tests/server_test/server.cc +++ b/tests/server_test/server.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/server.h b/tests/server_test/server.h index 3ddea4185..1451c9ad5 100644 --- a/tests/server_test/server.h +++ b/tests/server_test/server.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/vtime.cc b/tests/server_test/vtime.cc index 0f3e88898..b30ad1944 100644 --- a/tests/server_test/vtime.cc +++ b/tests/server_test/vtime.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/vtime.h b/tests/server_test/vtime.h index ce80f07ba..6d8ed0266 100644 --- a/tests/server_test/vtime.h +++ b/tests/server_test/vtime.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/simple_fork/fork.py b/tests/simple_fork/fork.py index b5d31865c..11f6b88d4 100755 --- a/tests/simple_fork/fork.py +++ b/tests/simple_fork/fork.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/Makefile b/tests/tcp_window_size_exerciser/Makefile index fb23e3fed..ee0e7446c 100644 --- a/tests/tcp_window_size_exerciser/Makefile +++ b/tests/tcp_window_size_exerciser/Makefile @@ -1,5 +1,5 @@ # -# Copyright © 2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. +# Copyright © 2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test.h b/tests/tcp_window_size_exerciser/tcp_wnd_test.h index 0d218180f..de7d3d37c 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test.h +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c index 0a0fd25f8..51e6eebad 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c index a0c692e56..8f84cba7f 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/testbed/testbed.c b/tests/testbed/testbed.c index 8c52927a5..140b13a1c 100644 --- a/tests/testbed/testbed.c +++ b/tests/testbed/testbed.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/throughput_test/bandwidth_test.c b/tests/throughput_test/bandwidth_test.c index 9ea721687..b22bf48f0 100644 --- a/tests/throughput_test/bandwidth_test.c +++ b/tests/throughput_test/bandwidth_test.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/timetest/timetest.cpp b/tests/timetest/timetest.cpp index 8341a66d1..ed0b76618 100644 --- a/tests/timetest/timetest.cpp +++ b/tests/timetest/timetest.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/vma_perf_envelope/vma_multiplexers_test.sh b/tests/vma_perf_envelope/vma_multiplexers_test.sh index ae8224394..a1f5e571d 100755 --- a/tests/vma_perf_envelope/vma_multiplexers_test.sh +++ b/tests/vma_perf_envelope/vma_multiplexers_test.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/vma_perf_envelope/vma_perf_envelope.sh b/tests/vma_perf_envelope/vma_perf_envelope.sh index 50249c18c..a698f2a44 100755 --- a/tests/vma_perf_envelope/vma_perf_envelope.sh +++ b/tests/vma_perf_envelope/vma_perf_envelope.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/bitmap.h b/tools/daemon/bitmap.h index f62c05865..e34470a7c 100644 --- a/tools/daemon/bitmap.h +++ b/tools/daemon/bitmap.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/daemon.c b/tools/daemon/daemon.c index cc9e272a0..6c6f2cf5d 100644 --- a/tools/daemon/daemon.c +++ b/tools/daemon/daemon.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/daemon.h b/tools/daemon/daemon.h index afeef35c5..99d0bf389 100644 --- a/tools/daemon/daemon.h +++ b/tools/daemon/daemon.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/flow.c b/tools/daemon/flow.c index 4d3a37360..2181c4002 100644 --- a/tools/daemon/flow.c +++ b/tools/daemon/flow.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/hash.c b/tools/daemon/hash.c index b07fb2baa..b67dc680d 100644 --- a/tools/daemon/hash.c +++ b/tools/daemon/hash.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/hash.h b/tools/daemon/hash.h index bb218f68d..021ff582e 100644 --- a/tools/daemon/hash.h +++ b/tools/daemon/hash.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/loop.c b/tools/daemon/loop.c index 7dd0f9b59..eb80dfa74 100644 --- a/tools/daemon/loop.c +++ b/tools/daemon/loop.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/message.c b/tools/daemon/message.c index eaeb5f51b..13ffe7f78 100644 --- a/tools/daemon/message.c +++ b/tools/daemon/message.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/nl.c b/tools/daemon/nl.c index f329d21c7..a1eaecdd4 100644 --- a/tools/daemon/nl.c +++ b/tools/daemon/nl.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/nl.h b/tools/daemon/nl.h index d4ac9c30f..9d0f8e631 100644 --- a/tools/daemon/nl.h +++ b/tools/daemon/nl.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/notify.c b/tools/daemon/notify.c index f59a6d838..31a5fc85a 100644 --- a/tools/daemon/notify.c +++ b/tools/daemon/notify.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/store.c b/tools/daemon/store.c index 8d349ea19..946ad5075 100644 --- a/tools/daemon/store.c +++ b/tools/daemon/store.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/tc.c b/tools/daemon/tc.c index 80e3124b7..ead7bc548 100644 --- a/tools/daemon/tc.c +++ b/tools/daemon/tc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/tc.h b/tools/daemon/tc.h index ac79d2bc0..63a9a407d 100644 --- a/tools/daemon/tc.h +++ b/tools/daemon/tc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU From 1b0609ff47d9d976793ae9e94b2d05c180fd9f46 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Thu, 11 Jan 2024 09:17:58 +0200 Subject: [PATCH 037/150] issue: 321712 ****************** VMA 9.8.51 ****************** Signed-off-by: Alexander Grissik --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 44e34ffb7..021f1b9d2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.8.51-1: +Date + Time 2024-01-11 +============================================================= +Fixed: + - RM #3723595 Update the copyright statement to 2024 + Version 9.8.50-1: Date + Time 2023-12-28 ============================================================= diff --git a/configure.ac b/configure.ac index e9f3e55af..0c9924124 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 50) +define([prj_ver_revision], 51) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 7355d5a57..9c9c23bbd 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Thu Dec 28 2023 NVIDIA CORPORATION 9.8.50-1 -- Bump version to 9.8.50 +* Thu Jan 11 2024 NVIDIA CORPORATION 9.8.51-1 +- Bump version to 9.8.51 - Please refer to CHANGES for full changelog. From a565fedf4fb5381b7950ca109a32053b4f9a639c Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Mon, 29 Jan 2024 15:04:48 +0200 Subject: [PATCH 038/150] issue: 3760829 CI/Coverity - add snapshot action (if do_coverity_snapshot flag is on) We'd like to make CI able to post Coverity reports to https://coverity.mellanox.com/ HPCINFRA-1431 Signed-off-by: Viacheslav Login --- .ci/matrix_job.yaml | 4 ++++ .ci/proj_jjb.yaml | 4 ++++ contrib/jenkins_tests/cov.sh | 11 +++++++++++ 3 files changed, 19 insertions(+) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 16db4812f..e29fa13b3 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -22,6 +22,9 @@ volumes: - {mountPath: /hpc/local/commercial, hostPath: /hpc/local/commercial} - {mountPath: /hpc/local/etc/modulefiles, hostPath: /hpc/local/etc/modulefiles} +credentials: + - {credentialsId: '925b0900-e273-4042-bc7c-facaefae0727', usernameVariable: 'VMA_COV_USER', passwordVariable: 'VMA_COV_PASSWORD'} + env: build_dockers: false @@ -168,6 +171,7 @@ steps: - name: Coverity enable: ${do_coverity} + credentialsId: '925b0900-e273-4042-bc7c-facaefae0727' containerSelector: - "{name: 'toolbox', category: 'tool'}" agentSelector: diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index b35a90857..f1e3f4aca 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -62,6 +62,10 @@ name: "do_coverity" default: true description: "Launch coverity verification." + - bool: + name: "do_coverity_snapshot" + default: false + description: "Submit Coverity Static Analysis as a snapshot (normally it should be checked only for master branch after proper defects review)" - bool: name: "do_test" default: true diff --git a/contrib/jenkins_tests/cov.sh b/contrib/jenkins_tests/cov.sh index 30bc72778..d6ebbecc3 100755 --- a/contrib/jenkins_tests/cov.sh +++ b/contrib/jenkins_tests/cov.sh @@ -46,6 +46,17 @@ eval "cov-analyze --config ${cov_dir}/coverity_config.xml \ --dir ${cov_build}" rc=$(($rc+$?)) +if [[ "${do_coverity_snapshot}" == true ]]; then + cov-commit-defects --ssl --on-new-cert trust \ + --url https://coverity.mellanox.com:8443 \ + --user "${VMA_COV_USER}" --password "${VMA_COV_PASSWORD}" \ + --dir "${cov_build}" \ + --stream libxlio-main \ + --strip-path "${WORKSPACE}" + rc=$(($rc+$?)) +fi + + set -eE # Excluded files for the local report generated by command "cov-format-errors": From fc19f935247dae79d2b4e7385f50f9f7276544c2 Mon Sep 17 00:00:00 2001 From: Alex Briskin Date: Mon, 29 Jan 2024 11:45:50 +0200 Subject: [PATCH 039/150] issue: 3749337 Handle negative keapalive params 1. Probe and interval values may be negative in: - /proc/sys/net/ipv4/tcp_keepalive_intvl - /proc/sys/net/ipv4/tcp_keepalive_probe 2. Internally the values will be set to 0 if negative. Signed-off-by: Alex Briskin --- src/vma/util/sysctl_reader.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/vma/util/sysctl_reader.h b/src/vma/util/sysctl_reader.h index 33882198e..908ead3fd 100644 --- a/src/vma/util/sysctl_reader.h +++ b/src/vma/util/sysctl_reader.h @@ -150,17 +150,19 @@ public : const tcp_keepalive_info get_tcp_keepalive_info(bool update = false) { static tcp_keepalive_info val = {7200, 75, 9}; - auto read_file_to_positive_int = [](const char *path, int default_value) { + auto read_positive_or_default = [](const char *path, int default_value) { int ret = read_file_to_int(path, default_value); return ret > 0 ? ret : default_value; }; if (update) { val.idle_secs = - read_file_to_positive_int("/proc/sys/net/ipv4/tcp_keepalive_time", val.idle_secs); + read_positive_or_default("/proc/sys/net/ipv4/tcp_keepalive_time", val.idle_secs); val.interval_secs = - read_file_to_positive_int("/proc/sys/net/ipv4/tcp_keepalive_intvl", val.interval_secs); + std::max(0, read_file_to_int("/proc/sys/net/ipv4/tcp_keepalive_intvl", + val.interval_secs)); val.num_probes = - read_file_to_positive_int("/proc/sys/net/ipv4/tcp_keepalive_probes", val.num_probes); + std::max(0, read_file_to_int("/proc/sys/net/ipv4/tcp_keepalive_probes", + val.num_probes)); } return val; } From 1c803755e262d1665bac25203c7be7276aaed92d Mon Sep 17 00:00:00 2001 From: Alex Briskin Date: Thu, 1 Feb 2024 14:02:44 +0200 Subject: [PATCH 040/150] issue: 3749310 Fix the main timer accuracy/resolution Signed-off-by: Alex Briskin --- src/vma/event/delta_timer.cpp | 73 +++++++++++++++++------------------ src/vma/event/delta_timer.h | 8 ++-- 2 files changed, 39 insertions(+), 42 deletions(-) diff --git a/src/vma/event/delta_timer.cpp b/src/vma/event/delta_timer.cpp index eecb6e45f..94141624d 100644 --- a/src/vma/event/delta_timer.cpp +++ b/src/vma/event/delta_timer.cpp @@ -31,8 +31,8 @@ */ +#include #include -#include #include "utils/bullseye.h" #include "utils/clock.h" #include "vlogger/vlogger.h" @@ -52,15 +52,16 @@ //#define tmr_logfuncall __log_funcall #define tmr_logfuncall(fmt, ...) +using namespace std::chrono; #define IS_NODE_INVALID(_node_) \ (!_node_ || !_node_->handler || (_node_->req_type < 0 || _node_->req_type >= INVALID_TIMER)) timer::timer() + : m_list_head(nullptr) + , m_ts_last(steady_clock::now()) { - m_list_head = NULL; - gettime(&m_ts_last); } timer::~timer() @@ -82,7 +83,7 @@ void timer::add_new_timer(unsigned int timeout_msec, timer_node_t* node, timer_h node->handler = handler; node->req_type = req_type; node->user_data = user_data; - node->orig_time_msec = timeout_msec; + node->orig_time_msec = milliseconds(timeout_msec); BULLSEYE_EXCLUDE_BLOCK_START if (IS_NODE_INVALID(node)) { @@ -105,8 +106,8 @@ void timer::wakeup_timer(timer_node_t* node) remove_from_list(node); - unsigned int orig_time = node->orig_time_msec; - node->orig_time_msec = 0; + auto orig_time = node->orig_time_msec; + node->orig_time_msec = milliseconds(0); insert_to_list(node); node->orig_time_msec = orig_time; @@ -178,48 +179,41 @@ void timer::remove_all_timers(timer_handler *handler) int timer::update_timeout() { - int ret = 0, delta_msec = 0; + int ret; timer_node_t* list_tmp = NULL; - struct timespec ts_now, ts_delta; + auto now = steady_clock::now(); - ret = gettime(&ts_now); - BULLSEYE_EXCLUDE_BLOCK_START - if (ret) { - tmr_logpanic("gettime() returned with error (errno %d %m)", ret); - return INFINITE_TIMEOUT; - } - BULLSEYE_EXCLUDE_BLOCK_END - // Find difference (subtract) - ts_sub(&ts_now, &m_ts_last, &ts_delta); - delta_msec = ts_to_msec(&ts_delta); + auto delta = duration_cast(now - m_ts_last); // Save 'now' as 'last' - if (delta_msec > 0) - m_ts_last = ts_now; + if (delta > milliseconds(0)) { + m_ts_last = now; + } // empty list -> unlimited timeout if (!m_list_head) { - tmr_logfunc("elapsed time: %d msec", delta_msec); + tmr_logfunc("elapsed time: %ld msec", delta.count()); ret = INFINITE_TIMEOUT; goto out; } // Check for timeout! list_tmp = m_list_head; - while (delta_msec > 0 && list_tmp) { - tmr_logfuncall("updating list node %p with elapsed time: %d msec", list_tmp, delta_msec); - if ((int) list_tmp->delta_time_msec > delta_msec) { - list_tmp->delta_time_msec -= delta_msec; + while (delta > milliseconds(0) && list_tmp) { + tmr_logfuncall("updating list node %p with elapsed time: %ld msec", list_tmp, + delta.count()); + if (list_tmp->delta_time_msec > delta) { + list_tmp->delta_time_msec -= delta; break; } else { - delta_msec -= list_tmp->delta_time_msec; - list_tmp->delta_time_msec = 0; + delta -= list_tmp->delta_time_msec; + list_tmp->delta_time_msec = milliseconds(0); } list_tmp = list_tmp->next; } - ret = m_list_head->delta_time_msec; + ret = m_list_head->delta_time_msec.count(); out: tmr_logfuncall("next timeout: %d msec", ret); @@ -230,7 +224,7 @@ void timer::process_registered_timers() { timer_node_t* iter = m_list_head; timer_node_t* next_iter; - while (iter && (iter->delta_time_msec == 0)) { + while (iter && (iter->delta_time_msec == milliseconds(0))) { tmr_logfuncall("timer expired on %p", iter->handler); /* Special check is need to protect @@ -273,7 +267,6 @@ void timer::process_registered_timers() // insert allocated node to the list void timer::insert_to_list(timer_node_t* new_node) { - unsigned int tmp_delta; timer_node_t* iter; timer_node_t* prev; @@ -282,16 +275,17 @@ void timer::insert_to_list(timer_node_t* new_node) new_node->next = NULL; new_node->prev = NULL; m_list_head = new_node; - tmr_logfuncall("insert first node to list (handler %p, timer %d, delta time %d)", new_node->handler, new_node->orig_time_msec, new_node->delta_time_msec); + tmr_logfuncall("insert first node to list (handler %p, timer %d, delta time %d)", + new_node->handler, new_node->orig_time_msec, new_node->delta_time_msec); return; } // else: need to find the correct place in the list - tmp_delta = new_node->orig_time_msec; + auto tmp_delta = new_node->orig_time_msec; iter = m_list_head; prev = NULL; while (iter && tmp_delta >= iter->delta_time_msec) { - tmp_delta = tmp_delta - iter->delta_time_msec; + tmp_delta -= iter->delta_time_msec; prev = iter; iter = iter->next; } @@ -307,10 +301,12 @@ void timer::insert_to_list(timer_node_t* new_node) } // update the delta time for the next element if (new_node->next) { - new_node->next->delta_time_msec = new_node->next->delta_time_msec - new_node->delta_time_msec; + new_node->next->delta_time_msec -= new_node->delta_time_msec; new_node->next->prev = new_node; } - tmr_logfuncall("insert new node to list (handler %p, timer %d, delta time %d)", new_node->handler, new_node->orig_time_msec, new_node->delta_time_msec); + tmr_logfuncall("insert new node to list (handler %p, timer %ld, delta time %ld)", + new_node->handler, new_node->orig_time_msec.count(), + new_node->delta_time_msec.count()); } // remove timer from list (without free) @@ -325,10 +321,11 @@ void timer::remove_from_list(timer_node_t* node) m_list_head = node->next; } if (node->next) { // not the last element in list - node->next->delta_time_msec = node->next->delta_time_msec + node->delta_time_msec; + node->next->delta_time_msec += node->delta_time_msec; node->next->prev = node->prev; } - tmr_logfuncall("removed node from list (handler %p, timer %d, delta time %d)", node->handler, node->orig_time_msec, node->delta_time_msec); + tmr_logfuncall("removed node from list (handler %p, timer %ld, delta time %ld)", node->handler, + node->orig_time_msec.count(), node->delta_time_msec.count()); } @@ -353,7 +350,7 @@ void timer::debug_print_list() timer_node_t* iter = m_list_head; tmr_logdbg(""); while (iter) { - tmr_logdbg("node %p timer %d",iter, iter->delta_time_msec); + tmr_logdbg("node %p timer %ld",iter, iter->delta_time_msec.count()); iter = iter->next; } } diff --git a/src/vma/event/delta_timer.h b/src/vma/event/delta_timer.h index 8132b2b88..f2f5ba15e 100644 --- a/src/vma/event/delta_timer.h +++ b/src/vma/event/delta_timer.h @@ -34,7 +34,7 @@ #ifndef DELTA_TIMER_H #define DELTA_TIMER_H -#include +#include #include "utils/lock_wrapper.h" #define INFINITE_TIMEOUT (-1) @@ -55,9 +55,9 @@ enum timer_req_type_t { struct timer_node_t { /* delta time from the previous node (millisec) */ - unsigned int delta_time_msec; + std::chrono::milliseconds delta_time_msec; /* the orig timer requested (saved in order to re-register periodic timers) */ - unsigned int orig_time_msec; + std::chrono::milliseconds orig_time_msec; /* control thread-safe access to handler. Recursive because unregister_timer_event() * can be called from handle_timer_expired() * that is under trylock() inside process_registered_timers @@ -107,7 +107,7 @@ class timer void remove_from_list(timer_node_t* node); timer_node_t* m_list_head; - timespec m_ts_last; + std::chrono::time_point m_ts_last; }; const char* timer_req_type_str(timer_req_type_t type); From 4ee01b97b4b0d5194d3714a66d16bd4256e3908e Mon Sep 17 00:00:00 2001 From: Alex Briskin Date: Tue, 13 Feb 2024 14:07:52 +0200 Subject: [PATCH 041/150] issue: 3749310 Move loops_timer to chrono Signed-off-by: Alex Briskin --- src/vma/util/utils.cpp | 54 ++++++++++++++++++++++++++++----------- src/vma/util/utils.h | 57 ++++++++++++------------------------------ 2 files changed, 55 insertions(+), 56 deletions(-) diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 25c2cf540..79aeb6fc1 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -43,6 +43,7 @@ #include #include #include +#include #include #include #include //IP header (struct iphdr) definition @@ -68,6 +69,7 @@ #endif using namespace std; +using namespace std::chrono; #undef MODULE_NAME #define MODULE_NAME "utils:" @@ -1212,18 +1214,18 @@ int validate_tso(int if_index) } loops_timer::loops_timer() + : m_start() + , m_elapsed(milliseconds(0)) + , m_current() + , m_interval_it(2048) + , m_timer_countdown(0) + , m_timeout_msec(-1) { - m_timeout_msec = -1; - m_timer_countdown = 0; - m_interval_it = 2048; - ts_clear(&m_start); - ts_clear(&m_elapsed); - ts_clear(&m_current); } void loops_timer::start() { - ts_clear(&m_start); + m_start = steady_clock::time_point(); // set to 1 so the first loop is fast and only after it m_start will be initialized m_timer_countdown = 1; } @@ -1233,23 +1235,45 @@ int loops_timer::time_left_msec() if ( m_timeout_msec == -1 ) return -1; - if (!ts_isset(&m_start)) { //VMA_RX_POLL==0 - gettime(&m_start); + auto current = steady_clock::now(); + if (m_start.time_since_epoch() == steady_clock::duration::zero()) { + m_start = current; } - timespec current; - gettime(¤t); - ts_sub(¤t, &m_start, &m_elapsed); + m_elapsed = duration_cast(current - m_start); - //cover the case of left<0 - return (m_timeout_msec-ts_to_msec(&m_elapsed))>0 ? m_timeout_msec-ts_to_msec(&m_elapsed) : 0; + return std::max(0, m_timeout_msec - m_elapsed.count()); } +bool loops_timer::is_timeout() +{ + if (m_timeout_msec == -1) + return false; + + if (m_timer_countdown > 0) { + m_timer_countdown--; + return false; + } + //init counter + m_timer_countdown = m_interval_it; + + if (m_start.time_since_epoch() == steady_clock::duration::zero()) { + m_start = steady_clock::now(); + } + // update timer + m_current = steady_clock::now(); + m_elapsed = duration_cast(m_current - m_start); + + __log_finer("update loops_timer elapsed time=%ld msec\n", m_elapsed.count()); + + // test for timeout + return m_timeout_msec <= m_elapsed.count(); +} /////////////////////////////////////////// uint32_t fd2inode(int fd) { struct stat buf; int rc = fstat(fd, &buf); - return rc==0 ? buf.st_ino : 0; // no inode is 0 + return rc == 0 ? buf.st_ino : 0; // no inode is 0 } /////////////////////////////////////////// diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index 3bcd16a42..48d3df0eb 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -34,6 +34,7 @@ #ifndef UTILS_H #define UTILS_H +#include #include #include #include @@ -42,7 +43,6 @@ #include #include "vtypes.h" -#include "utils/rdtsc.h" #include "vlogger/vlogger.h" #include "vma/proto/mem_buf_desc.h" #include "vma/util/vma_stats.h" @@ -396,46 +396,21 @@ static inline void create_mgid_from_ipv4_mc_ip(uint8_t *mgid, uint16_t pkey, uin * special design for the rx loop. */ class loops_timer { - public: - loops_timer(); - void start(); - int time_left_msec(); - void set_timeout_msec(int timeout_msec) { m_timeout_msec = timeout_msec; } - int get_timeout_msec() { return m_timeout_msec; } - inline bool is_timeout() { - if (m_timeout_msec == -1) - return false; - - if (m_timer_countdown > 0) { - m_timer_countdown--; - return false; - } - //init counter - m_timer_countdown = m_interval_it; - - if (!ts_isset(&m_start)) { - gettime(&m_start); - } - //update timer - gettime(&m_current); - ts_sub(&m_current, &m_start, &m_elapsed); - vlog_printf(VLOG_FUNC_ALL, "update loops_timer (elapsed time=%ld sec %ld usec\n", ts_to_sec(&m_elapsed), ts_to_usec(&m_elapsed)); - - - - // test for timeout - if (m_timeout_msec <= ts_to_msec(&m_elapsed)) - return true; - - return false; - } - private: - timespec m_start; - timespec m_elapsed; - timespec m_current; - int m_interval_it; - int m_timer_countdown; - int m_timeout_msec; +public: + loops_timer(); + void start(); + int time_left_msec(); + void set_timeout_msec(int timeout_msec) { m_timeout_msec = timeout_msec; } + int get_timeout_msec() { return m_timeout_msec; } + bool is_timeout(); + +private: + std::chrono::time_point m_start; + std::chrono::milliseconds m_elapsed; + std::chrono::time_point m_current; + int m_interval_it; + int m_timer_countdown; + int m_timeout_msec; }; // Returns the filesystem's inode number for the given 'fd' using 'fstat' system call that assumes 32 bit inodes From 536ca51fb61bff316bc7b946e15c58bd48fc6a13 Mon Sep 17 00:00:00 2001 From: Gal Noam Date: Wed, 28 Feb 2024 11:53:53 +0200 Subject: [PATCH 042/150] issue: 321712 ****************** VMA 9.8.60 ****************** Signed-off-by: Gal Noam --- CHANGES | 7 +++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 021f1b9d2..a55ee74a8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +Version 9.8.60-1: +Date + Time 2024-02-28 +============================================================= +Fixed: + - RM #3749337 Fix TCP keepAlive timer when set to -1 + - RM #3749310 Fix delayed TCP keepAlive probes + Version 9.8.51-1: Date + Time 2024-01-11 ============================================================= diff --git a/configure.ac b/configure.ac index 0c9924124..545f661e0 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 51) +define([prj_ver_revision], 60) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 9c9c23bbd..c1f965e14 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Thu Jan 11 2024 NVIDIA CORPORATION 9.8.51-1 -- Bump version to 9.8.51 +* Wed Feb 28 2024 NVIDIA CORPORATION 9.8.60-1 +- Bump version to 9.8.60 - Please refer to CHANGES for full changelog. From 96f1d72364e6f1e279b2cf9c5f8336a71db0fa64 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Thu, 25 Apr 2024 14:23:47 +0300 Subject: [PATCH 043/150] issue: 3375239 - add email scan in packages The idea is to scan all rpm/deb packages for personal emails We should not be releasing packages with personal emails The scan is done on both the metadata info and the changelog of a specific package Remove personal mails from deb/rpm issue: 3375239 Signed-off-by: NirWolfer --- contrib/jenkins_tests/rpm.sh | 33 +++++++++++++++++++++++++++++++++ docs/man/vma.7.in | 2 +- docs/man/vma_stats.8.in | 2 +- docs/man/vmad.8.in | 2 +- 4 files changed, 36 insertions(+), 3 deletions(-) diff --git a/contrib/jenkins_tests/rpm.sh b/contrib/jenkins_tests/rpm.sh index 53f992343..2e75f1292 100755 --- a/contrib/jenkins_tests/rpm.sh +++ b/contrib/jenkins_tests/rpm.sh @@ -87,5 +87,38 @@ if [ $opt_checkpkg -eq 1 ]; then test_id=$((test_id+1)) fi +# check if we have email of indevidual users in the packages rpm/deb metadata Maintainer field +pacakges_location="$rpm_dir"/dist-pkg +email_log_file="$rpm_dir"/dist-pkg/email_scan.log +if [ $opt_rpm -eq 1 ]; then + search_filter="*.rpm" + test_info_exec="rpm -qpi --changelog" +else + search_filter="*.deb" + test_info_exec="apt info" +fi + +# iterate on all packages and extarct the metadata to outout file +touch "$email_log_file" +find "$pacakges_location" -type f -name "$search_filter" -exec $test_info_exec {} \; | tee -a "$email_log_file" +do_archive "$email_log_file" +set +e + +# grep email strings exclude allowed email networking-support@nvidiacom +test_output=$(grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b" "$email_log_file" | grep -v "networking-support") +test_rc=$? +set -e + +# check rc - grep will return 0 if it found such mail and 1 if not +if [[ $test_rc -eq 0 ]]; then + # if we found such mail we will get return code 0 + echo "ERROR: found bad email address $test_output" + rc=$((rc + 1)) +elif [[ -n "$test_output" ]]; then + # if we got rc not 0 and we have output it means something else failed + echo "ERROR: could not find bad email but something else failed: $test_output" + rc=$((rc + 1)) +fi + echo "[${0##*/}]..................exit code = $rc" exit $rc diff --git a/docs/man/vma.7.in b/docs/man/vma.7.in index 111151237..8775eb367 100644 --- a/docs/man/vma.7.in +++ b/docs/man/vma.7.in @@ -39,4 +39,4 @@ VMA Library version information. .SH "AUTHORS" .TP -Igor Ivanov +NVIDIA CORPORATION diff --git a/docs/man/vma_stats.8.in b/docs/man/vma_stats.8.in index 9609a464c..228f9b71c 100644 --- a/docs/man/vma_stats.8.in +++ b/docs/man/vma_stats.8.in @@ -67,4 +67,4 @@ Print version. .SH "AUTHORS" .TP -Igor Ivanov +NVIDIA CORPORATION diff --git a/docs/man/vmad.8.in b/docs/man/vmad.8.in index 08e9816c6..78e800171 100644 --- a/docs/man/vmad.8.in +++ b/docs/man/vmad.8.in @@ -38,4 +38,4 @@ Output verbose level .SH "AUTHORS" .TP -Igor Ivanov +NVIDIA CORPORATION From 8085171f9ee2198aa5322be33d81ce15ce27bb1f Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Tue, 25 Jun 2024 17:41:18 +0300 Subject: [PATCH 044/150] [CI] Migrate pipeline to Blossom Change proj_jjb.yaml and job_matrix.yaml to fit the new nbu jenkins master, to allow it to run on the new jenkins instance Remove tap archives from job matrix, as it is not in use by anyone and the plugin is not installed on the new Blossom master Add redmine_jjb to convert the old redmine checker job into a jjb file, all ci pipelines should have a code representation for better maintainability Issue: HPCINFRA-2277 Signed-off-by: NirWolfer --- .ci/matrix_job.yaml | 26 -------------------------- .ci/proj_jjb.yaml | 17 +++++++++-------- 2 files changed, 9 insertions(+), 34 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index e29fa13b3..74d0882dc 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -102,8 +102,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap - name: Service enable: ${do_service} @@ -119,8 +117,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap - name: Package enable: ${do_package} @@ -132,8 +128,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap - name: Style enable: ${do_style} @@ -149,8 +143,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap - name: Compiler enable: ${do_compiler} @@ -166,8 +158,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap - name: Coverity enable: ${do_coverity} @@ -185,8 +175,6 @@ steps: archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz, jenkins/**/output/errors/**/*.html - archiveTap-onfail: | - jenkins/**/*.tap - name: Cppcheck enable: ${do_cppcheck} @@ -202,8 +190,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap - name: Csbuild enable: ${do_csbuild} @@ -219,8 +205,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap - name: Test enable: ${do_test} @@ -236,8 +220,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap - name: Gtest enable: ${do_gtest} @@ -253,8 +235,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap archiveJunit-onfail: | jenkins/**/*.xml @@ -273,8 +253,6 @@ steps: archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz, jenkins/**/vg/*valgrind*.log - archiveTap-onfail: | - jenkins/**/*.tap - name: Commit enable: ${do_commit} @@ -290,8 +268,6 @@ steps: ./.ci/artifacts.sh archiveArtifacts-onfail: | jenkins/**/arch-*.tar.gz - archiveTap-onfail: | - jenkins/**/*.tap - name: Artifacts enable: ${do_artifact} @@ -300,8 +276,6 @@ steps: parallel: false archiveArtifacts: | jenkins/**/arch-*.tar.gz - archiveTap: | - jenkins/**/*.tap archiveJunit: | jenkins/**/*.xml diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index f1e3f4aca..67c8db0eb 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -1,9 +1,10 @@ - job-template: name: "{jjb_proj}" project-type: pipeline + folder: libvma properties: - github: - url: "{jjb_git}" + url: "https://github.com/Mellanox/libvma" - build-discarder: days-to-keep: 50 num-to-keep: 20 @@ -98,12 +99,12 @@ - github-pull-request: cron: 'H/5 * * * *' trigger-phrase: '.*\bbot:retest\b.*' - status-context: "Mellanox Lab" + status-context: ""{jjb_proj}"" success-status: "[PASS]" failure-status: "[FAIL]" error-status: "[FAIL]" status-add-test-results: true - auth-id: '549927eb-7f38-4a8f-997a-81dd63605782' + auth-id: '2806c206-c725-4d8c-af4b-bedfc463b401' org-list: ["Mellanox"] white-list: ["swx-jenkins","swx-jenkins2","swx-jenkins3","mellanox-github"] allow-whitelist-orgs-as-admins: true @@ -112,7 +113,7 @@ scm: - git: url: "{jjb_git}" - credentials-id: 'ef94fa95-5480-41ea-863f-6525aace5bc9' + credentials-id: 'b7d08ca7-378c-45d6-ac4b-3f30bdf49168' branches: ['$sha1'] shallow-clone: true depth: 2 @@ -121,10 +122,10 @@ browser-url: "{jjb_git}" script-path: ".ci/Jenkinsfile" - project: - name: proj_name - jjb_email: 'lennyb@nvidia.com' + name: libvma + jjb_email: 'nwolfer@nvidia.com' jjb_proj: 'LibVMA' - jjb_git: 'https://github.com/Mellanox/libvma' - jjb_owner: 'Lenny Verkhovsky' + jjb_git: 'git@github.com:Mellanox/libvma.git' + jjb_owner: 'Nir Wolfer' jobs: - "{jjb_proj}" From 402a883944d3164efd303150cc15f7eafef85b9e Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Tue, 2 Jul 2024 14:47:00 +0300 Subject: [PATCH 045/150] issue: 3977246 ngci connecting to the wrong url Changes made in this PR: https://github.com/Mellanox/ci-demo/pull/90 requires the following changes in this repo Add credentialsId to login into the new gerrit url, skipDockerDaemonCheck configuration provided by the gerrit team. issue: HPCINFRA-2289 Signed-off-by: NirWolfer --- .ci/Jenkinsfile | 2 +- .ci/matrix_job.yaml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index 714b4e92a..862a441cc 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -2,7 +2,7 @@ // load pipeline functions // Requires pipeline-github-lib plugin to load library from github -@Library('github.com/Mellanox/ci-demo@stable') +@Library('github.com/Mellanox/ci-demo@stable_media') def matrix = new com.mellanox.cicd.Matrix() matrix.main() diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 74d0882dc..a05fca181 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -7,7 +7,7 @@ registry_host: harbor.mellanox.com registry_auth: swx-storage kubernetes: - privileged: false + privileged: true cloud: swx-k8s-spray nodeSelector: 'beta.kubernetes.io/os=linux' @@ -37,7 +37,6 @@ runs_on_dockers: - {name: 'ub20.04-mofed-aarch64', url: 'harbor.mellanox.com/swx-infra/aarch64/ubuntu20.04/builder:mofed-5.2-1.0.4.0', category: 'base', arch: 'aarch64'} - {name: 'rhel8.6-inbox-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'base', arch: 'x86_64'} - {name: 'ub22.04-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu22.04/builder:mofed-5.7-0.1.1.0', category: 'base', arch: 'x86_64'} -# - {name: 'fc36-x86_64', url: 'harbor.mellanox.com/rivermax/x86_64/fedora36:builder', category: 'base', arch: 'x86_64'} # tool - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.3/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', url: 'harbor.mellanox.com/toolbox/ngci-centos:7.9.2009.2', category: 'tool', arch: 'x86_64'} @@ -289,12 +288,14 @@ steps: module: ngci run: NGCIBlackDuckScan args: - projectName: ${jjb_proj} - projectVersion: ${ghprbPullId} + projectName: "LibVMA" + projectVersion: "0.1.0" projectSrcPath: "src" attachArtifact: true reportName: "BlackDuck report" scanMode: "source" + skipDockerDaemonCheck: true + credentialsId: "b68aedbd-e39f-4ee2-acce-e25a5b91fe18" env: SPRING_APPLICATION_JSON: '{"blackduck.url":"https://blackduck.mellanox.com/","blackduck.api.token":"ODMwOWYwMzEtODA2ZC00MzBjLWI1ZDEtNmFiMjBkYzQzMzkwOjNmNjExN2M1LWE2ZmEtNDZlYS1hZjRiLTZlNDgwNjAwOTVjNw=="}' From bbaae4958cc5a95d0285800d4aa403a7bbe3dda5 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Sun, 30 Jun 2024 13:59:52 +0300 Subject: [PATCH 046/150] issue: 3977246 Migrate redmine checker pipeline to blossom Create JJB file for redmine checker, all CI should have code representation. Issue: HPCINFRA-2277 Signed-off-by: NirWolfer --- .ci/redmine_jjb.yaml | 71 +++++++++++++++++++++++++++++++++++++ .ci/redmine_matrix_job.yaml | 54 ++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) create mode 100644 .ci/redmine_jjb.yaml create mode 100644 .ci/redmine_matrix_job.yaml diff --git a/.ci/redmine_jjb.yaml b/.ci/redmine_jjb.yaml new file mode 100644 index 000000000..09ca2fd61 --- /dev/null +++ b/.ci/redmine_jjb.yaml @@ -0,0 +1,71 @@ +- job-template: + name: "{jjb_proj}" + project-type: pipeline + folder: libvma + properties: + - github: + url: "https://github.com/Mellanox/libvma" + - build-discarder: + days-to-keep: 30 + num-to-keep: 30 + - inject: + keep-system-variables: true + properties-content: | + jjb_proj={jjb_proj} + description: The job is checking the RM issue. Do NOT edit this job through the Web GUI ! + concurrent: true + parameters: + - string: + name: "git_repository" + default: "ssh://git@github.com/mellanox/libvma" + description: "Git repository path." + - string: + name: "conf_file" + default: ".ci/redmine_matrix_job.yaml" + description: "Regex to select job config file. Do not change it" + - string: + name: "MAIL_TO" + default: "nirni@mellanox.com" + description: "Whitespace-separated list of recipient addresses." + + wrappers: + - workspace-cleanup + - build-user-vars + - timestamps + + triggers: + - github-pull-request: + cron: 'H/5 * * * *' + trigger-phrase: '.*\bbot:(?:rm:)?retest\b.*' + status-context: "{jjb_proj}" + success-status: "[PASS]" + failure-status: "[FAIL]" + error-status: "[FAIL]" + status-add-test-results: true + auth-id: '2806c206-c725-4d8c-af4b-bedfc463b401' + admin-list: ["Mellanox"] + org-list: ["Mellanox"] + white-list: ["Mellanox"] + allow-whitelist-orgs-as-admins: true + cancel-builds-on-update: true + + pipeline-scm: + scm: + - git: + url: "{jjb_git}" + credentials-id: 'b7d08ca7-378c-45d6-ac4b-3f30bdf49168' + branches: ['$sha1'] + shallow-clone: true + depth: 2 + refspec: "+refs/pull/*:refs/remotes/origin/pr/*" + browser: githubweb + browser-url: "{jjb_git}" + script-path: ".ci/Jenkinsfile" +- project: + name: libvma + jjb_email: 'nwolfer@nvidia.com' + jjb_proj: 'LibVMA-redmine-issue' + jjb_git: 'git@github.com:Mellanox/libvma.git' + jjb_owner: 'Nir Wolfer' + jobs: + - "{jjb_proj}" diff --git a/.ci/redmine_matrix_job.yaml b/.ci/redmine_matrix_job.yaml new file mode 100644 index 000000000..10ec9e8b6 --- /dev/null +++ b/.ci/redmine_matrix_job.yaml @@ -0,0 +1,54 @@ +--- +job: LibVMA-redmine-issue + +registry_host: harbor.mellanox.com +registry_auth: swx-storage + +kubernetes: + privileged: true + cloud: il-ipp-blossom-prod + namespace: swx-media + nodeSelector: 'beta.kubernetes.io/os=linux' + limits: '{memory: 1Gi, cpu: 1000m}' + requests: '{memory: 1Gi, cpu: 1000m}' + +failFast: false +timeout_minutes: 20 +env: + MAIL_FROM: jenkins@nvidia.com + +volumes: + - {mountPath: /hpc/local/inst/hpc-internal-tools, hostPath: /hpc/local/inst/hpc-internal-tools} + +runs_on_dockers: +# ubuntu 16.04 is used due to script dependency on python2 old print format + - {name: 'ub16.04-base', url: 'harbor.mellanox.com/swx-infra/x86_64/ubuntu16.04/base', arch: 'x86_64'} + +steps: + - name: Redmine + containerSelector: + - "{name: 'ub16.04-base'}" + run: | + #!/bin/bash -eExl + env + + /hpc/local/inst/hpc-internal-tools/tools/git_tools/git_redmine/update_redmine_from_git_commit.py --update --project_id=9 --on_email_mismatch=warn \ + --on_issue_not_in_project=fail --pr_url=${ghprbPullLink} --commit_id=${ghprbActualCommit} + parallel: false + +pipeline_start: + run: | + printenv + echo "Start" + +pipeline_stop: + shell: action + module: groovy + run: | + mail from: "${MAIL_FROM}", + mimeType: 'text/html', + to: "${MAIL_TO}", + subject: 'Redmine check for build ${currentBuild.number}', + body: """ +

Build url: link

""" + sh 'echo "Finish"' From 8d670d2f7fbcaaddb6d9231030c8b61d8ea587cf Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 23 Jun 2024 12:09:14 -0400 Subject: [PATCH 047/150] Fix compilation with GCC 14 C++20 has changed the syntax for nested template constructors: ``` In file included from ../../src/vma/proto/mem_buf_desc.h:39, from ../../src/vma/util/utils.h:47, from vlogger.cpp:46: ../../src/vma/util/vma_list.h:210:31: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 210 | vma_list_t (const vma_list_t& other) { | ^ ../../src/vma/util/vma_list.h:210:31: note: remove the '< >' ``` Signed-off-by: Yaakov Selkowitz --- src/vma/util/vma_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vma/util/vma_list.h b/src/vma/util/vma_list.h index 5ed6a7a3a..127d12b88 100644 --- a/src/vma/util/vma_list.h +++ b/src/vma/util/vma_list.h @@ -207,7 +207,7 @@ class vma_list_t } } - vma_list_t (const vma_list_t& other) { + vma_list_t(const vma_list_t& other) { if (!other.empty()) vlist_logwarn("Copy constructor is not supported for non-empty list! other.size=%zu", other.m_size); init_list(); From 25f17b3d0f562528f5df3210eb008419be47cc2a Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Mon, 22 Jul 2024 17:28:27 +0300 Subject: [PATCH 048/150] issue: 4007026 - [CI] Release pipeline Unti now, release process is done manually by the dev team. This process involves creating a tag on a commit that needs to be released, building that tag and copying the files to NFS location The idea is to create a jenkins pipeline that will do the entire process with given inputs, This commit will commence phase 1 - doing the build and copying of packages created to NFS. THE CREATION OF A RELEASE TAG ON A COMMIT IS NOT PART OF THIS PR Add release_jjb and the corosponding matrix file for a new pipeline definition, the release is run on rhel8.6 Add do_release.sh script to run the build and NFS copy to release the package Add Dockerfile for release container with all dependencies installed Issue: HPCINFRA-1889 Signed-off-by: NirWolfer --- .ci/do_release.sh | 86 ++++++++++++++++++++++ .ci/dockerfiles/Dockerfile.rhel8.6.release | 27 +++++++ .ci/pipeline/release_jjb.yaml | 65 ++++++++++++++++ .ci/pipeline/release_matrix_job.yaml | 54 ++++++++++++++ 4 files changed, 232 insertions(+) create mode 100755 .ci/do_release.sh create mode 100644 .ci/dockerfiles/Dockerfile.rhel8.6.release create mode 100644 .ci/pipeline/release_jjb.yaml create mode 100644 .ci/pipeline/release_matrix_job.yaml diff --git a/.ci/do_release.sh b/.ci/do_release.sh new file mode 100755 index 000000000..7c5dd90fd --- /dev/null +++ b/.ci/do_release.sh @@ -0,0 +1,86 @@ +#!/bin/bash -Exel + +echo "**********************************" +echo "Starting do_release.sh script..." +echo "**********************************" + +set -o pipefail + +print_help() { + set +xv + echo -e "\n\n" + echo "--------------------------------------------------" + echo "Usage: release_folder= release_tag= [revision=] [do_release=] $0" + echo " Where release folder is a path to NFS folder to copy the package into" + echo " Where release tag is a git tag to release (must be already tagged in the git repo)" + echo " Where revision is a number postfix to add the to package indicating which version of the tag it is - OPTIONAL, default value 1" + echo " Where do_release is a boolean value indicating if the script will copy the created package into the release folder location - OPTIONAL, default value false" + exit 1 +} + +if [ -z "${release_folder}" ]; then + echo "ERROR: 'release_folder' was not set." + print_help +fi + +if [ ! -e "${release_folder}" ] || [ ! -d "${release_folder}" ]; then + echo "ERROR: [${release_folder}] directory doesn't exist." + print_help +fi + +if [ -z "${release_tag}" ]; then + echo "ERROR: 'release_tag' was not set." + print_help +fi + +if [ -z "${revision}" ]; then + echo "WARN: 'revision' was not set, defaulting to 1" + revision=1 +fi + +if [ -z "${do_release}" ]; then + echo "WARN: 'do_release' was not set, defaulting to false (package will not be release)" + do_release=false +fi + +env PRJ_RELEASE="${revision}" contrib/build_pkg.sh -s + +MAJOR_VERSION=$(grep -e "define(\[prj_ver_major\]" configure.ac | awk '{ printf $2 };' | sed 's/)//g') +MINOR_VERSION=$(grep -e "define(\[prj_ver_minor\]" configure.ac | awk '{ printf $2 };' | sed 's/)//g') +REVISION_VERSION=$(grep -e "define(\[prj_ver_revision\]" configure.ac | awk '{ printf $2 };' | sed 's/)//g') +configure_ac_version="${MAJOR_VERSION}.${MINOR_VERSION}.${REVISION_VERSION}" +echo "FULL_VERSION from configure.ac: [${configure_ac_version}]" + +if [[ "${release_tag}" != "${configure_ac_version}" ]]; then + echo "ERROR: FULL_VERSION: ${configure_ac_version} from configure.ac doesn't match tag: ${release_tag} provided! Exit" + exit 1 +fi + +if [ "${do_release}" = true ] ; then + echo "do_release is set to true, will release package into ${release_folder}/libvma_v_${release_tag}-0/src" + + cd pkg/packages || { echo "pkg folder is missing, exiting..."; exit 1; } + pkg_name=$(ls -1 libvma-"${release_tag}"-"${revision}".src.rpm) + DST_DIR=${release_folder}/libvma_v_${release_tag}-0/src + + if [[ -e "${DST_DIR}/${pkg_name}" ]]; then + echo "ERROR: [${DST_DIR}/${pkg_name}] file already exist. Exit" + exit 1 + fi + + sudo -E -u swx-jenkins mkdir -p "$DST_DIR" + sudo -E -u swx-jenkins cp -v "${pkg_name}" "$DST_DIR" + + cd "${release_folder}" + sudo -E -u swx-jenkins ln -s "$DST_DIR/${pkg_name}" latest_release + + echo "Release found at $DST_DIR" + +else + echo "do_release is set to false, skipping package release." +fi + +set +x +echo "**********************************" +echo "Finished do_release.sh script..." +echo "**********************************" diff --git a/.ci/dockerfiles/Dockerfile.rhel8.6.release b/.ci/dockerfiles/Dockerfile.rhel8.6.release new file mode 100644 index 000000000..d9e278279 --- /dev/null +++ b/.ci/dockerfiles/Dockerfile.rhel8.6.release @@ -0,0 +1,27 @@ +ARG HARBOR_URL=harbor.mellanox.com +FROM $HARBOR_URL/hpcx/x86_64/rhel8.6/core:latest +ARG _UID=6213 +ARG _GID=101 +ARG _LOGIN=swx-jenkins +ARG _HOME=/var/home/$_LOGIN + +RUN sed -i 's/mirrorlist/#mirrorlist/;s!#baseurl=http://mirror.centos.org!baseurl=http://vault.centos.org!' /etc/yum.repos.d/* && \ + echo "[mlnx-opt]" > /etc/yum.repos.d/mlnx-opt.repo && \ + echo "name=RHEL 8.6 mirror" >> /etc/yum.repos.d/mlnx-opt.repo && \ + echo "baseurl=http://webrepo.mtr.labs.mlnx/RH/optional/8.6/x86_64/" >> /etc/yum.repos.d/mlnx-opt.repo && \ + echo "enabled=1" >> /etc/yum.repos.d/mlnx-opt.repo && \ + echo "gpgcheck=0" >> /etc/yum.repos.d/mlnx-opt.repo && \ + yum makecache + +RUN echo "${_LOGIN} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ + echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ + mkdir -p ${_HOME} && \ + groupadd -f -g "$_GID" "$_LOGIN" && \ + useradd -u "$_UID" -g "$_GID" -s /bin/bash -m -d ${_HOME} "${_LOGIN}" && \ + chown -R ${_LOGIN} ${_HOME} + +RUN yum install --allowerasing -y \ + git autoconf automake libtool gcc \ + sudo gcc-c++ libibverbs-devel rdma-core \ + librdmacm unzip patch wget make \ + libnl3-devel rpm-build diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml new file mode 100644 index 000000000..cf07a66b9 --- /dev/null +++ b/.ci/pipeline/release_jjb.yaml @@ -0,0 +1,65 @@ +- job-template: + name: "{jjb_proj}" + project-type: pipeline + folder: libvma + properties: + - github: + url: "https://github.com/Mellanox/libvma" + - build-discarder: + days-to-keep: 50 + num-to-keep: 20 + - inject: + keep-system-variables: true + properties-content: | + jjb_proj={jjb_proj} + description: Do NOT edit this job through the Web GUI ! + concurrent: false + parameters: + - string: + name: "release_tag" + default: "" + description: "Tag to release" + - string: + name: sha1 + default: 'tags/$release_tag' + description: 'commit to use, defaults to the commit tag provided under release_tag' + - string: + name: "revision" + default: "1" + description: "Release revision" + - string: + name: "release_folder" + default: "/auto/mswg/release/vma" + description: "Folder to release packages into" + - bool: + name: "do_release" + default: true + description: "Release build packges into the release folder, set to false for debugging" + - string: + name: "notification_email" + default: "55ae26f6.NVIDIA.onmicrosoft.com@amer.teams.ms" + description: "Email to send report to upon success/failure" + - string: + name: "conf_file" + default: ".ci/pipeline/release_matrix_job.yaml" + description: "job config file. Do not change it" + pipeline-scm: + scm: + - git: + url: "{jjb_git}" + credentials-id: 'b7d08ca7-378c-45d6-ac4b-3f30bdf49168' + branches: ['$sha1'] + shallow-clone: true + depth: 2 + refspec: "+refs/pull/*:refs/remotes/origin/pr/*" + browser: githubweb + browser-url: "{jjb_git}" + script-path: ".ci/Jenkinsfile" +- project: + name: libvma + jjb_email: 'nwolfer@nvidia.com' + jjb_proj: 'LibVMA-release' + jjb_git: 'git@github.com:Mellanox/libvma.git' + jjb_owner: 'Nir Wolfer' + jobs: + - "{jjb_proj}" diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml new file mode 100644 index 000000000..545d1f24e --- /dev/null +++ b/.ci/pipeline/release_matrix_job.yaml @@ -0,0 +1,54 @@ +--- +job: LibVMA-release +registry_host: harbor.mellanox.com +registry_auth: 1daaea28-800e-425f-a91f-3bd3e9136eea +registry_path: /swx-infra/media/libvma + +kubernetes: + privileged: true + cloud: il-ipp-blossom-prod + nodeSelector: 'beta.kubernetes.io/os=linux' + namespace: swx-media + limits: '{memory: 8Gi, cpu: 7000m}' + requests: '{memory: 8Gi, cpu: 7000m}' + +env: + MAIL_FROM: jenkins@nvidia.com + +volumes: + # Default release location + - {mountPath: /auto/mswg/release/vma, hostPath: /auto/mswg/release/vma} + # User profile for release + - {mountPath: /var/home/swx-jenkins, hostPath: /labhome/swx-jenkins} + +runs_on_dockers: + - {file: '.ci/dockerfiles/Dockerfile.rhel8.6.release', name: 'rhel8.6', uri: '$arch/$name/release', build_args: '--no-cache', arch: 'x86_64', tag: '20240718'} + +steps: + - name: Release + parallel: false + run: | + .ci/do_release.sh + archiveArtifacts: pkg/build_pkg.log,pkg/packages/*.rpm + +pipeline_start: + shell: action + module: groovy + run: | + echo "Starting release process for LibVMA-${release_tag}" + currentBuild.displayName += "-${release_tag}" + +pipeline_stop: + shell: action + module: groovy + run: | + if (!params.notification_email.isEmpty()) { + mail from: "${MAIL_FROM}", + mimeType: 'text/html', + to: "${notification_email}", + subject: "Release build ended for LibVMA - ${release_tag}", + body: """ +

Tag: ${release_tag}

+

Build url: link

+

Status: ${currentBuild.currentResult}

""" + } From ca8b8f5e6d3ed5c4ff252e06d33b133ca10db0bc Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Sun, 11 Aug 2024 14:53:44 +0300 Subject: [PATCH 049/150] [CI] issue: 4007026 Remove latest file link from release script The new release pipeline links the latest release to a file called latest release, the dev team requested this feature to be removed Remove ln line from do_release script Signed-off-by: NirWolfer --- .ci/do_release.sh | 5 ----- .ci/proj_jjb.yaml | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.ci/do_release.sh b/.ci/do_release.sh index 7c5dd90fd..81937924e 100755 --- a/.ci/do_release.sh +++ b/.ci/do_release.sh @@ -70,12 +70,7 @@ if [ "${do_release}" = true ] ; then sudo -E -u swx-jenkins mkdir -p "$DST_DIR" sudo -E -u swx-jenkins cp -v "${pkg_name}" "$DST_DIR" - - cd "${release_folder}" - sudo -E -u swx-jenkins ln -s "$DST_DIR/${pkg_name}" latest_release - echo "Release found at $DST_DIR" - else echo "do_release is set to false, skipping package release." fi diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index 67c8db0eb..650d13e38 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -99,7 +99,7 @@ - github-pull-request: cron: 'H/5 * * * *' trigger-phrase: '.*\bbot:retest\b.*' - status-context: ""{jjb_proj}"" + status-context: "{jjb_proj}" success-status: "[PASS]" failure-status: "[FAIL]" error-status: "[FAIL]" From 77e0f785f465dec7799cd32e2504fed3e90b3cbc Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Sun, 18 Aug 2024 11:38:06 +0300 Subject: [PATCH 050/150] issue: 4007026 Disaster recovery pipeline Support for release process in DRP is required, since the envrironment is different than the prod environment there should be a new pipeline defined with said changes Add new job template definition to release_jjb Add new dr matrix with configuration for PDC env Issue: HPCINFRA-1889 Signed-off-by: NirWolfer --- .ci/pipeline/release_jjb.yaml | 68 +++++++++++++++++++++++-- .ci/pipeline/release_matrix_job_dr.yaml | 54 ++++++++++++++++++++ 2 files changed, 119 insertions(+), 3 deletions(-) create mode 100644 .ci/pipeline/release_matrix_job_dr.yaml diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml index cf07a66b9..a96cbca6a 100644 --- a/.ci/pipeline/release_jjb.yaml +++ b/.ci/pipeline/release_jjb.yaml @@ -1,7 +1,7 @@ - job-template: name: "{jjb_proj}" project-type: pipeline - folder: libvma + folder: "{jjb_folder}" properties: - github: url: "https://github.com/Mellanox/libvma" @@ -29,7 +29,7 @@ description: "Release revision" - string: name: "release_folder" - default: "/auto/mswg/release/vma" + default: "{jjb_release_folder}" description: "Folder to release packages into" - bool: name: "do_release" @@ -37,7 +37,7 @@ description: "Release build packges into the release folder, set to false for debugging" - string: name: "notification_email" - default: "55ae26f6.NVIDIA.onmicrosoft.com@amer.teams.ms" + default: "{jjb_release_email}" description: "Email to send report to upon success/failure" - string: name: "conf_file" @@ -55,11 +55,73 @@ browser: githubweb browser-url: "{jjb_git}" script-path: ".ci/Jenkinsfile" +- job-template: + name: "{jjb_proj}-dr" + project-type: pipeline + folder: "{jjb_folder}" + disabled: true + properties: + - github: + url: "https://github.com/Mellanox/libvma" + - build-discarder: + days-to-keep: 50 + num-to-keep: 20 + - inject: + keep-system-variables: true + properties-content: | + jjb_proj={jjb_proj}-dr + description: Do NOT edit this job through the Web GUI ! + concurrent: false + parameters: + - string: + name: "release_tag" + default: "" + description: "Tag to release" + - string: + name: sha1 + default: 'tags/$release_tag' + description: 'commit to use, defaults to the commit tag provided under release_tag' + - string: + name: "revision" + default: "1" + description: "Release revision" + - string: + name: "release_folder" + default: "{jjb_release_folder}" + description: "Folder to release packages into" + - bool: + name: "do_release" + default: true + description: "Release build packges into the release folder, set to false for debugging" + - string: + name: "notification_email" + default: "{jjb_release_email}" + description: "Email to send report to upon success/failure" + - string: + name: "conf_file" + default: ".ci/pipeline/release_matrix_job_dr.yaml" + description: "job config file. Do not change it" + pipeline-scm: + scm: + - git: + url: "{jjb_git}" + credentials-id: 'b7d08ca7-378c-45d6-ac4b-3f30bdf49168' + branches: ['$sha1'] + shallow-clone: true + depth: 2 + refspec: "+refs/pull/*:refs/remotes/origin/pr/*" + browser: githubweb + browser-url: "{jjb_git}" + script-path: ".ci/Jenkinsfile" - project: name: libvma jjb_email: 'nwolfer@nvidia.com' jjb_proj: 'LibVMA-release' jjb_git: 'git@github.com:Mellanox/libvma.git' jjb_owner: 'Nir Wolfer' + jjb_folder: 'libvma' + jjb_release_folder: '/auto/mswg/release/vma' + jjb_release_email: '55ae26f6.NVIDIA.onmicrosoft.com@amer.teams.ms' jobs: - "{jjb_proj}" + - "{jjb_proj}-dr" diff --git a/.ci/pipeline/release_matrix_job_dr.yaml b/.ci/pipeline/release_matrix_job_dr.yaml new file mode 100644 index 000000000..9427d2367 --- /dev/null +++ b/.ci/pipeline/release_matrix_job_dr.yaml @@ -0,0 +1,54 @@ +--- +job: LibVMA-release-dr +registry_host: harbor-pdc.nvidia.com +registry_auth: 1daaea28-800e-425f-a91f-3bd3e9136eea +registry_path: /swx-infra/media/libvma + +kubernetes: + privileged: true + cloud: il-ipp-blossom-prod + nodeSelector: 'beta.kubernetes.io/os=linux' + namespace: swx-media + limits: '{memory: 8Gi, cpu: 7000m}' + requests: '{memory: 8Gi, cpu: 7000m}' + +env: + MAIL_FROM: jenkins@nvidia.com + +volumes: + # Default release location + - {mountPath: /auto/mswg/release/vma, hostPath: /auto/mswg/release/vma} + # User profile for release + - {mountPath: /var/home/swx-jenkins, hostPath: /labhome/swx-jenkins} + +runs_on_dockers: + - {file: '.ci/dockerfiles/Dockerfile.rhel8.6.release', name: 'rhel8.6', uri: '$arch/$name/release', build_args: '--build-arg HARBOR_URL=$registry_host --no-cache', arch: 'x86_64', tag: '20240718'} + +steps: + - name: Release + parallel: false + run: | + .ci/do_release.sh + archiveArtifacts: pkg/build_pkg.log,pkg/packages/*.rpm + +pipeline_start: + shell: action + module: groovy + run: | + echo "Starting release process for LibVMA-${release_tag}" + currentBuild.displayName += "-${release_tag}" + +pipeline_stop: + shell: action + module: groovy + run: | + if (!params.notification_email.isEmpty()) { + mail from: "${MAIL_FROM}", + mimeType: 'text/html', + to: "${notification_email}", + subject: "Release build ended for LibVMA - ${release_tag}", + body: """ +

Tag: ${release_tag}

+

Build url: link

+

Status: ${currentBuild.currentResult}

""" + } From 0969448fd59f73a5c3a4e839121d3d9838daa231 Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Thu, 15 Aug 2024 15:52:39 +0400 Subject: [PATCH 051/150] issue: 4042266 install DOCA-ofed instead of MOFED in CI Add a doca installation script that does the following: - installs DOCA repo - installs doca-ofed package issue: HPCINFRA-2469 Signed-off-by: Viacheslav Login --- .ci/matrix_job.yaml | 35 ++++++++--- .ci/proj_jjb.yaml | 11 ++++ .ci/scripts/doca_install.sh | 109 +++++++++++++++++++++++++++++++++++ contrib/jenkins_tests/rpm.sh | 2 + 4 files changed, 149 insertions(+), 8 deletions(-) create mode 100755 .ci/scripts/doca_install.sh diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index a05fca181..757e51ac2 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -29,14 +29,15 @@ env: build_dockers: false runs_on_dockers: -# mofed - - {name: 'rhel8.6-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:mofed-5.6-0.4.5.0', category: 'base', arch: 'x86_64'} - - {name: 'rhel9.0-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel9.0/builder:mofed-5.7-0.2.3.0', category: 'base', arch: 'x86_64'} - - {name: 'sl15sp4-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/sles15sp4/builder:mofed-5.6-2.0.9.0', category: 'base', arch: 'x86_64'} - - {name: 'ub20.04-mofed-x86_64', url: 'harbor.mellanox.com/swx-infra/x86_64/ubuntu20.04/builder:mofed-5.2-2.2.0.0', category: 'base', arch: 'x86_64'} - - {name: 'ub20.04-mofed-aarch64', url: 'harbor.mellanox.com/swx-infra/aarch64/ubuntu20.04/builder:mofed-5.2-1.0.4.0', category: 'base', arch: 'aarch64'} +# doca-hostw + - {name: 'rhel8.6-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/base', category: 'base', arch: 'x86_64'} + - {name: 'rhel9.0-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel9.0/base', category: 'base', arch: 'x86_64'} + - {name: 'ub24.04-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu24.04/base', category: 'base', arch: 'x86_64'} + - {name: 'ub24.04-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu24.04/base', category: 'base', arch: 'aarch64'} + - {name: 'sl15sp4-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/sles15sp4/base', category: 'base', arch: 'x86_64'} - {name: 'rhel8.6-inbox-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'base', arch: 'x86_64'} - - {name: 'ub22.04-mofed-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu22.04/builder:mofed-5.7-0.1.1.0', category: 'base', arch: 'x86_64'} + - {name: 'ub22.04-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu22.04/base', category: 'base', arch: 'x86_64'} + - {name: 'ub22.04-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu22.04/base', category: 'base', arch: 'aarch64'} # tool - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.3/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', url: 'harbor.mellanox.com/toolbox/ngci-centos:7.9.2009.2', category: 'tool', arch: 'x86_64'} @@ -80,12 +81,30 @@ steps: enable: ${do_copyrights} run: env WORKSPACE=$PWD ./contrib/jenkins_tests/copyrights.sh containerSelector: - - "{name: 'header-check', category: 'tool', variant: 1}" + - "{name: 'header-check', category: 'tool'}" agentSelector: - "{nodeLabel: 'skip-agent'}" archiveArtifacts: '*.log,*.tar.gz' parallel: false + - name: Install Doca-host + containerSelector: + - "{category: 'base'}" + agentSelector: + - "{nodeLabel: 'skip-agent'}" + run: | + echo "Installing DOCA: ${DOCA_VERSION} ..." + .ci/scripts/doca_install.sh + + - name: Install Doca-host on Tools + run: | + echo "Installing DOCA: ${DOCA_VERSION} ..." + .ci/scripts/doca_install.sh + containerSelector: + - "{name: 'style', category: 'tool'}" + agentSelector: + - "{nodeLabel: 'skip-agent'}" + - name: Autogen run: | ./autogen.sh -s diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index 650d13e38..94d4e8350 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -31,6 +31,17 @@ name: "DEBUG" default: 0 description: "Enable debug prints and traces, valid values are 0-9." + - string: + name: "DOCA_VERSION" + default: "2.8.0" + description: "DOCA version - see https://developer.nvidia.com/doca-downloads?deployment_platform=Host-Server&deployment_package=DOCA-Host" + - choice: + name: DOCA_BRANCH + choices: + - latest + - stage + - dev + description: "On which DOCA branch to run?" - bool: name: "do_build" default: true diff --git a/.ci/scripts/doca_install.sh b/.ci/scripts/doca_install.sh new file mode 100755 index 000000000..5252ab1cc --- /dev/null +++ b/.ci/scripts/doca_install.sh @@ -0,0 +1,109 @@ +#!/bin/bash + +set -xvEe -o pipefail + +DOCA_REPO_PATH="https://doca-repo-prod.nvidia.com/internal/repo/doca" +TARGET=${TARGET:=all} +DOCA_VERSION=${DOCA_VERSION:='2.8.0'} +DOCA_BRANCH=${DOCA_BRANCH:="latest"} +GPG_KEY="GPG-KEY-Mellanox.pub" + +function error_handler() { + bc="$BASH_COMMAND" + set +xv + echo "================================= DEBUG info start =================================" + echo "Exited with ERROR in line $1" + echo "Failed CMD: ${bc}" + echo "Current directory is ${PWD}" + echo "It took $(date -d@${SECONDS} -u +%H:%M:%S) to execute $0" + echo "================================= DEBUG info end =================================" + exit 1 +} + +trap 'error_handler $LINENO' ERR + +function map_os_and_arch { + . /etc/os-release + + ARCH=$(uname -m) + + # Determine OS and ARCH + case "$ARCH" in + x86_64) + ARCH="x86_64" + ;; + aarch64) + ARCH="arm64-sbsa" + ;; + *) + echo "Unsupported architecture for $ID: $ARCH" + return 1 + esac + + case "$ID" in + ubuntu) + if [[ "$VERSION_ID" =~ ^2[0-9]\.04$ ]]; then + OS="${ID}${VERSION_ID}" + else + echo "Unsupported Ubuntu version: $VERSION_ID" + exit 1 + fi + GPG_KEY_CMD='cat "${GPG_KEY}" | gpg --dearmor > /etc/apt/trusted.gpg.d/"${GPG_KEY}"' + REPO_CMD='echo deb [signed-by=/etc/apt/trusted.gpg.d/"${GPG_KEY}"] "${REPO_URL}" ./ >> /etc/apt/sources.list.d/doca.list' + PKG_MGR="apt" + UPDATE_CMD="update" + CURL_INSTALL="" + ;; + + rhel|ol) + OS="${ID}${VERSION_ID}" + GPG_KEY_CMD='rpm --import "${GPG_KEY}"' + REPO_CMD='yum install -y yum-utils && yum-config-manager --add-repo "${REPO_URL}"' + PKG_MGR="yum --nogpgcheck" + UPDATE_CMD="makecache" + CURL_INSTALL="" + ;; + sles) + VERSION_ID=${VERSION_ID/./sp} + OS="${ID}${VERSION_ID}" + GPG_KEY_CMD='rpm --import "${GPG_KEY}"' + REPO_CMD='zypper addrepo "${REPO_URL}" doca' + PKG_MGR="zypper --no-gpg-checks" + UPDATE_CMD="refresh" + CURL_INSTALL="zypper install -y curl" + ;; + *) + echo "Unsupported OS: $ID" + return 1 + esac + + echo "OS=${OS}" + echo "ARCH=${ARCH}" + echo "PKG_MGR=${PKG_MGR}" + echo "UPDATE_CMD=${UPDATE_CMD}" + echo "GPG_KEY_CMD=${GPG_KEY_CMD}" + echo "REPO_CMD=${REPO_CMD}" + echo "CURL_INSTALL=${CURL_INSTALL}" +} + +# Set up os-dependend variables +map_os_and_arch + +# Install DOCA repo GPG key +${CURL_INSTALL}; curl -o "${GPG_KEY}" "${DOCA_REPO_PATH}/${DOCA_VERSION}/${OS}/${ARCH}/${DOCA_BRANCH}/${GPG_KEY}" +eval "${GPG_KEY_CMD}" + +# Install DOCA repo +REPO_URL="${DOCA_REPO_PATH}/${DOCA_VERSION}/${OS}/${ARCH}/${DOCA_BRANCH}/" +eval "${REPO_CMD}" + +# Install DOCA +${PKG_MGR} ${UPDATE_CMD} + +${PKG_MGR} install -y doca-ofed-userspace + +echo "==============================================" +echo +echo "DOCA for Host has been successfully installed" +echo +echo "==============================================" diff --git a/contrib/jenkins_tests/rpm.sh b/contrib/jenkins_tests/rpm.sh index 2e75f1292..78d7b3149 100755 --- a/contrib/jenkins_tests/rpm.sh +++ b/contrib/jenkins_tests/rpm.sh @@ -22,6 +22,8 @@ ${WORKSPACE}/configure --prefix=${rpm_dir}/install $jenkins_test_custom_configur if [ -x /usr/bin/dpkg-buildpackage ]; then echo "Build on debian" + ## To avoid "dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 7)" on Ubuntu24.x + dpkg -l | grep -qw debhelper || apt-get install -y debhelper opt_rpm=0 else echo "Build rpms" From 5a8445d04ab68f66d52ab41b1f1088aef0a80deb Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Thu, 5 Sep 2024 17:06:59 +0300 Subject: [PATCH 052/150] issue: 4061858 Upgrade header checker We're requested to upgrade the header checker tool (Copyright check tool) to latest version. issue: HPCINFRA-2576 Signed-off-by: Viacheslav Login --- .ci/matrix_job.yaml | 6 ++++-- contrib/jenkins_tests/copyright-check-map.yaml | 2 +- contrib/jenkins_tests/copyrights.sh | 9 ++++++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 757e51ac2..d459dc835 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -24,6 +24,7 @@ volumes: credentials: - {credentialsId: '925b0900-e273-4042-bc7c-facaefae0727', usernameVariable: 'VMA_COV_USER', passwordVariable: 'VMA_COV_PASSWORD'} + - {credentialsId: 'fb735938-fa1c-4b61-b568-a7c153b4fe74', usernameVariable: 'MELLANOX_GH_USER', passwordVariable: 'MELLANOX_GH_TOKEN'} env: build_dockers: false @@ -41,7 +42,7 @@ runs_on_dockers: # tool - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.3/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', url: 'harbor.mellanox.com/toolbox/ngci-centos:7.9.2009.2', category: 'tool', arch: 'x86_64'} - - {name: 'header-check', url: 'harbor.mellanox.com/toolbox/header_check:0.0.14', category: 'tool', arch: 'x86_64', tag: '0.0.14'} + - {name: 'header-check', url: 'harbor.mellanox.com/toolbox/header_check:0.0.51', category: 'tool', arch: 'x86_64', tag: '0.0.51'} runs_on_agents: - {nodeLabel: 'beni09', category: 'base'} @@ -79,7 +80,8 @@ steps: - name: Copyrights enable: ${do_copyrights} - run: env WORKSPACE=$PWD ./contrib/jenkins_tests/copyrights.sh + credentialsId: 'fb735938-fa1c-4b61-b568-a7c153b4fe74' + run: env WORKSPACE=$PWD GITHUB_TOKEN=$MELLANOX_GH_TOKEN ./contrib/jenkins_tests/copyrights.sh containerSelector: - "{name: 'header-check', category: 'tool'}" agentSelector: diff --git a/contrib/jenkins_tests/copyright-check-map.yaml b/contrib/jenkins_tests/copyright-check-map.yaml index 11807ba1d..0197a61bf 100644 --- a/contrib/jenkins_tests/copyright-check-map.yaml +++ b/contrib/jenkins_tests/copyright-check-map.yaml @@ -34,7 +34,7 @@ general: - ".*src/vma/config_parser.*" - ".*src/vma/config_scanner\\.c" -nbu-open-source: +bsd: include: - ".*" exclude: diff --git a/contrib/jenkins_tests/copyrights.sh b/contrib/jenkins_tests/copyrights.sh index 4e7eba0fd..3e7d44276 100755 --- a/contrib/jenkins_tests/copyrights.sh +++ b/contrib/jenkins_tests/copyrights.sh @@ -1,4 +1,6 @@ -#!/bin/bash -xeEl +#!/bin/bash + +set -xvEe -o pipefail source $(dirname $0)/globals.sh @@ -12,6 +14,11 @@ if [ ! -d "$WORKSPACE" ]; then exit 1 fi +if [[ -z $GITHUB_TOKEN ]]; then + echo "ERROR: GITHUB_TOKEN variable is empty" + exit 1 +fi + cpp_files=' "extensions": [".c", ".cc", ".cpp", "c++", ".h", ".hpp", ".cs", ".inl", ".l", ".y"],' sed -i "s/.*\"extensions\": \[\"\.c\".*/$cpp_files/g" /opt/nvidia/ProjectConfig/header-types.json From cb8d2eec4ccf49ab349326646da74d57b2f5fffa Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Thu, 5 Sep 2024 17:09:46 +0300 Subject: [PATCH 053/150] issue: 4061858 Update files with compliant header format It was found that some files contained outdated licenses and copyright information in headers. This information in the file headers was updated using the NGCI v5.0.3-82 Header Check utility. issue: HPCINFRA-2576 Signed-off-by: Viacheslav Login --- config/m4/compiler.m4 | 1 + config/m4/func.m4 | 1 + config/m4/nl.m4 | 1 + config/m4/opt.m4 | 1 + config/m4/prof.m4 | 1 + config/m4/verbs.m4 | 1 + contrib/scripts/vma.init.in | 3 ++- src/state_machine/main.cpp | 1 + src/state_machine/sm.cpp | 1 + src/state_machine/sm.h | 1 + src/state_machine/sm_fifo.cpp | 1 + src/state_machine/sm_fifo.h | 1 + src/stats/stats_data_reader.h | 1 + src/stats/stats_printer.cpp | 1 + src/stats/stats_publisher.cpp | 1 + src/stats/stats_reader.cpp | 1 + src/utils/asm-arm64.h | 1 + src/utils/asm-ppc64.h | 1 + src/utils/asm-x86.h | 1 + src/utils/asm.h | 1 + src/utils/atomic.h | 1 + src/utils/bullseye.h | 1 + src/utils/clock.h | 1 + src/utils/compiler.h | 1 + src/utils/lock_wrapper.h | 1 + src/utils/rdtsc.h | 1 + src/utils/types.h | 1 + src/vlogger/main.cpp | 1 + src/vlogger/vlogger.cpp | 1 + src/vlogger/vlogger.h | 1 + src/vma/dev/allocator.cpp | 1 + src/vma/dev/allocator.h | 1 + src/vma/dev/buffer_pool.cpp | 1 + src/vma/dev/buffer_pool.h | 1 + src/vma/dev/cq_mgr.cpp | 1 + src/vma/dev/cq_mgr.h | 1 + src/vma/dev/cq_mgr.inl | 1 + src/vma/dev/cq_mgr_mlx5.cpp | 1 + src/vma/dev/cq_mgr_mlx5.h | 1 + src/vma/dev/cq_mgr_mlx5.inl | 1 + src/vma/dev/dm_mgr.cpp | 1 + src/vma/dev/dm_mgr.h | 1 + src/vma/dev/gro_mgr.cpp | 1 + src/vma/dev/gro_mgr.h | 1 + src/vma/dev/ib_ctx_handler.cpp | 1 + src/vma/dev/ib_ctx_handler.h | 1 + src/vma/dev/ib_ctx_handler_collection.cpp | 1 + src/vma/dev/ib_ctx_handler_collection.h | 1 + src/vma/dev/net_device_entry.cpp | 1 + src/vma/dev/net_device_entry.h | 1 + src/vma/dev/net_device_table_mgr.cpp | 1 + src/vma/dev/net_device_table_mgr.h | 1 + src/vma/dev/net_device_val.cpp | 1 + src/vma/dev/net_device_val.h | 1 + src/vma/dev/qp_mgr.cpp | 1 + src/vma/dev/qp_mgr.h | 1 + src/vma/dev/qp_mgr_eth_direct.cpp | 1 + src/vma/dev/qp_mgr_eth_direct.h | 1 + src/vma/dev/qp_mgr_eth_mlx5.cpp | 1 + src/vma/dev/qp_mgr_eth_mlx5.h | 1 + src/vma/dev/rfs.cpp | 1 + src/vma/dev/rfs.h | 1 + src/vma/dev/rfs_mc.cpp | 1 + src/vma/dev/rfs_mc.h | 1 + src/vma/dev/rfs_uc.cpp | 1 + src/vma/dev/rfs_uc.h | 1 + src/vma/dev/rfs_uc_tcp_gro.cpp | 1 + src/vma/dev/rfs_uc_tcp_gro.h | 1 + src/vma/dev/ring.cpp | 1 + src/vma/dev/ring.h | 1 + src/vma/dev/ring_allocation_logic.cpp | 1 + src/vma/dev/ring_allocation_logic.h | 1 + src/vma/dev/ring_bond.cpp | 1 + src/vma/dev/ring_bond.h | 1 + src/vma/dev/ring_eth_direct.cpp | 1 + src/vma/dev/ring_eth_direct.h | 1 + src/vma/dev/ring_profile.cpp | 1 + src/vma/dev/ring_profile.h | 1 + src/vma/dev/ring_simple.cpp | 1 + src/vma/dev/ring_simple.h | 1 + src/vma/dev/ring_slave.cpp | 1 + src/vma/dev/ring_slave.h | 1 + src/vma/dev/ring_tap.cpp | 1 + src/vma/dev/ring_tap.h | 1 + src/vma/dev/time_converter.cpp | 1 + src/vma/dev/time_converter.h | 1 + src/vma/dev/time_converter_ib_ctx.cpp | 1 + src/vma/dev/time_converter_ib_ctx.h | 1 + src/vma/dev/time_converter_ptp.cpp | 1 + src/vma/dev/time_converter_ptp.h | 1 + src/vma/dev/wqe_send_handler.cpp | 1 + src/vma/dev/wqe_send_handler.h | 1 + src/vma/dev/wqe_send_ib_handler.cpp | 1 + src/vma/dev/wqe_send_ib_handler.h | 1 + src/vma/event/command.h | 1 + src/vma/event/delta_timer.cpp | 1 + src/vma/event/delta_timer.h | 1 + src/vma/event/event.h | 1 + src/vma/event/event_handler_ibverbs.h | 1 + src/vma/event/event_handler_manager.cpp | 1 + src/vma/event/event_handler_manager.h | 1 + src/vma/event/event_handler_rdma_cm.h | 1 + src/vma/event/netlink_event.cpp | 1 + src/vma/event/netlink_event.h | 1 + src/vma/event/timer_handler.h | 1 + src/vma/event/timers_group.h | 1 + src/vma/event/vlogger_timer_handler.cpp | 1 + src/vma/event/vlogger_timer_handler.h | 1 + src/vma/ib/base/verbs_extra.cpp | 1 + src/vma/ib/base/verbs_extra.h | 1 + src/vma/ib/mlx5/ib_mlx5.cpp | 1 + src/vma/ib/mlx5/ib_mlx5.h | 1 + src/vma/ib/mlx5/ib_mlx5_dv.cpp | 1 + src/vma/ib/mlx5/ib_mlx5_dv.h | 1 + src/vma/ib/mlx5/ib_mlx5_hw.cpp | 1 + src/vma/ib/mlx5/ib_mlx5_hw.h | 1 + src/vma/infra/DemoCollMgr.cpp | 1 + src/vma/infra/DemoCollMgr.h | 1 + src/vma/infra/DemoObserver.cpp | 1 + src/vma/infra/DemoObserver.h | 1 + src/vma/infra/DemoSubject.cpp | 1 + src/vma/infra/DemoSubject.h | 1 + src/vma/infra/cache_subject_observer.h | 1 + src/vma/infra/main.cpp | 1 + src/vma/infra/sender.cpp | 3 ++- src/vma/infra/sender.h | 1 + src/vma/infra/sender_info_dst.cpp | 1 + src/vma/infra/sender_info_dst.h | 1 + src/vma/infra/subject_observer.cpp | 1 + src/vma/infra/subject_observer.h | 1 + src/vma/iomux/epfd_info.cpp | 1 + src/vma/iomux/epfd_info.h | 1 + src/vma/iomux/epoll_wait_call.cpp | 1 + src/vma/iomux/epoll_wait_call.h | 1 + src/vma/iomux/io_mux_call.cpp | 1 + src/vma/iomux/io_mux_call.h | 1 + src/vma/iomux/poll_call.cpp | 1 + src/vma/iomux/poll_call.h | 1 + src/vma/iomux/select_call.cpp | 1 + src/vma/iomux/select_call.h | 1 + src/vma/libvma.c | 1 + src/vma/main.cpp | 1 + src/vma/main.h | 1 + src/vma/netlink/link_info.cpp | 1 + src/vma/netlink/link_info.h | 1 + src/vma/netlink/neigh_info.cpp | 1 + src/vma/netlink/neigh_info.h | 1 + src/vma/netlink/netlink_compatibility.cpp | 1 + src/vma/netlink/netlink_compatibility.h | 1 + src/vma/netlink/netlink_wrapper.cpp | 1 + src/vma/netlink/netlink_wrapper.h | 1 + src/vma/netlink/route_info.cpp | 1 + src/vma/netlink/route_info.h | 1 + src/vma/netlink/test_main.cpp | 1 + src/vma/proto/L2_address.cpp | 1 + src/vma/proto/L2_address.h | 1 + src/vma/proto/arp.cpp | 1 + src/vma/proto/arp.h | 1 + src/vma/proto/dst_entry.cpp | 1 + src/vma/proto/dst_entry.h | 1 + src/vma/proto/dst_entry_tcp.cpp | 1 + src/vma/proto/dst_entry_tcp.h | 1 + src/vma/proto/dst_entry_udp.cpp | 1 + src/vma/proto/dst_entry_udp.h | 1 + src/vma/proto/dst_entry_udp_mc.cpp | 1 + src/vma/proto/dst_entry_udp_mc.h | 1 + src/vma/proto/flow_tuple.cpp | 1 + src/vma/proto/flow_tuple.h | 1 + src/vma/proto/header.cpp | 1 + src/vma/proto/header.h | 1 + src/vma/proto/igmp_handler.cpp | 1 + src/vma/proto/igmp_handler.h | 1 + src/vma/proto/igmp_mgr.cpp | 1 + src/vma/proto/igmp_mgr.h | 1 + src/vma/proto/ip_address.h | 1 + src/vma/proto/ip_frag.cpp | 1 + src/vma/proto/ip_frag.h | 1 + src/vma/proto/mem_buf_desc.h | 1 + src/vma/proto/neighbour.cpp | 1 + src/vma/proto/neighbour.h | 1 + src/vma/proto/neighbour_observer.h | 1 + src/vma/proto/neighbour_table_mgr.cpp | 1 + src/vma/proto/neighbour_table_mgr.h | 1 + src/vma/proto/netlink_socket_mgr.h | 1 + src/vma/proto/peer_key.h | 1 + src/vma/proto/route_entry.cpp | 1 + src/vma/proto/route_entry.h | 1 + src/vma/proto/route_rule_table_key.h | 1 + src/vma/proto/route_table_mgr.cpp | 1 + src/vma/proto/route_table_mgr.h | 1 + src/vma/proto/route_val.cpp | 1 + src/vma/proto/route_val.h | 1 + src/vma/proto/rule_entry.cpp | 1 + src/vma/proto/rule_entry.h | 1 + src/vma/proto/rule_table_mgr.cpp | 1 + src/vma/proto/rule_table_mgr.h | 1 + src/vma/proto/rule_val.cpp | 1 + src/vma/proto/rule_val.h | 1 + src/vma/proto/vma_lwip.cpp | 1 + src/vma/proto/vma_lwip.h | 1 + src/vma/sock/cleanable_obj.h | 1 + src/vma/sock/fd_collection.cpp | 1 + src/vma/sock/fd_collection.h | 1 + src/vma/sock/pipeinfo.cpp | 1 + src/vma/sock/pipeinfo.h | 1 + src/vma/sock/pkt_rcvr_sink.h | 1 + src/vma/sock/pkt_sndr_source.h | 1 + src/vma/sock/sock-redirect.cpp | 1 + src/vma/sock/sock-redirect.h | 1 + src/vma/sock/socket_fd_api.cpp | 1 + src/vma/sock/socket_fd_api.h | 1 + src/vma/sock/sockinfo.cpp | 1 + src/vma/sock/sockinfo.h | 1 + src/vma/sock/sockinfo_tcp.cpp | 1 + src/vma/sock/sockinfo_tcp.h | 1 + src/vma/sock/sockinfo_udp.cpp | 1 + src/vma/sock/sockinfo_udp.h | 1 + src/vma/util/agent.cpp | 1 + src/vma/util/agent.h | 1 + src/vma/util/agent_def.h | 1 + src/vma/util/chunk_list.h | 1 + src/vma/util/config_parser.y | 1 + src/vma/util/config_scanner.l | 1 + src/vma/util/data_updater.cpp | 1 + src/vma/util/data_updater.h | 1 + src/vma/util/hash_map.h | 1 + src/vma/util/hash_map.inl | 1 + src/vma/util/if.h | 1 + src/vma/util/instrumentation.cpp | 1 + src/vma/util/instrumentation.h | 1 + src/vma/util/libvma.h | 1 + src/vma/util/match.cpp | 1 + src/vma/util/sg_array.h | 1 + src/vma/util/sock_addr.h | 1 + src/vma/util/sys_vars.cpp | 1 + src/vma/util/sys_vars.h | 1 + src/vma/util/sysctl_reader.h | 1 + src/vma/util/to_str.h | 1 + src/vma/util/utils.cpp | 1 + src/vma/util/utils.h | 1 + src/vma/util/valgrind.h | 1 + src/vma/util/vma_list.h | 1 + src/vma/util/vma_stats.h | 1 + src/vma/util/vtypes.h | 1 + src/vma/util/wakeup.cpp | 1 + src/vma/util/wakeup.h | 1 + src/vma/util/wakeup_pipe.cpp | 1 + src/vma/util/wakeup_pipe.h | 1 + src/vma/vma_extra.h | 1 + tests/api-support-check.py | 1 + tests/async-echo-client/async-echo-client.py | 1 + tests/async-echo-client/echo-server.py | 1 + tests/async-echo-client/syncronized-echo-client.py | 1 + tests/benchmarking_test/Accelerators_Benchmarking.sh | 1 + tests/bindtodevice/client.py | 1 + tests/connect-disconnect/client.py | 1 + tests/extra_api_tests/socketxtreme/server_tcp.c | 3 ++- tests/extra_api_tests/tcp_zcopy_cb/client.c | 3 ++- tests/extra_api_tests/tcp_zcopy_cb/client.h | 3 ++- tests/extra_api_tests/tcp_zcopy_cb/main.c | 3 ++- tests/extra_api_tests/tcp_zcopy_cb/server.c | 3 ++- tests/extra_api_tests/tcp_zcopy_cb/server.h | 3 ++- tests/extra_api_tests/tcp_zcopy_cb/types.h | 3 ++- tests/extra_api_tests/tcp_zcopy_cb/utils.c | 3 ++- tests/functionality/getsockname_test.c | 3 ++- tests/functionality/iomux/1epoll_1socket_twice.c | 3 ++- tests/functionality/iomux/2epoll_1socket.c | 3 ++- tests/functionality/iomux/client.py | 1 + tests/functionality/iomux/eclient.py | 1 + tests/functionality/iomux/eserver.py | 1 + tests/functionality/iomux/pclient.py | 1 + tests/functionality/iomux/pserver.py | 1 + tests/functionality/iomux/server.py | 1 + tests/gtest/common/base.cc | 1 + tests/gtest/common/base.h | 1 + tests/gtest/common/cmn.h | 1 + tests/gtest/common/def.h | 1 + tests/gtest/common/log.h | 1 + tests/gtest/common/sys.cc | 1 + tests/gtest/common/sys.h | 1 + tests/gtest/main.cc | 1 + tests/gtest/mix/mix_base.cc | 1 + tests/gtest/mix/mix_base.h | 1 + tests/gtest/mix/mix_list.cc | 1 + tests/gtest/mix/sg_array.cc | 1 + tests/gtest/sock/sock_base.cc | 1 + tests/gtest/sock/sock_base.h | 1 + tests/gtest/sock/sock_socket.cc | 1 + tests/gtest/tcp/tcp_base.cc | 1 + tests/gtest/tcp/tcp_base.h | 1 + tests/gtest/tcp/tcp_bind.cc | 1 + tests/gtest/tcp/tcp_connect.cc | 1 + tests/gtest/tcp/tcp_connect_nb.cc | 1 + tests/gtest/tcp/tcp_event.cc | 1 + tests/gtest/tcp/tcp_send.cc | 1 + tests/gtest/tcp/tcp_send_zc.cc | 1 + tests/gtest/tcp/tcp_sendfile.cc | 1 + tests/gtest/tcp/tcp_sendto.cc | 1 + tests/gtest/tcp/tcp_socket.cc | 1 + tests/gtest/tcp/tcp_sockopt.cc | 1 + tests/gtest/tcp/tcp_tls.cc | 1 + tests/gtest/udp/udp_base.cc | 1 + tests/gtest/udp/udp_base.h | 1 + tests/gtest/udp/udp_bind.cc | 1 + tests/gtest/udp/udp_connect.cc | 1 + tests/gtest/udp/udp_send.cc | 1 + tests/gtest/udp/udp_sendto.cc | 1 + tests/gtest/vma/vma_base.cc | 1 + tests/gtest/vma/vma_base.h | 1 + tests/gtest/vma/vma_poll.cc | 1 + tests/gtest/vma/vma_recvfrom_zcopy.cc | 1 + tests/gtest/vma/vma_ring.cc | 1 + tests/gtest/vma/vma_sockopt.cc | 1 + tests/gtest/vmad/vmad_base.cc | 1 + tests/gtest/vmad/vmad_base.h | 1 + tests/gtest/vmad/vmad_bitmap.cc | 1 + tests/gtest/vmad/vmad_flow.cc | 1 + tests/gtest/vmad/vmad_hash.cc | 1 + tests/gtest/vmad/vmad_init.cc | 1 + tests/gtest/vmad/vmad_state.cc | 1 + tests/latency_test/tcp_lat.cpp | 1 + tests/latency_test/udp_lat.c | 1 + tests/listen/tcp_client.py | 1 + tests/listen/tcp_server.py | 1 + tests/low_pps_tcp_send_test/exchange.cpp | 1 + tests/low_pps_tcp_send_test/trader.cpp | 1 + tests/mc_loop_test/mc_loop_test.c | 1 + tests/multithread_test/exchange.cpp | 3 ++- tests/multithread_test/trader.cpp | 3 ++- tests/pps_test/pps_test.c | 1 + .../server_socket_receive_and_recreate_loop.py | 1 + tests/resource_release_checker/server_socket_recreate_loop.py | 1 + tests/reuse_ud_test.c | 3 ++- tests/select_t1.c | 3 ++- tests/server_test/client.cc | 1 + tests/server_test/client.h | 1 + tests/server_test/main.cc | 1 + tests/server_test/options.cc | 1 + tests/server_test/options.h | 1 + tests/server_test/server.cc | 1 + tests/server_test/server.h | 1 + tests/server_test/vtime.cc | 1 + tests/server_test/vtime.h | 1 + tests/simple_fork/fork.py | 1 + tests/tcp_window_size_exerciser/Makefile | 3 ++- tests/tcp_window_size_exerciser/tcp_wnd_test.h | 1 + tests/tcp_window_size_exerciser/tcp_wnd_test_client.c | 1 + tests/tcp_window_size_exerciser/tcp_wnd_test_server.c | 1 + tests/testbed/testbed.c | 3 ++- tests/throughput_test/bandwidth_test.c | 1 + tests/timetest/timetest.cpp | 1 + tests/vma_perf_envelope/vma_multiplexers_test.sh | 1 + tests/vma_perf_envelope/vma_perf_envelope.sh | 1 + tools/daemon/bitmap.h | 1 + tools/daemon/daemon.c | 1 + tools/daemon/daemon.h | 1 + tools/daemon/flow.c | 1 + tools/daemon/hash.c | 1 + tools/daemon/hash.h | 1 + tools/daemon/loop.c | 1 + tools/daemon/message.c | 1 + tools/daemon/nl.c | 1 + tools/daemon/nl.h | 1 + tools/daemon/notify.c | 1 + tools/daemon/store.c | 1 + tools/daemon/tc.c | 1 + tools/daemon/tc.h | 1 + 367 files changed, 386 insertions(+), 19 deletions(-) diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4 index 7bc1d79f4..094bede19 100644 --- a/config/m4/compiler.m4 +++ b/config/m4/compiler.m4 @@ -1,5 +1,6 @@ # compiler.m4 - Configure compiler capabilities # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/func.m4 b/config/m4/func.m4 index 86dbca696..84ae4fae4 100644 --- a/config/m4/func.m4 +++ b/config/m4/func.m4 @@ -1,5 +1,6 @@ # func.m4 - Collection of functions # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/nl.m4 b/config/m4/nl.m4 index 56c0fe19c..99c03c40f 100644 --- a/config/m4/nl.m4 +++ b/config/m4/nl.m4 @@ -1,5 +1,6 @@ # nl.m4 - Detect nl package # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/opt.m4 b/config/m4/opt.m4 index 81ab5b425..e1ad5e832 100644 --- a/config/m4/opt.m4 +++ b/config/m4/opt.m4 @@ -1,5 +1,6 @@ # opt.m4 - Macros to control optimization # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/prof.m4 b/config/m4/prof.m4 index 1d925384c..567abe974 100644 --- a/config/m4/prof.m4 +++ b/config/m4/prof.m4 @@ -1,5 +1,6 @@ # prof.m4 - Profiling, instrumentation # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index a5d46afd2..b954590e3 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -1,5 +1,6 @@ # verbs.m4 - Parsing verbs capabilities # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/contrib/scripts/vma.init.in b/contrib/scripts/vma.init.in index ff31b35d8..7ba7dcdda 100644 --- a/contrib/scripts/vma.init.in +++ b/contrib/scripts/vma.init.in @@ -1,6 +1,7 @@ #!/bin/bash # -# Copyright © 2001-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES +# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/main.cpp b/src/state_machine/main.cpp index 85957c4df..e4e151a8f 100644 --- a/src/state_machine/main.cpp +++ b/src/state_machine/main.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/state_machine/sm.cpp b/src/state_machine/sm.cpp index b750e1780..0c6f9ffc8 100644 --- a/src/state_machine/sm.cpp +++ b/src/state_machine/sm.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/state_machine/sm.h b/src/state_machine/sm.h index 7fe8a0a9d..6d1aac5e8 100644 --- a/src/state_machine/sm.h +++ b/src/state_machine/sm.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/state_machine/sm_fifo.cpp b/src/state_machine/sm_fifo.cpp index 23ac7b202..e85d6ad95 100644 --- a/src/state_machine/sm_fifo.cpp +++ b/src/state_machine/sm_fifo.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/state_machine/sm_fifo.h b/src/state_machine/sm_fifo.h index 42b5741bf..539bca005 100644 --- a/src/state_machine/sm_fifo.h +++ b/src/state_machine/sm_fifo.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/stats/stats_data_reader.h b/src/stats/stats_data_reader.h index 9b903bf07..9d167a74d 100644 --- a/src/stats/stats_data_reader.h +++ b/src/stats/stats_data_reader.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/stats/stats_printer.cpp b/src/stats/stats_printer.cpp index d2b62d5e1..355bb03af 100644 --- a/src/stats/stats_printer.cpp +++ b/src/stats/stats_printer.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/stats/stats_publisher.cpp b/src/stats/stats_publisher.cpp index 11be6d504..824dd2855 100644 --- a/src/stats/stats_publisher.cpp +++ b/src/stats/stats_publisher.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index 110ec2ffb..cbfbb47a7 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/asm-arm64.h b/src/utils/asm-arm64.h index 1c51d190e..99e5d1fbd 100644 --- a/src/utils/asm-arm64.h +++ b/src/utils/asm-arm64.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/asm-ppc64.h b/src/utils/asm-ppc64.h index 9c92be3f4..3caac568a 100644 --- a/src/utils/asm-ppc64.h +++ b/src/utils/asm-ppc64.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/asm-x86.h b/src/utils/asm-x86.h index ffc34f0be..515d873a0 100644 --- a/src/utils/asm-x86.h +++ b/src/utils/asm-x86.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/asm.h b/src/utils/asm.h index 348faff1c..c899233a2 100644 --- a/src/utils/asm.h +++ b/src/utils/asm.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/atomic.h b/src/utils/atomic.h index 379f790b0..266dd2e3a 100644 --- a/src/utils/atomic.h +++ b/src/utils/atomic.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/bullseye.h b/src/utils/bullseye.h index 787690bf3..a5adeaabd 100644 --- a/src/utils/bullseye.h +++ b/src/utils/bullseye.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/clock.h b/src/utils/clock.h index e38e13579..1aa7febab 100644 --- a/src/utils/clock.h +++ b/src/utils/clock.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/compiler.h b/src/utils/compiler.h index abf167075..52c8f105d 100644 --- a/src/utils/compiler.h +++ b/src/utils/compiler.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/lock_wrapper.h b/src/utils/lock_wrapper.h index 413e0ab70..10feeecf6 100644 --- a/src/utils/lock_wrapper.h +++ b/src/utils/lock_wrapper.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/rdtsc.h b/src/utils/rdtsc.h index a2bc99b95..d918d5900 100644 --- a/src/utils/rdtsc.h +++ b/src/utils/rdtsc.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/utils/types.h b/src/utils/types.h index 50803ae7a..abf6f8fa2 100644 --- a/src/utils/types.h +++ b/src/utils/types.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vlogger/main.cpp b/src/vlogger/main.cpp index f2c0bc2f8..825e7d4bb 100644 --- a/src/vlogger/main.cpp +++ b/src/vlogger/main.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vlogger/vlogger.cpp b/src/vlogger/vlogger.cpp index 161c524d9..c392eb97f 100644 --- a/src/vlogger/vlogger.cpp +++ b/src/vlogger/vlogger.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vlogger/vlogger.h b/src/vlogger/vlogger.h index b7b152b90..2c78c80bd 100644 --- a/src/vlogger/vlogger.h +++ b/src/vlogger/vlogger.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index a8ca863d3..8ea226ba0 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/allocator.h b/src/vma/dev/allocator.h index fe2dec7eb..4e5d13db5 100644 --- a/src/vma/dev/allocator.h +++ b/src/vma/dev/allocator.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index 95ad4c367..86398e650 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/buffer_pool.h b/src/vma/dev/buffer_pool.h index c46867504..45d80881c 100644 --- a/src/vma/dev/buffer_pool.h +++ b/src/vma/dev/buffer_pool.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/cq_mgr.cpp b/src/vma/dev/cq_mgr.cpp index 883640b0e..4be7a1cfe 100644 --- a/src/vma/dev/cq_mgr.cpp +++ b/src/vma/dev/cq_mgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/cq_mgr.h b/src/vma/dev/cq_mgr.h index 208903c9b..3dde519f1 100644 --- a/src/vma/dev/cq_mgr.h +++ b/src/vma/dev/cq_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/cq_mgr.inl b/src/vma/dev/cq_mgr.inl index 25228b95b..0a7981fa0 100644 --- a/src/vma/dev/cq_mgr.inl +++ b/src/vma/dev/cq_mgr.inl @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index 2ab88b9ca..c57c6cb96 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/cq_mgr_mlx5.h b/src/vma/dev/cq_mgr_mlx5.h index a7463eab9..866b141b6 100644 --- a/src/vma/dev/cq_mgr_mlx5.h +++ b/src/vma/dev/cq_mgr_mlx5.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/cq_mgr_mlx5.inl b/src/vma/dev/cq_mgr_mlx5.inl index 6f34d8bda..39c1387a7 100644 --- a/src/vma/dev/cq_mgr_mlx5.inl +++ b/src/vma/dev/cq_mgr_mlx5.inl @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/dm_mgr.cpp b/src/vma/dev/dm_mgr.cpp index 1f5b7f2e4..2fd0306f8 100644 --- a/src/vma/dev/dm_mgr.cpp +++ b/src/vma/dev/dm_mgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/dm_mgr.h b/src/vma/dev/dm_mgr.h index b6b541988..90d921dd4 100644 --- a/src/vma/dev/dm_mgr.h +++ b/src/vma/dev/dm_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/gro_mgr.cpp b/src/vma/dev/gro_mgr.cpp index 930913e3e..24a2bfcb9 100644 --- a/src/vma/dev/gro_mgr.cpp +++ b/src/vma/dev/gro_mgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/gro_mgr.h b/src/vma/dev/gro_mgr.h index 8ec9d3be1..279b62673 100644 --- a/src/vma/dev/gro_mgr.h +++ b/src/vma/dev/gro_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 88c6a39b0..801e321c1 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index 4ad61f082..25bfb576c 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ib_ctx_handler_collection.cpp b/src/vma/dev/ib_ctx_handler_collection.cpp index 543d2e5ba..a287eb97d 100644 --- a/src/vma/dev/ib_ctx_handler_collection.cpp +++ b/src/vma/dev/ib_ctx_handler_collection.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ib_ctx_handler_collection.h b/src/vma/dev/ib_ctx_handler_collection.h index 40bdc2f55..b3d316f44 100644 --- a/src/vma/dev/ib_ctx_handler_collection.h +++ b/src/vma/dev/ib_ctx_handler_collection.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/net_device_entry.cpp b/src/vma/dev/net_device_entry.cpp index 67f10622f..ad36f3837 100644 --- a/src/vma/dev/net_device_entry.cpp +++ b/src/vma/dev/net_device_entry.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/net_device_entry.h b/src/vma/dev/net_device_entry.h index d68212657..52f06d58b 100644 --- a/src/vma/dev/net_device_entry.h +++ b/src/vma/dev/net_device_entry.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index 79c27ace1..7d018ff36 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/net_device_table_mgr.h b/src/vma/dev/net_device_table_mgr.h index dcac7b5e6..45fcd6642 100644 --- a/src/vma/dev/net_device_table_mgr.h +++ b/src/vma/dev/net_device_table_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index 89b832d11..1f8a7c5dd 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/net_device_val.h b/src/vma/dev/net_device_val.h index 7d1b3c00e..a9ae0f477 100644 --- a/src/vma/dev/net_device_val.h +++ b/src/vma/dev/net_device_val.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index 7d09ddd41..f6cf78021 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index 4d39181a5..30db8cef7 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index 9fb5d898b..4c15ec655 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/qp_mgr_eth_direct.h b/src/vma/dev/qp_mgr_eth_direct.h index 641b6ae48..ee9796a1a 100644 --- a/src/vma/dev/qp_mgr_eth_direct.h +++ b/src/vma/dev/qp_mgr_eth_direct.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index c2abb563f..04b6c98cd 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index 88877f375..38f172ac5 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/rfs.cpp b/src/vma/dev/rfs.cpp index 14f2b6a77..a561c66a2 100644 --- a/src/vma/dev/rfs.cpp +++ b/src/vma/dev/rfs.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/rfs.h b/src/vma/dev/rfs.h index 2e0670e82..1b93c1a83 100644 --- a/src/vma/dev/rfs.h +++ b/src/vma/dev/rfs.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/rfs_mc.cpp b/src/vma/dev/rfs_mc.cpp index fe90e805d..2c997d15a 100644 --- a/src/vma/dev/rfs_mc.cpp +++ b/src/vma/dev/rfs_mc.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/rfs_mc.h b/src/vma/dev/rfs_mc.h index bed583300..822ac373a 100644 --- a/src/vma/dev/rfs_mc.h +++ b/src/vma/dev/rfs_mc.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/rfs_uc.cpp b/src/vma/dev/rfs_uc.cpp index eceb28d3e..11f2f5e34 100644 --- a/src/vma/dev/rfs_uc.cpp +++ b/src/vma/dev/rfs_uc.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/rfs_uc.h b/src/vma/dev/rfs_uc.h index 3ae9d1fc2..7f83ad4fb 100644 --- a/src/vma/dev/rfs_uc.h +++ b/src/vma/dev/rfs_uc.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/rfs_uc_tcp_gro.cpp b/src/vma/dev/rfs_uc_tcp_gro.cpp index fa50b3027..7b32d5e93 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.cpp +++ b/src/vma/dev/rfs_uc_tcp_gro.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/rfs_uc_tcp_gro.h b/src/vma/dev/rfs_uc_tcp_gro.h index 2a3186659..e3962dbda 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.h +++ b/src/vma/dev/rfs_uc_tcp_gro.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring.cpp b/src/vma/dev/ring.cpp index 2cbd247a3..e2889b355 100644 --- a/src/vma/dev/ring.cpp +++ b/src/vma/dev/ring.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring.h b/src/vma/dev/ring.h index a773f6c5f..a9b914674 100644 --- a/src/vma/dev/ring.h +++ b/src/vma/dev/ring.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_allocation_logic.cpp b/src/vma/dev/ring_allocation_logic.cpp index a84a63660..be67312b6 100644 --- a/src/vma/dev/ring_allocation_logic.cpp +++ b/src/vma/dev/ring_allocation_logic.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_allocation_logic.h b/src/vma/dev/ring_allocation_logic.h index 525942d36..56ee0df0f 100644 --- a/src/vma/dev/ring_allocation_logic.h +++ b/src/vma/dev/ring_allocation_logic.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index b12aef223..60d32a103 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index da7c03114..492836410 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_eth_direct.cpp b/src/vma/dev/ring_eth_direct.cpp index 012d599d5..b9f4ca643 100644 --- a/src/vma/dev/ring_eth_direct.cpp +++ b/src/vma/dev/ring_eth_direct.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_eth_direct.h b/src/vma/dev/ring_eth_direct.h index 6f7faaabc..c86d66b41 100644 --- a/src/vma/dev/ring_eth_direct.h +++ b/src/vma/dev/ring_eth_direct.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_profile.cpp b/src/vma/dev/ring_profile.cpp index ef69b326c..80ad6e92b 100644 --- a/src/vma/dev/ring_profile.cpp +++ b/src/vma/dev/ring_profile.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_profile.h b/src/vma/dev/ring_profile.h index 706cc9148..202b3e483 100644 --- a/src/vma/dev/ring_profile.h +++ b/src/vma/dev/ring_profile.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index c6892db2d..e99766587 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index e68ecaaa6..e95b77df1 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_slave.cpp b/src/vma/dev/ring_slave.cpp index 0f5d39f23..73f4f2dfc 100644 --- a/src/vma/dev/ring_slave.cpp +++ b/src/vma/dev/ring_slave.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_slave.h b/src/vma/dev/ring_slave.h index cf4691837..e33b26c1d 100644 --- a/src/vma/dev/ring_slave.h +++ b/src/vma/dev/ring_slave.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index 69c1e0981..b12c864b5 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index 4359f118b..71db35acf 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/time_converter.cpp b/src/vma/dev/time_converter.cpp index dac5ee3ca..5008b5541 100644 --- a/src/vma/dev/time_converter.cpp +++ b/src/vma/dev/time_converter.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/time_converter.h b/src/vma/dev/time_converter.h index b4d2ef343..b1f11d79f 100644 --- a/src/vma/dev/time_converter.h +++ b/src/vma/dev/time_converter.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/time_converter_ib_ctx.cpp b/src/vma/dev/time_converter_ib_ctx.cpp index cdfc6c571..ac1670daa 100644 --- a/src/vma/dev/time_converter_ib_ctx.cpp +++ b/src/vma/dev/time_converter_ib_ctx.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/time_converter_ib_ctx.h b/src/vma/dev/time_converter_ib_ctx.h index 30f1704e8..2f41e4130 100644 --- a/src/vma/dev/time_converter_ib_ctx.h +++ b/src/vma/dev/time_converter_ib_ctx.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/time_converter_ptp.cpp b/src/vma/dev/time_converter_ptp.cpp index 05b26f66e..75066fdb6 100644 --- a/src/vma/dev/time_converter_ptp.cpp +++ b/src/vma/dev/time_converter_ptp.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/time_converter_ptp.h b/src/vma/dev/time_converter_ptp.h index 20827abaf..ad938d4bf 100644 --- a/src/vma/dev/time_converter_ptp.h +++ b/src/vma/dev/time_converter_ptp.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/wqe_send_handler.cpp b/src/vma/dev/wqe_send_handler.cpp index 0d0794cdf..90a9e1edc 100644 --- a/src/vma/dev/wqe_send_handler.cpp +++ b/src/vma/dev/wqe_send_handler.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/wqe_send_handler.h b/src/vma/dev/wqe_send_handler.h index 1f60ba009..50940952b 100644 --- a/src/vma/dev/wqe_send_handler.h +++ b/src/vma/dev/wqe_send_handler.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/wqe_send_ib_handler.cpp b/src/vma/dev/wqe_send_ib_handler.cpp index 935bde1e1..917d71384 100644 --- a/src/vma/dev/wqe_send_ib_handler.cpp +++ b/src/vma/dev/wqe_send_ib_handler.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/dev/wqe_send_ib_handler.h b/src/vma/dev/wqe_send_ib_handler.h index 215bee8dc..0df73d022 100644 --- a/src/vma/dev/wqe_send_ib_handler.h +++ b/src/vma/dev/wqe_send_ib_handler.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/command.h b/src/vma/event/command.h index c64be00f3..7304c987e 100644 --- a/src/vma/event/command.h +++ b/src/vma/event/command.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/delta_timer.cpp b/src/vma/event/delta_timer.cpp index 94141624d..25fb1ad3c 100644 --- a/src/vma/event/delta_timer.cpp +++ b/src/vma/event/delta_timer.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/delta_timer.h b/src/vma/event/delta_timer.h index f2f5ba15e..2665193cb 100644 --- a/src/vma/event/delta_timer.h +++ b/src/vma/event/delta_timer.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/event.h b/src/vma/event/event.h index 4acda697d..f30b1c58f 100644 --- a/src/vma/event/event.h +++ b/src/vma/event/event.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/event_handler_ibverbs.h b/src/vma/event/event_handler_ibverbs.h index 44b4533af..ea7e99b01 100644 --- a/src/vma/event/event_handler_ibverbs.h +++ b/src/vma/event/event_handler_ibverbs.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index 293618e62..91745c583 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/event_handler_manager.h b/src/vma/event/event_handler_manager.h index 7d8bb8396..bb4603e69 100644 --- a/src/vma/event/event_handler_manager.h +++ b/src/vma/event/event_handler_manager.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/event_handler_rdma_cm.h b/src/vma/event/event_handler_rdma_cm.h index 91e08551b..6588f24c0 100644 --- a/src/vma/event/event_handler_rdma_cm.h +++ b/src/vma/event/event_handler_rdma_cm.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/netlink_event.cpp b/src/vma/event/netlink_event.cpp index 9aa52e90a..387ccbca8 100644 --- a/src/vma/event/netlink_event.cpp +++ b/src/vma/event/netlink_event.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/netlink_event.h b/src/vma/event/netlink_event.h index 16c75e541..b1541b6df 100644 --- a/src/vma/event/netlink_event.h +++ b/src/vma/event/netlink_event.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/timer_handler.h b/src/vma/event/timer_handler.h index 772b5caff..041ea070b 100644 --- a/src/vma/event/timer_handler.h +++ b/src/vma/event/timer_handler.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/timers_group.h b/src/vma/event/timers_group.h index ec9e623f6..bbd3485c3 100644 --- a/src/vma/event/timers_group.h +++ b/src/vma/event/timers_group.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/vlogger_timer_handler.cpp b/src/vma/event/vlogger_timer_handler.cpp index df1032038..59b49d8b3 100644 --- a/src/vma/event/vlogger_timer_handler.cpp +++ b/src/vma/event/vlogger_timer_handler.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/event/vlogger_timer_handler.h b/src/vma/event/vlogger_timer_handler.h index 3b64bea83..744b5041b 100644 --- a/src/vma/event/vlogger_timer_handler.h +++ b/src/vma/event/vlogger_timer_handler.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index d226b31dd..553b2cc86 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index 40758bfea..03c712188 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/ib/mlx5/ib_mlx5.cpp b/src/vma/ib/mlx5/ib_mlx5.cpp index b270685a8..6f8098f55 100644 --- a/src/vma/ib/mlx5/ib_mlx5.cpp +++ b/src/vma/ib/mlx5/ib_mlx5.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/ib/mlx5/ib_mlx5.h b/src/vma/ib/mlx5/ib_mlx5.h index 8cc93de3d..d3c7da514 100644 --- a/src/vma/ib/mlx5/ib_mlx5.h +++ b/src/vma/ib/mlx5/ib_mlx5.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.cpp b/src/vma/ib/mlx5/ib_mlx5_dv.cpp index 0f54e8f54..2fa118277 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_dv.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.h b/src/vma/ib/mlx5/ib_mlx5_dv.h index 1d89672e0..aff213f1d 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.h +++ b/src/vma/ib/mlx5/ib_mlx5_dv.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.cpp b/src/vma/ib/mlx5/ib_mlx5_hw.cpp index d617f6c50..a6c9a2435 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_hw.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.h b/src/vma/ib/mlx5/ib_mlx5_hw.h index bdf5a25d1..15665c3aa 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.h +++ b/src/vma/ib/mlx5/ib_mlx5_hw.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/DemoCollMgr.cpp b/src/vma/infra/DemoCollMgr.cpp index 776a4dc19..273eb9e39 100644 --- a/src/vma/infra/DemoCollMgr.cpp +++ b/src/vma/infra/DemoCollMgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/DemoCollMgr.h b/src/vma/infra/DemoCollMgr.h index 2ddf4e7e5..5c3dd4449 100644 --- a/src/vma/infra/DemoCollMgr.h +++ b/src/vma/infra/DemoCollMgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/DemoObserver.cpp b/src/vma/infra/DemoObserver.cpp index 662f8fae8..58b7f4e26 100644 --- a/src/vma/infra/DemoObserver.cpp +++ b/src/vma/infra/DemoObserver.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/DemoObserver.h b/src/vma/infra/DemoObserver.h index e00aa8d2a..5a513dfcd 100644 --- a/src/vma/infra/DemoObserver.h +++ b/src/vma/infra/DemoObserver.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/DemoSubject.cpp b/src/vma/infra/DemoSubject.cpp index d64fc375e..cf0136cc0 100644 --- a/src/vma/infra/DemoSubject.cpp +++ b/src/vma/infra/DemoSubject.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/DemoSubject.h b/src/vma/infra/DemoSubject.h index fd297f4ed..00bf067c6 100644 --- a/src/vma/infra/DemoSubject.h +++ b/src/vma/infra/DemoSubject.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/cache_subject_observer.h b/src/vma/infra/cache_subject_observer.h index c59420ea9..c756f8dd9 100644 --- a/src/vma/infra/cache_subject_observer.h +++ b/src/vma/infra/cache_subject_observer.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/main.cpp b/src/vma/infra/main.cpp index 92a457c13..201fde058 100644 --- a/src/vma/infra/main.cpp +++ b/src/vma/infra/main.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/sender.cpp b/src/vma/infra/sender.cpp index ae616d5b7..fb0476c63 100644 --- a/src/vma/infra/sender.cpp +++ b/src/vma/infra/sender.cpp @@ -1,5 +1,6 @@ /* - * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender.h b/src/vma/infra/sender.h index 99f36acc6..4a5ba3e5f 100644 --- a/src/vma/infra/sender.h +++ b/src/vma/infra/sender.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/sender_info_dst.cpp b/src/vma/infra/sender_info_dst.cpp index 41847c502..cd7bdfebd 100644 --- a/src/vma/infra/sender_info_dst.cpp +++ b/src/vma/infra/sender_info_dst.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/sender_info_dst.h b/src/vma/infra/sender_info_dst.h index c6ce5b8d3..d49c1789d 100644 --- a/src/vma/infra/sender_info_dst.h +++ b/src/vma/infra/sender_info_dst.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/subject_observer.cpp b/src/vma/infra/subject_observer.cpp index 21ee66dad..80ab4f13b 100644 --- a/src/vma/infra/subject_observer.cpp +++ b/src/vma/infra/subject_observer.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/infra/subject_observer.h b/src/vma/infra/subject_observer.h index 44cfcdfbb..e193047d6 100644 --- a/src/vma/infra/subject_observer.h +++ b/src/vma/infra/subject_observer.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/epfd_info.cpp b/src/vma/iomux/epfd_info.cpp index d491403cb..7d3f4fe4f 100644 --- a/src/vma/iomux/epfd_info.cpp +++ b/src/vma/iomux/epfd_info.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/epfd_info.h b/src/vma/iomux/epfd_info.h index 9f2379d23..fb8b7a44e 100644 --- a/src/vma/iomux/epfd_info.h +++ b/src/vma/iomux/epfd_info.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/epoll_wait_call.cpp b/src/vma/iomux/epoll_wait_call.cpp index 259dc0515..019ea3ec3 100644 --- a/src/vma/iomux/epoll_wait_call.cpp +++ b/src/vma/iomux/epoll_wait_call.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/epoll_wait_call.h b/src/vma/iomux/epoll_wait_call.h index 5e716aa06..67ea33469 100644 --- a/src/vma/iomux/epoll_wait_call.h +++ b/src/vma/iomux/epoll_wait_call.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/io_mux_call.cpp b/src/vma/iomux/io_mux_call.cpp index 93619382d..61bd76a74 100644 --- a/src/vma/iomux/io_mux_call.cpp +++ b/src/vma/iomux/io_mux_call.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/io_mux_call.h b/src/vma/iomux/io_mux_call.h index 0e02dbf51..c58e90ea8 100644 --- a/src/vma/iomux/io_mux_call.h +++ b/src/vma/iomux/io_mux_call.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/poll_call.cpp b/src/vma/iomux/poll_call.cpp index 1860b27ab..b0e6b3266 100644 --- a/src/vma/iomux/poll_call.cpp +++ b/src/vma/iomux/poll_call.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/poll_call.h b/src/vma/iomux/poll_call.h index 1d5275fea..d996529b8 100644 --- a/src/vma/iomux/poll_call.h +++ b/src/vma/iomux/poll_call.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/select_call.cpp b/src/vma/iomux/select_call.cpp index 0a6e578ee..3a86fa5db 100644 --- a/src/vma/iomux/select_call.cpp +++ b/src/vma/iomux/select_call.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/iomux/select_call.h b/src/vma/iomux/select_call.h index 3899d5051..13137f0ab 100644 --- a/src/vma/iomux/select_call.h +++ b/src/vma/iomux/select_call.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/libvma.c b/src/vma/libvma.c index 9d860f6c7..054b69585 100644 --- a/src/vma/libvma.c +++ b/src/vma/libvma.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/main.cpp b/src/vma/main.cpp index 3da25c6ea..49ff5f4eb 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/main.h b/src/vma/main.h index a248d3ff7..b9f5b842c 100644 --- a/src/vma/main.h +++ b/src/vma/main.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/link_info.cpp b/src/vma/netlink/link_info.cpp index 02d45cc64..3ee464469 100644 --- a/src/vma/netlink/link_info.cpp +++ b/src/vma/netlink/link_info.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/link_info.h b/src/vma/netlink/link_info.h index b10769060..712e4a46e 100644 --- a/src/vma/netlink/link_info.h +++ b/src/vma/netlink/link_info.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/neigh_info.cpp b/src/vma/netlink/neigh_info.cpp index 83391b433..b04cf1b10 100644 --- a/src/vma/netlink/neigh_info.cpp +++ b/src/vma/netlink/neigh_info.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/neigh_info.h b/src/vma/netlink/neigh_info.h index 550f38a8e..12cd7afb3 100644 --- a/src/vma/netlink/neigh_info.h +++ b/src/vma/netlink/neigh_info.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/netlink_compatibility.cpp b/src/vma/netlink/netlink_compatibility.cpp index 649159a3e..77a9c535d 100644 --- a/src/vma/netlink/netlink_compatibility.cpp +++ b/src/vma/netlink/netlink_compatibility.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/netlink_compatibility.h b/src/vma/netlink/netlink_compatibility.h index f50077b02..8ca1a6a1c 100644 --- a/src/vma/netlink/netlink_compatibility.h +++ b/src/vma/netlink/netlink_compatibility.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/netlink_wrapper.cpp b/src/vma/netlink/netlink_wrapper.cpp index f1c03dc02..59fa2800e 100644 --- a/src/vma/netlink/netlink_wrapper.cpp +++ b/src/vma/netlink/netlink_wrapper.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/netlink_wrapper.h b/src/vma/netlink/netlink_wrapper.h index e289f9610..d5db525d5 100644 --- a/src/vma/netlink/netlink_wrapper.h +++ b/src/vma/netlink/netlink_wrapper.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/route_info.cpp b/src/vma/netlink/route_info.cpp index be62f52f3..8368a89a1 100644 --- a/src/vma/netlink/route_info.cpp +++ b/src/vma/netlink/route_info.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/route_info.h b/src/vma/netlink/route_info.h index 6127d5f51..d3def61c6 100644 --- a/src/vma/netlink/route_info.h +++ b/src/vma/netlink/route_info.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/netlink/test_main.cpp b/src/vma/netlink/test_main.cpp index d7243de33..1d25fa65b 100644 --- a/src/vma/netlink/test_main.cpp +++ b/src/vma/netlink/test_main.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/L2_address.cpp b/src/vma/proto/L2_address.cpp index d20f00a2c..c6aca78be 100644 --- a/src/vma/proto/L2_address.cpp +++ b/src/vma/proto/L2_address.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/L2_address.h b/src/vma/proto/L2_address.h index 8d8fb0dbb..d4cfa0a39 100644 --- a/src/vma/proto/L2_address.h +++ b/src/vma/proto/L2_address.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/arp.cpp b/src/vma/proto/arp.cpp index c23a26cb6..b04f4b013 100644 --- a/src/vma/proto/arp.cpp +++ b/src/vma/proto/arp.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/arp.h b/src/vma/proto/arp.h index 219a87d7b..45709252b 100644 --- a/src/vma/proto/arp.h +++ b/src/vma/proto/arp.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index bccf1ba60..293338686 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index 533edf324..178968e30 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/dst_entry_tcp.cpp b/src/vma/proto/dst_entry_tcp.cpp index 39531e15e..6ca6e3c98 100644 --- a/src/vma/proto/dst_entry_tcp.cpp +++ b/src/vma/proto/dst_entry_tcp.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/dst_entry_tcp.h b/src/vma/proto/dst_entry_tcp.h index c1b209ece..eab0c6b74 100644 --- a/src/vma/proto/dst_entry_tcp.h +++ b/src/vma/proto/dst_entry_tcp.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/dst_entry_udp.cpp b/src/vma/proto/dst_entry_udp.cpp index 9f8febd19..4825eb301 100644 --- a/src/vma/proto/dst_entry_udp.cpp +++ b/src/vma/proto/dst_entry_udp.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/dst_entry_udp.h b/src/vma/proto/dst_entry_udp.h index fbf603b0a..fe4880344 100644 --- a/src/vma/proto/dst_entry_udp.h +++ b/src/vma/proto/dst_entry_udp.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/dst_entry_udp_mc.cpp b/src/vma/proto/dst_entry_udp_mc.cpp index 044264f34..0a44f0b86 100644 --- a/src/vma/proto/dst_entry_udp_mc.cpp +++ b/src/vma/proto/dst_entry_udp_mc.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/dst_entry_udp_mc.h b/src/vma/proto/dst_entry_udp_mc.h index 690c6a9ce..dd0c8fbcb 100644 --- a/src/vma/proto/dst_entry_udp_mc.h +++ b/src/vma/proto/dst_entry_udp_mc.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/flow_tuple.cpp b/src/vma/proto/flow_tuple.cpp index f92c0ca5f..a6fbae191 100644 --- a/src/vma/proto/flow_tuple.cpp +++ b/src/vma/proto/flow_tuple.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/flow_tuple.h b/src/vma/proto/flow_tuple.h index d94b73353..b0fdd3815 100644 --- a/src/vma/proto/flow_tuple.h +++ b/src/vma/proto/flow_tuple.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/header.cpp b/src/vma/proto/header.cpp index 21e290a12..aab487564 100644 --- a/src/vma/proto/header.cpp +++ b/src/vma/proto/header.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/header.h b/src/vma/proto/header.h index 57f3dca6c..21982a5d7 100644 --- a/src/vma/proto/header.h +++ b/src/vma/proto/header.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/igmp_handler.cpp b/src/vma/proto/igmp_handler.cpp index 949e0762b..9bdb117c8 100644 --- a/src/vma/proto/igmp_handler.cpp +++ b/src/vma/proto/igmp_handler.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/igmp_handler.h b/src/vma/proto/igmp_handler.h index 9281bdfab..608444d6c 100644 --- a/src/vma/proto/igmp_handler.h +++ b/src/vma/proto/igmp_handler.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/igmp_mgr.cpp b/src/vma/proto/igmp_mgr.cpp index bff35db8f..679205edc 100644 --- a/src/vma/proto/igmp_mgr.cpp +++ b/src/vma/proto/igmp_mgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/igmp_mgr.h b/src/vma/proto/igmp_mgr.h index 2994b493c..369115526 100644 --- a/src/vma/proto/igmp_mgr.h +++ b/src/vma/proto/igmp_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/ip_address.h b/src/vma/proto/ip_address.h index 012956971..77c52b7db 100644 --- a/src/vma/proto/ip_address.h +++ b/src/vma/proto/ip_address.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/ip_frag.cpp b/src/vma/proto/ip_frag.cpp index c4cb97061..31ca06053 100644 --- a/src/vma/proto/ip_frag.cpp +++ b/src/vma/proto/ip_frag.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/ip_frag.h b/src/vma/proto/ip_frag.h index 6395ce518..42c2b6faf 100644 --- a/src/vma/proto/ip_frag.h +++ b/src/vma/proto/ip_frag.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/mem_buf_desc.h b/src/vma/proto/mem_buf_desc.h index e55c1f676..b82c0c135 100644 --- a/src/vma/proto/mem_buf_desc.h +++ b/src/vma/proto/mem_buf_desc.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index d1f0e3a22..b892b6505 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/neighbour.h b/src/vma/proto/neighbour.h index 60ac90469..9c4a02d82 100644 --- a/src/vma/proto/neighbour.h +++ b/src/vma/proto/neighbour.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/neighbour_observer.h b/src/vma/proto/neighbour_observer.h index cac033cbb..91154e984 100644 --- a/src/vma/proto/neighbour_observer.h +++ b/src/vma/proto/neighbour_observer.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/neighbour_table_mgr.cpp b/src/vma/proto/neighbour_table_mgr.cpp index ab6e5ea32..67d0a037a 100644 --- a/src/vma/proto/neighbour_table_mgr.cpp +++ b/src/vma/proto/neighbour_table_mgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/neighbour_table_mgr.h b/src/vma/proto/neighbour_table_mgr.h index 004f0a57f..00607221d 100644 --- a/src/vma/proto/neighbour_table_mgr.h +++ b/src/vma/proto/neighbour_table_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/netlink_socket_mgr.h b/src/vma/proto/netlink_socket_mgr.h index 1e1c978c2..458020ee2 100644 --- a/src/vma/proto/netlink_socket_mgr.h +++ b/src/vma/proto/netlink_socket_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/peer_key.h b/src/vma/proto/peer_key.h index 9f0ef0ebb..1b970b956 100644 --- a/src/vma/proto/peer_key.h +++ b/src/vma/proto/peer_key.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/route_entry.cpp b/src/vma/proto/route_entry.cpp index cc778c3bf..b5f271a22 100644 --- a/src/vma/proto/route_entry.cpp +++ b/src/vma/proto/route_entry.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/route_entry.h b/src/vma/proto/route_entry.h index ac0eff582..497a9cf0e 100644 --- a/src/vma/proto/route_entry.h +++ b/src/vma/proto/route_entry.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/route_rule_table_key.h b/src/vma/proto/route_rule_table_key.h index f61a76d13..aecc3284b 100644 --- a/src/vma/proto/route_rule_table_key.h +++ b/src/vma/proto/route_rule_table_key.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index 597d6343a..cc11d2c26 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/route_table_mgr.h b/src/vma/proto/route_table_mgr.h index fb0310f13..bdbec7a25 100644 --- a/src/vma/proto/route_table_mgr.h +++ b/src/vma/proto/route_table_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/route_val.cpp b/src/vma/proto/route_val.cpp index 651baafef..9342bce1b 100644 --- a/src/vma/proto/route_val.cpp +++ b/src/vma/proto/route_val.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/route_val.h b/src/vma/proto/route_val.h index aa90c5003..36091326b 100644 --- a/src/vma/proto/route_val.h +++ b/src/vma/proto/route_val.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/rule_entry.cpp b/src/vma/proto/rule_entry.cpp index a9bf3a11e..7f2cc6574 100644 --- a/src/vma/proto/rule_entry.cpp +++ b/src/vma/proto/rule_entry.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/rule_entry.h b/src/vma/proto/rule_entry.h index 45db4aea3..4f345d53d 100644 --- a/src/vma/proto/rule_entry.h +++ b/src/vma/proto/rule_entry.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index 32847014f..2d7a0b663 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/rule_table_mgr.h b/src/vma/proto/rule_table_mgr.h index f3f6fdcf7..a6acee35f 100644 --- a/src/vma/proto/rule_table_mgr.h +++ b/src/vma/proto/rule_table_mgr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/rule_val.cpp b/src/vma/proto/rule_val.cpp index 3c56f4561..75385acda 100644 --- a/src/vma/proto/rule_val.cpp +++ b/src/vma/proto/rule_val.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/rule_val.h b/src/vma/proto/rule_val.h index 9d6f8d200..1d57010fa 100644 --- a/src/vma/proto/rule_val.h +++ b/src/vma/proto/rule_val.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/vma_lwip.cpp b/src/vma/proto/vma_lwip.cpp index ac3f252bb..524da228b 100644 --- a/src/vma/proto/vma_lwip.cpp +++ b/src/vma/proto/vma_lwip.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/proto/vma_lwip.h b/src/vma/proto/vma_lwip.h index bfdc61109..837065046 100644 --- a/src/vma/proto/vma_lwip.h +++ b/src/vma/proto/vma_lwip.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/cleanable_obj.h b/src/vma/sock/cleanable_obj.h index 95d3f6fd8..6d446f2f9 100644 --- a/src/vma/sock/cleanable_obj.h +++ b/src/vma/sock/cleanable_obj.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/fd_collection.cpp b/src/vma/sock/fd_collection.cpp index a758aaac0..e54e85c8b 100644 --- a/src/vma/sock/fd_collection.cpp +++ b/src/vma/sock/fd_collection.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/fd_collection.h b/src/vma/sock/fd_collection.h index 7dab97a61..fb834292a 100644 --- a/src/vma/sock/fd_collection.h +++ b/src/vma/sock/fd_collection.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/pipeinfo.cpp b/src/vma/sock/pipeinfo.cpp index 0c46bac79..88eee2b28 100644 --- a/src/vma/sock/pipeinfo.cpp +++ b/src/vma/sock/pipeinfo.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/pipeinfo.h b/src/vma/sock/pipeinfo.h index 7fe3ae55a..e01aaaba2 100644 --- a/src/vma/sock/pipeinfo.h +++ b/src/vma/sock/pipeinfo.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/pkt_rcvr_sink.h b/src/vma/sock/pkt_rcvr_sink.h index 61d9db840..a55996610 100644 --- a/src/vma/sock/pkt_rcvr_sink.h +++ b/src/vma/sock/pkt_rcvr_sink.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/pkt_sndr_source.h b/src/vma/sock/pkt_sndr_source.h index 724b5ea1f..761204482 100644 --- a/src/vma/sock/pkt_sndr_source.h +++ b/src/vma/sock/pkt_sndr_source.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 84b3fd1b5..8008ad31b 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/sock-redirect.h b/src/vma/sock/sock-redirect.h index 020c97b4a..033efb260 100644 --- a/src/vma/sock/sock-redirect.h +++ b/src/vma/sock/sock-redirect.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/socket_fd_api.cpp b/src/vma/sock/socket_fd_api.cpp index 6e335f8cf..e757077e1 100644 --- a/src/vma/sock/socket_fd_api.cpp +++ b/src/vma/sock/socket_fd_api.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/socket_fd_api.h b/src/vma/sock/socket_fd_api.h index f2550a08f..5d20d6902 100644 --- a/src/vma/sock/socket_fd_api.h +++ b/src/vma/sock/socket_fd_api.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index f84948c99..c763071eb 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/sockinfo.h b/src/vma/sock/sockinfo.h index a10e457a4..e80c25874 100644 --- a/src/vma/sock/sockinfo.h +++ b/src/vma/sock/sockinfo.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 747b46965..2c3a55931 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index cc59cca67..14def04e8 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index 3ed423766..5a08a2858 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/sock/sockinfo_udp.h b/src/vma/sock/sockinfo_udp.h index 10de22def..f11ca8cf5 100644 --- a/src/vma/sock/sockinfo_udp.h +++ b/src/vma/sock/sockinfo_udp.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/agent.cpp b/src/vma/util/agent.cpp index 0aba73216..b0524cba4 100644 --- a/src/vma/util/agent.cpp +++ b/src/vma/util/agent.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/agent.h b/src/vma/util/agent.h index 2c3494c26..63c81e857 100644 --- a/src/vma/util/agent.h +++ b/src/vma/util/agent.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/agent_def.h b/src/vma/util/agent_def.h index d52e1809c..5eb2646f3 100644 --- a/src/vma/util/agent_def.h +++ b/src/vma/util/agent_def.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/chunk_list.h b/src/vma/util/chunk_list.h index 69c1bc05b..088e5166c 100644 --- a/src/vma/util/chunk_list.h +++ b/src/vma/util/chunk_list.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/config_parser.y b/src/vma/util/config_parser.y index 7531277aa..162116edf 100644 --- a/src/vma/util/config_parser.y +++ b/src/vma/util/config_parser.y @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/config_scanner.l b/src/vma/util/config_scanner.l index 04357737c..a730577a6 100644 --- a/src/vma/util/config_scanner.l +++ b/src/vma/util/config_scanner.l @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/data_updater.cpp b/src/vma/util/data_updater.cpp index e16faea23..3aaa555ab 100644 --- a/src/vma/util/data_updater.cpp +++ b/src/vma/util/data_updater.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/data_updater.h b/src/vma/util/data_updater.h index 0c9061c36..ef01ba16d 100644 --- a/src/vma/util/data_updater.h +++ b/src/vma/util/data_updater.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/hash_map.h b/src/vma/util/hash_map.h index 43db50b6f..030925172 100644 --- a/src/vma/util/hash_map.h +++ b/src/vma/util/hash_map.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/hash_map.inl b/src/vma/util/hash_map.inl index 9b0d91088..6e4ceb0a3 100644 --- a/src/vma/util/hash_map.inl +++ b/src/vma/util/hash_map.inl @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/if.h b/src/vma/util/if.h index 2c8c57f2d..bb3168781 100644 --- a/src/vma/util/if.h +++ b/src/vma/util/if.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/instrumentation.cpp b/src/vma/util/instrumentation.cpp index aa51a0bff..4cd5e39c9 100644 --- a/src/vma/util/instrumentation.cpp +++ b/src/vma/util/instrumentation.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/instrumentation.h b/src/vma/util/instrumentation.h index 037616733..11b28601d 100644 --- a/src/vma/util/instrumentation.h +++ b/src/vma/util/instrumentation.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/libvma.h b/src/vma/util/libvma.h index 5cf712e8d..0de17e9ea 100644 --- a/src/vma/util/libvma.h +++ b/src/vma/util/libvma.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/match.cpp b/src/vma/util/match.cpp index 3ef33695b..5169b1fed 100644 --- a/src/vma/util/match.cpp +++ b/src/vma/util/match.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/sg_array.h b/src/vma/util/sg_array.h index 4dc28686e..2fac4fc43 100644 --- a/src/vma/util/sg_array.h +++ b/src/vma/util/sg_array.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/sock_addr.h b/src/vma/util/sock_addr.h index f104cdaf4..fa9b16fe2 100644 --- a/src/vma/util/sock_addr.h +++ b/src/vma/util/sock_addr.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index c1ad27baa..1367658dc 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index a05ec7b21..e7198e705 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/sysctl_reader.h b/src/vma/util/sysctl_reader.h index 908ead3fd..53e3ba744 100644 --- a/src/vma/util/sysctl_reader.h +++ b/src/vma/util/sysctl_reader.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/to_str.h b/src/vma/util/to_str.h index b0ecb069a..80e18ce00 100644 --- a/src/vma/util/to_str.h +++ b/src/vma/util/to_str.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 79aeb6fc1..93d2c9c89 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index 48d3df0eb..8ccddcb08 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/valgrind.h b/src/vma/util/valgrind.h index b6d9ed73e..e5d992bde 100644 --- a/src/vma/util/valgrind.h +++ b/src/vma/util/valgrind.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/vma_list.h b/src/vma/util/vma_list.h index 127d12b88..96245b04f 100644 --- a/src/vma/util/vma_list.h +++ b/src/vma/util/vma_list.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/vma_stats.h b/src/vma/util/vma_stats.h index f34a893c6..31cf7f062 100644 --- a/src/vma/util/vma_stats.h +++ b/src/vma/util/vma_stats.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/vtypes.h b/src/vma/util/vtypes.h index 6031cebf3..5b212acb6 100644 --- a/src/vma/util/vtypes.h +++ b/src/vma/util/vtypes.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/wakeup.cpp b/src/vma/util/wakeup.cpp index 6e29e2a6d..7d72b2857 100644 --- a/src/vma/util/wakeup.cpp +++ b/src/vma/util/wakeup.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/wakeup.h b/src/vma/util/wakeup.h index bb5f50bc6..8270b50c3 100644 --- a/src/vma/util/wakeup.h +++ b/src/vma/util/wakeup.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/wakeup_pipe.cpp b/src/vma/util/wakeup_pipe.cpp index 7675a0381..25b2f452c 100644 --- a/src/vma/util/wakeup_pipe.cpp +++ b/src/vma/util/wakeup_pipe.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/util/wakeup_pipe.h b/src/vma/util/wakeup_pipe.h index 899f80f4a..12ded214b 100644 --- a/src/vma/util/wakeup_pipe.h +++ b/src/vma/util/wakeup_pipe.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index 07944d89a..53da8b7b4 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/api-support-check.py b/tests/api-support-check.py index d724866f8..e3d23e7b3 100755 --- a/tests/api-support-check.py +++ b/tests/api-support-check.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # #@copyright: +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/async-echo-client/async-echo-client.py b/tests/async-echo-client/async-echo-client.py index fb4430909..abe15e21f 100755 --- a/tests/async-echo-client/async-echo-client.py +++ b/tests/async-echo-client/async-echo-client.py @@ -2,6 +2,7 @@ # # #@copyright: +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/async-echo-client/echo-server.py b/tests/async-echo-client/echo-server.py index c040a02d8..6f1e8c06e 100755 --- a/tests/async-echo-client/echo-server.py +++ b/tests/async-echo-client/echo-server.py @@ -1,5 +1,6 @@ #!/usr/bin/env python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/async-echo-client/syncronized-echo-client.py b/tests/async-echo-client/syncronized-echo-client.py index 01c91dd19..6427983f1 100755 --- a/tests/async-echo-client/syncronized-echo-client.py +++ b/tests/async-echo-client/syncronized-echo-client.py @@ -2,6 +2,7 @@ # # #@copyright: +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/benchmarking_test/Accelerators_Benchmarking.sh b/tests/benchmarking_test/Accelerators_Benchmarking.sh index cf17e25bd..023d36f7c 100755 --- a/tests/benchmarking_test/Accelerators_Benchmarking.sh +++ b/tests/benchmarking_test/Accelerators_Benchmarking.sh @@ -1,5 +1,6 @@ #!/bin/sh # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/bindtodevice/client.py b/tests/bindtodevice/client.py index 4c6c7ffd8..4e5eb9bdf 100755 --- a/tests/bindtodevice/client.py +++ b/tests/bindtodevice/client.py @@ -2,6 +2,7 @@ # # #@copyright: +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/connect-disconnect/client.py b/tests/connect-disconnect/client.py index e61d561e4..12bc78f10 100755 --- a/tests/connect-disconnect/client.py +++ b/tests/connect-disconnect/client.py @@ -2,6 +2,7 @@ # # #@copyright: +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/extra_api_tests/socketxtreme/server_tcp.c b/tests/extra_api_tests/socketxtreme/server_tcp.c index 828d7e548..78ac4c552 100644 --- a/tests/extra_api_tests/socketxtreme/server_tcp.c +++ b/tests/extra_api_tests/socketxtreme/server_tcp.c @@ -1,5 +1,6 @@ /* - * Copyright © 2019-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.c b/tests/extra_api_tests/tcp_zcopy_cb/client.c index aa81c5a79..e9a76e3ca 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.c @@ -1,5 +1,6 @@ /* - * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.h b/tests/extra_api_tests/tcp_zcopy_cb/client.h index 98c9ac729..dd5c1753b 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.h @@ -1,5 +1,6 @@ /* - * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/main.c b/tests/extra_api_tests/tcp_zcopy_cb/main.c index 4de7ce487..7741b88f4 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/main.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/main.c @@ -1,5 +1,6 @@ /* - * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.c b/tests/extra_api_tests/tcp_zcopy_cb/server.c index 452d02034..e210d4f50 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.c @@ -1,5 +1,6 @@ /* - * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.h b/tests/extra_api_tests/tcp_zcopy_cb/server.h index b1a673178..1797c9eb7 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.h @@ -1,5 +1,6 @@ /* - * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/types.h b/tests/extra_api_tests/tcp_zcopy_cb/types.h index a74c99ecf..2132c37a1 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/types.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/types.h @@ -1,5 +1,6 @@ /* - * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/utils.c b/tests/extra_api_tests/tcp_zcopy_cb/utils.c index 241e9a8a5..0242c0111 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/utils.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/utils.c @@ -1,5 +1,6 @@ /* - * Copyright © 2014-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/getsockname_test.c b/tests/functionality/getsockname_test.c index 79f2f26d2..92720050c 100644 --- a/tests/functionality/getsockname_test.c +++ b/tests/functionality/getsockname_test.c @@ -1,5 +1,6 @@ /* - * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/1epoll_1socket_twice.c b/tests/functionality/iomux/1epoll_1socket_twice.c index bcec0d887..43beabe42 100644 --- a/tests/functionality/iomux/1epoll_1socket_twice.c +++ b/tests/functionality/iomux/1epoll_1socket_twice.c @@ -1,5 +1,6 @@ /* - * Copyright © 2016-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/2epoll_1socket.c b/tests/functionality/iomux/2epoll_1socket.c index fc6d7ade6..4ee6bbc57 100644 --- a/tests/functionality/iomux/2epoll_1socket.c +++ b/tests/functionality/iomux/2epoll_1socket.c @@ -1,5 +1,6 @@ /* - * Copyright © 2016-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/client.py b/tests/functionality/iomux/client.py index 1fad27dd4..bd09ff888 100755 --- a/tests/functionality/iomux/client.py +++ b/tests/functionality/iomux/client.py @@ -1,5 +1,6 @@ #!/usr/bin/python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/functionality/iomux/eclient.py b/tests/functionality/iomux/eclient.py index f7f839074..7a8e0bd18 100644 --- a/tests/functionality/iomux/eclient.py +++ b/tests/functionality/iomux/eclient.py @@ -1,5 +1,6 @@ #!/usr/bin/python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/functionality/iomux/eserver.py b/tests/functionality/iomux/eserver.py index f773fbecc..c3366e9df 100644 --- a/tests/functionality/iomux/eserver.py +++ b/tests/functionality/iomux/eserver.py @@ -1,5 +1,6 @@ #!/usr/bin/env python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/functionality/iomux/pclient.py b/tests/functionality/iomux/pclient.py index 6be3aeada..d61abd646 100644 --- a/tests/functionality/iomux/pclient.py +++ b/tests/functionality/iomux/pclient.py @@ -1,5 +1,6 @@ #!/usr/bin/python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/functionality/iomux/pserver.py b/tests/functionality/iomux/pserver.py index 33ae97b7c..7d21aaeac 100644 --- a/tests/functionality/iomux/pserver.py +++ b/tests/functionality/iomux/pserver.py @@ -1,5 +1,6 @@ #!/usr/bin/env python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/functionality/iomux/server.py b/tests/functionality/iomux/server.py index 5240da436..f0a6fa541 100755 --- a/tests/functionality/iomux/server.py +++ b/tests/functionality/iomux/server.py @@ -1,5 +1,6 @@ #!/usr/bin/env python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/gtest/common/base.cc b/tests/gtest/common/base.cc index 90e89ac83..28540861d 100644 --- a/tests/gtest/common/base.cc +++ b/tests/gtest/common/base.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/common/base.h b/tests/gtest/common/base.h index 8b74265b5..524785183 100644 --- a/tests/gtest/common/base.h +++ b/tests/gtest/common/base.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/common/cmn.h b/tests/gtest/common/cmn.h index 02372a154..f38fcf948 100644 --- a/tests/gtest/common/cmn.h +++ b/tests/gtest/common/cmn.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/common/def.h b/tests/gtest/common/def.h index 6b518e06f..b6f6eec5e 100644 --- a/tests/gtest/common/def.h +++ b/tests/gtest/common/def.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/common/log.h b/tests/gtest/common/log.h index 8cb8980a0..aa4a6c937 100644 --- a/tests/gtest/common/log.h +++ b/tests/gtest/common/log.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/common/sys.cc b/tests/gtest/common/sys.cc index 260fafcbe..dee21d79c 100644 --- a/tests/gtest/common/sys.cc +++ b/tests/gtest/common/sys.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/common/sys.h b/tests/gtest/common/sys.h index 909d63ad5..e20929541 100644 --- a/tests/gtest/common/sys.h +++ b/tests/gtest/common/sys.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/main.cc b/tests/gtest/main.cc index 672de1902..10224382c 100644 --- a/tests/gtest/main.cc +++ b/tests/gtest/main.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/mix/mix_base.cc b/tests/gtest/mix/mix_base.cc index 0becb7fb6..2b5315372 100644 --- a/tests/gtest/mix/mix_base.cc +++ b/tests/gtest/mix/mix_base.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/mix/mix_base.h b/tests/gtest/mix/mix_base.h index 90dad1988..8a817b251 100644 --- a/tests/gtest/mix/mix_base.h +++ b/tests/gtest/mix/mix_base.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/mix/mix_list.cc b/tests/gtest/mix/mix_list.cc index 56c00c00a..648f8058b 100644 --- a/tests/gtest/mix/mix_list.cc +++ b/tests/gtest/mix/mix_list.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/mix/sg_array.cc b/tests/gtest/mix/sg_array.cc index 1ab9fa0b1..ec804a8e1 100644 --- a/tests/gtest/mix/sg_array.cc +++ b/tests/gtest/mix/sg_array.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/sock/sock_base.cc b/tests/gtest/sock/sock_base.cc index 3f0e48d39..cb32e9e67 100644 --- a/tests/gtest/sock/sock_base.cc +++ b/tests/gtest/sock/sock_base.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/sock/sock_base.h b/tests/gtest/sock/sock_base.h index b7926764a..48a99c285 100644 --- a/tests/gtest/sock/sock_base.h +++ b/tests/gtest/sock/sock_base.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/sock/sock_socket.cc b/tests/gtest/sock/sock_socket.cc index 31bd758ae..8a0e91500 100644 --- a/tests/gtest/sock/sock_socket.cc +++ b/tests/gtest/sock/sock_socket.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_base.cc b/tests/gtest/tcp/tcp_base.cc index 732088679..5319cbf79 100644 --- a/tests/gtest/tcp/tcp_base.cc +++ b/tests/gtest/tcp/tcp_base.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_base.h b/tests/gtest/tcp/tcp_base.h index b1bb044a0..8f8dc2f05 100644 --- a/tests/gtest/tcp/tcp_base.h +++ b/tests/gtest/tcp/tcp_base.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_bind.cc b/tests/gtest/tcp/tcp_bind.cc index 01b9aabd4..40bb44edb 100644 --- a/tests/gtest/tcp/tcp_bind.cc +++ b/tests/gtest/tcp/tcp_bind.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_connect.cc b/tests/gtest/tcp/tcp_connect.cc index cc8bb3e01..fa9f46957 100644 --- a/tests/gtest/tcp/tcp_connect.cc +++ b/tests/gtest/tcp/tcp_connect.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_connect_nb.cc b/tests/gtest/tcp/tcp_connect_nb.cc index 9ce435450..b44848e6b 100644 --- a/tests/gtest/tcp/tcp_connect_nb.cc +++ b/tests/gtest/tcp/tcp_connect_nb.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_event.cc b/tests/gtest/tcp/tcp_event.cc index 3a81b0b74..3980a47fd 100644 --- a/tests/gtest/tcp/tcp_event.cc +++ b/tests/gtest/tcp/tcp_event.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_send.cc b/tests/gtest/tcp/tcp_send.cc index 7d789a80c..a79327f71 100644 --- a/tests/gtest/tcp/tcp_send.cc +++ b/tests/gtest/tcp/tcp_send.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_send_zc.cc b/tests/gtest/tcp/tcp_send_zc.cc index 9e77bb152..35ad9117d 100644 --- a/tests/gtest/tcp/tcp_send_zc.cc +++ b/tests/gtest/tcp/tcp_send_zc.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_sendfile.cc b/tests/gtest/tcp/tcp_sendfile.cc index 1ae62d0ec..9748fdfb8 100644 --- a/tests/gtest/tcp/tcp_sendfile.cc +++ b/tests/gtest/tcp/tcp_sendfile.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_sendto.cc b/tests/gtest/tcp/tcp_sendto.cc index 78ee5ce5b..9530d885c 100644 --- a/tests/gtest/tcp/tcp_sendto.cc +++ b/tests/gtest/tcp/tcp_sendto.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_socket.cc b/tests/gtest/tcp/tcp_socket.cc index 475ea73ae..939ae9034 100644 --- a/tests/gtest/tcp/tcp_socket.cc +++ b/tests/gtest/tcp/tcp_socket.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_sockopt.cc b/tests/gtest/tcp/tcp_sockopt.cc index 4cd6d25d0..76609f823 100644 --- a/tests/gtest/tcp/tcp_sockopt.cc +++ b/tests/gtest/tcp/tcp_sockopt.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/tcp/tcp_tls.cc b/tests/gtest/tcp/tcp_tls.cc index 41f61b61d..edb9de21c 100644 --- a/tests/gtest/tcp/tcp_tls.cc +++ b/tests/gtest/tcp/tcp_tls.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/udp/udp_base.cc b/tests/gtest/udp/udp_base.cc index 8c81f49c1..c783d310c 100644 --- a/tests/gtest/udp/udp_base.cc +++ b/tests/gtest/udp/udp_base.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/udp/udp_base.h b/tests/gtest/udp/udp_base.h index ead5b13c3..8d06c16f2 100644 --- a/tests/gtest/udp/udp_base.h +++ b/tests/gtest/udp/udp_base.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/udp/udp_bind.cc b/tests/gtest/udp/udp_bind.cc index 0619fddb7..e47f07c8c 100644 --- a/tests/gtest/udp/udp_bind.cc +++ b/tests/gtest/udp/udp_bind.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/udp/udp_connect.cc b/tests/gtest/udp/udp_connect.cc index dff9094b2..cd89214e7 100644 --- a/tests/gtest/udp/udp_connect.cc +++ b/tests/gtest/udp/udp_connect.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/udp/udp_send.cc b/tests/gtest/udp/udp_send.cc index 3e0c5ea3c..bd73831b7 100644 --- a/tests/gtest/udp/udp_send.cc +++ b/tests/gtest/udp/udp_send.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/udp/udp_sendto.cc b/tests/gtest/udp/udp_sendto.cc index ec4c1db34..a42a37fbf 100644 --- a/tests/gtest/udp/udp_sendto.cc +++ b/tests/gtest/udp/udp_sendto.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vma/vma_base.cc b/tests/gtest/vma/vma_base.cc index 9ef06fcd9..74d217426 100644 --- a/tests/gtest/vma/vma_base.cc +++ b/tests/gtest/vma/vma_base.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vma/vma_base.h b/tests/gtest/vma/vma_base.h index d56495476..908f1f536 100644 --- a/tests/gtest/vma/vma_base.h +++ b/tests/gtest/vma/vma_base.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vma/vma_poll.cc b/tests/gtest/vma/vma_poll.cc index 0d4ead76a..eb3ab3c9f 100644 --- a/tests/gtest/vma/vma_poll.cc +++ b/tests/gtest/vma/vma_poll.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vma/vma_recvfrom_zcopy.cc b/tests/gtest/vma/vma_recvfrom_zcopy.cc index 11cf4509c..c9448947c 100644 --- a/tests/gtest/vma/vma_recvfrom_zcopy.cc +++ b/tests/gtest/vma/vma_recvfrom_zcopy.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vma/vma_ring.cc b/tests/gtest/vma/vma_ring.cc index 07885bb19..b5b6f31cb 100644 --- a/tests/gtest/vma/vma_ring.cc +++ b/tests/gtest/vma/vma_ring.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vma/vma_sockopt.cc b/tests/gtest/vma/vma_sockopt.cc index 3250fb54d..eef0720be 100644 --- a/tests/gtest/vma/vma_sockopt.cc +++ b/tests/gtest/vma/vma_sockopt.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vmad/vmad_base.cc b/tests/gtest/vmad/vmad_base.cc index e70cc38c7..5a225a68e 100644 --- a/tests/gtest/vmad/vmad_base.cc +++ b/tests/gtest/vmad/vmad_base.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vmad/vmad_base.h b/tests/gtest/vmad/vmad_base.h index 8113089b3..945b8a481 100644 --- a/tests/gtest/vmad/vmad_base.h +++ b/tests/gtest/vmad/vmad_base.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vmad/vmad_bitmap.cc b/tests/gtest/vmad/vmad_bitmap.cc index c5ad437d3..2c9487df2 100644 --- a/tests/gtest/vmad/vmad_bitmap.cc +++ b/tests/gtest/vmad/vmad_bitmap.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vmad/vmad_flow.cc b/tests/gtest/vmad/vmad_flow.cc index 4ac9b6c66..ded0c877d 100644 --- a/tests/gtest/vmad/vmad_flow.cc +++ b/tests/gtest/vmad/vmad_flow.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vmad/vmad_hash.cc b/tests/gtest/vmad/vmad_hash.cc index 6bc237bc3..14696ed56 100644 --- a/tests/gtest/vmad/vmad_hash.cc +++ b/tests/gtest/vmad/vmad_hash.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vmad/vmad_init.cc b/tests/gtest/vmad/vmad_init.cc index 3b513f38e..9c35b0ff5 100644 --- a/tests/gtest/vmad/vmad_init.cc +++ b/tests/gtest/vmad/vmad_init.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/gtest/vmad/vmad_state.cc b/tests/gtest/vmad/vmad_state.cc index ca7b9f174..c61a2b79f 100644 --- a/tests/gtest/vmad/vmad_state.cc +++ b/tests/gtest/vmad/vmad_state.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/latency_test/tcp_lat.cpp b/tests/latency_test/tcp_lat.cpp index 9058ed516..c95290c4e 100644 --- a/tests/latency_test/tcp_lat.cpp +++ b/tests/latency_test/tcp_lat.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/latency_test/udp_lat.c b/tests/latency_test/udp_lat.c index 0d0ad3fe1..0ace1ecab 100644 --- a/tests/latency_test/udp_lat.c +++ b/tests/latency_test/udp_lat.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/listen/tcp_client.py b/tests/listen/tcp_client.py index 4b25b2a4c..e4eb1631a 100755 --- a/tests/listen/tcp_client.py +++ b/tests/listen/tcp_client.py @@ -1,5 +1,6 @@ #!/usr/bin/python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/listen/tcp_server.py b/tests/listen/tcp_server.py index 2366e60dc..b84b9ebb4 100755 --- a/tests/listen/tcp_server.py +++ b/tests/listen/tcp_server.py @@ -1,5 +1,6 @@ #!/usr/bin/python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/low_pps_tcp_send_test/exchange.cpp b/tests/low_pps_tcp_send_test/exchange.cpp index ddcd00277..6394ba3e7 100755 --- a/tests/low_pps_tcp_send_test/exchange.cpp +++ b/tests/low_pps_tcp_send_test/exchange.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/low_pps_tcp_send_test/trader.cpp b/tests/low_pps_tcp_send_test/trader.cpp index 84bbe0711..91120aba1 100755 --- a/tests/low_pps_tcp_send_test/trader.cpp +++ b/tests/low_pps_tcp_send_test/trader.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/mc_loop_test/mc_loop_test.c b/tests/mc_loop_test/mc_loop_test.c index 25c3b33ec..7b72ba74b 100644 --- a/tests/mc_loop_test/mc_loop_test.c +++ b/tests/mc_loop_test/mc_loop_test.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/multithread_test/exchange.cpp b/tests/multithread_test/exchange.cpp index ac9930bb8..5f47a0ec6 100755 --- a/tests/multithread_test/exchange.cpp +++ b/tests/multithread_test/exchange.cpp @@ -1,5 +1,6 @@ /* - * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/multithread_test/trader.cpp b/tests/multithread_test/trader.cpp index df200ae83..7184be1cf 100755 --- a/tests/multithread_test/trader.cpp +++ b/tests/multithread_test/trader.cpp @@ -1,5 +1,6 @@ /* - * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/pps_test/pps_test.c b/tests/pps_test/pps_test.c index e075faba8..a9f8161c5 100644 --- a/tests/pps_test/pps_test.c +++ b/tests/pps_test/pps_test.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py index ce3afd11f..46823eded 100755 --- a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py @@ -2,6 +2,7 @@ # # #@copyright: +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/resource_release_checker/server_socket_recreate_loop.py b/tests/resource_release_checker/server_socket_recreate_loop.py index 3ad24690b..632d3ea49 100755 --- a/tests/resource_release_checker/server_socket_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_recreate_loop.py @@ -2,6 +2,7 @@ # # #@copyright: +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/reuse_ud_test.c b/tests/reuse_ud_test.c index ece705d03..e5759c265 100644 --- a/tests/reuse_ud_test.c +++ b/tests/reuse_ud_test.c @@ -1,5 +1,6 @@ /* - * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/select_t1.c b/tests/select_t1.c index be18d50f5..377266f47 100644 --- a/tests/select_t1.c +++ b/tests/select_t1.c @@ -1,5 +1,6 @@ /* - * Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/client.cc b/tests/server_test/client.cc index 5fbaa3659..899557e16 100644 --- a/tests/server_test/client.cc +++ b/tests/server_test/client.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/server_test/client.h b/tests/server_test/client.h index c339532c9..dbe4fdf0e 100644 --- a/tests/server_test/client.h +++ b/tests/server_test/client.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/server_test/main.cc b/tests/server_test/main.cc index c9f8db459..9529838d6 100644 --- a/tests/server_test/main.cc +++ b/tests/server_test/main.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/server_test/options.cc b/tests/server_test/options.cc index 13959f517..c6199eb10 100644 --- a/tests/server_test/options.cc +++ b/tests/server_test/options.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/server_test/options.h b/tests/server_test/options.h index c9cccfbbc..ba5668006 100644 --- a/tests/server_test/options.h +++ b/tests/server_test/options.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/server_test/server.cc b/tests/server_test/server.cc index 0c143ce66..90c146179 100644 --- a/tests/server_test/server.cc +++ b/tests/server_test/server.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/server_test/server.h b/tests/server_test/server.h index 1451c9ad5..bcf7258f6 100644 --- a/tests/server_test/server.h +++ b/tests/server_test/server.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/server_test/vtime.cc b/tests/server_test/vtime.cc index b30ad1944..9f2f02010 100644 --- a/tests/server_test/vtime.cc +++ b/tests/server_test/vtime.cc @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/server_test/vtime.h b/tests/server_test/vtime.h index 6d8ed0266..b087ab9fb 100644 --- a/tests/server_test/vtime.h +++ b/tests/server_test/vtime.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/simple_fork/fork.py b/tests/simple_fork/fork.py index 11f6b88d4..7c46b9d8d 100755 --- a/tests/simple_fork/fork.py +++ b/tests/simple_fork/fork.py @@ -1,5 +1,6 @@ #!/usr/bin/python # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/tcp_window_size_exerciser/Makefile b/tests/tcp_window_size_exerciser/Makefile index ee0e7446c..62e2a37c3 100644 --- a/tests/tcp_window_size_exerciser/Makefile +++ b/tests/tcp_window_size_exerciser/Makefile @@ -1,5 +1,6 @@ # -# Copyright © 2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES +# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test.h b/tests/tcp_window_size_exerciser/tcp_wnd_test.h index de7d3d37c..24fb4e2de 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test.h +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c index 51e6eebad..3b091747a 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c index 8f84cba7f..876ba5c03 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/testbed/testbed.c b/tests/testbed/testbed.c index 140b13a1c..581b15784 100644 --- a/tests/testbed/testbed.c +++ b/tests/testbed/testbed.c @@ -1,5 +1,6 @@ /* - * Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/throughput_test/bandwidth_test.c b/tests/throughput_test/bandwidth_test.c index b22bf48f0..308c0b342 100644 --- a/tests/throughput_test/bandwidth_test.c +++ b/tests/throughput_test/bandwidth_test.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/timetest/timetest.cpp b/tests/timetest/timetest.cpp index ed0b76618..126bcbc84 100644 --- a/tests/timetest/timetest.cpp +++ b/tests/timetest/timetest.cpp @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tests/vma_perf_envelope/vma_multiplexers_test.sh b/tests/vma_perf_envelope/vma_multiplexers_test.sh index a1f5e571d..9cde1241c 100755 --- a/tests/vma_perf_envelope/vma_multiplexers_test.sh +++ b/tests/vma_perf_envelope/vma_multiplexers_test.sh @@ -1,5 +1,6 @@ #!/bin/bash # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tests/vma_perf_envelope/vma_perf_envelope.sh b/tests/vma_perf_envelope/vma_perf_envelope.sh index a698f2a44..fb46bb6ce 100755 --- a/tests/vma_perf_envelope/vma_perf_envelope.sh +++ b/tests/vma_perf_envelope/vma_perf_envelope.sh @@ -1,5 +1,6 @@ #!/bin/bash # +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two diff --git a/tools/daemon/bitmap.h b/tools/daemon/bitmap.h index e34470a7c..da302a52d 100644 --- a/tools/daemon/bitmap.h +++ b/tools/daemon/bitmap.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/daemon.c b/tools/daemon/daemon.c index 6c6f2cf5d..3281ef08f 100644 --- a/tools/daemon/daemon.c +++ b/tools/daemon/daemon.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/daemon.h b/tools/daemon/daemon.h index 99d0bf389..23bcbe2f6 100644 --- a/tools/daemon/daemon.h +++ b/tools/daemon/daemon.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/flow.c b/tools/daemon/flow.c index 2181c4002..52fd85544 100644 --- a/tools/daemon/flow.c +++ b/tools/daemon/flow.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/hash.c b/tools/daemon/hash.c index b67dc680d..370125592 100644 --- a/tools/daemon/hash.c +++ b/tools/daemon/hash.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/hash.h b/tools/daemon/hash.h index 021ff582e..83b3cd024 100644 --- a/tools/daemon/hash.h +++ b/tools/daemon/hash.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/loop.c b/tools/daemon/loop.c index eb80dfa74..57a615d1c 100644 --- a/tools/daemon/loop.c +++ b/tools/daemon/loop.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/message.c b/tools/daemon/message.c index 13ffe7f78..7cfca62fd 100644 --- a/tools/daemon/message.c +++ b/tools/daemon/message.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/nl.c b/tools/daemon/nl.c index a1eaecdd4..eb09b82e7 100644 --- a/tools/daemon/nl.c +++ b/tools/daemon/nl.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/nl.h b/tools/daemon/nl.h index 9d0f8e631..1d3939f92 100644 --- a/tools/daemon/nl.h +++ b/tools/daemon/nl.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/notify.c b/tools/daemon/notify.c index 31a5fc85a..5304e2801 100644 --- a/tools/daemon/notify.c +++ b/tools/daemon/notify.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/store.c b/tools/daemon/store.c index 946ad5075..e350e4763 100644 --- a/tools/daemon/store.c +++ b/tools/daemon/store.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/tc.c b/tools/daemon/tc.c index ead7bc548..f14e7d015 100644 --- a/tools/daemon/tc.c +++ b/tools/daemon/tc.c @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two diff --git a/tools/daemon/tc.h b/tools/daemon/tc.h index 63a9a407d..5b00020df 100644 --- a/tools/daemon/tc.h +++ b/tools/daemon/tc.h @@ -1,4 +1,5 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two From 1978cb66c0d40803ba96158df3c41617acb56fe3 Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Wed, 11 Sep 2024 11:02:54 +0400 Subject: [PATCH 054/150] issue: 4081165 - fixing false positives in the Secrets Scanner We need to rename Jenkins secrets IDs to human readable form. Jenkins secrets we reference in the CI are currently represented in UUID format. It confuses Secrets Scanner, which takes these data for passwords. Renaming these secret IDs in Jenkins will allow us to restor Secrets Scanner normal workflow. issue: HPCINFRA-2572 Signed-off-by: Viacheslav Login --- .ci/matrix_job.yaml | 8 ++++---- .ci/pipeline/release_jjb.yaml | 4 ++-- .ci/pipeline/release_matrix_job.yaml | 2 +- .ci/pipeline/release_matrix_job_dr.yaml | 2 +- .ci/proj_jjb.yaml | 4 ++-- .ci/redmine_jjb.yaml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index d459dc835..9308f1e0f 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -23,8 +23,8 @@ volumes: - {mountPath: /hpc/local/etc/modulefiles, hostPath: /hpc/local/etc/modulefiles} credentials: - - {credentialsId: '925b0900-e273-4042-bc7c-facaefae0727', usernameVariable: 'VMA_COV_USER', passwordVariable: 'VMA_COV_PASSWORD'} - - {credentialsId: 'fb735938-fa1c-4b61-b568-a7c153b4fe74', usernameVariable: 'MELLANOX_GH_USER', passwordVariable: 'MELLANOX_GH_TOKEN'} + - {credentialsId: 'media_coverity_credentials', usernameVariable: 'VMA_COV_USER', passwordVariable: 'VMA_COV_PASSWORD'} + - {credentialsId: 'mellanox_github_credentials', usernameVariable: 'MELLANOX_GH_USER', passwordVariable: 'MELLANOX_GH_TOKEN'} env: build_dockers: false @@ -80,7 +80,7 @@ steps: - name: Copyrights enable: ${do_copyrights} - credentialsId: 'fb735938-fa1c-4b61-b568-a7c153b4fe74' + credentialsId: 'mellanox_github_credentials' run: env WORKSPACE=$PWD GITHUB_TOKEN=$MELLANOX_GH_TOKEN ./contrib/jenkins_tests/copyrights.sh containerSelector: - "{name: 'header-check', category: 'tool'}" @@ -181,7 +181,7 @@ steps: - name: Coverity enable: ${do_coverity} - credentialsId: '925b0900-e273-4042-bc7c-facaefae0727' + credentialsId: 'media_coverity_credentials' containerSelector: - "{name: 'toolbox', category: 'tool'}" agentSelector: diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml index a96cbca6a..27e92af7c 100644 --- a/.ci/pipeline/release_jjb.yaml +++ b/.ci/pipeline/release_jjb.yaml @@ -47,7 +47,7 @@ scm: - git: url: "{jjb_git}" - credentials-id: 'b7d08ca7-378c-45d6-ac4b-3f30bdf49168' + credentials-id: 'swx-jenkins_ssh_key' branches: ['$sha1'] shallow-clone: true depth: 2 @@ -105,7 +105,7 @@ scm: - git: url: "{jjb_git}" - credentials-id: 'b7d08ca7-378c-45d6-ac4b-3f30bdf49168' + credentials-id: 'swx-jenkins_ssh_key' branches: ['$sha1'] shallow-clone: true depth: 2 diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml index 545d1f24e..7ad4ba4cd 100644 --- a/.ci/pipeline/release_matrix_job.yaml +++ b/.ci/pipeline/release_matrix_job.yaml @@ -1,7 +1,7 @@ --- job: LibVMA-release registry_host: harbor.mellanox.com -registry_auth: 1daaea28-800e-425f-a91f-3bd3e9136eea +registry_auth: swx-infra_harbor_credentials registry_path: /swx-infra/media/libvma kubernetes: diff --git a/.ci/pipeline/release_matrix_job_dr.yaml b/.ci/pipeline/release_matrix_job_dr.yaml index 9427d2367..5bfcc45f3 100644 --- a/.ci/pipeline/release_matrix_job_dr.yaml +++ b/.ci/pipeline/release_matrix_job_dr.yaml @@ -1,7 +1,7 @@ --- job: LibVMA-release-dr registry_host: harbor-pdc.nvidia.com -registry_auth: 1daaea28-800e-425f-a91f-3bd3e9136eea +registry_auth: swx-infra_harbor_credentials registry_path: /swx-infra/media/libvma kubernetes: diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index 94d4e8350..2bac129ca 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -115,7 +115,7 @@ failure-status: "[FAIL]" error-status: "[FAIL]" status-add-test-results: true - auth-id: '2806c206-c725-4d8c-af4b-bedfc463b401' + auth-id: 'swx-jenkins_ssh_key' org-list: ["Mellanox"] white-list: ["swx-jenkins","swx-jenkins2","swx-jenkins3","mellanox-github"] allow-whitelist-orgs-as-admins: true @@ -124,7 +124,7 @@ scm: - git: url: "{jjb_git}" - credentials-id: 'b7d08ca7-378c-45d6-ac4b-3f30bdf49168' + credentials-id: 'swx-jenkins_ssh_key' branches: ['$sha1'] shallow-clone: true depth: 2 diff --git a/.ci/redmine_jjb.yaml b/.ci/redmine_jjb.yaml index 09ca2fd61..121cb1800 100644 --- a/.ci/redmine_jjb.yaml +++ b/.ci/redmine_jjb.yaml @@ -42,7 +42,7 @@ failure-status: "[FAIL]" error-status: "[FAIL]" status-add-test-results: true - auth-id: '2806c206-c725-4d8c-af4b-bedfc463b401' + auth-id: 'swx-jenkins_ssh_key' admin-list: ["Mellanox"] org-list: ["Mellanox"] white-list: ["Mellanox"] @@ -53,7 +53,7 @@ scm: - git: url: "{jjb_git}" - credentials-id: 'b7d08ca7-378c-45d6-ac4b-3f30bdf49168' + credentials-id: 'swx-jenkins_ssh_key' branches: ['$sha1'] shallow-clone: true depth: 2 From 758f9b4d504ad111f5b9ae5b4b3915e591ddd58d Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Wed, 21 Aug 2024 17:01:03 +0400 Subject: [PATCH 055/150] issue: 4042266 remove support for old OS images in CI: - removed ubuntu20.x, rhel8.3 - removed branches running on r-aa-fatty22-005 and r-aa-fatty22-005 (rhel7,5 and ubuntu16.04 accordingly) issue: HPCINFRA-2469 Signed-off-by: Viacheslav Login --- .ci/matrix_job.yaml | 6 ++---- .ci/redmine_matrix_job.yaml | 9 ++++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 9308f1e0f..915eb950c 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -30,7 +30,7 @@ env: build_dockers: false runs_on_dockers: -# doca-hostw +# doca-host - {name: 'rhel8.6-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/base', category: 'base', arch: 'x86_64'} - {name: 'rhel9.0-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel9.0/base', category: 'base', arch: 'x86_64'} - {name: 'ub24.04-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu24.04/base', category: 'base', arch: 'x86_64'} @@ -40,14 +40,12 @@ runs_on_dockers: - {name: 'ub22.04-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu22.04/base', category: 'base', arch: 'x86_64'} - {name: 'ub22.04-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu22.04/base', category: 'base', arch: 'aarch64'} # tool - - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.3/builder:inbox', category: 'tool', arch: 'x86_64'} + - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', url: 'harbor.mellanox.com/toolbox/ngci-centos:7.9.2009.2', category: 'tool', arch: 'x86_64'} - {name: 'header-check', url: 'harbor.mellanox.com/toolbox/header_check:0.0.51', category: 'tool', arch: 'x86_64', tag: '0.0.51'} runs_on_agents: - {nodeLabel: 'beni09', category: 'base'} - - {nodeLabel: 'r-aa-fatty22-005', category: 'azure'} - - {nodeLabel: 'r-aa-fatty22-006', category: 'azure'} matrix: axes: diff --git a/.ci/redmine_matrix_job.yaml b/.ci/redmine_matrix_job.yaml index 10ec9e8b6..bfc93f956 100644 --- a/.ci/redmine_matrix_job.yaml +++ b/.ci/redmine_matrix_job.yaml @@ -21,18 +21,17 @@ volumes: - {mountPath: /hpc/local/inst/hpc-internal-tools, hostPath: /hpc/local/inst/hpc-internal-tools} runs_on_dockers: -# ubuntu 16.04 is used due to script dependency on python2 old print format - - {name: 'ub16.04-base', url: 'harbor.mellanox.com/swx-infra/x86_64/ubuntu16.04/base', arch: 'x86_64'} + - {name: 'ub22.04-base', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu22.04/base', arch: 'x86_64'} steps: - name: Redmine containerSelector: - - "{name: 'ub16.04-base'}" + - "{name: 'ub22.04-base'}" run: | #!/bin/bash -eExl env - - /hpc/local/inst/hpc-internal-tools/tools/git_tools/git_redmine/update_redmine_from_git_commit.py --update --project_id=9 --on_email_mismatch=warn \ + python3 -m pip install six + python3 /hpc/local/inst/hpc-internal-tools/tools/git_tools/git_redmine/update_redmine_from_git_commit_python3.py --update --project_id=9 --on_email_mismatch=warn \ --on_issue_not_in_project=fail --pr_url=${ghprbPullLink} --commit_id=${ghprbActualCommit} parallel: false From 76c6bb6393afb97ea3fe1694fe7500dc07212343 Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Thu, 7 Nov 2024 11:14:39 +0400 Subject: [PATCH 056/150] issue: 4153438 DRP use geoDNS registry url Jira: HPCINFRA-2754 Signed-off-by: Viacheslav Login --- .ci/dockerfiles/Dockerfile.rhel8.6.release | 8 ++-- .ci/pipeline/release_jjb.yaml | 4 +- .ci/pipeline/release_matrix_job.yaml | 11 ++++- .ci/pipeline/release_matrix_job_dr.yaml | 54 ---------------------- 4 files changed, 17 insertions(+), 60 deletions(-) delete mode 100644 .ci/pipeline/release_matrix_job_dr.yaml diff --git a/.ci/dockerfiles/Dockerfile.rhel8.6.release b/.ci/dockerfiles/Dockerfile.rhel8.6.release index d9e278279..1cd6db1a0 100644 --- a/.ci/dockerfiles/Dockerfile.rhel8.6.release +++ b/.ci/dockerfiles/Dockerfile.rhel8.6.release @@ -1,14 +1,16 @@ -ARG HARBOR_URL=harbor.mellanox.com +ARG HARBOR_URL=nbu-harbor.gtm.nvidia.com FROM $HARBOR_URL/hpcx/x86_64/rhel8.6/core:latest +ARG WEBREPO_URL=webrepo.mtr.labs.mlnx ARG _UID=6213 ARG _GID=101 ARG _LOGIN=swx-jenkins ARG _HOME=/var/home/$_LOGIN -RUN sed -i 's/mirrorlist/#mirrorlist/;s!#baseurl=http://mirror.centos.org!baseurl=http://vault.centos.org!' /etc/yum.repos.d/* && \ +RUN sed -i "s#http://webrepo#http://${WEBREPO_URL}#" /etc/yum.repos.d/* && \ + sed -i 's/mirrorlist/#mirrorlist/;s!#baseurl=http://mirror.centos.org!baseurl=http://vault.centos.org!' /etc/yum.repos.d/* && \ echo "[mlnx-opt]" > /etc/yum.repos.d/mlnx-opt.repo && \ echo "name=RHEL 8.6 mirror" >> /etc/yum.repos.d/mlnx-opt.repo && \ - echo "baseurl=http://webrepo.mtr.labs.mlnx/RH/optional/8.6/x86_64/" >> /etc/yum.repos.d/mlnx-opt.repo && \ + echo "baseurl=http://${WEBREPO_URL}/RH/optional/8.6/x86_64/" >> /etc/yum.repos.d/mlnx-opt.repo && \ echo "enabled=1" >> /etc/yum.repos.d/mlnx-opt.repo && \ echo "gpgcheck=0" >> /etc/yum.repos.d/mlnx-opt.repo && \ yum makecache diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml index 27e92af7c..b0494d898 100644 --- a/.ci/pipeline/release_jjb.yaml +++ b/.ci/pipeline/release_jjb.yaml @@ -12,6 +12,7 @@ keep-system-variables: true properties-content: | jjb_proj={jjb_proj} + WEBREPO_URL=webrepo.mtr.labs.mlnx description: Do NOT edit this job through the Web GUI ! concurrent: false parameters: @@ -70,6 +71,7 @@ keep-system-variables: true properties-content: | jjb_proj={jjb_proj}-dr + WEBREPO_URL=l-pxe02_pune.nvidia.com description: Do NOT edit this job through the Web GUI ! concurrent: false parameters: @@ -99,7 +101,7 @@ description: "Email to send report to upon success/failure" - string: name: "conf_file" - default: ".ci/pipeline/release_matrix_job_dr.yaml" + default: ".ci/pipeline/release_matrix_job.yaml" description: "job config file. Do not change it" pipeline-scm: scm: diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml index 7ad4ba4cd..e1fd6d365 100644 --- a/.ci/pipeline/release_matrix_job.yaml +++ b/.ci/pipeline/release_matrix_job.yaml @@ -1,6 +1,6 @@ --- job: LibVMA-release -registry_host: harbor.mellanox.com +registry_host: nbu-harbor.gtm.nvidia.com registry_auth: swx-infra_harbor_credentials registry_path: /swx-infra/media/libvma @@ -22,7 +22,14 @@ volumes: - {mountPath: /var/home/swx-jenkins, hostPath: /labhome/swx-jenkins} runs_on_dockers: - - {file: '.ci/dockerfiles/Dockerfile.rhel8.6.release', name: 'rhel8.6', uri: '$arch/$name/release', build_args: '--no-cache', arch: 'x86_64', tag: '20240718'} + - { + file: '.ci/dockerfiles/Dockerfile.rhel8.6.release', + name: 'rhel8.6', + uri: '$arch/$name/release', + build_args: '--no-cache --build-arg WEBREPO_URL=$WEBREPO_URL', + arch: 'x86_64', + tag: '20241105' + } steps: - name: Release diff --git a/.ci/pipeline/release_matrix_job_dr.yaml b/.ci/pipeline/release_matrix_job_dr.yaml deleted file mode 100644 index 5bfcc45f3..000000000 --- a/.ci/pipeline/release_matrix_job_dr.yaml +++ /dev/null @@ -1,54 +0,0 @@ ---- -job: LibVMA-release-dr -registry_host: harbor-pdc.nvidia.com -registry_auth: swx-infra_harbor_credentials -registry_path: /swx-infra/media/libvma - -kubernetes: - privileged: true - cloud: il-ipp-blossom-prod - nodeSelector: 'beta.kubernetes.io/os=linux' - namespace: swx-media - limits: '{memory: 8Gi, cpu: 7000m}' - requests: '{memory: 8Gi, cpu: 7000m}' - -env: - MAIL_FROM: jenkins@nvidia.com - -volumes: - # Default release location - - {mountPath: /auto/mswg/release/vma, hostPath: /auto/mswg/release/vma} - # User profile for release - - {mountPath: /var/home/swx-jenkins, hostPath: /labhome/swx-jenkins} - -runs_on_dockers: - - {file: '.ci/dockerfiles/Dockerfile.rhel8.6.release', name: 'rhel8.6', uri: '$arch/$name/release', build_args: '--build-arg HARBOR_URL=$registry_host --no-cache', arch: 'x86_64', tag: '20240718'} - -steps: - - name: Release - parallel: false - run: | - .ci/do_release.sh - archiveArtifacts: pkg/build_pkg.log,pkg/packages/*.rpm - -pipeline_start: - shell: action - module: groovy - run: | - echo "Starting release process for LibVMA-${release_tag}" - currentBuild.displayName += "-${release_tag}" - -pipeline_stop: - shell: action - module: groovy - run: | - if (!params.notification_email.isEmpty()) { - mail from: "${MAIL_FROM}", - mimeType: 'text/html', - to: "${notification_email}", - subject: "Release build ended for LibVMA - ${release_tag}", - body: """ -

Tag: ${release_tag}

-

Build url: link

-

Status: ${currentBuild.currentResult}

""" - } From 6509c3e9a1077c41f44c7e81ca8f4868574b6d0d Mon Sep 17 00:00:00 2001 From: Tomer Cabouly Date: Wed, 1 Jan 2025 12:00:53 +0200 Subject: [PATCH 057/150] issue: 4233101 header licensing for 2025 header licensing change for 2025. Signed-off-by: Tomer Cabouly --- COPYING | 2 +- LICENSE | 2 +- config/m4/compiler.m4 | 2 +- config/m4/func.m4 | 2 +- config/m4/nl.m4 | 2 +- config/m4/opt.m4 | 2 +- config/m4/prof.m4 | 2 +- config/m4/verbs.m4 | 2 +- contrib/scripts/vma.init.in | 2 +- contrib/test_jenkins.sh | 2 +- debian/copyright | 2 +- src/state_machine/main.cpp | 2 +- src/state_machine/sm.cpp | 2 +- src/state_machine/sm.h | 2 +- src/state_machine/sm_fifo.cpp | 2 +- src/state_machine/sm_fifo.h | 2 +- src/stats/stats_data_reader.h | 2 +- src/stats/stats_printer.cpp | 2 +- src/stats/stats_publisher.cpp | 2 +- src/stats/stats_reader.cpp | 2 +- src/utils/asm-arm64.h | 2 +- src/utils/asm-ppc64.h | 2 +- src/utils/asm-x86.h | 2 +- src/utils/asm.h | 2 +- src/utils/atomic.h | 2 +- src/utils/bullseye.h | 2 +- src/utils/clock.h | 2 +- src/utils/compiler.h | 2 +- src/utils/lock_wrapper.h | 2 +- src/utils/rdtsc.h | 2 +- src/utils/types.h | 2 +- src/vlogger/main.cpp | 2 +- src/vlogger/vlogger.cpp | 2 +- src/vlogger/vlogger.h | 2 +- src/vma/config_scanner.c | 2 +- src/vma/dev/allocator.cpp | 2 +- src/vma/dev/allocator.h | 2 +- src/vma/dev/buffer_pool.cpp | 2 +- src/vma/dev/buffer_pool.h | 2 +- src/vma/dev/cq_mgr.cpp | 2 +- src/vma/dev/cq_mgr.h | 2 +- src/vma/dev/cq_mgr.inl | 2 +- src/vma/dev/cq_mgr_mlx5.cpp | 2 +- src/vma/dev/cq_mgr_mlx5.h | 2 +- src/vma/dev/cq_mgr_mlx5.inl | 2 +- src/vma/dev/dm_mgr.cpp | 2 +- src/vma/dev/dm_mgr.h | 2 +- src/vma/dev/gro_mgr.cpp | 2 +- src/vma/dev/gro_mgr.h | 2 +- src/vma/dev/ib_ctx_handler.cpp | 2 +- src/vma/dev/ib_ctx_handler.h | 2 +- src/vma/dev/ib_ctx_handler_collection.cpp | 2 +- src/vma/dev/ib_ctx_handler_collection.h | 2 +- src/vma/dev/net_device_entry.cpp | 2 +- src/vma/dev/net_device_entry.h | 2 +- src/vma/dev/net_device_table_mgr.cpp | 2 +- src/vma/dev/net_device_table_mgr.h | 2 +- src/vma/dev/net_device_val.cpp | 2 +- src/vma/dev/net_device_val.h | 2 +- src/vma/dev/qp_mgr.cpp | 2 +- src/vma/dev/qp_mgr.h | 2 +- src/vma/dev/qp_mgr_eth_direct.cpp | 2 +- src/vma/dev/qp_mgr_eth_direct.h | 2 +- src/vma/dev/qp_mgr_eth_mlx5.cpp | 2 +- src/vma/dev/qp_mgr_eth_mlx5.h | 2 +- src/vma/dev/rfs.cpp | 2 +- src/vma/dev/rfs.h | 2 +- src/vma/dev/rfs_mc.cpp | 2 +- src/vma/dev/rfs_mc.h | 2 +- src/vma/dev/rfs_uc.cpp | 2 +- src/vma/dev/rfs_uc.h | 2 +- src/vma/dev/rfs_uc_tcp_gro.cpp | 2 +- src/vma/dev/rfs_uc_tcp_gro.h | 2 +- src/vma/dev/ring.cpp | 2 +- src/vma/dev/ring.h | 2 +- src/vma/dev/ring_allocation_logic.cpp | 2 +- src/vma/dev/ring_allocation_logic.h | 2 +- src/vma/dev/ring_bond.cpp | 2 +- src/vma/dev/ring_bond.h | 2 +- src/vma/dev/ring_eth_direct.cpp | 2 +- src/vma/dev/ring_eth_direct.h | 2 +- src/vma/dev/ring_profile.cpp | 2 +- src/vma/dev/ring_profile.h | 2 +- src/vma/dev/ring_simple.cpp | 2 +- src/vma/dev/ring_simple.h | 2 +- src/vma/dev/ring_slave.cpp | 2 +- src/vma/dev/ring_slave.h | 2 +- src/vma/dev/ring_tap.cpp | 2 +- src/vma/dev/ring_tap.h | 2 +- src/vma/dev/time_converter.cpp | 2 +- src/vma/dev/time_converter.h | 2 +- src/vma/dev/time_converter_ib_ctx.cpp | 2 +- src/vma/dev/time_converter_ib_ctx.h | 2 +- src/vma/dev/time_converter_ptp.cpp | 2 +- src/vma/dev/time_converter_ptp.h | 2 +- src/vma/dev/wqe_send_handler.cpp | 2 +- src/vma/dev/wqe_send_handler.h | 2 +- src/vma/dev/wqe_send_ib_handler.cpp | 2 +- src/vma/dev/wqe_send_ib_handler.h | 2 +- src/vma/event/command.h | 2 +- src/vma/event/delta_timer.cpp | 2 +- src/vma/event/delta_timer.h | 2 +- src/vma/event/event.h | 2 +- src/vma/event/event_handler_ibverbs.h | 2 +- src/vma/event/event_handler_manager.cpp | 2 +- src/vma/event/event_handler_manager.h | 2 +- src/vma/event/event_handler_rdma_cm.h | 2 +- src/vma/event/netlink_event.cpp | 2 +- src/vma/event/netlink_event.h | 2 +- src/vma/event/timer_handler.h | 2 +- src/vma/event/timers_group.h | 2 +- src/vma/event/vlogger_timer_handler.cpp | 2 +- src/vma/event/vlogger_timer_handler.h | 2 +- src/vma/ib/base/verbs_extra.cpp | 2 +- src/vma/ib/base/verbs_extra.h | 2 +- src/vma/ib/mlx5/ib_mlx5.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5.h | 2 +- src/vma/ib/mlx5/ib_mlx5_dv.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5_dv.h | 2 +- src/vma/ib/mlx5/ib_mlx5_hw.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5_hw.h | 2 +- src/vma/infra/DemoCollMgr.cpp | 2 +- src/vma/infra/DemoCollMgr.h | 2 +- src/vma/infra/DemoObserver.cpp | 2 +- src/vma/infra/DemoObserver.h | 2 +- src/vma/infra/DemoSubject.cpp | 2 +- src/vma/infra/DemoSubject.h | 2 +- src/vma/infra/cache_subject_observer.h | 2 +- src/vma/infra/main.cpp | 2 +- src/vma/infra/sender.cpp | 2 +- src/vma/infra/sender.h | 2 +- src/vma/infra/sender_info_dst.cpp | 2 +- src/vma/infra/sender_info_dst.h | 2 +- src/vma/infra/subject_observer.cpp | 2 +- src/vma/infra/subject_observer.h | 2 +- src/vma/iomux/epfd_info.cpp | 2 +- src/vma/iomux/epfd_info.h | 2 +- src/vma/iomux/epoll_wait_call.cpp | 2 +- src/vma/iomux/epoll_wait_call.h | 2 +- src/vma/iomux/io_mux_call.cpp | 2 +- src/vma/iomux/io_mux_call.h | 2 +- src/vma/iomux/poll_call.cpp | 2 +- src/vma/iomux/poll_call.h | 2 +- src/vma/iomux/select_call.cpp | 2 +- src/vma/iomux/select_call.h | 2 +- src/vma/libvma.c | 2 +- src/vma/lwip/cc.c | 2 +- src/vma/lwip/cc.h | 2 +- src/vma/lwip/cc_cubic.c | 2 +- src/vma/lwip/cc_cubic.h | 2 +- src/vma/lwip/cc_lwip.c | 2 +- src/vma/lwip/cc_none.c | 2 +- src/vma/main.cpp | 2 +- src/vma/main.h | 2 +- src/vma/netlink/link_info.cpp | 2 +- src/vma/netlink/link_info.h | 2 +- src/vma/netlink/neigh_info.cpp | 2 +- src/vma/netlink/neigh_info.h | 2 +- src/vma/netlink/netlink_compatibility.cpp | 2 +- src/vma/netlink/netlink_compatibility.h | 2 +- src/vma/netlink/netlink_wrapper.cpp | 2 +- src/vma/netlink/netlink_wrapper.h | 2 +- src/vma/netlink/route_info.cpp | 2 +- src/vma/netlink/route_info.h | 2 +- src/vma/netlink/test_main.cpp | 2 +- src/vma/proto/L2_address.cpp | 2 +- src/vma/proto/L2_address.h | 2 +- src/vma/proto/arp.cpp | 2 +- src/vma/proto/arp.h | 2 +- src/vma/proto/dst_entry.cpp | 2 +- src/vma/proto/dst_entry.h | 2 +- src/vma/proto/dst_entry_tcp.cpp | 2 +- src/vma/proto/dst_entry_tcp.h | 2 +- src/vma/proto/dst_entry_udp.cpp | 2 +- src/vma/proto/dst_entry_udp.h | 2 +- src/vma/proto/dst_entry_udp_mc.cpp | 2 +- src/vma/proto/dst_entry_udp_mc.h | 2 +- src/vma/proto/flow_tuple.cpp | 2 +- src/vma/proto/flow_tuple.h | 2 +- src/vma/proto/header.cpp | 2 +- src/vma/proto/header.h | 2 +- src/vma/proto/igmp_handler.cpp | 2 +- src/vma/proto/igmp_handler.h | 2 +- src/vma/proto/igmp_mgr.cpp | 2 +- src/vma/proto/igmp_mgr.h | 2 +- src/vma/proto/ip_address.h | 2 +- src/vma/proto/ip_frag.cpp | 2 +- src/vma/proto/ip_frag.h | 2 +- src/vma/proto/mem_buf_desc.h | 2 +- src/vma/proto/neighbour.cpp | 2 +- src/vma/proto/neighbour.h | 2 +- src/vma/proto/neighbour_observer.h | 2 +- src/vma/proto/neighbour_table_mgr.cpp | 2 +- src/vma/proto/neighbour_table_mgr.h | 2 +- src/vma/proto/netlink_socket_mgr.h | 2 +- src/vma/proto/peer_key.h | 2 +- src/vma/proto/route_entry.cpp | 2 +- src/vma/proto/route_entry.h | 2 +- src/vma/proto/route_rule_table_key.h | 2 +- src/vma/proto/route_table_mgr.cpp | 2 +- src/vma/proto/route_table_mgr.h | 2 +- src/vma/proto/route_val.cpp | 2 +- src/vma/proto/route_val.h | 2 +- src/vma/proto/rule_entry.cpp | 2 +- src/vma/proto/rule_entry.h | 2 +- src/vma/proto/rule_table_mgr.cpp | 2 +- src/vma/proto/rule_table_mgr.h | 2 +- src/vma/proto/rule_val.cpp | 2 +- src/vma/proto/rule_val.h | 2 +- src/vma/proto/vma_lwip.cpp | 2 +- src/vma/proto/vma_lwip.h | 2 +- src/vma/sock/cleanable_obj.h | 2 +- src/vma/sock/fd_collection.cpp | 2 +- src/vma/sock/fd_collection.h | 2 +- src/vma/sock/pipeinfo.cpp | 2 +- src/vma/sock/pipeinfo.h | 2 +- src/vma/sock/pkt_rcvr_sink.h | 2 +- src/vma/sock/pkt_sndr_source.h | 2 +- src/vma/sock/sock-redirect.cpp | 2 +- src/vma/sock/sock-redirect.h | 2 +- src/vma/sock/socket_fd_api.cpp | 2 +- src/vma/sock/socket_fd_api.h | 2 +- src/vma/sock/sockinfo.cpp | 2 +- src/vma/sock/sockinfo.h | 2 +- src/vma/sock/sockinfo_tcp.cpp | 2 +- src/vma/sock/sockinfo_tcp.h | 2 +- src/vma/sock/sockinfo_udp.cpp | 2 +- src/vma/sock/sockinfo_udp.h | 2 +- src/vma/util/agent.cpp | 2 +- src/vma/util/agent.h | 2 +- src/vma/util/agent_def.h | 2 +- src/vma/util/chunk_list.h | 2 +- src/vma/util/config_parser.y | 2 +- src/vma/util/config_scanner.l | 2 +- src/vma/util/data_updater.cpp | 2 +- src/vma/util/data_updater.h | 2 +- src/vma/util/hash_map.h | 2 +- src/vma/util/hash_map.inl | 2 +- src/vma/util/if.h | 2 +- src/vma/util/instrumentation.cpp | 2 +- src/vma/util/instrumentation.h | 2 +- src/vma/util/libvma.h | 2 +- src/vma/util/match.cpp | 2 +- src/vma/util/sg_array.h | 2 +- src/vma/util/sock_addr.h | 2 +- src/vma/util/sys_vars.cpp | 2 +- src/vma/util/sys_vars.h | 2 +- src/vma/util/sysctl_reader.h | 2 +- src/vma/util/to_str.h | 2 +- src/vma/util/utils.cpp | 2 +- src/vma/util/utils.h | 2 +- src/vma/util/valgrind.h | 2 +- src/vma/util/vma_list.h | 2 +- src/vma/util/vma_stats.h | 2 +- src/vma/util/vtypes.h | 2 +- src/vma/util/wakeup.cpp | 2 +- src/vma/util/wakeup.h | 2 +- src/vma/util/wakeup_pipe.cpp | 2 +- src/vma/util/wakeup_pipe.h | 2 +- src/vma/vma_extra.h | 2 +- tests/api-support-check.py | 2 +- tests/async-echo-client/async-echo-client.py | 2 +- tests/async-echo-client/echo-server.py | 2 +- tests/async-echo-client/syncronized-echo-client.py | 2 +- tests/benchmarking_test/Accelerators_Benchmarking.sh | 2 +- tests/bindtodevice/client.py | 2 +- tests/connect-disconnect/client.py | 2 +- tests/extra_api_tests/socketxtreme/server_tcp.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/client.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/client.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/main.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/server.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/server.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/types.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/utils.c | 2 +- tests/functionality/getsockname_test.c | 2 +- tests/functionality/iomux/1epoll_1socket_twice.c | 2 +- tests/functionality/iomux/2epoll_1socket.c | 2 +- tests/functionality/iomux/client.py | 2 +- tests/functionality/iomux/eclient.py | 2 +- tests/functionality/iomux/eserver.py | 2 +- tests/functionality/iomux/pclient.py | 2 +- tests/functionality/iomux/pserver.py | 2 +- tests/functionality/iomux/server.py | 2 +- tests/gtest/common/base.cc | 2 +- tests/gtest/common/base.h | 2 +- tests/gtest/common/cmn.h | 2 +- tests/gtest/common/def.h | 2 +- tests/gtest/common/log.h | 2 +- tests/gtest/common/sys.cc | 2 +- tests/gtest/common/sys.h | 2 +- tests/gtest/main.cc | 2 +- tests/gtest/mix/mix_base.cc | 2 +- tests/gtest/mix/mix_base.h | 2 +- tests/gtest/mix/mix_list.cc | 2 +- tests/gtest/mix/sg_array.cc | 2 +- tests/gtest/sock/sock_base.cc | 2 +- tests/gtest/sock/sock_base.h | 2 +- tests/gtest/sock/sock_socket.cc | 2 +- tests/gtest/tcp/tcp_base.cc | 2 +- tests/gtest/tcp/tcp_base.h | 2 +- tests/gtest/tcp/tcp_bind.cc | 2 +- tests/gtest/tcp/tcp_connect.cc | 2 +- tests/gtest/tcp/tcp_connect_nb.cc | 2 +- tests/gtest/tcp/tcp_event.cc | 2 +- tests/gtest/tcp/tcp_send.cc | 2 +- tests/gtest/tcp/tcp_send_zc.cc | 2 +- tests/gtest/tcp/tcp_sendfile.cc | 2 +- tests/gtest/tcp/tcp_sendto.cc | 2 +- tests/gtest/tcp/tcp_socket.cc | 2 +- tests/gtest/tcp/tcp_sockopt.cc | 2 +- tests/gtest/tcp/tcp_tls.cc | 2 +- tests/gtest/udp/udp_base.cc | 2 +- tests/gtest/udp/udp_base.h | 2 +- tests/gtest/udp/udp_bind.cc | 2 +- tests/gtest/udp/udp_connect.cc | 2 +- tests/gtest/udp/udp_send.cc | 2 +- tests/gtest/udp/udp_sendto.cc | 2 +- tests/gtest/vma/vma_base.cc | 2 +- tests/gtest/vma/vma_base.h | 2 +- tests/gtest/vma/vma_poll.cc | 2 +- tests/gtest/vma/vma_recvfrom_zcopy.cc | 2 +- tests/gtest/vma/vma_ring.cc | 2 +- tests/gtest/vma/vma_sockopt.cc | 2 +- tests/gtest/vmad/vmad_base.cc | 2 +- tests/gtest/vmad/vmad_base.h | 2 +- tests/gtest/vmad/vmad_bitmap.cc | 2 +- tests/gtest/vmad/vmad_flow.cc | 2 +- tests/gtest/vmad/vmad_hash.cc | 2 +- tests/gtest/vmad/vmad_init.cc | 2 +- tests/gtest/vmad/vmad_state.cc | 2 +- tests/latency_test/tcp_lat.cpp | 2 +- tests/latency_test/udp_lat.c | 2 +- tests/listen/tcp_client.py | 2 +- tests/listen/tcp_server.py | 2 +- tests/low_pps_tcp_send_test/exchange.cpp | 2 +- tests/low_pps_tcp_send_test/trader.cpp | 2 +- tests/mc_loop_test/mc_loop_test.c | 2 +- tests/multithread_test/exchange.cpp | 2 +- tests/multithread_test/trader.cpp | 2 +- tests/pps_test/pps_test.c | 2 +- .../server_socket_receive_and_recreate_loop.py | 2 +- tests/resource_release_checker/server_socket_recreate_loop.py | 2 +- tests/reuse_ud_test.c | 2 +- tests/select_t1.c | 2 +- tests/server_test/client.cc | 2 +- tests/server_test/client.h | 2 +- tests/server_test/main.cc | 2 +- tests/server_test/options.cc | 2 +- tests/server_test/options.h | 2 +- tests/server_test/server.cc | 2 +- tests/server_test/server.h | 2 +- tests/server_test/vtime.cc | 2 +- tests/server_test/vtime.h | 2 +- tests/simple_fork/fork.py | 2 +- tests/tcp_window_size_exerciser/Makefile | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test.h | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test_client.c | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test_server.c | 2 +- tests/testbed/testbed.c | 2 +- tests/throughput_test/bandwidth_test.c | 2 +- tests/timetest/timetest.cpp | 2 +- tests/vma_perf_envelope/vma_multiplexers_test.sh | 2 +- tests/vma_perf_envelope/vma_perf_envelope.sh | 2 +- tools/daemon/bitmap.h | 2 +- tools/daemon/daemon.c | 2 +- tools/daemon/daemon.h | 2 +- tools/daemon/flow.c | 2 +- tools/daemon/hash.c | 2 +- tools/daemon/hash.h | 2 +- tools/daemon/loop.c | 2 +- tools/daemon/message.c | 2 +- tools/daemon/nl.c | 2 +- tools/daemon/nl.h | 2 +- tools/daemon/notify.c | 2 +- tools/daemon/store.c | 2 +- tools/daemon/tc.c | 2 +- tools/daemon/tc.h | 2 +- 378 files changed, 378 insertions(+), 378 deletions(-) diff --git a/COPYING b/COPYING index 13acd22a8..777b77b7c 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -SPDX-FileCopyrightText: Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: GPL-2.0-only GNU GENERAL PUBLIC LICENSE diff --git a/LICENSE b/LICENSE index 7f1319e5d..cf3f3f294 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4 index 094bede19..3fd68d1f9 100644 --- a/config/m4/compiler.m4 +++ b/config/m4/compiler.m4 @@ -1,7 +1,7 @@ # compiler.m4 - Configure compiler capabilities # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/func.m4 b/config/m4/func.m4 index 84ae4fae4..5477fdede 100644 --- a/config/m4/func.m4 +++ b/config/m4/func.m4 @@ -1,7 +1,7 @@ # func.m4 - Collection of functions # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/nl.m4 b/config/m4/nl.m4 index 99c03c40f..103857003 100644 --- a/config/m4/nl.m4 +++ b/config/m4/nl.m4 @@ -1,7 +1,7 @@ # nl.m4 - Detect nl package # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/opt.m4 b/config/m4/opt.m4 index e1ad5e832..c49a5b25f 100644 --- a/config/m4/opt.m4 +++ b/config/m4/opt.m4 @@ -1,7 +1,7 @@ # opt.m4 - Macros to control optimization # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/prof.m4 b/config/m4/prof.m4 index 567abe974..d9c7d88a4 100644 --- a/config/m4/prof.m4 +++ b/config/m4/prof.m4 @@ -1,7 +1,7 @@ # prof.m4 - Profiling, instrumentation # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index b954590e3..4ec63cb1c 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -1,7 +1,7 @@ # verbs.m4 - Parsing verbs capabilities # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # See file LICENSE for terms. # diff --git a/contrib/scripts/vma.init.in b/contrib/scripts/vma.init.in index 7ba7dcdda..5b8de486e 100644 --- a/contrib/scripts/vma.init.in +++ b/contrib/scripts/vma.init.in @@ -1,7 +1,7 @@ #!/bin/bash # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/contrib/test_jenkins.sh b/contrib/test_jenkins.sh index b8371a3f0..21a444ab7 100755 --- a/contrib/test_jenkins.sh +++ b/contrib/test_jenkins.sh @@ -2,7 +2,7 @@ # # Testing script for VMA, to run from Jenkins CI # -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # See file LICENSE for terms. # diff --git a/debian/copyright b/debian/copyright index fa7ec5553..88a14f583 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: libvma Source: https://github.com/Mellanox/libvma Files: * -Copyright: 2001-2024 NVIDIA CORPORATION & AFFILIATES. +Copyright: 2001-2025 NVIDIA CORPORATION & AFFILIATES. License: GPL-2 or BSD * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/main.cpp b/src/state_machine/main.cpp index e4e151a8f..c33592f3e 100644 --- a/src/state_machine/main.cpp +++ b/src/state_machine/main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm.cpp b/src/state_machine/sm.cpp index 0c6f9ffc8..f5ac2f154 100644 --- a/src/state_machine/sm.cpp +++ b/src/state_machine/sm.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm.h b/src/state_machine/sm.h index 6d1aac5e8..7330bc91b 100644 --- a/src/state_machine/sm.h +++ b/src/state_machine/sm.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm_fifo.cpp b/src/state_machine/sm_fifo.cpp index e85d6ad95..e9c0a4fc9 100644 --- a/src/state_machine/sm_fifo.cpp +++ b/src/state_machine/sm_fifo.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm_fifo.h b/src/state_machine/sm_fifo.h index 539bca005..0a55adb2a 100644 --- a/src/state_machine/sm_fifo.h +++ b/src/state_machine/sm_fifo.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_data_reader.h b/src/stats/stats_data_reader.h index 9d167a74d..caa15a553 100644 --- a/src/stats/stats_data_reader.h +++ b/src/stats/stats_data_reader.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_printer.cpp b/src/stats/stats_printer.cpp index 355bb03af..e5425e7ba 100644 --- a/src/stats/stats_printer.cpp +++ b/src/stats/stats_printer.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_publisher.cpp b/src/stats/stats_publisher.cpp index 824dd2855..cd15fb66a 100644 --- a/src/stats/stats_publisher.cpp +++ b/src/stats/stats_publisher.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index cbfbb47a7..edb29d6fd 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-arm64.h b/src/utils/asm-arm64.h index 99e5d1fbd..95e25b5af 100644 --- a/src/utils/asm-arm64.h +++ b/src/utils/asm-arm64.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-ppc64.h b/src/utils/asm-ppc64.h index 3caac568a..37ea93060 100644 --- a/src/utils/asm-ppc64.h +++ b/src/utils/asm-ppc64.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-x86.h b/src/utils/asm-x86.h index 515d873a0..bc13033e2 100644 --- a/src/utils/asm-x86.h +++ b/src/utils/asm-x86.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm.h b/src/utils/asm.h index c899233a2..cf21ef3ea 100644 --- a/src/utils/asm.h +++ b/src/utils/asm.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/atomic.h b/src/utils/atomic.h index 266dd2e3a..9ea037906 100644 --- a/src/utils/atomic.h +++ b/src/utils/atomic.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/bullseye.h b/src/utils/bullseye.h index a5adeaabd..dcf9e0af3 100644 --- a/src/utils/bullseye.h +++ b/src/utils/bullseye.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/clock.h b/src/utils/clock.h index 1aa7febab..8a303c38e 100644 --- a/src/utils/clock.h +++ b/src/utils/clock.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/compiler.h b/src/utils/compiler.h index 52c8f105d..1d12d00e0 100644 --- a/src/utils/compiler.h +++ b/src/utils/compiler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/lock_wrapper.h b/src/utils/lock_wrapper.h index 10feeecf6..25af46a9a 100644 --- a/src/utils/lock_wrapper.h +++ b/src/utils/lock_wrapper.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/rdtsc.h b/src/utils/rdtsc.h index d918d5900..53894e111 100644 --- a/src/utils/rdtsc.h +++ b/src/utils/rdtsc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/types.h b/src/utils/types.h index abf6f8fa2..34b4bfca6 100644 --- a/src/utils/types.h +++ b/src/utils/types.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/main.cpp b/src/vlogger/main.cpp index 825e7d4bb..fbc74128f 100644 --- a/src/vlogger/main.cpp +++ b/src/vlogger/main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/vlogger.cpp b/src/vlogger/vlogger.cpp index c392eb97f..7730bcc9f 100644 --- a/src/vlogger/vlogger.cpp +++ b/src/vlogger/vlogger.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/vlogger.h b/src/vlogger/vlogger.h index 2c78c80bd..db174a689 100644 --- a/src/vlogger/vlogger.h +++ b/src/vlogger/vlogger.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/config_scanner.c b/src/vma/config_scanner.c index 7ad21e2de..15e6f6297 100644 --- a/src/vma/config_scanner.c +++ b/src/vma/config_scanner.c @@ -756,7 +756,7 @@ int libvma_yy_flex_debug = 0; char *libvma_yytext; /* Line 1 of config_scanner.l */ /* - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index 8ea226ba0..37ce653aa 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/allocator.h b/src/vma/dev/allocator.h index 4e5d13db5..c20054f6c 100644 --- a/src/vma/dev/allocator.h +++ b/src/vma/dev/allocator.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index 86398e650..b832fb2c5 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/buffer_pool.h b/src/vma/dev/buffer_pool.h index 45d80881c..42d6581bc 100644 --- a/src/vma/dev/buffer_pool.h +++ b/src/vma/dev/buffer_pool.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.cpp b/src/vma/dev/cq_mgr.cpp index 4be7a1cfe..590c72add 100644 --- a/src/vma/dev/cq_mgr.cpp +++ b/src/vma/dev/cq_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.h b/src/vma/dev/cq_mgr.h index 3dde519f1..8c7dfe449 100644 --- a/src/vma/dev/cq_mgr.h +++ b/src/vma/dev/cq_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.inl b/src/vma/dev/cq_mgr.inl index 0a7981fa0..248bc9c8b 100644 --- a/src/vma/dev/cq_mgr.inl +++ b/src/vma/dev/cq_mgr.inl @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index c57c6cb96..4e563d611 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.h b/src/vma/dev/cq_mgr_mlx5.h index 866b141b6..892a7b8c7 100644 --- a/src/vma/dev/cq_mgr_mlx5.h +++ b/src/vma/dev/cq_mgr_mlx5.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.inl b/src/vma/dev/cq_mgr_mlx5.inl index 39c1387a7..7eedaf5d2 100644 --- a/src/vma/dev/cq_mgr_mlx5.inl +++ b/src/vma/dev/cq_mgr_mlx5.inl @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/dm_mgr.cpp b/src/vma/dev/dm_mgr.cpp index 2fd0306f8..dcdada7f7 100644 --- a/src/vma/dev/dm_mgr.cpp +++ b/src/vma/dev/dm_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/dm_mgr.h b/src/vma/dev/dm_mgr.h index 90d921dd4..4961ecc64 100644 --- a/src/vma/dev/dm_mgr.h +++ b/src/vma/dev/dm_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/gro_mgr.cpp b/src/vma/dev/gro_mgr.cpp index 24a2bfcb9..51dbb6b34 100644 --- a/src/vma/dev/gro_mgr.cpp +++ b/src/vma/dev/gro_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/gro_mgr.h b/src/vma/dev/gro_mgr.h index 279b62673..d9575a534 100644 --- a/src/vma/dev/gro_mgr.h +++ b/src/vma/dev/gro_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 801e321c1..cc2fe107c 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index 25bfb576c..11f884911 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler_collection.cpp b/src/vma/dev/ib_ctx_handler_collection.cpp index a287eb97d..f93d205f4 100644 --- a/src/vma/dev/ib_ctx_handler_collection.cpp +++ b/src/vma/dev/ib_ctx_handler_collection.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler_collection.h b/src/vma/dev/ib_ctx_handler_collection.h index b3d316f44..6d17ef7ef 100644 --- a/src/vma/dev/ib_ctx_handler_collection.h +++ b/src/vma/dev/ib_ctx_handler_collection.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_entry.cpp b/src/vma/dev/net_device_entry.cpp index ad36f3837..ae8d21be2 100644 --- a/src/vma/dev/net_device_entry.cpp +++ b/src/vma/dev/net_device_entry.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_entry.h b/src/vma/dev/net_device_entry.h index 52f06d58b..ccecdd032 100644 --- a/src/vma/dev/net_device_entry.h +++ b/src/vma/dev/net_device_entry.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index 7d018ff36..08e2fffeb 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_table_mgr.h b/src/vma/dev/net_device_table_mgr.h index 45fcd6642..1c5e77dab 100644 --- a/src/vma/dev/net_device_table_mgr.h +++ b/src/vma/dev/net_device_table_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index 1f8a7c5dd..68f03ac71 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_val.h b/src/vma/dev/net_device_val.h index a9ae0f477..4a5ca2123 100644 --- a/src/vma/dev/net_device_val.h +++ b/src/vma/dev/net_device_val.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index f6cf78021..75b86ed6d 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index 30db8cef7..46304a446 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index 4c15ec655..34db5085e 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_direct.h b/src/vma/dev/qp_mgr_eth_direct.h index ee9796a1a..6ae8d558d 100644 --- a/src/vma/dev/qp_mgr_eth_direct.h +++ b/src/vma/dev/qp_mgr_eth_direct.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index 04b6c98cd..e55ea207b 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index 38f172ac5..3d3a7483f 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs.cpp b/src/vma/dev/rfs.cpp index a561c66a2..bda6cbd9f 100644 --- a/src/vma/dev/rfs.cpp +++ b/src/vma/dev/rfs.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs.h b/src/vma/dev/rfs.h index 1b93c1a83..2ddc28850 100644 --- a/src/vma/dev/rfs.h +++ b/src/vma/dev/rfs.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_mc.cpp b/src/vma/dev/rfs_mc.cpp index 2c997d15a..0367eac77 100644 --- a/src/vma/dev/rfs_mc.cpp +++ b/src/vma/dev/rfs_mc.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_mc.h b/src/vma/dev/rfs_mc.h index 822ac373a..d224c6bd3 100644 --- a/src/vma/dev/rfs_mc.h +++ b/src/vma/dev/rfs_mc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc.cpp b/src/vma/dev/rfs_uc.cpp index 11f2f5e34..4d1e54d06 100644 --- a/src/vma/dev/rfs_uc.cpp +++ b/src/vma/dev/rfs_uc.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc.h b/src/vma/dev/rfs_uc.h index 7f83ad4fb..faa054fee 100644 --- a/src/vma/dev/rfs_uc.h +++ b/src/vma/dev/rfs_uc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc_tcp_gro.cpp b/src/vma/dev/rfs_uc_tcp_gro.cpp index 7b32d5e93..673b27dea 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.cpp +++ b/src/vma/dev/rfs_uc_tcp_gro.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc_tcp_gro.h b/src/vma/dev/rfs_uc_tcp_gro.h index e3962dbda..f15887259 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.h +++ b/src/vma/dev/rfs_uc_tcp_gro.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring.cpp b/src/vma/dev/ring.cpp index e2889b355..f35684c76 100644 --- a/src/vma/dev/ring.cpp +++ b/src/vma/dev/ring.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring.h b/src/vma/dev/ring.h index a9b914674..96282618c 100644 --- a/src/vma/dev/ring.h +++ b/src/vma/dev/ring.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_allocation_logic.cpp b/src/vma/dev/ring_allocation_logic.cpp index be67312b6..1dec4c224 100644 --- a/src/vma/dev/ring_allocation_logic.cpp +++ b/src/vma/dev/ring_allocation_logic.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_allocation_logic.h b/src/vma/dev/ring_allocation_logic.h index 56ee0df0f..dd0fa848f 100644 --- a/src/vma/dev/ring_allocation_logic.h +++ b/src/vma/dev/ring_allocation_logic.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index 60d32a103..fa8e8d510 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index 492836410..91273bd54 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_eth_direct.cpp b/src/vma/dev/ring_eth_direct.cpp index b9f4ca643..c65315923 100644 --- a/src/vma/dev/ring_eth_direct.cpp +++ b/src/vma/dev/ring_eth_direct.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_eth_direct.h b/src/vma/dev/ring_eth_direct.h index c86d66b41..12e59a061 100644 --- a/src/vma/dev/ring_eth_direct.h +++ b/src/vma/dev/ring_eth_direct.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_profile.cpp b/src/vma/dev/ring_profile.cpp index 80ad6e92b..0fc7b0fa0 100644 --- a/src/vma/dev/ring_profile.cpp +++ b/src/vma/dev/ring_profile.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_profile.h b/src/vma/dev/ring_profile.h index 202b3e483..bb0d08792 100644 --- a/src/vma/dev/ring_profile.h +++ b/src/vma/dev/ring_profile.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index e99766587..059078f50 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index e95b77df1..b0bf7f3a3 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_slave.cpp b/src/vma/dev/ring_slave.cpp index 73f4f2dfc..9bfce02ac 100644 --- a/src/vma/dev/ring_slave.cpp +++ b/src/vma/dev/ring_slave.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_slave.h b/src/vma/dev/ring_slave.h index e33b26c1d..cca2a9c3e 100644 --- a/src/vma/dev/ring_slave.h +++ b/src/vma/dev/ring_slave.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index b12c864b5..b8afdc7f9 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index 71db35acf..cca75ef59 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter.cpp b/src/vma/dev/time_converter.cpp index 5008b5541..9cdae4334 100644 --- a/src/vma/dev/time_converter.cpp +++ b/src/vma/dev/time_converter.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter.h b/src/vma/dev/time_converter.h index b1f11d79f..f256a8b03 100644 --- a/src/vma/dev/time_converter.h +++ b/src/vma/dev/time_converter.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ib_ctx.cpp b/src/vma/dev/time_converter_ib_ctx.cpp index ac1670daa..613e83e0d 100644 --- a/src/vma/dev/time_converter_ib_ctx.cpp +++ b/src/vma/dev/time_converter_ib_ctx.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ib_ctx.h b/src/vma/dev/time_converter_ib_ctx.h index 2f41e4130..9fdc8bd2c 100644 --- a/src/vma/dev/time_converter_ib_ctx.h +++ b/src/vma/dev/time_converter_ib_ctx.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ptp.cpp b/src/vma/dev/time_converter_ptp.cpp index 75066fdb6..143b2d967 100644 --- a/src/vma/dev/time_converter_ptp.cpp +++ b/src/vma/dev/time_converter_ptp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ptp.h b/src/vma/dev/time_converter_ptp.h index ad938d4bf..165720aa2 100644 --- a/src/vma/dev/time_converter_ptp.h +++ b/src/vma/dev/time_converter_ptp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_handler.cpp b/src/vma/dev/wqe_send_handler.cpp index 90a9e1edc..d424b1273 100644 --- a/src/vma/dev/wqe_send_handler.cpp +++ b/src/vma/dev/wqe_send_handler.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_handler.h b/src/vma/dev/wqe_send_handler.h index 50940952b..1b010008d 100644 --- a/src/vma/dev/wqe_send_handler.h +++ b/src/vma/dev/wqe_send_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_ib_handler.cpp b/src/vma/dev/wqe_send_ib_handler.cpp index 917d71384..a371fe4be 100644 --- a/src/vma/dev/wqe_send_ib_handler.cpp +++ b/src/vma/dev/wqe_send_ib_handler.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_ib_handler.h b/src/vma/dev/wqe_send_ib_handler.h index 0df73d022..3635ef343 100644 --- a/src/vma/dev/wqe_send_ib_handler.h +++ b/src/vma/dev/wqe_send_ib_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/command.h b/src/vma/event/command.h index 7304c987e..67ce63c31 100644 --- a/src/vma/event/command.h +++ b/src/vma/event/command.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/delta_timer.cpp b/src/vma/event/delta_timer.cpp index 25fb1ad3c..c6a94d024 100644 --- a/src/vma/event/delta_timer.cpp +++ b/src/vma/event/delta_timer.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/delta_timer.h b/src/vma/event/delta_timer.h index 2665193cb..09c4b0ed0 100644 --- a/src/vma/event/delta_timer.h +++ b/src/vma/event/delta_timer.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event.h b/src/vma/event/event.h index f30b1c58f..f4da861e2 100644 --- a/src/vma/event/event.h +++ b/src/vma/event/event.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_ibverbs.h b/src/vma/event/event_handler_ibverbs.h index ea7e99b01..b62d2ab97 100644 --- a/src/vma/event/event_handler_ibverbs.h +++ b/src/vma/event/event_handler_ibverbs.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index 91745c583..6333c64fa 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_manager.h b/src/vma/event/event_handler_manager.h index bb4603e69..5a93f637c 100644 --- a/src/vma/event/event_handler_manager.h +++ b/src/vma/event/event_handler_manager.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_rdma_cm.h b/src/vma/event/event_handler_rdma_cm.h index 6588f24c0..c815c8369 100644 --- a/src/vma/event/event_handler_rdma_cm.h +++ b/src/vma/event/event_handler_rdma_cm.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/netlink_event.cpp b/src/vma/event/netlink_event.cpp index 387ccbca8..ba7cb4b27 100644 --- a/src/vma/event/netlink_event.cpp +++ b/src/vma/event/netlink_event.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/netlink_event.h b/src/vma/event/netlink_event.h index b1541b6df..fcda40f02 100644 --- a/src/vma/event/netlink_event.h +++ b/src/vma/event/netlink_event.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/timer_handler.h b/src/vma/event/timer_handler.h index 041ea070b..a9da9adc8 100644 --- a/src/vma/event/timer_handler.h +++ b/src/vma/event/timer_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/timers_group.h b/src/vma/event/timers_group.h index bbd3485c3..1e598f853 100644 --- a/src/vma/event/timers_group.h +++ b/src/vma/event/timers_group.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/vlogger_timer_handler.cpp b/src/vma/event/vlogger_timer_handler.cpp index 59b49d8b3..424536ad3 100644 --- a/src/vma/event/vlogger_timer_handler.cpp +++ b/src/vma/event/vlogger_timer_handler.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/vlogger_timer_handler.h b/src/vma/event/vlogger_timer_handler.h index 744b5041b..172e8d746 100644 --- a/src/vma/event/vlogger_timer_handler.h +++ b/src/vma/event/vlogger_timer_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index 553b2cc86..e4bf06cad 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index 03c712188..fe1aee7a9 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5.cpp b/src/vma/ib/mlx5/ib_mlx5.cpp index 6f8098f55..3ad97256f 100644 --- a/src/vma/ib/mlx5/ib_mlx5.cpp +++ b/src/vma/ib/mlx5/ib_mlx5.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5.h b/src/vma/ib/mlx5/ib_mlx5.h index d3c7da514..cbb1b0e95 100644 --- a/src/vma/ib/mlx5/ib_mlx5.h +++ b/src/vma/ib/mlx5/ib_mlx5.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.cpp b/src/vma/ib/mlx5/ib_mlx5_dv.cpp index 2fa118277..2803ae666 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_dv.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.h b/src/vma/ib/mlx5/ib_mlx5_dv.h index aff213f1d..43bf31769 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.h +++ b/src/vma/ib/mlx5/ib_mlx5_dv.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.cpp b/src/vma/ib/mlx5/ib_mlx5_hw.cpp index a6c9a2435..78e4fb9dc 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_hw.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.h b/src/vma/ib/mlx5/ib_mlx5_hw.h index 15665c3aa..485105433 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.h +++ b/src/vma/ib/mlx5/ib_mlx5_hw.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoCollMgr.cpp b/src/vma/infra/DemoCollMgr.cpp index 273eb9e39..12936fd14 100644 --- a/src/vma/infra/DemoCollMgr.cpp +++ b/src/vma/infra/DemoCollMgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoCollMgr.h b/src/vma/infra/DemoCollMgr.h index 5c3dd4449..528201d9d 100644 --- a/src/vma/infra/DemoCollMgr.h +++ b/src/vma/infra/DemoCollMgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoObserver.cpp b/src/vma/infra/DemoObserver.cpp index 58b7f4e26..e9af95a4f 100644 --- a/src/vma/infra/DemoObserver.cpp +++ b/src/vma/infra/DemoObserver.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoObserver.h b/src/vma/infra/DemoObserver.h index 5a513dfcd..3fe8dfb50 100644 --- a/src/vma/infra/DemoObserver.h +++ b/src/vma/infra/DemoObserver.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoSubject.cpp b/src/vma/infra/DemoSubject.cpp index cf0136cc0..a4b063305 100644 --- a/src/vma/infra/DemoSubject.cpp +++ b/src/vma/infra/DemoSubject.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoSubject.h b/src/vma/infra/DemoSubject.h index 00bf067c6..758471f8e 100644 --- a/src/vma/infra/DemoSubject.h +++ b/src/vma/infra/DemoSubject.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/cache_subject_observer.h b/src/vma/infra/cache_subject_observer.h index c756f8dd9..831ae4483 100644 --- a/src/vma/infra/cache_subject_observer.h +++ b/src/vma/infra/cache_subject_observer.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/main.cpp b/src/vma/infra/main.cpp index 201fde058..530fac42e 100644 --- a/src/vma/infra/main.cpp +++ b/src/vma/infra/main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender.cpp b/src/vma/infra/sender.cpp index fb0476c63..40ad19a1e 100644 --- a/src/vma/infra/sender.cpp +++ b/src/vma/infra/sender.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender.h b/src/vma/infra/sender.h index 4a5ba3e5f..6a6fd3ec7 100644 --- a/src/vma/infra/sender.h +++ b/src/vma/infra/sender.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender_info_dst.cpp b/src/vma/infra/sender_info_dst.cpp index cd7bdfebd..7a4d72b37 100644 --- a/src/vma/infra/sender_info_dst.cpp +++ b/src/vma/infra/sender_info_dst.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender_info_dst.h b/src/vma/infra/sender_info_dst.h index d49c1789d..e563b2c85 100644 --- a/src/vma/infra/sender_info_dst.h +++ b/src/vma/infra/sender_info_dst.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/subject_observer.cpp b/src/vma/infra/subject_observer.cpp index 80ab4f13b..207b2cbf5 100644 --- a/src/vma/infra/subject_observer.cpp +++ b/src/vma/infra/subject_observer.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/subject_observer.h b/src/vma/infra/subject_observer.h index e193047d6..4e809d40f 100644 --- a/src/vma/infra/subject_observer.h +++ b/src/vma/infra/subject_observer.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epfd_info.cpp b/src/vma/iomux/epfd_info.cpp index 7d3f4fe4f..28be5573a 100644 --- a/src/vma/iomux/epfd_info.cpp +++ b/src/vma/iomux/epfd_info.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epfd_info.h b/src/vma/iomux/epfd_info.h index fb8b7a44e..53fbf7b97 100644 --- a/src/vma/iomux/epfd_info.h +++ b/src/vma/iomux/epfd_info.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epoll_wait_call.cpp b/src/vma/iomux/epoll_wait_call.cpp index 019ea3ec3..d6bb56e9e 100644 --- a/src/vma/iomux/epoll_wait_call.cpp +++ b/src/vma/iomux/epoll_wait_call.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epoll_wait_call.h b/src/vma/iomux/epoll_wait_call.h index 67ea33469..bcf402048 100644 --- a/src/vma/iomux/epoll_wait_call.h +++ b/src/vma/iomux/epoll_wait_call.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/io_mux_call.cpp b/src/vma/iomux/io_mux_call.cpp index 61bd76a74..5ffab6db3 100644 --- a/src/vma/iomux/io_mux_call.cpp +++ b/src/vma/iomux/io_mux_call.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/io_mux_call.h b/src/vma/iomux/io_mux_call.h index c58e90ea8..544d12f5f 100644 --- a/src/vma/iomux/io_mux_call.h +++ b/src/vma/iomux/io_mux_call.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/poll_call.cpp b/src/vma/iomux/poll_call.cpp index b0e6b3266..2c8f840e2 100644 --- a/src/vma/iomux/poll_call.cpp +++ b/src/vma/iomux/poll_call.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/poll_call.h b/src/vma/iomux/poll_call.h index d996529b8..a683cf50b 100644 --- a/src/vma/iomux/poll_call.h +++ b/src/vma/iomux/poll_call.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/select_call.cpp b/src/vma/iomux/select_call.cpp index 3a86fa5db..cfed275af 100644 --- a/src/vma/iomux/select_call.cpp +++ b/src/vma/iomux/select_call.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/select_call.h b/src/vma/iomux/select_call.h index 13137f0ab..4041e9eba 100644 --- a/src/vma/iomux/select_call.h +++ b/src/vma/iomux/select_call.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/libvma.c b/src/vma/libvma.c index 054b69585..92cead2db 100644 --- a/src/vma/libvma.c +++ b/src/vma/libvma.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc.c b/src/vma/lwip/cc.c index 71b09859f..c429fa87b 100644 --- a/src/vma/lwip/cc.c +++ b/src/vma/lwip/cc.c @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc.h b/src/vma/lwip/cc.h index 5889f0473..2dba065a9 100644 --- a/src/vma/lwip/cc.h +++ b/src/vma/lwip/cc.h @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_cubic.c b/src/vma/lwip/cc_cubic.c index 94e0ed47c..2e826231a 100644 --- a/src/vma/lwip/cc_cubic.c +++ b/src/vma/lwip/cc_cubic.c @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_cubic.h b/src/vma/lwip/cc_cubic.h index bfb3f6600..98d230f95 100644 --- a/src/vma/lwip/cc_cubic.h +++ b/src/vma/lwip/cc_cubic.h @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_lwip.c b/src/vma/lwip/cc_lwip.c index 1784f2519..1fb6d9bac 100644 --- a/src/vma/lwip/cc_lwip.c +++ b/src/vma/lwip/cc_lwip.c @@ -49,7 +49,7 @@ */ /* - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/lwip/cc_none.c b/src/vma/lwip/cc_none.c index 1e969b326..b122a6fe9 100644 --- a/src/vma/lwip/cc_none.c +++ b/src/vma/lwip/cc_none.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/main.cpp b/src/vma/main.cpp index 49ff5f4eb..85376774a 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/main.h b/src/vma/main.h index b9f5b842c..fe1b578e2 100644 --- a/src/vma/main.h +++ b/src/vma/main.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/link_info.cpp b/src/vma/netlink/link_info.cpp index 3ee464469..1f5d23000 100644 --- a/src/vma/netlink/link_info.cpp +++ b/src/vma/netlink/link_info.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/link_info.h b/src/vma/netlink/link_info.h index 712e4a46e..da66fa2b2 100644 --- a/src/vma/netlink/link_info.h +++ b/src/vma/netlink/link_info.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/neigh_info.cpp b/src/vma/netlink/neigh_info.cpp index b04cf1b10..446e7a5ae 100644 --- a/src/vma/netlink/neigh_info.cpp +++ b/src/vma/netlink/neigh_info.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/neigh_info.h b/src/vma/netlink/neigh_info.h index 12cd7afb3..f6b3c233a 100644 --- a/src/vma/netlink/neigh_info.h +++ b/src/vma/netlink/neigh_info.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_compatibility.cpp b/src/vma/netlink/netlink_compatibility.cpp index 77a9c535d..36ecc0c17 100644 --- a/src/vma/netlink/netlink_compatibility.cpp +++ b/src/vma/netlink/netlink_compatibility.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_compatibility.h b/src/vma/netlink/netlink_compatibility.h index 8ca1a6a1c..554f72a7d 100644 --- a/src/vma/netlink/netlink_compatibility.h +++ b/src/vma/netlink/netlink_compatibility.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_wrapper.cpp b/src/vma/netlink/netlink_wrapper.cpp index 59fa2800e..9dc770f4f 100644 --- a/src/vma/netlink/netlink_wrapper.cpp +++ b/src/vma/netlink/netlink_wrapper.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_wrapper.h b/src/vma/netlink/netlink_wrapper.h index d5db525d5..68fa9a6ad 100644 --- a/src/vma/netlink/netlink_wrapper.h +++ b/src/vma/netlink/netlink_wrapper.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/route_info.cpp b/src/vma/netlink/route_info.cpp index 8368a89a1..91ee66e2b 100644 --- a/src/vma/netlink/route_info.cpp +++ b/src/vma/netlink/route_info.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/route_info.h b/src/vma/netlink/route_info.h index d3def61c6..159c3f8a5 100644 --- a/src/vma/netlink/route_info.h +++ b/src/vma/netlink/route_info.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/test_main.cpp b/src/vma/netlink/test_main.cpp index 1d25fa65b..d30161d6d 100644 --- a/src/vma/netlink/test_main.cpp +++ b/src/vma/netlink/test_main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/L2_address.cpp b/src/vma/proto/L2_address.cpp index c6aca78be..11c75dd96 100644 --- a/src/vma/proto/L2_address.cpp +++ b/src/vma/proto/L2_address.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/L2_address.h b/src/vma/proto/L2_address.h index d4cfa0a39..632a3183a 100644 --- a/src/vma/proto/L2_address.h +++ b/src/vma/proto/L2_address.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/arp.cpp b/src/vma/proto/arp.cpp index b04f4b013..02ce9e60c 100644 --- a/src/vma/proto/arp.cpp +++ b/src/vma/proto/arp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/arp.h b/src/vma/proto/arp.h index 45709252b..8fab0d6bf 100644 --- a/src/vma/proto/arp.h +++ b/src/vma/proto/arp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index 293338686..251935021 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index 178968e30..f7a2868a3 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_tcp.cpp b/src/vma/proto/dst_entry_tcp.cpp index 6ca6e3c98..f90e37b7d 100644 --- a/src/vma/proto/dst_entry_tcp.cpp +++ b/src/vma/proto/dst_entry_tcp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_tcp.h b/src/vma/proto/dst_entry_tcp.h index eab0c6b74..853932e42 100644 --- a/src/vma/proto/dst_entry_tcp.h +++ b/src/vma/proto/dst_entry_tcp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp.cpp b/src/vma/proto/dst_entry_udp.cpp index 4825eb301..cb6f05a07 100644 --- a/src/vma/proto/dst_entry_udp.cpp +++ b/src/vma/proto/dst_entry_udp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp.h b/src/vma/proto/dst_entry_udp.h index fe4880344..3cc561ee7 100644 --- a/src/vma/proto/dst_entry_udp.h +++ b/src/vma/proto/dst_entry_udp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp_mc.cpp b/src/vma/proto/dst_entry_udp_mc.cpp index 0a44f0b86..379358901 100644 --- a/src/vma/proto/dst_entry_udp_mc.cpp +++ b/src/vma/proto/dst_entry_udp_mc.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp_mc.h b/src/vma/proto/dst_entry_udp_mc.h index dd0c8fbcb..528a86587 100644 --- a/src/vma/proto/dst_entry_udp_mc.h +++ b/src/vma/proto/dst_entry_udp_mc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/flow_tuple.cpp b/src/vma/proto/flow_tuple.cpp index a6fbae191..5f6c62cae 100644 --- a/src/vma/proto/flow_tuple.cpp +++ b/src/vma/proto/flow_tuple.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/flow_tuple.h b/src/vma/proto/flow_tuple.h index b0fdd3815..a6bfba1ee 100644 --- a/src/vma/proto/flow_tuple.h +++ b/src/vma/proto/flow_tuple.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/header.cpp b/src/vma/proto/header.cpp index aab487564..cf714cac5 100644 --- a/src/vma/proto/header.cpp +++ b/src/vma/proto/header.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/header.h b/src/vma/proto/header.h index 21982a5d7..ccb497cf6 100644 --- a/src/vma/proto/header.h +++ b/src/vma/proto/header.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_handler.cpp b/src/vma/proto/igmp_handler.cpp index 9bdb117c8..bbd8e7028 100644 --- a/src/vma/proto/igmp_handler.cpp +++ b/src/vma/proto/igmp_handler.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_handler.h b/src/vma/proto/igmp_handler.h index 608444d6c..dd46caab9 100644 --- a/src/vma/proto/igmp_handler.h +++ b/src/vma/proto/igmp_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_mgr.cpp b/src/vma/proto/igmp_mgr.cpp index 679205edc..82799ba8b 100644 --- a/src/vma/proto/igmp_mgr.cpp +++ b/src/vma/proto/igmp_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_mgr.h b/src/vma/proto/igmp_mgr.h index 369115526..ce98a88f1 100644 --- a/src/vma/proto/igmp_mgr.h +++ b/src/vma/proto/igmp_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_address.h b/src/vma/proto/ip_address.h index 77c52b7db..b3a96f050 100644 --- a/src/vma/proto/ip_address.h +++ b/src/vma/proto/ip_address.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_frag.cpp b/src/vma/proto/ip_frag.cpp index 31ca06053..89145d26f 100644 --- a/src/vma/proto/ip_frag.cpp +++ b/src/vma/proto/ip_frag.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_frag.h b/src/vma/proto/ip_frag.h index 42c2b6faf..8f3d5c92b 100644 --- a/src/vma/proto/ip_frag.h +++ b/src/vma/proto/ip_frag.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/mem_buf_desc.h b/src/vma/proto/mem_buf_desc.h index b82c0c135..99c249ce6 100644 --- a/src/vma/proto/mem_buf_desc.h +++ b/src/vma/proto/mem_buf_desc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index b892b6505..dbd0d635f 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour.h b/src/vma/proto/neighbour.h index 9c4a02d82..14c4ddbb2 100644 --- a/src/vma/proto/neighbour.h +++ b/src/vma/proto/neighbour.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_observer.h b/src/vma/proto/neighbour_observer.h index 91154e984..fab0c3a7c 100644 --- a/src/vma/proto/neighbour_observer.h +++ b/src/vma/proto/neighbour_observer.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_table_mgr.cpp b/src/vma/proto/neighbour_table_mgr.cpp index 67d0a037a..0d774ce04 100644 --- a/src/vma/proto/neighbour_table_mgr.cpp +++ b/src/vma/proto/neighbour_table_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_table_mgr.h b/src/vma/proto/neighbour_table_mgr.h index 00607221d..f6e9191b8 100644 --- a/src/vma/proto/neighbour_table_mgr.h +++ b/src/vma/proto/neighbour_table_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/netlink_socket_mgr.h b/src/vma/proto/netlink_socket_mgr.h index 458020ee2..ab14de050 100644 --- a/src/vma/proto/netlink_socket_mgr.h +++ b/src/vma/proto/netlink_socket_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/peer_key.h b/src/vma/proto/peer_key.h index 1b970b956..246e86156 100644 --- a/src/vma/proto/peer_key.h +++ b/src/vma/proto/peer_key.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_entry.cpp b/src/vma/proto/route_entry.cpp index b5f271a22..4916062b7 100644 --- a/src/vma/proto/route_entry.cpp +++ b/src/vma/proto/route_entry.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_entry.h b/src/vma/proto/route_entry.h index 497a9cf0e..779798fd7 100644 --- a/src/vma/proto/route_entry.h +++ b/src/vma/proto/route_entry.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_rule_table_key.h b/src/vma/proto/route_rule_table_key.h index aecc3284b..0fde03804 100644 --- a/src/vma/proto/route_rule_table_key.h +++ b/src/vma/proto/route_rule_table_key.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index cc11d2c26..bb97320f1 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_table_mgr.h b/src/vma/proto/route_table_mgr.h index bdbec7a25..ea68bf768 100644 --- a/src/vma/proto/route_table_mgr.h +++ b/src/vma/proto/route_table_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_val.cpp b/src/vma/proto/route_val.cpp index 9342bce1b..c9ae41af3 100644 --- a/src/vma/proto/route_val.cpp +++ b/src/vma/proto/route_val.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_val.h b/src/vma/proto/route_val.h index 36091326b..614b58d58 100644 --- a/src/vma/proto/route_val.h +++ b/src/vma/proto/route_val.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_entry.cpp b/src/vma/proto/rule_entry.cpp index 7f2cc6574..4c41b1787 100644 --- a/src/vma/proto/rule_entry.cpp +++ b/src/vma/proto/rule_entry.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_entry.h b/src/vma/proto/rule_entry.h index 4f345d53d..192bea31f 100644 --- a/src/vma/proto/rule_entry.h +++ b/src/vma/proto/rule_entry.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index 2d7a0b663..ea417654e 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_table_mgr.h b/src/vma/proto/rule_table_mgr.h index a6acee35f..74d6be405 100644 --- a/src/vma/proto/rule_table_mgr.h +++ b/src/vma/proto/rule_table_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_val.cpp b/src/vma/proto/rule_val.cpp index 75385acda..23309d22a 100644 --- a/src/vma/proto/rule_val.cpp +++ b/src/vma/proto/rule_val.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_val.h b/src/vma/proto/rule_val.h index 1d57010fa..7340c765e 100644 --- a/src/vma/proto/rule_val.h +++ b/src/vma/proto/rule_val.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/vma_lwip.cpp b/src/vma/proto/vma_lwip.cpp index 524da228b..429388924 100644 --- a/src/vma/proto/vma_lwip.cpp +++ b/src/vma/proto/vma_lwip.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/vma_lwip.h b/src/vma/proto/vma_lwip.h index 837065046..4795da248 100644 --- a/src/vma/proto/vma_lwip.h +++ b/src/vma/proto/vma_lwip.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/cleanable_obj.h b/src/vma/sock/cleanable_obj.h index 6d446f2f9..363e9c423 100644 --- a/src/vma/sock/cleanable_obj.h +++ b/src/vma/sock/cleanable_obj.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/fd_collection.cpp b/src/vma/sock/fd_collection.cpp index e54e85c8b..8fb713a82 100644 --- a/src/vma/sock/fd_collection.cpp +++ b/src/vma/sock/fd_collection.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/fd_collection.h b/src/vma/sock/fd_collection.h index fb834292a..6bef78934 100644 --- a/src/vma/sock/fd_collection.h +++ b/src/vma/sock/fd_collection.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pipeinfo.cpp b/src/vma/sock/pipeinfo.cpp index 88eee2b28..552440658 100644 --- a/src/vma/sock/pipeinfo.cpp +++ b/src/vma/sock/pipeinfo.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pipeinfo.h b/src/vma/sock/pipeinfo.h index e01aaaba2..ebb52d223 100644 --- a/src/vma/sock/pipeinfo.h +++ b/src/vma/sock/pipeinfo.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pkt_rcvr_sink.h b/src/vma/sock/pkt_rcvr_sink.h index a55996610..f3c0439bc 100644 --- a/src/vma/sock/pkt_rcvr_sink.h +++ b/src/vma/sock/pkt_rcvr_sink.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pkt_sndr_source.h b/src/vma/sock/pkt_sndr_source.h index 761204482..bdf8fbf42 100644 --- a/src/vma/sock/pkt_sndr_source.h +++ b/src/vma/sock/pkt_sndr_source.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 8008ad31b..d62202f54 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sock-redirect.h b/src/vma/sock/sock-redirect.h index 033efb260..d54530e96 100644 --- a/src/vma/sock/sock-redirect.h +++ b/src/vma/sock/sock-redirect.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/socket_fd_api.cpp b/src/vma/sock/socket_fd_api.cpp index e757077e1..f33ed7657 100644 --- a/src/vma/sock/socket_fd_api.cpp +++ b/src/vma/sock/socket_fd_api.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/socket_fd_api.h b/src/vma/sock/socket_fd_api.h index 5d20d6902..7bcad22ec 100644 --- a/src/vma/sock/socket_fd_api.h +++ b/src/vma/sock/socket_fd_api.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index c763071eb..9e039c1a1 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo.h b/src/vma/sock/sockinfo.h index e80c25874..f447cbcbf 100644 --- a/src/vma/sock/sockinfo.h +++ b/src/vma/sock/sockinfo.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 2c3a55931..d50567e47 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index 14def04e8..ba2fafbf2 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index 5a08a2858..1a206b50f 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_udp.h b/src/vma/sock/sockinfo_udp.h index f11ca8cf5..7fbc98dc9 100644 --- a/src/vma/sock/sockinfo_udp.h +++ b/src/vma/sock/sockinfo_udp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent.cpp b/src/vma/util/agent.cpp index b0524cba4..f5b56043c 100644 --- a/src/vma/util/agent.cpp +++ b/src/vma/util/agent.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent.h b/src/vma/util/agent.h index 63c81e857..41a65986d 100644 --- a/src/vma/util/agent.h +++ b/src/vma/util/agent.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent_def.h b/src/vma/util/agent_def.h index 5eb2646f3..84d13012a 100644 --- a/src/vma/util/agent_def.h +++ b/src/vma/util/agent_def.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/chunk_list.h b/src/vma/util/chunk_list.h index 088e5166c..e5c025120 100644 --- a/src/vma/util/chunk_list.h +++ b/src/vma/util/chunk_list.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/config_parser.y b/src/vma/util/config_parser.y index 162116edf..730c539a2 100644 --- a/src/vma/util/config_parser.y +++ b/src/vma/util/config_parser.y @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/config_scanner.l b/src/vma/util/config_scanner.l index a730577a6..499d0d359 100644 --- a/src/vma/util/config_scanner.l +++ b/src/vma/util/config_scanner.l @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/data_updater.cpp b/src/vma/util/data_updater.cpp index 3aaa555ab..3cf67c739 100644 --- a/src/vma/util/data_updater.cpp +++ b/src/vma/util/data_updater.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/data_updater.h b/src/vma/util/data_updater.h index ef01ba16d..6c37da507 100644 --- a/src/vma/util/data_updater.h +++ b/src/vma/util/data_updater.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/hash_map.h b/src/vma/util/hash_map.h index 030925172..4e9a964fa 100644 --- a/src/vma/util/hash_map.h +++ b/src/vma/util/hash_map.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/hash_map.inl b/src/vma/util/hash_map.inl index 6e4ceb0a3..5721f15b8 100644 --- a/src/vma/util/hash_map.inl +++ b/src/vma/util/hash_map.inl @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/if.h b/src/vma/util/if.h index bb3168781..76dddcb7c 100644 --- a/src/vma/util/if.h +++ b/src/vma/util/if.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/instrumentation.cpp b/src/vma/util/instrumentation.cpp index 4cd5e39c9..2f4da5598 100644 --- a/src/vma/util/instrumentation.cpp +++ b/src/vma/util/instrumentation.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/instrumentation.h b/src/vma/util/instrumentation.h index 11b28601d..d8a6d21cd 100644 --- a/src/vma/util/instrumentation.h +++ b/src/vma/util/instrumentation.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/libvma.h b/src/vma/util/libvma.h index 0de17e9ea..69e2cfabd 100644 --- a/src/vma/util/libvma.h +++ b/src/vma/util/libvma.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/match.cpp b/src/vma/util/match.cpp index 5169b1fed..692dd49e4 100644 --- a/src/vma/util/match.cpp +++ b/src/vma/util/match.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sg_array.h b/src/vma/util/sg_array.h index 2fac4fc43..c7fb30bc5 100644 --- a/src/vma/util/sg_array.h +++ b/src/vma/util/sg_array.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sock_addr.h b/src/vma/util/sock_addr.h index fa9b16fe2..33a9e023c 100644 --- a/src/vma/util/sock_addr.h +++ b/src/vma/util/sock_addr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 1367658dc..cb19132b8 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index e7198e705..6eae5d8e4 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sysctl_reader.h b/src/vma/util/sysctl_reader.h index 53e3ba744..42a56d257 100644 --- a/src/vma/util/sysctl_reader.h +++ b/src/vma/util/sysctl_reader.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/to_str.h b/src/vma/util/to_str.h index 80e18ce00..4aecb7b12 100644 --- a/src/vma/util/to_str.h +++ b/src/vma/util/to_str.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 93d2c9c89..86aebf614 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index 8ccddcb08..5f5e2a4d0 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/valgrind.h b/src/vma/util/valgrind.h index e5d992bde..82d6bc41c 100644 --- a/src/vma/util/valgrind.h +++ b/src/vma/util/valgrind.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vma_list.h b/src/vma/util/vma_list.h index 96245b04f..44c4a1ac2 100644 --- a/src/vma/util/vma_list.h +++ b/src/vma/util/vma_list.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vma_stats.h b/src/vma/util/vma_stats.h index 31cf7f062..df3e5252a 100644 --- a/src/vma/util/vma_stats.h +++ b/src/vma/util/vma_stats.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vtypes.h b/src/vma/util/vtypes.h index 5b212acb6..8ada5ea2a 100644 --- a/src/vma/util/vtypes.h +++ b/src/vma/util/vtypes.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup.cpp b/src/vma/util/wakeup.cpp index 7d72b2857..ede61fc85 100644 --- a/src/vma/util/wakeup.cpp +++ b/src/vma/util/wakeup.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup.h b/src/vma/util/wakeup.h index 8270b50c3..a4b5f6b64 100644 --- a/src/vma/util/wakeup.h +++ b/src/vma/util/wakeup.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup_pipe.cpp b/src/vma/util/wakeup_pipe.cpp index 25b2f452c..aa364b3a4 100644 --- a/src/vma/util/wakeup_pipe.cpp +++ b/src/vma/util/wakeup_pipe.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup_pipe.h b/src/vma/util/wakeup_pipe.h index 12ded214b..762881def 100644 --- a/src/vma/util/wakeup_pipe.h +++ b/src/vma/util/wakeup_pipe.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index 53da8b7b4..dbbdccc7e 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/api-support-check.py b/tests/api-support-check.py index e3d23e7b3..6c0ef562b 100755 --- a/tests/api-support-check.py +++ b/tests/api-support-check.py @@ -2,7 +2,7 @@ # #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/async-echo-client.py b/tests/async-echo-client/async-echo-client.py index abe15e21f..31246b691 100755 --- a/tests/async-echo-client/async-echo-client.py +++ b/tests/async-echo-client/async-echo-client.py @@ -3,7 +3,7 @@ # #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/echo-server.py b/tests/async-echo-client/echo-server.py index 6f1e8c06e..0834177ed 100755 --- a/tests/async-echo-client/echo-server.py +++ b/tests/async-echo-client/echo-server.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/syncronized-echo-client.py b/tests/async-echo-client/syncronized-echo-client.py index 6427983f1..52c11a62e 100755 --- a/tests/async-echo-client/syncronized-echo-client.py +++ b/tests/async-echo-client/syncronized-echo-client.py @@ -3,7 +3,7 @@ # #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/benchmarking_test/Accelerators_Benchmarking.sh b/tests/benchmarking_test/Accelerators_Benchmarking.sh index 023d36f7c..d4dde4b6c 100755 --- a/tests/benchmarking_test/Accelerators_Benchmarking.sh +++ b/tests/benchmarking_test/Accelerators_Benchmarking.sh @@ -1,7 +1,7 @@ #!/bin/sh # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/bindtodevice/client.py b/tests/bindtodevice/client.py index 4e5eb9bdf..eb675c84a 100755 --- a/tests/bindtodevice/client.py +++ b/tests/bindtodevice/client.py @@ -3,7 +3,7 @@ # #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/connect-disconnect/client.py b/tests/connect-disconnect/client.py index 12bc78f10..f5dd6f5e3 100755 --- a/tests/connect-disconnect/client.py +++ b/tests/connect-disconnect/client.py @@ -3,7 +3,7 @@ # #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/socketxtreme/server_tcp.c b/tests/extra_api_tests/socketxtreme/server_tcp.c index 78ac4c552..95ee34314 100644 --- a/tests/extra_api_tests/socketxtreme/server_tcp.c +++ b/tests/extra_api_tests/socketxtreme/server_tcp.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.c b/tests/extra_api_tests/tcp_zcopy_cb/client.c index e9a76e3ca..d8b40b398 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.h b/tests/extra_api_tests/tcp_zcopy_cb/client.h index dd5c1753b..6d3a5f6a0 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/main.c b/tests/extra_api_tests/tcp_zcopy_cb/main.c index 7741b88f4..43cf68166 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/main.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/main.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.c b/tests/extra_api_tests/tcp_zcopy_cb/server.c index e210d4f50..f1da0431a 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.h b/tests/extra_api_tests/tcp_zcopy_cb/server.h index 1797c9eb7..d7c8108fd 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/types.h b/tests/extra_api_tests/tcp_zcopy_cb/types.h index 2132c37a1..b021e5b55 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/types.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/types.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/utils.c b/tests/extra_api_tests/tcp_zcopy_cb/utils.c index 0242c0111..67eec501c 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/utils.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/utils.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/getsockname_test.c b/tests/functionality/getsockname_test.c index 92720050c..45132ae3f 100644 --- a/tests/functionality/getsockname_test.c +++ b/tests/functionality/getsockname_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/1epoll_1socket_twice.c b/tests/functionality/iomux/1epoll_1socket_twice.c index 43beabe42..beaf6f788 100644 --- a/tests/functionality/iomux/1epoll_1socket_twice.c +++ b/tests/functionality/iomux/1epoll_1socket_twice.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/2epoll_1socket.c b/tests/functionality/iomux/2epoll_1socket.c index 4ee6bbc57..4dca5a828 100644 --- a/tests/functionality/iomux/2epoll_1socket.c +++ b/tests/functionality/iomux/2epoll_1socket.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/client.py b/tests/functionality/iomux/client.py index bd09ff888..d4c5c3c64 100755 --- a/tests/functionality/iomux/client.py +++ b/tests/functionality/iomux/client.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/eclient.py b/tests/functionality/iomux/eclient.py index 7a8e0bd18..313c61408 100644 --- a/tests/functionality/iomux/eclient.py +++ b/tests/functionality/iomux/eclient.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/eserver.py b/tests/functionality/iomux/eserver.py index c3366e9df..2efd9d974 100644 --- a/tests/functionality/iomux/eserver.py +++ b/tests/functionality/iomux/eserver.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/pclient.py b/tests/functionality/iomux/pclient.py index d61abd646..488c27d3e 100644 --- a/tests/functionality/iomux/pclient.py +++ b/tests/functionality/iomux/pclient.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/pserver.py b/tests/functionality/iomux/pserver.py index 7d21aaeac..1a0a7b238 100644 --- a/tests/functionality/iomux/pserver.py +++ b/tests/functionality/iomux/pserver.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/server.py b/tests/functionality/iomux/server.py index f0a6fa541..3c1ec0c58 100755 --- a/tests/functionality/iomux/server.py +++ b/tests/functionality/iomux/server.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/base.cc b/tests/gtest/common/base.cc index 28540861d..8bda89b62 100644 --- a/tests/gtest/common/base.cc +++ b/tests/gtest/common/base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/base.h b/tests/gtest/common/base.h index 524785183..604e41c78 100644 --- a/tests/gtest/common/base.h +++ b/tests/gtest/common/base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/cmn.h b/tests/gtest/common/cmn.h index f38fcf948..89cdde85a 100644 --- a/tests/gtest/common/cmn.h +++ b/tests/gtest/common/cmn.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/def.h b/tests/gtest/common/def.h index b6f6eec5e..efe80ef86 100644 --- a/tests/gtest/common/def.h +++ b/tests/gtest/common/def.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/log.h b/tests/gtest/common/log.h index aa4a6c937..19488215e 100644 --- a/tests/gtest/common/log.h +++ b/tests/gtest/common/log.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/sys.cc b/tests/gtest/common/sys.cc index dee21d79c..5675ee271 100644 --- a/tests/gtest/common/sys.cc +++ b/tests/gtest/common/sys.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/sys.h b/tests/gtest/common/sys.h index e20929541..04ce5de9a 100644 --- a/tests/gtest/common/sys.h +++ b/tests/gtest/common/sys.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/main.cc b/tests/gtest/main.cc index 10224382c..2e35faaf4 100644 --- a/tests/gtest/main.cc +++ b/tests/gtest/main.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_base.cc b/tests/gtest/mix/mix_base.cc index 2b5315372..ce8b664e6 100644 --- a/tests/gtest/mix/mix_base.cc +++ b/tests/gtest/mix/mix_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_base.h b/tests/gtest/mix/mix_base.h index 8a817b251..894181071 100644 --- a/tests/gtest/mix/mix_base.h +++ b/tests/gtest/mix/mix_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_list.cc b/tests/gtest/mix/mix_list.cc index 648f8058b..9e34bdec2 100644 --- a/tests/gtest/mix/mix_list.cc +++ b/tests/gtest/mix/mix_list.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/sg_array.cc b/tests/gtest/mix/sg_array.cc index ec804a8e1..ad533c59c 100644 --- a/tests/gtest/mix/sg_array.cc +++ b/tests/gtest/mix/sg_array.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_base.cc b/tests/gtest/sock/sock_base.cc index cb32e9e67..8e470d2cc 100644 --- a/tests/gtest/sock/sock_base.cc +++ b/tests/gtest/sock/sock_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_base.h b/tests/gtest/sock/sock_base.h index 48a99c285..0c0d558c5 100644 --- a/tests/gtest/sock/sock_base.h +++ b/tests/gtest/sock/sock_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_socket.cc b/tests/gtest/sock/sock_socket.cc index 8a0e91500..b9dc0d958 100644 --- a/tests/gtest/sock/sock_socket.cc +++ b/tests/gtest/sock/sock_socket.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_base.cc b/tests/gtest/tcp/tcp_base.cc index 5319cbf79..a2e32d145 100644 --- a/tests/gtest/tcp/tcp_base.cc +++ b/tests/gtest/tcp/tcp_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_base.h b/tests/gtest/tcp/tcp_base.h index 8f8dc2f05..65e3389b7 100644 --- a/tests/gtest/tcp/tcp_base.h +++ b/tests/gtest/tcp/tcp_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_bind.cc b/tests/gtest/tcp/tcp_bind.cc index 40bb44edb..45cbc4bcd 100644 --- a/tests/gtest/tcp/tcp_bind.cc +++ b/tests/gtest/tcp/tcp_bind.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_connect.cc b/tests/gtest/tcp/tcp_connect.cc index fa9f46957..8cad7f1a9 100644 --- a/tests/gtest/tcp/tcp_connect.cc +++ b/tests/gtest/tcp/tcp_connect.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_connect_nb.cc b/tests/gtest/tcp/tcp_connect_nb.cc index b44848e6b..f66746366 100644 --- a/tests/gtest/tcp/tcp_connect_nb.cc +++ b/tests/gtest/tcp/tcp_connect_nb.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_event.cc b/tests/gtest/tcp/tcp_event.cc index 3980a47fd..461ad519c 100644 --- a/tests/gtest/tcp/tcp_event.cc +++ b/tests/gtest/tcp/tcp_event.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_send.cc b/tests/gtest/tcp/tcp_send.cc index a79327f71..d78db4033 100644 --- a/tests/gtest/tcp/tcp_send.cc +++ b/tests/gtest/tcp/tcp_send.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_send_zc.cc b/tests/gtest/tcp/tcp_send_zc.cc index 35ad9117d..4de5a24c5 100644 --- a/tests/gtest/tcp/tcp_send_zc.cc +++ b/tests/gtest/tcp/tcp_send_zc.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sendfile.cc b/tests/gtest/tcp/tcp_sendfile.cc index 9748fdfb8..d2bed4391 100644 --- a/tests/gtest/tcp/tcp_sendfile.cc +++ b/tests/gtest/tcp/tcp_sendfile.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sendto.cc b/tests/gtest/tcp/tcp_sendto.cc index 9530d885c..56f73a6e4 100644 --- a/tests/gtest/tcp/tcp_sendto.cc +++ b/tests/gtest/tcp/tcp_sendto.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_socket.cc b/tests/gtest/tcp/tcp_socket.cc index 939ae9034..5a3711ad7 100644 --- a/tests/gtest/tcp/tcp_socket.cc +++ b/tests/gtest/tcp/tcp_socket.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sockopt.cc b/tests/gtest/tcp/tcp_sockopt.cc index 76609f823..c40b44709 100644 --- a/tests/gtest/tcp/tcp_sockopt.cc +++ b/tests/gtest/tcp/tcp_sockopt.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_tls.cc b/tests/gtest/tcp/tcp_tls.cc index edb9de21c..284a7df0f 100644 --- a/tests/gtest/tcp/tcp_tls.cc +++ b/tests/gtest/tcp/tcp_tls.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_base.cc b/tests/gtest/udp/udp_base.cc index c783d310c..60c2cc0a5 100644 --- a/tests/gtest/udp/udp_base.cc +++ b/tests/gtest/udp/udp_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_base.h b/tests/gtest/udp/udp_base.h index 8d06c16f2..60616f9df 100644 --- a/tests/gtest/udp/udp_base.h +++ b/tests/gtest/udp/udp_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_bind.cc b/tests/gtest/udp/udp_bind.cc index e47f07c8c..64df297c1 100644 --- a/tests/gtest/udp/udp_bind.cc +++ b/tests/gtest/udp/udp_bind.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_connect.cc b/tests/gtest/udp/udp_connect.cc index cd89214e7..3f52608ec 100644 --- a/tests/gtest/udp/udp_connect.cc +++ b/tests/gtest/udp/udp_connect.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_send.cc b/tests/gtest/udp/udp_send.cc index bd73831b7..50247cbfb 100644 --- a/tests/gtest/udp/udp_send.cc +++ b/tests/gtest/udp/udp_send.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_sendto.cc b/tests/gtest/udp/udp_sendto.cc index a42a37fbf..882189312 100644 --- a/tests/gtest/udp/udp_sendto.cc +++ b/tests/gtest/udp/udp_sendto.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_base.cc b/tests/gtest/vma/vma_base.cc index 74d217426..aaeab8f30 100644 --- a/tests/gtest/vma/vma_base.cc +++ b/tests/gtest/vma/vma_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_base.h b/tests/gtest/vma/vma_base.h index 908f1f536..0f30e8f20 100644 --- a/tests/gtest/vma/vma_base.h +++ b/tests/gtest/vma/vma_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_poll.cc b/tests/gtest/vma/vma_poll.cc index eb3ab3c9f..8fb4441bd 100644 --- a/tests/gtest/vma/vma_poll.cc +++ b/tests/gtest/vma/vma_poll.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_recvfrom_zcopy.cc b/tests/gtest/vma/vma_recvfrom_zcopy.cc index c9448947c..38202f2c5 100644 --- a/tests/gtest/vma/vma_recvfrom_zcopy.cc +++ b/tests/gtest/vma/vma_recvfrom_zcopy.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_ring.cc b/tests/gtest/vma/vma_ring.cc index b5b6f31cb..4ec28f22a 100644 --- a/tests/gtest/vma/vma_ring.cc +++ b/tests/gtest/vma/vma_ring.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_sockopt.cc b/tests/gtest/vma/vma_sockopt.cc index eef0720be..da03ac082 100644 --- a/tests/gtest/vma/vma_sockopt.cc +++ b/tests/gtest/vma/vma_sockopt.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_base.cc b/tests/gtest/vmad/vmad_base.cc index 5a225a68e..b0bcbef4e 100644 --- a/tests/gtest/vmad/vmad_base.cc +++ b/tests/gtest/vmad/vmad_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_base.h b/tests/gtest/vmad/vmad_base.h index 945b8a481..7ccca4246 100644 --- a/tests/gtest/vmad/vmad_base.h +++ b/tests/gtest/vmad/vmad_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_bitmap.cc b/tests/gtest/vmad/vmad_bitmap.cc index 2c9487df2..44a07c673 100644 --- a/tests/gtest/vmad/vmad_bitmap.cc +++ b/tests/gtest/vmad/vmad_bitmap.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_flow.cc b/tests/gtest/vmad/vmad_flow.cc index ded0c877d..71a3dd19d 100644 --- a/tests/gtest/vmad/vmad_flow.cc +++ b/tests/gtest/vmad/vmad_flow.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_hash.cc b/tests/gtest/vmad/vmad_hash.cc index 14696ed56..9dde79a5b 100644 --- a/tests/gtest/vmad/vmad_hash.cc +++ b/tests/gtest/vmad/vmad_hash.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_init.cc b/tests/gtest/vmad/vmad_init.cc index 9c35b0ff5..e1a040650 100644 --- a/tests/gtest/vmad/vmad_init.cc +++ b/tests/gtest/vmad/vmad_init.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_state.cc b/tests/gtest/vmad/vmad_state.cc index c61a2b79f..03076276b 100644 --- a/tests/gtest/vmad/vmad_state.cc +++ b/tests/gtest/vmad/vmad_state.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/latency_test/tcp_lat.cpp b/tests/latency_test/tcp_lat.cpp index c95290c4e..38e00936c 100644 --- a/tests/latency_test/tcp_lat.cpp +++ b/tests/latency_test/tcp_lat.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/latency_test/udp_lat.c b/tests/latency_test/udp_lat.c index 0ace1ecab..edf40520d 100644 --- a/tests/latency_test/udp_lat.c +++ b/tests/latency_test/udp_lat.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/listen/tcp_client.py b/tests/listen/tcp_client.py index e4eb1631a..83396649f 100755 --- a/tests/listen/tcp_client.py +++ b/tests/listen/tcp_client.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/listen/tcp_server.py b/tests/listen/tcp_server.py index b84b9ebb4..f8f0b7e97 100755 --- a/tests/listen/tcp_server.py +++ b/tests/listen/tcp_server.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/low_pps_tcp_send_test/exchange.cpp b/tests/low_pps_tcp_send_test/exchange.cpp index 6394ba3e7..643abab1d 100755 --- a/tests/low_pps_tcp_send_test/exchange.cpp +++ b/tests/low_pps_tcp_send_test/exchange.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/low_pps_tcp_send_test/trader.cpp b/tests/low_pps_tcp_send_test/trader.cpp index 91120aba1..22b68a816 100755 --- a/tests/low_pps_tcp_send_test/trader.cpp +++ b/tests/low_pps_tcp_send_test/trader.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/mc_loop_test/mc_loop_test.c b/tests/mc_loop_test/mc_loop_test.c index 7b72ba74b..6c85b9c40 100644 --- a/tests/mc_loop_test/mc_loop_test.c +++ b/tests/mc_loop_test/mc_loop_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/multithread_test/exchange.cpp b/tests/multithread_test/exchange.cpp index 5f47a0ec6..ad1e0b2b9 100755 --- a/tests/multithread_test/exchange.cpp +++ b/tests/multithread_test/exchange.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/multithread_test/trader.cpp b/tests/multithread_test/trader.cpp index 7184be1cf..b24750753 100755 --- a/tests/multithread_test/trader.cpp +++ b/tests/multithread_test/trader.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/pps_test/pps_test.c b/tests/pps_test/pps_test.c index a9f8161c5..8230d965e 100644 --- a/tests/pps_test/pps_test.c +++ b/tests/pps_test/pps_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py index 46823eded..54759d734 100755 --- a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py @@ -3,7 +3,7 @@ # #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/resource_release_checker/server_socket_recreate_loop.py b/tests/resource_release_checker/server_socket_recreate_loop.py index 632d3ea49..515715ff6 100755 --- a/tests/resource_release_checker/server_socket_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_recreate_loop.py @@ -3,7 +3,7 @@ # #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/reuse_ud_test.c b/tests/reuse_ud_test.c index e5759c265..6886a9a86 100644 --- a/tests/reuse_ud_test.c +++ b/tests/reuse_ud_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/select_t1.c b/tests/select_t1.c index 377266f47..aebf367b0 100644 --- a/tests/select_t1.c +++ b/tests/select_t1.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/client.cc b/tests/server_test/client.cc index 899557e16..8b813c4e4 100644 --- a/tests/server_test/client.cc +++ b/tests/server_test/client.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/client.h b/tests/server_test/client.h index dbe4fdf0e..f6443db0c 100644 --- a/tests/server_test/client.h +++ b/tests/server_test/client.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/main.cc b/tests/server_test/main.cc index 9529838d6..0c61d3629 100644 --- a/tests/server_test/main.cc +++ b/tests/server_test/main.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/options.cc b/tests/server_test/options.cc index c6199eb10..338004135 100644 --- a/tests/server_test/options.cc +++ b/tests/server_test/options.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/options.h b/tests/server_test/options.h index ba5668006..de6c0f16d 100644 --- a/tests/server_test/options.h +++ b/tests/server_test/options.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/server.cc b/tests/server_test/server.cc index 90c146179..9fc48d291 100644 --- a/tests/server_test/server.cc +++ b/tests/server_test/server.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/server.h b/tests/server_test/server.h index bcf7258f6..7514518fd 100644 --- a/tests/server_test/server.h +++ b/tests/server_test/server.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/vtime.cc b/tests/server_test/vtime.cc index 9f2f02010..91f518d5d 100644 --- a/tests/server_test/vtime.cc +++ b/tests/server_test/vtime.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/vtime.h b/tests/server_test/vtime.h index b087ab9fb..3f4dabb43 100644 --- a/tests/server_test/vtime.h +++ b/tests/server_test/vtime.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/simple_fork/fork.py b/tests/simple_fork/fork.py index 7c46b9d8d..501e72427 100755 --- a/tests/simple_fork/fork.py +++ b/tests/simple_fork/fork.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/Makefile b/tests/tcp_window_size_exerciser/Makefile index 62e2a37c3..5ab0dc327 100644 --- a/tests/tcp_window_size_exerciser/Makefile +++ b/tests/tcp_window_size_exerciser/Makefile @@ -1,6 +1,6 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test.h b/tests/tcp_window_size_exerciser/tcp_wnd_test.h index 24fb4e2de..a5a6e6a1d 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test.h +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c index 3b091747a..57b5693f9 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c index 876ba5c03..fb81e3645 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/testbed/testbed.c b/tests/testbed/testbed.c index 581b15784..1fe2584a0 100644 --- a/tests/testbed/testbed.c +++ b/tests/testbed/testbed.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/throughput_test/bandwidth_test.c b/tests/throughput_test/bandwidth_test.c index 308c0b342..b4d784178 100644 --- a/tests/throughput_test/bandwidth_test.c +++ b/tests/throughput_test/bandwidth_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/timetest/timetest.cpp b/tests/timetest/timetest.cpp index 126bcbc84..c6399f1b6 100644 --- a/tests/timetest/timetest.cpp +++ b/tests/timetest/timetest.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/vma_perf_envelope/vma_multiplexers_test.sh b/tests/vma_perf_envelope/vma_multiplexers_test.sh index 9cde1241c..5ff22a8b2 100755 --- a/tests/vma_perf_envelope/vma_multiplexers_test.sh +++ b/tests/vma_perf_envelope/vma_multiplexers_test.sh @@ -1,7 +1,7 @@ #!/bin/bash # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/vma_perf_envelope/vma_perf_envelope.sh b/tests/vma_perf_envelope/vma_perf_envelope.sh index fb46bb6ce..13b248d56 100755 --- a/tests/vma_perf_envelope/vma_perf_envelope.sh +++ b/tests/vma_perf_envelope/vma_perf_envelope.sh @@ -1,7 +1,7 @@ #!/bin/bash # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/bitmap.h b/tools/daemon/bitmap.h index da302a52d..d0abe72c5 100644 --- a/tools/daemon/bitmap.h +++ b/tools/daemon/bitmap.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/daemon.c b/tools/daemon/daemon.c index 3281ef08f..003acdb6d 100644 --- a/tools/daemon/daemon.c +++ b/tools/daemon/daemon.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/daemon.h b/tools/daemon/daemon.h index 23bcbe2f6..8f066b44c 100644 --- a/tools/daemon/daemon.h +++ b/tools/daemon/daemon.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/flow.c b/tools/daemon/flow.c index 52fd85544..8fa2bcb40 100644 --- a/tools/daemon/flow.c +++ b/tools/daemon/flow.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/hash.c b/tools/daemon/hash.c index 370125592..394d54262 100644 --- a/tools/daemon/hash.c +++ b/tools/daemon/hash.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/hash.h b/tools/daemon/hash.h index 83b3cd024..db3bc8cef 100644 --- a/tools/daemon/hash.h +++ b/tools/daemon/hash.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/loop.c b/tools/daemon/loop.c index 57a615d1c..4b2ab63b0 100644 --- a/tools/daemon/loop.c +++ b/tools/daemon/loop.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/message.c b/tools/daemon/message.c index 7cfca62fd..38c4616b0 100644 --- a/tools/daemon/message.c +++ b/tools/daemon/message.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/nl.c b/tools/daemon/nl.c index eb09b82e7..433d86079 100644 --- a/tools/daemon/nl.c +++ b/tools/daemon/nl.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/nl.h b/tools/daemon/nl.h index 1d3939f92..828a00b12 100644 --- a/tools/daemon/nl.h +++ b/tools/daemon/nl.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/notify.c b/tools/daemon/notify.c index 5304e2801..52bb9c21a 100644 --- a/tools/daemon/notify.c +++ b/tools/daemon/notify.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/store.c b/tools/daemon/store.c index e350e4763..560838f42 100644 --- a/tools/daemon/store.c +++ b/tools/daemon/store.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/tc.c b/tools/daemon/tc.c index f14e7d015..7c9026627 100644 --- a/tools/daemon/tc.c +++ b/tools/daemon/tc.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/tc.h b/tools/daemon/tc.h index 5b00020df..98e12c653 100644 --- a/tools/daemon/tc.h +++ b/tools/daemon/tc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU From 0460967dfb8bddc26aab5a5c98f437ba62c07ffd Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Thu, 12 Dec 2024 14:32:33 +0400 Subject: [PATCH 058/150] [CI] issue: 4208807 Implement weekly builds on DR site We add the "weekly_launcher" job which stays unchanged on RD site and performs schedulled runs once a week, triggering the release Job. Issue: HPCINFRA-2975 Signed-off-by: Viacheslav Login --- .ci/pipeline/dr_weekly_jjb.yaml | 69 +++++++++++++++++++++++ .ci/pipeline/dr_weekly_matrix.yaml | 89 ++++++++++++++++++++++++++++++ 2 files changed, 158 insertions(+) create mode 100644 .ci/pipeline/dr_weekly_jjb.yaml create mode 100644 .ci/pipeline/dr_weekly_matrix.yaml diff --git a/.ci/pipeline/dr_weekly_jjb.yaml b/.ci/pipeline/dr_weekly_jjb.yaml new file mode 100644 index 000000000..013fa9992 --- /dev/null +++ b/.ci/pipeline/dr_weekly_jjb.yaml @@ -0,0 +1,69 @@ +- job-template: + name: "{jjb_proj}" + project-type: pipeline + folder: pdc + properties: + - github: + url: "https://github.com/Mellanox/libvma" + - build-discarder: + days-to-keep: 50 + num-to-keep: 20 + - inject: + keep-system-variables: true + properties-content: | + jjb_proj={jjb_proj} + description: Do NOT edit this job through the Web GUI ! + concurrent: false + parameters: + - string: + name: "sha1" + default: "master" + description: "Branch or sha1 to check out" + - string: + name: "release_tag" + default: "" + description: "Tag to release" + - string: + name: "release_folder" + default: "/tmp" + description: "Folder to release packages into. For NFS tests use /auto/mswg/release/vma/dr/weekly" + - string: + name: "CONF_FILE" + default: ".ci/pipeline/dr_weekly_matrix.yaml" + description: "Regex to select job config file" + - string: + name: "MAIL_TO" + # The email associated with the "Media weekly builds @ DR site" Teams group + default: "c2a304c7.NVIDIA.onmicrosoft.com@amer.teams.ms" + description: "Email address to send the report to" + triggers: + - timed: 'H 17 * * *' + pipeline-scm: + scm: + - git: + url: "{jjb_git}" + credentials-id: 'swx-jenkins_ssh_key' + branches: ['$sha1'] + shallow-clone: false + # depth: 10 + do-not-fetch-tags: false + # honor-refspec: true + refspec: "+refs/heads/*:refs/remotes/origin/* +refs/pull/*:refs/remotes/origin/pr/* +refs/tags/*:refs/remotes/origin/tags/*" + browser: githubweb + browser-url: "{jjb_git}" + submodule: + disable: false + recursive: true + tracking: true + parent-credentials: true + script-path: "{jjb_jenkinsfile}" + +- project: + name: libvma + jjb_email: 'vlogin@nvidia.com' + jjb_proj: 'libvma-dr-weekly-launcher' + jjb_git: 'git@github.com:Mellanox/libvma.git' + jjb_owner: 'Viacheslav Login' + jjb_jenkinsfile: '.ci/Jenkinsfile' + jobs: + - "{jjb_proj}" diff --git a/.ci/pipeline/dr_weekly_matrix.yaml b/.ci/pipeline/dr_weekly_matrix.yaml new file mode 100644 index 000000000..f15b73903 --- /dev/null +++ b/.ci/pipeline/dr_weekly_matrix.yaml @@ -0,0 +1,89 @@ +--- +job: libvma-dr-weekly-launcher +failFast: false +timeout_minutes: 120 + +runs_on_agents: + - {nodeLabel: 'master', category: 'base'} + +env: + MAIL_FROM: jenkins@nvidia.com + +pipeline_start: + shell: action + module: groovy + run: | + if (!params.MAIL_TO.isEmpty()) { + currentBuild.displayName += "_weekly-on-${sha1}" + mail from: "${MAIL_FROM}", + mimeType: 'text/html', + to: "${MAIL_TO}", + subject: 'LibVMA weekly DR build has been started', + body: """ +

Build url: link

""" + } + +steps: + - name: Determine release_tag + agentSelector: + - "{category: 'base'}" + shell: action + module: groovy + run: | + if (params.release_tag.isEmpty()) { + env.RELEASE_TAG = sh (returnStdout: true, script: "git describe --tags --abbrev=0 2>/dev/null").trim() + } else { + env.RELEASE_TAG = "${params.release_tag}" + } + echo "Release tag for build: ${env.RELEASE_TAG}" + + - name: Check job state + shell: action + module: groovy + run: | + def job = Jenkins.instance.getItemByFullName('libvma/LibVMA-release-dr') + if (!job.isBuildable()) { + echo "The job '${env.JOB}' is disabled. Enabling..." + job.setDisabled(false) + } + echo "The Job is enabled. Starting..." + + - name: Run Job with parameters + shell: action + module: groovy + run: | + echo "Release tag we're building on: ${env.RELEASE_TAG}" + if (env.RELEASE_TAG) { + def build = build job: 'libvma/LibVMA-release-dr', + parameters: [ + string(name: 'release_tag', value: RELEASE_TAG), + string(name: 'release_folder', value: "${release_folder}"), + string(name: 'notification_email', value: MAIL_TO), + string(name: 'sha1', value: sha1), + ], + propagate: false + + env.LINUX_BUILD_URL = build.absoluteUrl + env.LINUX_BUILD_RES = build.result + if (!build.resultIsBetterOrEqualTo('SUCCESS')) { + currentBuild.result = 'FAILURE' + error("Weekly build failed") + } + } + +pipeline_stop: + shell: action + module: groovy + agentSelector: + - "{category: 'base'}" + run: | + if (!params.MAIL_TO.isEmpty()) { + mail from: "${MAIL_FROM}", + mimeType: 'text/html', + to: "${MAIL_TO}", + subject: "LibVMA weekly DR build has ended - ${currentBuild.currentResult}", + body: """ +

Version: ${env.RELEASE_TAG ?: "NA"}

+

Weekly DR build: ${currentBuild.currentResult}

+ """ + } From 1849e0ad10acf3430d21193a8fc9ca3f12e976a9 Mon Sep 17 00:00:00 2001 From: Tomer Cabouly Date: Mon, 13 Jan 2025 09:13:58 +0000 Subject: [PATCH 059/150] issue: 4223310 VMA support for kernel 6.10 Kernel 6.10 netlink has breaked VMA functionality. Transitioned to libnl - an abstraction that wraps netlink. Signed-off-by: Tomer Cabouly --- src/vma/proto/netlink_socket_mgr.h | 204 ++++++++++------------------- src/vma/proto/route_table_mgr.cpp | 143 ++++++++++---------- src/vma/proto/route_table_mgr.h | 4 +- src/vma/proto/rule_table_mgr.cpp | 98 +++++++------- src/vma/proto/rule_table_mgr.h | 4 +- src/vma/proto/rule_val.cpp | 3 - src/vma/proto/rule_val.h | 6 - 7 files changed, 198 insertions(+), 264 deletions(-) diff --git a/src/vma/proto/netlink_socket_mgr.h b/src/vma/proto/netlink_socket_mgr.h index ab14de050..c576721cb 100644 --- a/src/vma/proto/netlink_socket_mgr.h +++ b/src/vma/proto/netlink_socket_mgr.h @@ -35,6 +35,7 @@ #ifndef NETLINK_SOCKET_MGR_H #define NETLINK_SOCKET_MGR_H +#include #include #include #include @@ -49,6 +50,11 @@ #include #include #include +#include +#include +#include +#include +#include #include "utils/bullseye.h" #include "utils/lock_wrapper.h" @@ -97,19 +103,19 @@ class netlink_socket_mgr table_t m_tab; - virtual bool parse_enrty(nlmsghdr *nl_header, Type *p_val) = 0; + virtual bool parse_entry(struct nl_object *nl_obj, void *p_val_context) = 0; virtual void update_tbl(); virtual void print_val_tbl(); void build_request(struct nlmsghdr **nl_msg); bool query(struct nlmsghdr *&nl_msg, int &len); int recv_info(); - void parse_tbl(int len, int *p_ent_num = NULL); + void parse_tbl_from_latest_cache(struct nl_cache *cache_state); private: nl_data_t m_data_type; - int m_fd; // netlink socket to communicate with the kernel + nl_sock *m_sock; // netlink socket to communicate with the kernel uint32_t m_pid; // process pid uint32_t m_seq_num; // seq num of the netlink messages char m_msg_buf[MSG_BUFF_SIZE]; // we use this buffer for sending/receiving netlink messages @@ -118,6 +124,7 @@ class netlink_socket_mgr /*********************************Implementation ********************************/ + template netlink_socket_mgr ::netlink_socket_mgr(nl_data_t data_type) { @@ -132,14 +139,19 @@ netlink_socket_mgr ::netlink_socket_mgr(nl_data_t data_type) // Create Socket BULLSEYE_EXCLUDE_BLOCK_START - if ((m_fd = orig_os_api.socket(PF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE)) < 0) { + m_sock = nl_socket_alloc(); + if (m_sock == nullptr) { __log_err("NL socket Creation: "); return; } - if (orig_os_api.fcntl(m_fd, F_SETFD, FD_CLOEXEC) != 0) { - __log_warn("Fail in fctl, error = %d", errno); + if (nl_connect(m_sock, NETLINK_ROUTE) < 0) { + __log_err("NL socket Connection: "); + nl_socket_free(m_sock); + m_sock = nullptr; + return; } + BULLSEYE_EXCLUDE_BLOCK_END __log_dbg("Done"); @@ -149,161 +161,79 @@ template netlink_socket_mgr ::~netlink_socket_mgr() { __log_dbg(""); - if (m_fd) { - orig_os_api.close(m_fd); - m_fd = -1; + if (m_sock != nullptr) { + nl_socket_free(m_sock); + m_sock = nullptr; } - - __log_dbg("Done"); -} - -// This function build Netlink request to retrieve data (Rule, Route) from kernel. -// Parameters : -// nl_msg : request to be returned -template -void netlink_socket_mgr ::build_request(struct nlmsghdr **nl_msg) -{ - struct rtmsg *rt_msg; - - memset(m_msg_buf, 0, m_buff_size); - - // point the header and the msg structure pointers into the buffer - *nl_msg = (struct nlmsghdr *)m_msg_buf; - rt_msg = (struct rtmsg *)NLMSG_DATA(*nl_msg); - - //Fill in the nlmsg header - (*nl_msg)->nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); - (*nl_msg)->nlmsg_seq = m_seq_num++; - (*nl_msg)->nlmsg_pid = m_pid; - rt_msg->rtm_family = AF_INET; - - if (m_data_type == RULE_DATA_TYPE) - { - (*nl_msg)->nlmsg_type = RTM_GETRULE; - } - else if (m_data_type == ROUTE_DATA_TYPE) - { - (*nl_msg)->nlmsg_type = RTM_GETROUTE; - } - - (*nl_msg)->nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST; - -} - -// Query built request and receive requested data (Rule, Route) -// Parameters: -// nl_msg : request that is built previously. -// len : length of received data. -template -bool netlink_socket_mgr ::query(struct nlmsghdr *&nl_msg, int &len) -{ - if(m_fd < 0) - return false; - - BULLSEYE_EXCLUDE_BLOCK_START - if(orig_os_api.send(m_fd, nl_msg, nl_msg->nlmsg_len, 0) < 0){ - __log_err("Write To Socket Failed...\n"); - return false; - } - if((len = recv_info()) < 0) { - __log_err("Read From Socket Failed...\n"); - return false; - } - BULLSEYE_EXCLUDE_BLOCK_END - return true; -} - -// Receive requested data and save it locally. -// Return length of received data. -template -int netlink_socket_mgr ::recv_info() -{ - struct nlmsghdr *nlHdr; - int readLen = 0, msgLen = 0; - - char *buf_ptr = m_msg_buf; - - do{ - //Receive response from the kernel - BULLSEYE_EXCLUDE_BLOCK_START - if((readLen = orig_os_api.recv(m_fd, buf_ptr, MSG_BUFF_SIZE - msgLen, 0)) < 0){ - __log_err("SOCK READ: "); - return -1; - } - - nlHdr = (struct nlmsghdr *)buf_ptr; - - //Check if the header is valid - if((NLMSG_OK(nlHdr, (u_int)readLen) == 0) || (nlHdr->nlmsg_type == NLMSG_ERROR)) - { - __log_err("Error in received packet, readLen = %d, msgLen = %d, type=%d, bufLen = %d", readLen, nlHdr->nlmsg_len, nlHdr->nlmsg_type, MSG_BUFF_SIZE); - if (nlHdr->nlmsg_len == MSG_BUFF_SIZE) { - __log_err("The buffer we pass to netlink is too small for reading the whole table"); - } - return -1; - } - BULLSEYE_EXCLUDE_BLOCK_END - - buf_ptr += readLen; - msgLen += readLen; - - //Check if the its the last message - if(nlHdr->nlmsg_type == NLMSG_DONE || - (nlHdr->nlmsg_flags & NLM_F_MULTI) == 0) { - break; - } - - } while((nlHdr->nlmsg_seq != m_seq_num) || (nlHdr->nlmsg_pid != m_pid)); - return msgLen; + __log_dbg("Done"); } // Update data in a table template void netlink_socket_mgr ::update_tbl() { - struct nlmsghdr *nl_msg = NULL; - int counter = 0; - int len = 0; - m_tab.entries_num = 0; - // Build Netlink request to get route entry - build_request(&nl_msg); + struct nl_cache *cache_state = nullptr; + int err = 0; - // Query built request and receive requested data - if (!query(nl_msg, len)) - return; + // cache allocation fetches the latest existing rules/routes + if (m_data_type == RULE_DATA_TYPE) { + err = rtnl_rule_alloc_cache(m_sock, AF_INET, &cache_state); + } else if (m_data_type == ROUTE_DATA_TYPE) { + err = rtnl_route_alloc_cache(m_sock, AF_INET, 0, &cache_state); + } - // Parse received data in custom object (route_val) - parse_tbl(len, &counter); + if (err < 0) { + if (cache_state) { + nl_cache_free(cache_state); + } + + throw_vma_exception("Failed to allocate route cache"); + } - m_tab.entries_num = counter; + // Parse received data in custom object (route_val) + parse_tbl_from_latest_cache(cache_state); - if (counter >= MAX_TABLE_SIZE) { - __log_warn("reached the maximum route table size"); + if (cache_state) { + nl_cache_free(cache_state); } } // Parse received data in a table -// Parameters: +// Parameters: // len : length of received data. // p_ent_num : number of rows in received data. template -void netlink_socket_mgr ::parse_tbl(int len, int *p_ent_num) +void netlink_socket_mgr::parse_tbl_from_latest_cache(struct nl_cache *cache_state) { - struct nlmsghdr *nl_header; - int entry_cnt = 0; + uint16_t entry_cnt = 0; + + struct nl_iterator_context { + Type *p_val_array; + uint16_t &entry_cnt; + netlink_socket_mgr *this_ptr; + } iterator_context = {m_tab.value, entry_cnt, this}; + + // a lambda can't be casted to a c-fptr with ref captures - so we provide context ourselves + nl_cache_foreach( + cache_state, + [](struct nl_object *nl_obj, void *context) { + nl_iterator_context *operation_context = + reinterpret_cast(context); + const bool is_valid_entry = operation_context->this_ptr->parse_entry( + nl_obj, operation_context->p_val_array + operation_context->entry_cnt); + if (is_valid_entry) { + ++operation_context->entry_cnt; + } + }, + &iterator_context); - nl_header = (struct nlmsghdr *) m_msg_buf; - for(;NLMSG_OK(nl_header, (u_int)len) && entry_cnt < MAX_TABLE_SIZE; nl_header = NLMSG_NEXT(nl_header, len)) - { - if (parse_enrty(nl_header, &m_tab.value[entry_cnt])) { - entry_cnt++; - } + m_tab.entries_num = entry_cnt; + if (m_tab.entries_num >= MAX_TABLE_SIZE) { + __log_warn("reached the maximum route table size"); } - if (p_ent_num) - *p_ent_num = entry_cnt; } //print the table diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index bb97320f1..45af9a8d5 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -235,87 +235,98 @@ void route_table_mgr::rt_mgr_update_source_ip() } } -bool route_table_mgr::parse_enrty(nlmsghdr *nl_header, route_val *p_val) +bool route_table_mgr::parse_entry(struct nl_object *nl_obj, void *p_val_context) { - int len; - struct rtmsg *rt_msg; - struct rtattr *rt_attribute; - - // get route entry header - rt_msg = (struct rtmsg *) NLMSG_DATA(nl_header); + route_val *p_val = static_cast(p_val_context); + // Cast the generic nl_object to a specific route or rule object + struct rtnl_route *route = reinterpret_cast(nl_obj); // we are not concerned about the local and default route table - if (rt_msg->rtm_family != AF_INET || rt_msg->rtm_table == RT_TABLE_LOCAL) + if (rtnl_route_get_family(route) != AF_INET || rtnl_route_get_table(route) == RT_TABLE_LOCAL) { return false; + } - p_val->set_protocol(rt_msg->rtm_protocol); - p_val->set_scope(rt_msg->rtm_scope); - p_val->set_type(rt_msg->rtm_type); - p_val->set_table_id(rt_msg->rtm_table); - - in_addr_t dst_mask = htonl(VMA_NETMASK(rt_msg->rtm_dst_len)); - p_val->set_dst_mask(dst_mask); - p_val->set_dst_pref_len(rt_msg->rtm_dst_len); + // Set protocol, scope, type, and table ID using libnl functions + p_val->set_protocol(rtnl_route_get_protocol(route)); + p_val->set_scope(rtnl_route_get_scope(route)); + p_val->set_type(rtnl_route_get_type(route)); + p_val->set_table_id(rtnl_route_get_table(route)); + + // Set destination mask and prefix length + struct nl_addr *dst = rtnl_route_get_dst(route); + if (dst != nullptr) { + in_addr_t dst_mask = htonl(VMA_NETMASK(nl_addr_get_prefixlen(dst))); + p_val->set_dst_mask(dst_mask); + p_val->set_dst_pref_len(nl_addr_get_prefixlen(dst)); + } - len = RTM_PAYLOAD(nl_header); - rt_attribute = (struct rtattr *) RTM_RTA(rt_msg); + parse_attr(route, p_val); - for (;RTA_OK(rt_attribute, len);rt_attribute=RTA_NEXT(rt_attribute,len)) { - parse_attr(rt_attribute, p_val); - } p_val->set_state(true); p_val->set_str(); return true; } -void route_table_mgr::parse_attr(struct rtattr *rt_attribute, route_val *p_val) +static inline bool get_addr_from_nl_addr(struct nl_addr *addr, in_addr_t *p_addr) { - switch (rt_attribute->rta_type) { - case RTA_DST: - p_val->set_dst_addr(*(in_addr_t *)RTA_DATA(rt_attribute)); - break; - // next hop IPv4 address - case RTA_GATEWAY: - p_val->set_gw(*(in_addr_t *)RTA_DATA(rt_attribute)); - break; - // unique ID associated with the network interface - case RTA_OIF: - p_val->set_if_index(*(int *)RTA_DATA(rt_attribute)); - char if_name[IFNAMSIZ]; - if_indextoname(p_val->get_if_index(),if_name); - p_val->set_if_name(if_name); - break; - case RTA_SRC: - case RTA_PREFSRC: - p_val->set_src_addr(*(in_addr_t *)RTA_DATA(rt_attribute)); - break; - case RTA_TABLE: - p_val->set_table_id(*(uint32_t *)RTA_DATA(rt_attribute)); - break; - case RTA_METRICS: - { - struct rtattr *rta = (struct rtattr *)RTA_DATA(rt_attribute); - int len = RTA_PAYLOAD(rt_attribute); - uint16_t type; - while (RTA_OK(rta, len)) { - type = rta->rta_type; - switch (type) { - case RTAX_MTU: - p_val->set_mtu(*(uint32_t *)RTA_DATA(rta)); - break; - default: - rt_mgr_logdbg("got unexpected METRICS %d %x", - type, *(uint32_t *)RTA_DATA(rta)); - break; - } - rta = RTA_NEXT(rta, len); + if (addr && nl_addr_get_family(addr) == AF_INET) { + void *binary_addr = nl_addr_get_binary_addr(addr); + unsigned int addr_len = nl_addr_get_len(addr); + + if (binary_addr && addr_len == sizeof(in_addr_t)) { + memcpy(p_addr, binary_addr, sizeof(in_addr_t)); + return true; } - break; } - default: - rt_mgr_logdbg("got unexpected type %d %x", rt_attribute->rta_type, - *(uint32_t *)RTA_DATA(rt_attribute)); - break; + return false; +} + +void route_table_mgr::parse_attr(struct rtnl_route *route, route_val *p_val) +{ + struct nl_addr *addr; + + // Destination Address + addr = rtnl_route_get_dst(route); + in_addr_t dst_addr = 0; + if (get_addr_from_nl_addr(addr, &dst_addr) && dst_addr) { + p_val->set_dst_addr(dst_addr); + } + + // Gateway Address (Next Hop) + struct rtnl_nexthop *nh = rtnl_route_nexthop_n(route, 0); // Assuming the first nexthop + in_addr_t gw_addr = 0; + if (nh && get_addr_from_nl_addr(rtnl_route_nh_get_gateway(nh), &gw_addr) && gw_addr) { + p_val->set_gw(gw_addr); + } + + // Output Interface Index and Name + const int if_index = rtnl_route_nh_get_ifindex(nh); + if (if_index > 0) { + p_val->set_if_index(if_index); + + char if_name[IFNAMSIZ] = {0}; + if_indextoname(if_index, if_name); + p_val->set_if_name(if_name); + } + + // Source Address + addr = rtnl_route_get_pref_src(route); + in_addr_t pref_src_addr = 0; + if (get_addr_from_nl_addr(addr, &pref_src_addr) && pref_src_addr) { + p_val->set_src_addr(pref_src_addr); + } + + // Table ID + int table_id = rtnl_route_get_table(route); + p_val->set_table_id(table_id); + + // Metrics (e.g., MTU) + uint32_t mtu = 0; + int get_metric_result = rtnl_route_get_metric(route, RTAX_MTU, &mtu); + if (get_metric_result == 0) { + if (mtu > 0) { + p_val->set_mtu(mtu); + } } } diff --git a/src/vma/proto/route_table_mgr.h b/src/vma/proto/route_table_mgr.h index ea68bf768..2798498f6 100644 --- a/src/vma/proto/route_table_mgr.h +++ b/src/vma/proto/route_table_mgr.h @@ -70,7 +70,7 @@ class route_table_mgr : public netlink_socket_mgr, public cache_table virtual void notify_cb(event *ev); protected: - virtual bool parse_enrty(nlmsghdr *nl_header, route_val *p_val); + virtual bool parse_entry(struct nl_object *nl_obj, void *p_val_context); private: // in constructor creates route_entry for each net_dev, to receive events in case there are no other route_entrys @@ -80,7 +80,7 @@ class route_table_mgr : public netlink_socket_mgr, public cache_table // save current main rt table void update_tbl(); - void parse_attr(struct rtattr *rt_attribute, route_val *p_val); + void parse_attr(struct rtnl_route *route, route_val *p_val); void rt_mgr_update_source_ip(); diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index ea417654e..6c341cc23 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -94,74 +94,76 @@ void rule_table_mgr::update_tbl() } // Parse received rule entry into custom object (rule_val). -// Parameters: -// nl_header : object that contain rule entry. +// Parameters: +// nl_obj : object that contain rule entry. // p_val : custom object that contain parsed rule data. // return true if its not related to local or default table, false otherwise. -bool rule_table_mgr::parse_enrty(nlmsghdr *nl_header, rule_val *p_val) +bool rule_table_mgr::parse_entry(struct nl_object *nl_obj, void *p_val_context) { - int len; - struct rtmsg *rt_msg; - struct rtattr *rt_attribute; - - // get rule entry header - rt_msg = (struct rtmsg *) NLMSG_DATA(nl_header); + rule_val *p_val = static_cast(p_val_context); + // Cast the generic nl_object to a specific route or rule object + struct rtnl_rule *rule = reinterpret_cast(nl_obj); - // we are not concerned about the local and default rule table - if (rt_msg->rtm_family != AF_INET || rt_msg->rtm_table == RT_TABLE_LOCAL) + uint32_t table_id = rtnl_rule_get_table(rule); + if (rtnl_rule_get_family(rule) != AF_INET || table_id == RT_TABLE_LOCAL) { return false; + } - p_val->set_protocol(rt_msg->rtm_protocol); - p_val->set_scope(rt_msg->rtm_scope); - p_val->set_type(rt_msg->rtm_type); - p_val->set_tos(rt_msg->rtm_tos); - p_val->set_table_id(rt_msg->rtm_table); + p_val->set_tos(rtnl_rule_get_dsfield(rule)); + p_val->set_table_id(table_id); - len = RTM_PAYLOAD(nl_header); - rt_attribute = (struct rtattr *) RTM_RTA(rt_msg); + parse_attr(rule, p_val); - for (;RTA_OK(rt_attribute, len);rt_attribute=RTA_NEXT(rt_attribute,len)) { - parse_attr(rt_attribute, p_val); - } p_val->set_state(true); p_val->set_str(); return true; } // Parse received rule attribute for given rule. -// Parameters: -// rt_attribute : object that contain rule attribute. +// Parameters: +// rule : object that contain rule attribute. // p_val : custom object that contain parsed rule data. -void rule_table_mgr::parse_attr(struct rtattr *rt_attribute, rule_val *p_val) +void rule_table_mgr::parse_attr(struct rtnl_rule *rule, rule_val *p_val) { - switch (rt_attribute->rta_type) { - case FRA_PRIORITY: - p_val->set_priority(*(uint32_t *)RTA_DATA(rt_attribute)); - break; - case FRA_DST: - p_val->set_dst_addr(*(in_addr_t *)RTA_DATA(rt_attribute)); - break; - case FRA_SRC: - p_val->set_src_addr(*(in_addr_t *)RTA_DATA(rt_attribute)); - break; - case FRA_IFNAME: - p_val->set_iif_name((char *)RTA_DATA(rt_attribute)); - break; - case FRA_TABLE: - p_val->set_table_id(*(uint32_t *)RTA_DATA(rt_attribute)); - break; + // FRA_PRIORITY: Rule Priority + uint32_t priority = rtnl_rule_get_prio(rule); + if (priority) { + p_val->set_priority(priority); + } + + // FRA_DST: Destination Address + struct nl_addr *dst = rtnl_rule_get_dst(rule); + if (dst) { + p_val->set_dst_addr(*(in_addr_t *)nl_addr_get_binary_addr(dst)); + } + + // FRA_SRC: Source Address + struct nl_addr *src = rtnl_rule_get_src(rule); + if (src) { + p_val->set_src_addr(*(in_addr_t *)nl_addr_get_binary_addr(src)); + } + + // FRA_IFNAME: Input Interface Name + char *iif_name = rtnl_rule_get_iif(rule); + if (iif_name) { + p_val->set_iif_name(iif_name); + } + + // FRA_TABLE: Table ID + uint32_t table_id = rtnl_rule_get_table(rule); + if (table_id) { + p_val->set_table_id(table_id); + } + #if DEFINED_FRA_OIFNAME - case FRA_OIFNAME: - p_val->set_oif_name((char *)RTA_DATA(rt_attribute)); - break; -#endif - default: - rr_mgr_logdbg("got undetected rta_type %d %x", rt_attribute->rta_type, *(uint32_t *)RTA_DATA(rt_attribute)); - break; + // FRA_OIFNAME: Output Interface Name (if available) + char *oif_name = rtnl_rule_get_oif(rule); + if (oif_name) { + p_val->set_oif_name(oif_name); } +#endif } - // Create rule entry object for given destination key and fill it with matching rule value from rule table. // Parameters: // key : key object that contain information about destination. diff --git a/src/vma/proto/rule_table_mgr.h b/src/vma/proto/rule_table_mgr.h index 74d6be405..273675a4c 100644 --- a/src/vma/proto/rule_table_mgr.h +++ b/src/vma/proto/rule_table_mgr.h @@ -55,12 +55,12 @@ class rule_table_mgr : public netlink_socket_mgr, public cache_table_m bool rule_resolve(route_rule_table_key key, std::deque &table_id_list); protected: - virtual bool parse_enrty(nlmsghdr *nl_header, rule_val *p_val); + virtual bool parse_entry(struct nl_object *nl_obj, void *p_val_context); virtual void update_tbl(); private: - void parse_attr(struct rtattr *rt_attribute, rule_val *p_val); + void parse_attr(struct rtnl_rule *rule, rule_val *p_val); bool find_rule_val(route_rule_table_key key, std::deque* &p_val); bool is_matching_rule(route_rule_table_key rrk, rule_val* p_val); diff --git a/src/vma/proto/rule_val.cpp b/src/vma/proto/rule_val.cpp index 23309d22a..1be700a06 100644 --- a/src/vma/proto/rule_val.cpp +++ b/src/vma/proto/rule_val.cpp @@ -47,9 +47,6 @@ rule_val::rule_val(): cache_observer() { - m_protocol = 0; - m_scope = 0; - m_type = 0; m_dst_addr = 0; m_src_addr = 0; memset(m_oif_name, 0, IFNAMSIZ * sizeof(char)); diff --git a/src/vma/proto/rule_val.h b/src/vma/proto/rule_val.h index 7340c765e..58bdd71a3 100644 --- a/src/vma/proto/rule_val.h +++ b/src/vma/proto/rule_val.h @@ -53,9 +53,6 @@ class rule_val : public cache_observer inline void set_dst_addr(in_addr_t const &dst_addr) { m_dst_addr = dst_addr; }; inline void set_src_addr(in_addr_t const &src_addr) { m_src_addr = src_addr; }; - inline void set_protocol(unsigned char protocol) { m_protocol = protocol; }; - inline void set_scope(unsigned char scope) { m_scope = scope; }; - inline void set_type(unsigned char type) { m_type = type; }; inline void set_tos(unsigned char tos) { m_tos = tos; }; inline void set_table_id(uint32_t table_id) { m_table_id = table_id; }; inline void set_iif_name(char *iif_name) { memcpy(m_iif_name, iif_name, IFNAMSIZ); }; @@ -79,9 +76,6 @@ class rule_val : public cache_observer private: - unsigned char m_protocol; - unsigned char m_scope; - unsigned char m_type; unsigned char m_tos; union { From 4fdacf3e5ef74c7c760d29329bcf83559ef0c705 Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Wed, 29 Jan 2025 10:25:02 +0400 Subject: [PATCH 060/150] [CI] issue: 4277240 Update webrepo URL to GeoDNS We use webrepo URL in Release CI on both Prod and PDC sites. We'd like to unify URL we use for Webrepo to simplify the pipelines Issue: HPCINFRA-2761 Signed-off-by: Viacheslav Login --- .ci/dockerfiles/Dockerfile.rhel8.6.release | 2 +- .ci/pipeline/dr_weekly_matrix.yaml | 4 +- .ci/pipeline/release_jjb.yaml | 61 ---------------------- .ci/pipeline/release_matrix_job.yaml | 4 +- 4 files changed, 5 insertions(+), 66 deletions(-) diff --git a/.ci/dockerfiles/Dockerfile.rhel8.6.release b/.ci/dockerfiles/Dockerfile.rhel8.6.release index 1cd6db1a0..61e4411ba 100644 --- a/.ci/dockerfiles/Dockerfile.rhel8.6.release +++ b/.ci/dockerfiles/Dockerfile.rhel8.6.release @@ -1,6 +1,6 @@ ARG HARBOR_URL=nbu-harbor.gtm.nvidia.com FROM $HARBOR_URL/hpcx/x86_64/rhel8.6/core:latest -ARG WEBREPO_URL=webrepo.mtr.labs.mlnx +ARG WEBREPO_URL=webrepo.gtm.nvidia.com ARG _UID=6213 ARG _GID=101 ARG _LOGIN=swx-jenkins diff --git a/.ci/pipeline/dr_weekly_matrix.yaml b/.ci/pipeline/dr_weekly_matrix.yaml index f15b73903..2e1e57670 100644 --- a/.ci/pipeline/dr_weekly_matrix.yaml +++ b/.ci/pipeline/dr_weekly_matrix.yaml @@ -41,7 +41,7 @@ steps: shell: action module: groovy run: | - def job = Jenkins.instance.getItemByFullName('libvma/LibVMA-release-dr') + def job = Jenkins.instance.getItemByFullName('libvma/LibVMA-release') if (!job.isBuildable()) { echo "The job '${env.JOB}' is disabled. Enabling..." job.setDisabled(false) @@ -54,7 +54,7 @@ steps: run: | echo "Release tag we're building on: ${env.RELEASE_TAG}" if (env.RELEASE_TAG) { - def build = build job: 'libvma/LibVMA-release-dr', + def build = build job: 'libvma/LibVMA-release', parameters: [ string(name: 'release_tag', value: RELEASE_TAG), string(name: 'release_folder', value: "${release_folder}"), diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml index b0494d898..51f5220d6 100644 --- a/.ci/pipeline/release_jjb.yaml +++ b/.ci/pipeline/release_jjb.yaml @@ -12,66 +12,6 @@ keep-system-variables: true properties-content: | jjb_proj={jjb_proj} - WEBREPO_URL=webrepo.mtr.labs.mlnx - description: Do NOT edit this job through the Web GUI ! - concurrent: false - parameters: - - string: - name: "release_tag" - default: "" - description: "Tag to release" - - string: - name: sha1 - default: 'tags/$release_tag' - description: 'commit to use, defaults to the commit tag provided under release_tag' - - string: - name: "revision" - default: "1" - description: "Release revision" - - string: - name: "release_folder" - default: "{jjb_release_folder}" - description: "Folder to release packages into" - - bool: - name: "do_release" - default: true - description: "Release build packges into the release folder, set to false for debugging" - - string: - name: "notification_email" - default: "{jjb_release_email}" - description: "Email to send report to upon success/failure" - - string: - name: "conf_file" - default: ".ci/pipeline/release_matrix_job.yaml" - description: "job config file. Do not change it" - pipeline-scm: - scm: - - git: - url: "{jjb_git}" - credentials-id: 'swx-jenkins_ssh_key' - branches: ['$sha1'] - shallow-clone: true - depth: 2 - refspec: "+refs/pull/*:refs/remotes/origin/pr/*" - browser: githubweb - browser-url: "{jjb_git}" - script-path: ".ci/Jenkinsfile" -- job-template: - name: "{jjb_proj}-dr" - project-type: pipeline - folder: "{jjb_folder}" - disabled: true - properties: - - github: - url: "https://github.com/Mellanox/libvma" - - build-discarder: - days-to-keep: 50 - num-to-keep: 20 - - inject: - keep-system-variables: true - properties-content: | - jjb_proj={jjb_proj}-dr - WEBREPO_URL=l-pxe02_pune.nvidia.com description: Do NOT edit this job through the Web GUI ! concurrent: false parameters: @@ -126,4 +66,3 @@ jjb_release_email: '55ae26f6.NVIDIA.onmicrosoft.com@amer.teams.ms' jobs: - "{jjb_proj}" - - "{jjb_proj}-dr" diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml index e1fd6d365..4653aeb5c 100644 --- a/.ci/pipeline/release_matrix_job.yaml +++ b/.ci/pipeline/release_matrix_job.yaml @@ -26,9 +26,9 @@ runs_on_dockers: file: '.ci/dockerfiles/Dockerfile.rhel8.6.release', name: 'rhel8.6', uri: '$arch/$name/release', - build_args: '--no-cache --build-arg WEBREPO_URL=$WEBREPO_URL', + build_args: '--no-cache', arch: 'x86_64', - tag: '20241105' + tag: '20250128' } steps: From 25e051581f6b94bd2d456e4bf4761b79ad8a70e1 Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Mon, 3 Feb 2025 10:10:43 +0400 Subject: [PATCH 061/150] [CI] issue: 4283986 Move build steps to Blossom K8s We want to move all build steps and test CI steps that are not bound to specific hardware to Blossom K8s cluster. Blossom cluster is more stable, visibly managed and has 24/7 SRE/NOC support. Signed-off-by: Viacheslav Login --- .ci/matrix_job.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 915eb950c..d5f1b1e6b 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -8,9 +8,9 @@ registry_auth: swx-storage kubernetes: privileged: true - cloud: swx-k8s-spray + cloud: il-ipp-blossom-prod + namespace: swx-media nodeSelector: 'beta.kubernetes.io/os=linux' - limits: '{memory: 8Gi, cpu: 8000m}' requests: '{memory: 8Gi, cpu: 8000m}' From b5bcc03dc161be251a5aaae2ef21881fb67c5cb0 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Thu, 16 Jan 2025 17:44:29 +0200 Subject: [PATCH 062/150] issue: 4251780 Fix gtest/vma_poll tests Signed-off-by: Igor Ivanov --- tests/gtest/common/def.h | 6 ++++++ tests/gtest/vma/vma_poll.cc | 37 +++++++++++++++++++++++-------------- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/tests/gtest/common/def.h b/tests/gtest/common/def.h index efe80ef86..cdb11859c 100644 --- a/tests/gtest/common/def.h +++ b/tests/gtest/common/def.h @@ -102,6 +102,12 @@ #define EOK 0 /* no error */ #endif +#define CHECK_ERR_OK(rc) \ + EXPECT_EQ(0, (rc)); \ + if ((rc) < 0) { \ + ASSERT_EQ(EOK, errno); \ + } + #ifndef container_of /** * container_of - cast a member of a structure out to the containing structure diff --git a/tests/gtest/vma/vma_poll.cc b/tests/gtest/vma/vma_poll.cc index 8fb4441bd..1363692ae 100644 --- a/tests/gtest/vma/vma_poll.cc +++ b/tests/gtest/vma/vma_poll.cc @@ -81,7 +81,7 @@ TEST_F(vma_poll, ti_1) { ASSERT_LE(0, fd); rc = bind(fd, (struct sockaddr *)&client_addr, sizeof(client_addr)); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = connect(fd, (struct sockaddr *)&server_addr, sizeof(server_addr)); ASSERT_EQ(EINPROGRESS, errno); @@ -112,11 +112,10 @@ TEST_F(vma_poll, ti_1) { ASSERT_LE(0, fd); rc = bind(fd, (struct sockaddr *)&server_addr, sizeof(server_addr)); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = listen(fd, 5); - ASSERT_EQ(EOK, errno); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = vma_api->get_socket_rings_fds(fd, &_vma_ring_fd, 1); ASSERT_EQ(1, rc); @@ -126,6 +125,9 @@ TEST_F(vma_poll, ti_1) { rc = 0; while (rc == 0 && !child_fork_exit()) { rc = vma_api->socketxtreme_poll(_vma_ring_fd, &vma_comps, 1, 0); + if (rc == 0) { + continue; + } if (vma_comps.events & VMA_SOCKETXTREME_NEW_CONNECTION_ACCEPTED) { EXPECT_EQ(fd, (int)vma_comps.listen_fd); fd_peer = (int)vma_comps.user_data; @@ -166,7 +168,7 @@ TEST_F(vma_poll, ti_2) { ASSERT_LE(0, fd); rc = bind(fd, (struct sockaddr *)&client_addr, sizeof(client_addr)); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = connect(fd, (struct sockaddr *)&server_addr, sizeof(server_addr)); ASSERT_EQ(0, rc); @@ -193,11 +195,10 @@ TEST_F(vma_poll, ti_2) { ASSERT_LE(0, fd); rc = bind(fd, (struct sockaddr *)&server_addr, sizeof(server_addr)); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = listen(fd, 5); - ASSERT_EQ(EOK, errno); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = vma_api->get_socket_rings_fds(fd, &_vma_ring_fd, 1); ASSERT_EQ(1, rc); @@ -207,6 +208,9 @@ TEST_F(vma_poll, ti_2) { rc = 0; while (rc == 0 && !child_fork_exit()) { rc = vma_api->socketxtreme_poll(_vma_ring_fd, &vma_comps, 1, 0); + if (rc == 0) { + continue; + } if ((vma_comps.events & EPOLLERR) || (vma_comps.events & EPOLLHUP) || (vma_comps.events & EPOLLRDHUP)) { @@ -264,7 +268,7 @@ TEST_F(vma_poll, ti_3) { ASSERT_LE(0, fd); rc = bind(fd, (struct sockaddr *)&client_addr, sizeof(client_addr)); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = connect(fd, (struct sockaddr *)&server_addr, sizeof(server_addr)); ASSERT_EQ(0, rc); @@ -292,11 +296,10 @@ TEST_F(vma_poll, ti_3) { ASSERT_LE(0, fd); rc = bind(fd, (struct sockaddr *)&server_addr, sizeof(server_addr)); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = listen(fd, 5); - ASSERT_EQ(EOK, errno); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = vma_api->get_socket_rings_fds(fd, &_vma_ring_fd, 1); ASSERT_EQ(1, rc); @@ -306,6 +309,9 @@ TEST_F(vma_poll, ti_3) { rc = 0; while (rc == 0 && !child_fork_exit()) { rc = vma_api->socketxtreme_poll(_vma_ring_fd, &vma_comps, 1, 0); + if (rc == 0) { + continue; + } if ((vma_comps.events & EPOLLERR) || (vma_comps.events & EPOLLHUP) || (vma_comps.events & EPOLLRDHUP)) { @@ -367,7 +373,7 @@ TEST_F(vma_poll, ti_4) { ASSERT_LE(0, fd); rc = bind(fd, (struct sockaddr *)&client_addr, sizeof(client_addr)); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = sendto(fd, (void *)msg, sizeof(msg), 0, (struct sockaddr *)&server_addr, sizeof(server_addr)); @@ -388,7 +394,7 @@ TEST_F(vma_poll, ti_4) { ASSERT_LE(0, fd); rc = bind(fd, (struct sockaddr *)&server_addr, sizeof(server_addr)); - ASSERT_EQ(0, rc); + CHECK_ERR_OK(rc); rc = vma_api->get_socket_rings_fds(fd, &_vma_ring_fd, 1); ASSERT_EQ(1, rc); @@ -398,6 +404,9 @@ TEST_F(vma_poll, ti_4) { rc = 0; while (rc == 0 && !child_fork_exit()) { rc = vma_api->socketxtreme_poll(_vma_ring_fd, &vma_comps, 1, 0); + if (rc == 0) { + continue; + } if ((vma_comps.events & EPOLLERR) || (vma_comps.events & EPOLLHUP) || (vma_comps.events & EPOLLRDHUP)) { From 369db146bf8b95764977860e24527578049eafff Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Mon, 17 May 2021 17:34:41 +0300 Subject: [PATCH 063/150] issue: 4251780 Replace ALLOC_TYPE_EXTERNAL with ALLOC_TYPE_REGISTER_MEMORY New name specifies expected operation clearer. Signed-off-by: Igor Ivanov --- src/vma/dev/allocator.cpp | 7 ++++--- src/vma/util/sys_vars.h | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index 37ce653aa..ff8f98668 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -60,8 +60,9 @@ vma_allocator::~vma_allocator() return; } switch (m_mem_alloc_type) { - case ALLOC_TYPE_EXTERNAL: + case ALLOC_TYPE_REGISTER_MEMORY: // not allocated by us + break; case ALLOC_TYPE_CONTIG: // freed as part of deregister_memory break; @@ -94,10 +95,10 @@ void* vma_allocator::alloc_and_reg_mr(size_t size, ib_ctx_handler *p_ib_ctx_h, v uint64_t access = VMA_IBV_ACCESS_LOCAL_WRITE; if (ptr) { - m_mem_alloc_type = ALLOC_TYPE_EXTERNAL; + m_mem_alloc_type = ALLOC_TYPE_REGISTER_MEMORY; } switch (m_mem_alloc_type) { - case ALLOC_TYPE_EXTERNAL: + case ALLOC_TYPE_REGISTER_MEMORY: m_data_block = ptr; register_memory(size, p_ib_ctx_h, access); break; diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 6eae5d8e4..bd7b516b8 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -67,7 +67,7 @@ typedef enum { ALLOC_TYPE_CONTIG, ALLOC_TYPE_HUGEPAGES, ALLOC_TYPE_LAST_ALLOWED_TO_USE, - ALLOC_TYPE_EXTERNAL, /* not allowed as a global parameter */ + ALLOC_TYPE_REGISTER_MEMORY /* not allowed as a global parameter */ } alloc_mode_t; typedef enum { From 223281dbe59277a959caf34c1bc78212aeb2a27a Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Mon, 17 May 2021 19:13:03 +0300 Subject: [PATCH 064/150] issue: 4251780 Add ALLOC_TYPE_EXTERNAL allocator type This type can be used when alloc()/free() are passed by user. This allocator type suppress default type and type configured by environment variable. Changed constuctors of vma_allocator, buffer_pool. Signed-off-by: Igor Ivanov --- src/vma/dev/allocator.cpp | 35 +++++++++++++++++++++++++++++++++++ src/vma/dev/allocator.h | 6 ++++++ src/vma/dev/buffer_pool.cpp | 9 +++++++-- src/vma/dev/buffer_pool.h | 6 +++++- src/vma/util/sys_vars.h | 1 + 5 files changed, 54 insertions(+), 3 deletions(-) diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index ff8f98668..560109929 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -45,6 +45,26 @@ vma_allocator::vma_allocator() m_length = 0; m_data_block = NULL; m_mem_alloc_type = safe_mce_sys().mem_alloc_type; + m_memalloc = NULL; + m_memfree = NULL; + + __log_info_dbg("Done"); +} + +vma_allocator::vma_allocator(alloc_t alloc_func, free_t free_func) +{ + __log_info_dbg(""); + + m_shmid = -1; + m_length = 0; + m_data_block = NULL; + m_mem_alloc_type = safe_mce_sys().mem_alloc_type; + m_memalloc = alloc_func; + m_memfree = free_func; + if (m_memalloc && m_memfree) { + m_mem_alloc_type = ALLOC_TYPE_EXTERNAL; + __log_info_dbg("allocator uses external functions to allocate and free memory"); + } __log_info_dbg("Done"); } @@ -63,6 +83,9 @@ vma_allocator::~vma_allocator() case ALLOC_TYPE_REGISTER_MEMORY: // not allocated by us break; + case ALLOC_TYPE_EXTERNAL: + m_memfree(m_data_block); + break; case ALLOC_TYPE_CONTIG: // freed as part of deregister_memory break; @@ -102,6 +125,18 @@ void* vma_allocator::alloc_and_reg_mr(size_t size, ib_ctx_handler *p_ib_ctx_h, v m_data_block = ptr; register_memory(size, p_ib_ctx_h, access); break; + case ALLOC_TYPE_EXTERNAL: + ptr = m_memalloc(size); + if (NULL == ptr) { + __log_info_dbg("Failed allocating using external functions, " + "falling back to another memory allocation method"); + } else { + m_data_block = ptr; + m_length = size; + register_memory(m_length, p_ib_ctx_h, access); + break; + } + // fallthrough case ALLOC_TYPE_HUGEPAGES: if (!hugetlb_alloc(size)) { __log_info_dbg("Failed allocating huge pages, " diff --git a/src/vma/dev/allocator.h b/src/vma/dev/allocator.h index c20054f6c..fdc5ae580 100644 --- a/src/vma/dev/allocator.h +++ b/src/vma/dev/allocator.h @@ -42,8 +42,12 @@ class ib_ctx_handler; typedef std::unordered_map lkey_map_ib_ctx_map_t; class vma_allocator { +public: + typedef void* (*alloc_t)(size_t); + typedef void (*free_t)(void*); public: vma_allocator(); + vma_allocator(alloc_t alloc_func, free_t free_func); ~vma_allocator(); void* alloc_and_reg_mr(size_t size, ib_ctx_handler *p_ib_ctx_h, void *ptr = NULL); uint32_t find_lkey_by_ib_ctx(ib_ctx_handler *p_ib_ctx_h) const; @@ -59,6 +63,8 @@ class vma_allocator { size_t m_length; void *m_data_block; alloc_mode_t m_mem_alloc_type; + alloc_t m_memalloc; + free_t m_memfree; }; #endif /* SRC_VMA_DEV_ALLOCATOR_H_ */ diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index b832fb2c5..a24ce20b9 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -75,11 +75,16 @@ void buffer_pool::free_tx_lwip_pbuf_custom(struct pbuf *p_buff) g_buffer_pool_tx->put_buffers_thread_safe((mem_buf_desc_t *)p_buff); } -buffer_pool::buffer_pool(size_t buffer_count, size_t buf_size, pbuf_free_custom_fn custom_free_function) : +buffer_pool::buffer_pool(size_t buffer_count, + size_t buf_size, + pbuf_free_custom_fn custom_free_function, + vma_allocator::alloc_t alloc_func, + vma_allocator::free_t free_func) : m_lock_spin("buffer_pool"), m_n_buffers(0), m_n_buffers_created(buffer_count), - m_p_head(NULL) + m_p_head(NULL), + m_allocator(alloc_func, free_func) { size_t sz_aligned_element = 0; uint8_t *ptr_buff, *ptr_desc; diff --git a/src/vma/dev/buffer_pool.h b/src/vma/dev/buffer_pool.h index 42d6581bc..990d0486f 100644 --- a/src/vma/dev/buffer_pool.h +++ b/src/vma/dev/buffer_pool.h @@ -52,7 +52,11 @@ inline static void free_lwip_pbuf(struct pbuf_custom *pbuf_custom) class buffer_pool { public: - buffer_pool(size_t buffer_count, size_t size, pbuf_free_custom_fn custom_free_function); + buffer_pool(size_t buffer_count, + size_t size, + pbuf_free_custom_fn custom_free_function, + vma_allocator::alloc_t alloc_func = NULL, + vma_allocator::free_t free_func = NULL); ~buffer_pool(); void register_memory(ib_ctx_handler *p_ib_ctx_h); diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index bd7b516b8..e8361b6c4 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -66,6 +66,7 @@ typedef enum { ALLOC_TYPE_ANON = 0, ALLOC_TYPE_CONTIG, ALLOC_TYPE_HUGEPAGES, + ALLOC_TYPE_EXTERNAL, ALLOC_TYPE_LAST_ALLOWED_TO_USE, ALLOC_TYPE_REGISTER_MEMORY /* not allowed as a global parameter */ } alloc_mode_t; From d74cc83297a9b7b92bff99c1c8c4dd00bc84c0d6 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Fri, 17 Jan 2025 12:15:23 +0200 Subject: [PATCH 065/150] issue: 4251780 Improve accessing extra api interfaces Signed-off-by: Igor Ivanov --- src/vma/sock/sock-redirect.cpp | 60 +++++++++++++++++++--------------- src/vma/vma_extra.h | 7 +++- 2 files changed, 40 insertions(+), 27 deletions(-) diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index d62202f54..5f52779e6 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -1072,33 +1072,41 @@ int getsockopt(int __fd, int __level, int __optname, srdr_logdbg_entry("fd=%d, level=%d, optname=%d", __fd, __level, __optname); if (__fd == -1 && __level == SOL_SOCKET && __optname == SO_VMA_GET_API && - __optlen && *__optlen >= sizeof(struct vma_api_t*)) { - DO_GLOBAL_CTORS(); - bool enable_socketxtreme = safe_mce_sys().enable_socketxtreme; + __optlen && *__optlen >= sizeof(struct vma_api_t *)) { + static struct vma_api_t *vma_api = NULL; + srdr_logdbg("User request for VMA Extra API pointers"); - struct vma_api_t *vma_api = new struct vma_api_t(); - - vma_api->vma_extra_supported_mask = 0; - SET_EXTRA_API(register_recv_callback, vma_register_recv_callback, VMA_EXTRA_API_REGISTER_RECV_CALLBACK); - SET_EXTRA_API(recvfrom_zcopy, vma_recvfrom_zcopy, VMA_EXTRA_API_RECVFROM_ZCOPY); - SET_EXTRA_API(free_packets, vma_free_packets, VMA_EXTRA_API_FREE_PACKETS); - SET_EXTRA_API(add_conf_rule, vma_add_conf_rule, VMA_EXTRA_API_ADD_CONF_RULE); - SET_EXTRA_API(thread_offload, vma_thread_offload, VMA_EXTRA_API_THREAD_OFFLOAD); - SET_EXTRA_API(get_socket_rings_num, vma_get_socket_rings_num, VMA_EXTRA_API_GET_SOCKET_RINGS_NUM); - SET_EXTRA_API(get_socket_rings_fds, vma_get_socket_rings_fds, VMA_EXTRA_API_GET_SOCKET_RINGS_FDS); - SET_EXTRA_API(get_socket_tx_ring_fd, vma_get_socket_tx_ring_fd, VMA_EXTRA_API_GET_SOCKET_TX_RING_FD); - SET_EXTRA_API(vma_add_ring_profile, vma_add_ring_profile, VMA_EXTRA_API_ADD_RING_PROFILE); - SET_EXTRA_API(get_socket_network_header, vma_get_socket_netowrk_header, VMA_EXTRA_API_GET_SOCKET_NETWORK_HEADER); - SET_EXTRA_API(get_ring_direct_descriptors, vma_get_ring_direct_descriptors, VMA_EXTRA_API_GET_RING_DIRECT_DESCRIPTORS); - SET_EXTRA_API(register_memory_on_ring, vma_reg_mr_on_ring, VMA_EXTRA_API_REGISTER_MEMORY_ON_RING); - SET_EXTRA_API(deregister_memory_on_ring, vma_dereg_mr_on_ring, VMA_EXTRA_API_DEREGISTER_MEMORY_ON_RING); - SET_EXTRA_API(socketxtreme_free_vma_packets, enable_socketxtreme ? vma_socketxtreme_free_vma_packets : dummy_vma_socketxtreme_free_vma_packets, VMA_EXTRA_API_SOCKETXTREME_FREE_VMA_PACKETS); - SET_EXTRA_API(socketxtreme_poll, enable_socketxtreme ? vma_socketxtreme_poll : dummy_vma_socketxtreme_poll, VMA_EXTRA_API_SOCKETXTREME_POLL); - SET_EXTRA_API(socketxtreme_ref_vma_buff, enable_socketxtreme ? vma_socketxtreme_ref_vma_buff : dummy_vma_socketxtreme_ref_vma_buff, VMA_EXTRA_API_SOCKETXTREME_REF_VMA_BUFF); - SET_EXTRA_API(socketxtreme_free_vma_buff, enable_socketxtreme ? vma_socketxtreme_free_vma_buff : dummy_vma_socketxtreme_free_vma_buff, VMA_EXTRA_API_SOCKETXTREME_FREE_VMA_BUFF); - SET_EXTRA_API(dump_fd_stats, vma_dump_fd_stats, VMA_EXTRA_API_DUMP_FD_STATS); - SET_EXTRA_API(vma_modify_ring, vma_modify_ring, VMA_EXTRA_API_MODIFY_RING); - *((vma_api_t**)__optval) = vma_api; + + if (NULL == vma_api) { + bool enable_socketxtreme = safe_mce_sys().enable_socketxtreme; + + vma_api = new struct vma_api_t(); + + memset(vma_api, 0, sizeof(struct vma_api_t)); + vma_api->vma_extra_supported_mask = 0; + SET_EXTRA_API(register_recv_callback, vma_register_recv_callback, VMA_EXTRA_API_REGISTER_RECV_CALLBACK); + SET_EXTRA_API(recvfrom_zcopy, vma_recvfrom_zcopy, VMA_EXTRA_API_RECVFROM_ZCOPY); + SET_EXTRA_API(free_packets, vma_free_packets, VMA_EXTRA_API_FREE_PACKETS); + SET_EXTRA_API(add_conf_rule, vma_add_conf_rule, VMA_EXTRA_API_ADD_CONF_RULE); + SET_EXTRA_API(thread_offload, vma_thread_offload, VMA_EXTRA_API_THREAD_OFFLOAD); + SET_EXTRA_API(get_socket_rings_num, vma_get_socket_rings_num, VMA_EXTRA_API_GET_SOCKET_RINGS_NUM); + SET_EXTRA_API(get_socket_rings_fds, vma_get_socket_rings_fds, VMA_EXTRA_API_GET_SOCKET_RINGS_FDS); + SET_EXTRA_API(get_socket_tx_ring_fd, vma_get_socket_tx_ring_fd, VMA_EXTRA_API_GET_SOCKET_TX_RING_FD); + SET_EXTRA_API(vma_add_ring_profile, vma_add_ring_profile, VMA_EXTRA_API_ADD_RING_PROFILE); + SET_EXTRA_API(get_socket_network_header, vma_get_socket_netowrk_header, VMA_EXTRA_API_GET_SOCKET_NETWORK_HEADER); + SET_EXTRA_API(get_ring_direct_descriptors, vma_get_ring_direct_descriptors, VMA_EXTRA_API_GET_RING_DIRECT_DESCRIPTORS); + SET_EXTRA_API(register_memory_on_ring, vma_reg_mr_on_ring, VMA_EXTRA_API_REGISTER_MEMORY_ON_RING); + SET_EXTRA_API(deregister_memory_on_ring, vma_dereg_mr_on_ring, VMA_EXTRA_API_DEREGISTER_MEMORY_ON_RING); + SET_EXTRA_API(socketxtreme_free_vma_packets, enable_socketxtreme ? vma_socketxtreme_free_vma_packets : dummy_vma_socketxtreme_free_vma_packets, VMA_EXTRA_API_SOCKETXTREME_FREE_VMA_PACKETS); + SET_EXTRA_API(socketxtreme_poll, enable_socketxtreme ? vma_socketxtreme_poll : dummy_vma_socketxtreme_poll, VMA_EXTRA_API_SOCKETXTREME_POLL); + SET_EXTRA_API(socketxtreme_ref_vma_buff, enable_socketxtreme ? vma_socketxtreme_ref_vma_buff : dummy_vma_socketxtreme_ref_vma_buff, VMA_EXTRA_API_SOCKETXTREME_REF_VMA_BUFF); + SET_EXTRA_API(socketxtreme_free_vma_buff, enable_socketxtreme ? vma_socketxtreme_free_vma_buff : dummy_vma_socketxtreme_free_vma_buff, VMA_EXTRA_API_SOCKETXTREME_FREE_VMA_BUFF); + SET_EXTRA_API(dump_fd_stats, vma_dump_fd_stats, VMA_EXTRA_API_DUMP_FD_STATS); + SET_EXTRA_API(vma_modify_ring, vma_modify_ring, VMA_EXTRA_API_MODIFY_RING); + } + + *((vma_api_t **)__optval) = vma_api; + *__optlen = sizeof(struct vma_api_t *); return 0; } diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index dbbdccc7e..861593be8 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -712,6 +712,7 @@ struct __attribute__ ((packed)) vma_api_t { /** * Used to identify which methods were initialized by VMA as part of vma_get_api(). * The value content is based on vma_extra_api_mask enum. + * Order of fields in this structure should not be changed to keep abi compatibility. */ uint64_t vma_extra_supported_mask; @@ -719,8 +720,12 @@ struct __attribute__ ((packed)) vma_api_t { /** * Retrieve VMA extended API. + * This function can be called as an alternative to getsockopt() call + * when library is preloaded using LD_PRELOAD + * getsockopt() call should be used in case application loads library + * using dlopen()/dlsym(). * - * @return Pointer to the VMA Extended Socket API, of NULL if VMA not found. + * @return Pointer to the VMA Extended Socket API, of NULL if VMA not found. */ static inline struct vma_api_t* vma_get_api() { From f1819c5e66f80ac619eda625daf9b3363db8cfc1 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Fri, 17 Jan 2025 12:56:54 +0200 Subject: [PATCH 066/150] issue: 4251780 Add ioctl() extra api This function allows to communicate with library using extendable protocol based on struct cmshdr. Ancillary data is a sequence of cmsghdr structures with appended data. The sequence of cmsghdr structures should never be accessed directly. Instead, use only the following macros: CMSG_ALIGN, CMSG_SPACE, CMSG_DATA, CMSG_LEN. Added ioctl command message as CMSG_VMA_IOCTL_USER_ALLOC with format 1. uint8_t - control flags 2. uintptr_t - pointer to memory allocation function 3. uintptr_t - pointer to memory free function control flags manage usage of memory functions for global rx, tx memory pools. It allows an user to get full control on requested memory. Important note: - User should deallocate memory after unloading library. - CMSG_VMA_IOCTL_USER_ALLOC must be called before the library initialization that is done during first call of following functions as socket(), epoll_create(), epoll_create1(), pipe(). Signed-off-by: Igor Ivanov --- src/vma/dev/allocator.cpp | 5 ++-- src/vma/dev/allocator.h | 3 -- src/vma/dev/buffer_pool.cpp | 4 +-- src/vma/dev/buffer_pool.h | 4 +-- src/vma/main.cpp | 14 ++++++--- src/vma/sock/sock-redirect.cpp | 54 +++++++++++++++++++++++++++++++--- src/vma/util/sys_vars.h | 7 +++++ src/vma/vma_extra.h | 49 ++++++++++++++++++++++++++++++ 8 files changed, 123 insertions(+), 17 deletions(-) diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index 560109929..e92698442 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -128,8 +128,9 @@ void* vma_allocator::alloc_and_reg_mr(size_t size, ib_ctx_handler *p_ib_ctx_h, v case ALLOC_TYPE_EXTERNAL: ptr = m_memalloc(size); if (NULL == ptr) { - __log_info_dbg("Failed allocating using external functions, " - "falling back to another memory allocation method"); + __log_info_warn("Failed allocating using external functions, " + "falling back to another memory allocation method" + "(errno=%d %m)", errno); } else { m_data_block = ptr; m_length = size; diff --git a/src/vma/dev/allocator.h b/src/vma/dev/allocator.h index fdc5ae580..ec1ac13a4 100644 --- a/src/vma/dev/allocator.h +++ b/src/vma/dev/allocator.h @@ -42,9 +42,6 @@ class ib_ctx_handler; typedef std::unordered_map lkey_map_ib_ctx_map_t; class vma_allocator { -public: - typedef void* (*alloc_t)(size_t); - typedef void (*free_t)(void*); public: vma_allocator(); vma_allocator(alloc_t alloc_func, free_t free_func); diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index a24ce20b9..80dd408b5 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -78,8 +78,8 @@ void buffer_pool::free_tx_lwip_pbuf_custom(struct pbuf *p_buff) buffer_pool::buffer_pool(size_t buffer_count, size_t buf_size, pbuf_free_custom_fn custom_free_function, - vma_allocator::alloc_t alloc_func, - vma_allocator::free_t free_func) : + alloc_t alloc_func, + free_t free_func) : m_lock_spin("buffer_pool"), m_n_buffers(0), m_n_buffers_created(buffer_count), diff --git a/src/vma/dev/buffer_pool.h b/src/vma/dev/buffer_pool.h index 990d0486f..89b9a9a1b 100644 --- a/src/vma/dev/buffer_pool.h +++ b/src/vma/dev/buffer_pool.h @@ -55,8 +55,8 @@ class buffer_pool buffer_pool(size_t buffer_count, size_t size, pbuf_free_custom_fn custom_free_function, - vma_allocator::alloc_t alloc_func = NULL, - vma_allocator::free_t free_func = NULL); + alloc_t alloc_func = NULL, + free_t free_func = NULL); ~buffer_pool(); void register_memory(ib_ctx_handler *p_ib_ctx_h); diff --git a/src/vma/main.cpp b/src/vma/main.cpp index 85376774a..be09be950 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -704,10 +704,12 @@ static void do_global_ctors_helper() NEW_CTOR(g_buffer_pool_rx, buffer_pool(safe_mce_sys().rx_num_bufs, RX_BUF_SIZE(g_p_net_device_table_mgr->get_max_mtu()), - buffer_pool::free_rx_lwip_pbuf_custom)); + buffer_pool::free_rx_lwip_pbuf_custom, + (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_RX ? safe_mce_sys().m_ioctl.user_alloc.memalloc : NULL), + (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_RX ? safe_mce_sys().m_ioctl.user_alloc.memfree : NULL))); g_buffer_pool_rx->set_RX_TX_for_stats(true); - #ifdef DEFINED_TSO +#ifdef DEFINED_TSO safe_mce_sys().tx_buf_size = MIN((int)safe_mce_sys().tx_buf_size, (int)0xFF00); if (safe_mce_sys().tx_buf_size <= get_lwip_tcp_mss(g_p_net_device_table_mgr->get_max_mtu(), safe_mce_sys().lwip_mss)) { safe_mce_sys().tx_buf_size = 0; @@ -716,11 +718,15 @@ static void do_global_ctors_helper() TX_BUF_SIZE(safe_mce_sys().tx_buf_size ? safe_mce_sys().tx_buf_size : get_lwip_tcp_mss(g_p_net_device_table_mgr->get_max_mtu(), safe_mce_sys().lwip_mss)), - buffer_pool::free_tx_lwip_pbuf_custom)); + buffer_pool::free_tx_lwip_pbuf_custom, + (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_TX ? safe_mce_sys().m_ioctl.user_alloc.memalloc : NULL), + (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_TX ? safe_mce_sys().m_ioctl.user_alloc.memfree : NULL))); #else NEW_CTOR(g_buffer_pool_tx, buffer_pool(safe_mce_sys().tx_num_bufs, TX_BUF_SIZE(get_lwip_tcp_mss(g_p_net_device_table_mgr->get_max_mtu(), safe_mce_sys().lwip_mss)), - buffer_pool::free_tx_lwip_pbuf_custom)); + buffer_pool::free_tx_lwip_pbuf_custom, + (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_TX ? safe_mce_sys().m_ioctl.user_alloc.memalloc : NULL), + (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_TX ? safe_mce_sys().m_ioctl.user_alloc.memfree : NULL))); #endif /* DEFINED_TSO */ g_buffer_pool_tx->set_RX_TX_for_stats(false); diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 5f52779e6..1c2d72c5c 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -128,9 +128,9 @@ void assign_dlsym(T &ptr, const char *name) { } \ } -#define SET_EXTRA_API(dst, func, mask) do { \ - vma_api->dst = func; \ - vma_api->vma_extra_supported_mask |= mask; \ +#define SET_EXTRA_API(__dst, __func, __mask) do { \ + vma_api->__dst = __func; \ + vma_api->vma_extra_supported_mask |= __mask; \ } while(0); #define VERIFY_PASSTROUGH_CHANGED(__ret, __func_and_params__) do { \ @@ -146,7 +146,6 @@ void get_orig_funcs() // Save pointer to original functions GET_ORIG_FUNC(socket); GET_ORIG_FUNC(close); - GET_ORIG_FUNC(close); GET_ORIG_FUNC(__res_iclose); GET_ORIG_FUNC(shutdown); GET_ORIG_FUNC(listen); @@ -762,6 +761,52 @@ int vma_dereg_mr_on_ring(int __fd, void *addr, size_t length) } } +static inline struct cmsghdr * __cmsg_nxthdr(void *__ctl, size_t __size, struct cmsghdr *__cmsg) +{ + struct cmsghdr * __ptr; + + __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); + if ((unsigned long)((char*)(__ptr + 1) - (char *) __ctl) > __size) { + return NULL; + } + + return __ptr; +} + +extern "C" +int vma_ioctl(void *cmsg_hdr, size_t cmsg_len) +{ + struct cmsghdr *cmsg = (struct cmsghdr *)cmsg_hdr; + + for (; cmsg; cmsg = __cmsg_nxthdr((struct cmsghdr *)cmsg_hdr, cmsg_len, cmsg)) { + if (cmsg->cmsg_type == CMSG_VMA_IOCTL_USER_ALLOC) { + + if (!g_init_global_ctors_done && + (cmsg->cmsg_len - CMSG_LEN(0)) == + (sizeof(uint8_t) + sizeof(alloc_t) + sizeof(free_t))) { + uint8_t *ptr = (uint8_t *)CMSG_DATA(cmsg); + + memcpy(&safe_mce_sys().m_ioctl.user_alloc.flags, ptr, sizeof(uint8_t)); + ptr += sizeof(uint8_t); + memcpy(&safe_mce_sys().m_ioctl.user_alloc.memalloc, ptr, sizeof(alloc_t)); + ptr += sizeof(alloc_t); + memcpy(&safe_mce_sys().m_ioctl.user_alloc.memfree, ptr, sizeof(free_t)); + if (!(safe_mce_sys().m_ioctl.user_alloc.memalloc && safe_mce_sys().m_ioctl.user_alloc.memfree) || + !(safe_mce_sys().m_ioctl.user_alloc.flags & (VMA_IOCTL_USER_ALLOC_FLAG_TX | VMA_IOCTL_USER_ALLOC_FLAG_RX))) { + srdr_logdbg("Invalid data for CMSG_VMA_IOCTL_USER_ALLOC\n"); + errno = EINVAL; + return -1; + } + } else { + errno = EINVAL; + return -1; + } + } + } + + return 0; +} + //----------------------------------------------------------------------------- // replacement functions //----------------------------------------------------------------------------- @@ -1103,6 +1148,7 @@ int getsockopt(int __fd, int __level, int __optname, SET_EXTRA_API(socketxtreme_free_vma_buff, enable_socketxtreme ? vma_socketxtreme_free_vma_buff : dummy_vma_socketxtreme_free_vma_buff, VMA_EXTRA_API_SOCKETXTREME_FREE_VMA_BUFF); SET_EXTRA_API(dump_fd_stats, vma_dump_fd_stats, VMA_EXTRA_API_DUMP_FD_STATS); SET_EXTRA_API(vma_modify_ring, vma_modify_ring, VMA_EXTRA_API_MODIFY_RING); + SET_EXTRA_API(ioctl, vma_ioctl, VMA_EXTRA_API_IOCTL); } *((vma_api_t **)__optval) = vma_api; diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index e8361b6c4..d7b57d359 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -71,6 +71,9 @@ typedef enum { ALLOC_TYPE_REGISTER_MEMORY /* not allowed as a global parameter */ } alloc_mode_t; +typedef void* (*alloc_t)(size_t); +typedef void (*free_t)(void*); + typedef enum { TS_CONVERSION_MODE_DISABLE = 0, // TS_CONVERSION_MODE_DISABLE must be the first enum TS_CONVERSION_MODE_RAW, @@ -417,6 +420,10 @@ struct mce_sys_var { bool rx_poll_on_tx_tcp; hyper_t hypervisor; bool trigger_dummy_send_getsockname; + /* This field should be used to store and use data for VMA_EXTRA_API_IOCTL */ + struct { + vma_cmsg_ioctl_user_alloc_t user_alloc; + } m_ioctl; private: void print_vma_load_failure_msg(); int list_to_cpuset(char *cpulist, cpu_set_t *cpu_set); diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index 861593be8..899507358 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -54,6 +54,38 @@ #define SO_VMA_FLOW_TAG 2820 #define SO_VMA_SHUTDOWN_RX 2821 +enum { + /* cmsg_level is SOL_SOCKET as protocol independent option + * cmsg_data has data in vma_cmsg_ioctl_user_alloc_t format + */ + CMSG_VMA_IOCTL_USER_ALLOC = 2900 +}; + +/** + * @brief This structure as an argument for vma_ioctl() call with + * @ref CMSG_VMA_IOCTL_USER_ALLOC to use user provided functions for + * internal pool allocation. + * + * @note CMSG_VMA_IOCTL_USER_ALLOC must be called before the library + * initialization that is done during first call of following functions + * as socket(), epoll_create(), epoll_create1(), pipe(). + * + * @param flags - set a internal memory pool to apply. + * @param memalloc - ponter to the function to allocate memory. + * @param memfree - ponter to the function to free previously allocated memory. + */ + +enum { + VMA_IOCTL_USER_ALLOC_FLAG_TX = (1 << 0), + VMA_IOCTL_USER_ALLOC_FLAG_RX = (1 << 1) +}; + +struct __attribute__ ((packed)) vma_cmsg_ioctl_user_alloc_t { + uint8_t flags; + void* (*memalloc)(size_t); + void (*memfree)(void *); +}; + /* * Flags for Dummy send API */ @@ -367,6 +399,7 @@ typedef enum { VMA_EXTRA_API_REGISTER_MEMORY_ON_RING = (1 << 17), VMA_EXTRA_API_DEREGISTER_MEMORY_ON_RING = (1 << 18), VMA_EXTRA_API_MODIFY_RING = (1 << 20), + VMA_EXTRA_API_IOCTL = (1 << 21), } vma_extra_api_mask; /** @@ -716,6 +749,22 @@ struct __attribute__ ((packed)) vma_api_t { */ uint64_t vma_extra_supported_mask; + /** + * This function allows to communicate with library using extendable protocol + * based on struct cmshdr. + * + * Ancillary data is a sequence of cmsghdr structures with appended data. + * The sequence of cmsghdr structures should never be accessed directly. + * Instead, use only the following macros: CMSG_ALIGN, CMSG_SPACE, CMSG_DATA, + * CMSG_LEN. + * + * @param cmsg_hdr - point to control message + * @param cmsg_len - the byte count of the ancillary data, + * which contains the size of the structure header. + * + * @return -1 on failure and 0 on success + */ + int (*ioctl)(void *cmsg_hdr, size_t cmsg_len); }; /** From 8924173c64323d17965aea23aba7c0feaaf070c2 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Fri, 17 Jan 2025 13:00:20 +0200 Subject: [PATCH 067/150] issue: 4251780 Add gtests for ioctl() extra api Signed-off-by: Igor Ivanov --- tests/gtest/Makefile.am | 1 + tests/gtest/vma/vma_ioctl.cc | 214 +++++++++++++++++++++++++++++++++++ 2 files changed, 215 insertions(+) create mode 100644 tests/gtest/vma/vma_ioctl.cc diff --git a/tests/gtest/Makefile.am b/tests/gtest/Makefile.am index 1f5f8080e..f68a0494e 100644 --- a/tests/gtest/Makefile.am +++ b/tests/gtest/Makefile.am @@ -117,6 +117,7 @@ gtest_SOURCES = \ vma/vma_poll.cc \ vma/vma_sockopt.cc \ vma/vma_recvfrom_zcopy.cc \ + vma/vma_ioctl.cc \ \ vmad/vmad_base.cc \ vmad/vmad_bitmap.cc \ diff --git a/tests/gtest/vma/vma_ioctl.cc b/tests/gtest/vma/vma_ioctl.cc new file mode 100644 index 000000000..3e91ce5a6 --- /dev/null +++ b/tests/gtest/vma/vma_ioctl.cc @@ -0,0 +1,214 @@ +/* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + * Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * + * This software is available to you under a choice of one of two + * licenses. You may choose to be licensed under the terms of the GNU + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +#include "common/def.h" +#include "common/log.h" +#include "common/sys.h" +#include "common/base.h" +#include "common/cmn.h" + +#include "tcp/tcp_base.h" + +#if defined(EXTRA_API_ENABLED) && (EXTRA_API_ENABLED == 1) + +#include "vma_base.h" + +class vma_ioctl : public vma_base { +protected: + void SetUp() { + uint64_t vma_extra_api_cap = VMA_EXTRA_API_IOCTL; + + vma_base::SetUp(); + + SKIP_TRUE((vma_api->vma_extra_supported_mask & vma_extra_api_cap) == vma_extra_api_cap, + "This test requires VMA capabilities as VMA_EXTRA_API_IOCTL"); + } + void TearDown() { + vma_base::TearDown(); + } +}; + +static size_t allocated_size = 0; +void *test_malloc(size_t size) { + allocated_size += size; + return malloc(size); +}; + +/** + * @test vma_ioctl.ti_1 + * @note + * Should be launched individually (it depends on library init ordering) + * @brief + * CMSG_XLIO_IOCTL_USER_ALLOC command message format check + * @details + */ +TEST_F(vma_ioctl, ti_1) { + int rc = EOK; + int fd; + vma_cmsg_ioctl_user_alloc_t data; + struct cmsghdr *cmsg; + char cbuf[CMSG_SPACE(sizeof(data))]; + + ASSERT_TRUE((sizeof(uint8_t) + sizeof(uintptr_t) + sizeof(uintptr_t)) == sizeof(data)); + + /* scenario #1: Wrong cmsg length */ + errno = EOK; + cmsg = (struct cmsghdr *)cbuf; + cmsg->cmsg_level = SOL_SOCKET; + cmsg->cmsg_type = CMSG_VMA_IOCTL_USER_ALLOC; + cmsg->cmsg_len = CMSG_LEN(sizeof(data)) - 1; + data.flags = VMA_IOCTL_USER_ALLOC_FLAG_RX; + data.memalloc = malloc; + data.memfree = free; + memcpy(CMSG_DATA(cmsg), &data, sizeof(data)); + + rc = vma_api->ioctl(cmsg, cmsg->cmsg_len); + EXPECT_EQ(-1, rc); + EXPECT_TRUE(EINVAL == errno); + + /* scenario #2: invalid function pointer */ + errno = EOK; + cmsg = (struct cmsghdr *)cbuf; + cmsg->cmsg_level = SOL_SOCKET; + cmsg->cmsg_type = CMSG_VMA_IOCTL_USER_ALLOC; + cmsg->cmsg_len = CMSG_LEN(sizeof(data)); + data.flags = VMA_IOCTL_USER_ALLOC_FLAG_RX; + data.memalloc = malloc; + data.memfree = NULL; + memcpy(CMSG_DATA(cmsg), &data, sizeof(data)); + + rc = vma_api->ioctl(cmsg, cmsg->cmsg_len); + EXPECT_EQ(-1, rc); + EXPECT_TRUE(EINVAL == errno); + + /* scenario #3: Check memory functions are activated */ + errno = EOK; + cmsg = (struct cmsghdr *)cbuf; + cmsg->cmsg_level = SOL_SOCKET; + cmsg->cmsg_type = CMSG_VMA_IOCTL_USER_ALLOC; + cmsg->cmsg_len = CMSG_LEN(sizeof(data)); + data.flags = VMA_IOCTL_USER_ALLOC_FLAG_RX; + data.memalloc = &test_malloc; + data.memfree = free; + memcpy(CMSG_DATA(cmsg), &data, sizeof(data)); + + rc = vma_api->ioctl(cmsg, cmsg->cmsg_len); + EXPECT_EQ(0, rc); + + /* the library initialization trigger */ + allocated_size = 0; + fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP); + ASSERT_LE(0, fd); + EXPECT_LT(1500, allocated_size); + + /* scenario #4: Command can not be used after initialization of internals */ + errno = EOK; + cmsg = (struct cmsghdr *)cbuf; + cmsg->cmsg_level = SOL_SOCKET; + cmsg->cmsg_type = CMSG_VMA_IOCTL_USER_ALLOC; + cmsg->cmsg_len = CMSG_LEN(sizeof(data)); + data.flags = VMA_IOCTL_USER_ALLOC_FLAG_TX | VMA_IOCTL_USER_ALLOC_FLAG_RX; + data.memalloc = malloc; + data.memfree = free; + memcpy(CMSG_DATA(cmsg), &data, sizeof(data)); + + rc = vma_api->ioctl(cmsg, cmsg->cmsg_len); + EXPECT_EQ(-1, rc); + EXPECT_TRUE(EINVAL == errno); + + /* scenario #5: Successfull connection with customer memalloc */ + rc = EOK; + char send_buf[] = "test"; + char recv_buf[sizeof(send_buf)]; + + int pid = fork(); + + if (0 == pid) { /* I am the child */ + barrier_fork(pid); + + fd = tcp_base::sock_create(); + ASSERT_LE(0, fd); + + rc = bind(fd, (struct sockaddr *)&client_addr, sizeof(client_addr)); + ASSERT_EQ(0, rc); + + rc = connect(fd, (struct sockaddr *)&server_addr, sizeof(server_addr)); + ASSERT_EQ(0, rc); + + log_trace("Established connection: fd=%d to %s\n", + fd, sys_addr2str((struct sockaddr_in *)&server_addr)); + + rc = send(fd, send_buf, sizeof(send_buf), 0); + EXPECT_GE(rc, 0); + + close(fd); + + /* This exit is very important, otherwise the fork + * keeps running and may duplicate other tests. + */ + exit(testing::Test::HasFailure()); + } else { /* I am the parent */ + int fd_peer; + struct sockaddr peer_addr; + socklen_t socklen; + + fd_peer = tcp_base::sock_create(); + ASSERT_LE(0, fd_peer); + + rc = bind(fd_peer, (struct sockaddr *)&server_addr, sizeof(server_addr)); + ASSERT_EQ(0, rc); + + rc = listen(fd_peer, 5); + ASSERT_EQ(0, rc); + + barrier_fork(pid); + + socklen = sizeof(peer_addr); + fd = accept(fd_peer, &peer_addr, &socklen); + ASSERT_LE(0, fd); + + log_trace("Accepted connection: fd=%d from %s\n", + fd, sys_addr2str((struct sockaddr_in *)&peer_addr)); + + rc = recv(fd, (void *)recv_buf, sizeof(recv_buf), MSG_WAITALL); + EXPECT_GE(rc, 0); + EXPECT_EQ(memcmp(send_buf, recv_buf, sizeof(send_buf)), 0); + + close(fd_peer); + close(fd); + + ASSERT_EQ(0, wait_fork(pid)); + } +} + +#endif /* EXTRA_API_ENABLED */ From 6548c0b5c3beff69d8456f91fe609c856e28374a Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Fri, 17 Jan 2025 14:40:54 +0200 Subject: [PATCH 068/150] issue: 4251780 Make vma_exit symbol visible The POSIX standard actually does not require dlclose() to ever unload a library from address space on function return. See: https://pubs.opengroup.org/onlinepubs/007904975/functions/dlclose.html That means other than invalidating the handle, dlclose() can not required to do anything at all and real unloading can be delayed. It can be important in case owner application uses the library resources. Workaround: - vma_exit symbol should be visible - call dlclose(handle) - call dlopen("library", RTLD_NOW | RTLD_NOLOAD) to check if the library is in memory - do nothing in case library is unloaded or call vma_exit() to force the library finalization See: RM 3526588. Signed-off-by: Igor Ivanov --- src/vma/libvma.c | 12 ++++------- src/vma/main.cpp | 43 ++++++++++++++++++++++++++++++--------- src/vma/util/sys_vars.cpp | 2 +- 3 files changed, 38 insertions(+), 19 deletions(-) diff --git a/src/vma/libvma.c b/src/vma/libvma.c index 92cead2db..564c44a44 100644 --- a/src/vma/libvma.c +++ b/src/vma/libvma.c @@ -32,19 +32,15 @@ */ -extern int main_init(void); -extern int main_destroy(void); +extern int vma_init(void); +extern int vma_exit(void); -/* library init function ------------------------------------------------------------------------------ -__attribute__((constructor)) causes the function to be called when -library is firsrt loaded */ int __attribute__((constructor)) sock_redirect_lib_load_constructor(void) { - return main_init(); + return vma_init(); } int __attribute__((destructor)) sock_redirect_lib_load_destructor(void) { - return main_destroy(); + return vma_exit(); } diff --git a/src/vma/main.cpp b/src/vma/main.cpp index be09be950..be38b6a20 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -49,6 +49,7 @@ #include #include "vlogger/vlogger.h" +#include "utils/compiler.h" #include "utils/rdtsc.h" #include "vma/util/vma_stats.h" #include "vma/util/utils.h" @@ -872,13 +873,31 @@ void check_netperf_flags() } } -//----------------------------------------------------------------------------- -// library init function -//----------------------------------------------------------------------------- -// __attribute__((constructor)) causes the function to be called when -// library is firsrt loaded -//extern "C" int __attribute__((constructor)) sock_redirect_lib_load_constructor(void) -extern "C" int main_init(void) +/* + * ----------------------------------------------------------------------------- + * library init/exit function + * sock_redirect_lib_load_constructor(void) is used to be called when + * library is loaded + * sock_redirect_lib_load_destructor(void) is used to be called when + * library is unloaded + * + * Note: + * The POSIX standard actually does not require dlclose() to ever unload a library + * from address space on function return. + * See: https://pubs.opengroup.org/onlinepubs/007904975/functions/dlclose.html + * That means other than invalidating the handle, dlclose() can not required to + * do anything at all and real unloading can be delayed. + * It can be important in case owner application uses the library resources. + * Workaround: + * - vma_exit symbol should be visible + * - call dlclose(handle) + * - call dlopen("library", RTLD_NOW | RTLD_NOLOAD) to check if the library is in memory + * - do nothing in case library is unloaded + * or + * call vma_exit() to force the library finalization + * ----------------------------------------------------------------------------- + */ +extern "C" int vma_init(void) { get_orig_funcs(); @@ -907,8 +926,12 @@ extern "C" int main_init(void) return 0; } -//extern "C" int __attribute__((destructor)) sock_redirect_lib_load_destructor(void) -extern "C" int main_destroy(void) +extern "C" EXPORT_SYMBOL int vma_exit(void) { - return free_libvma_resources(); + int rc = 0; + if (g_init_global_ctors_done) { + rc = free_libvma_resources(); + g_init_global_ctors_done = false; + } + return rc; } diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index cb19132b8..069265954 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -77,7 +77,7 @@ void check_netperf_flags(); -// Do not rely on global variable initialization in code that might be called from library constructor (main_init) +// Do not rely on global variable initialization in code that might be called from library constructor mce_sys_var & safe_mce_sys() {return mce_sys_var::instance();} #define MAX_BACKTRACE 25 From fc47e863a5b315f061ed7565d536e0ef9cebdcc6 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Fri, 17 Jan 2025 18:06:49 +0200 Subject: [PATCH 069/150] issue: 4251780 Fix CI to launch vma_ioctl individually Signed-off-by: Igor Ivanov --- contrib/jenkins_tests/gtest.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/jenkins_tests/gtest.sh b/contrib/jenkins_tests/gtest.sh index 241a2e60d..b289efb8c 100755 --- a/contrib/jenkins_tests/gtest.sh +++ b/contrib/jenkins_tests/gtest.sh @@ -56,7 +56,11 @@ make -C tests/gtest CPPFLAGS="-DEXTRA_API_ENABLED=1" rc=$(($rc+$?)) # Verify VMA EXTRA API tests -eval "${sudo_cmd} $timeout_exe env GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=vma_*:-vma_poll.*:vma_ring.*:vma_send_zc.* --gtest_output=xml:${WORKSPACE}/${prefix}/test-extra.xml" +eval "${sudo_cmd} $timeout_exe env GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=vma_*:-vma_ioctl.*:vma_poll.*:vma_ring.*:vma_send_zc.* --gtest_output=xml:${WORKSPACE}/${prefix}/test-extra.xml" +rc=$(($rc+$?)) + +# Verify VMA EXTRA API ioctl tests (should be launched alone) +eval "${sudo_cmd} $timeout_exe env GTEST_TAP=2 LD_PRELOAD=$gtest_lib $gtest_app $gtest_opt --gtest_filter=vma_ioctl.* --gtest_output=xml:${WORKSPACE}/${prefix}/test-extra.xml" rc=$(($rc+$?)) # Verify VMA EXTRA API socketxtreme mode tests From 3b7e086b68efb352071cc22c25fce9b76fcd72d3 Mon Sep 17 00:00:00 2001 From: Gal Noam Date: Sun, 9 Feb 2025 13:44:14 +0200 Subject: [PATCH 070/150] issue: 321712 ****************** VMA 9.8.70 ****************** Signed-off-by: Gal Noam --- CHANGES | 10 ++++++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index a55ee74a8..4f5dda6c8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,13 @@ +Version 9.8.70-1: +Date + Time 2025-02-09 +============================================================= +Added: + - RM #4251780 SocketXtreme API for external allocator + - RM #4223310 VMA support for kernel 6.10 + +Fixed: + - RM #4233101 header licensing for 2025 + Version 9.8.60-1: Date + Time 2024-02-28 ============================================================= diff --git a/configure.ac b/configure.ac index 545f661e0..5eaadcc49 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 60) +define([prj_ver_revision], 70) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index c1f965e14..67004572a 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Wed Feb 28 2024 NVIDIA CORPORATION 9.8.60-1 -- Bump version to 9.8.60 +* Sun Feb 9 2025 NVIDIA CORPORATION 9.8.70-1 +- Bump version to 9.8.70 - Please refer to CHANGES for full changelog. From 6b35db80523dfd3c390178ffe2964d9e73d3ef9c Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Mon, 10 Feb 2025 11:05:11 +0400 Subject: [PATCH 071/150] [CI] issue: 4294918 Fix license type for header checker We're requested to update the license format for copyrights headers from BSD to dual_gpl_2_bsd_3, which better match the product. Issue: HPCINFRA-3209 Signed-off-by: Viacheslav Login --- contrib/jenkins_tests/copyright-check-map.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/jenkins_tests/copyright-check-map.yaml b/contrib/jenkins_tests/copyright-check-map.yaml index 0197a61bf..4e0352a5b 100644 --- a/contrib/jenkins_tests/copyright-check-map.yaml +++ b/contrib/jenkins_tests/copyright-check-map.yaml @@ -34,7 +34,8 @@ general: - ".*src/vma/config_parser.*" - ".*src/vma/config_scanner\\.c" -bsd: +dual_gpl_2_bsd_3: + validate-spdx-license: True include: - ".*" exclude: From 191dfbdb8e119bf37522656dad35e5722ad286e3 Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Mon, 10 Feb 2025 10:21:11 +0200 Subject: [PATCH 072/150] [CI] issue: 4294918 Fix copyright headers in project files It was found that some files contained outdated licenses and copyright information in headers. This information in the file headers was updated using the NGCI v5.0.3-82 Header Check utility. Signed-off-by: Viacheslav Login --- config/m4/compiler.m4 | 1 + config/m4/func.m4 | 1 + config/m4/nl.m4 | 1 + config/m4/opt.m4 | 1 + config/m4/prof.m4 | 1 + config/m4/verbs.m4 | 1 + contrib/scripts/vma.init.in | 1 + src/state_machine/main.cpp | 1 + src/state_machine/sm.cpp | 1 + src/state_machine/sm.h | 1 + src/state_machine/sm_fifo.cpp | 1 + src/state_machine/sm_fifo.h | 1 + src/stats/stats_data_reader.h | 1 + src/stats/stats_printer.cpp | 1 + src/stats/stats_publisher.cpp | 1 + src/stats/stats_reader.cpp | 1 + src/utils/asm-arm64.h | 1 + src/utils/asm-ppc64.h | 1 + src/utils/asm-x86.h | 1 + src/utils/asm.h | 1 + src/utils/atomic.h | 1 + src/utils/bullseye.h | 1 + src/utils/clock.h | 1 + src/utils/compiler.h | 1 + src/utils/lock_wrapper.h | 1 + src/utils/rdtsc.h | 1 + src/utils/types.h | 1 + src/vlogger/main.cpp | 1 + src/vlogger/vlogger.cpp | 1 + src/vlogger/vlogger.h | 1 + src/vma/dev/allocator.cpp | 1 + src/vma/dev/allocator.h | 1 + src/vma/dev/buffer_pool.cpp | 1 + src/vma/dev/buffer_pool.h | 1 + src/vma/dev/cq_mgr.cpp | 1 + src/vma/dev/cq_mgr.h | 1 + src/vma/dev/cq_mgr.inl | 1 + src/vma/dev/cq_mgr_mlx5.cpp | 1 + src/vma/dev/cq_mgr_mlx5.h | 1 + src/vma/dev/cq_mgr_mlx5.inl | 1 + src/vma/dev/dm_mgr.cpp | 1 + src/vma/dev/dm_mgr.h | 1 + src/vma/dev/gro_mgr.cpp | 1 + src/vma/dev/gro_mgr.h | 1 + src/vma/dev/ib_ctx_handler.cpp | 1 + src/vma/dev/ib_ctx_handler.h | 1 + src/vma/dev/ib_ctx_handler_collection.cpp | 1 + src/vma/dev/ib_ctx_handler_collection.h | 1 + src/vma/dev/net_device_entry.cpp | 1 + src/vma/dev/net_device_entry.h | 1 + src/vma/dev/net_device_table_mgr.cpp | 1 + src/vma/dev/net_device_table_mgr.h | 1 + src/vma/dev/net_device_val.cpp | 1 + src/vma/dev/net_device_val.h | 1 + src/vma/dev/qp_mgr.cpp | 1 + src/vma/dev/qp_mgr.h | 1 + src/vma/dev/qp_mgr_eth_direct.cpp | 1 + src/vma/dev/qp_mgr_eth_direct.h | 1 + src/vma/dev/qp_mgr_eth_mlx5.cpp | 1 + src/vma/dev/qp_mgr_eth_mlx5.h | 1 + src/vma/dev/rfs.cpp | 1 + src/vma/dev/rfs.h | 1 + src/vma/dev/rfs_mc.cpp | 1 + src/vma/dev/rfs_mc.h | 1 + src/vma/dev/rfs_uc.cpp | 1 + src/vma/dev/rfs_uc.h | 1 + src/vma/dev/rfs_uc_tcp_gro.cpp | 1 + src/vma/dev/rfs_uc_tcp_gro.h | 1 + src/vma/dev/ring.cpp | 1 + src/vma/dev/ring.h | 1 + src/vma/dev/ring_allocation_logic.cpp | 1 + src/vma/dev/ring_allocation_logic.h | 1 + src/vma/dev/ring_bond.cpp | 1 + src/vma/dev/ring_bond.h | 1 + src/vma/dev/ring_eth_direct.cpp | 1 + src/vma/dev/ring_eth_direct.h | 1 + src/vma/dev/ring_profile.cpp | 1 + src/vma/dev/ring_profile.h | 1 + src/vma/dev/ring_simple.cpp | 1 + src/vma/dev/ring_simple.h | 1 + src/vma/dev/ring_slave.cpp | 1 + src/vma/dev/ring_slave.h | 1 + src/vma/dev/ring_tap.cpp | 1 + src/vma/dev/ring_tap.h | 1 + src/vma/dev/time_converter.cpp | 1 + src/vma/dev/time_converter.h | 1 + src/vma/dev/time_converter_ib_ctx.cpp | 1 + src/vma/dev/time_converter_ib_ctx.h | 1 + src/vma/dev/time_converter_ptp.cpp | 1 + src/vma/dev/time_converter_ptp.h | 1 + src/vma/dev/wqe_send_handler.cpp | 1 + src/vma/dev/wqe_send_handler.h | 1 + src/vma/dev/wqe_send_ib_handler.cpp | 1 + src/vma/dev/wqe_send_ib_handler.h | 1 + src/vma/event/command.h | 1 + src/vma/event/delta_timer.cpp | 1 + src/vma/event/delta_timer.h | 1 + src/vma/event/event.h | 1 + src/vma/event/event_handler_ibverbs.h | 1 + src/vma/event/event_handler_manager.cpp | 1 + src/vma/event/event_handler_manager.h | 1 + src/vma/event/event_handler_rdma_cm.h | 1 + src/vma/event/netlink_event.cpp | 1 + src/vma/event/netlink_event.h | 1 + src/vma/event/timer_handler.h | 1 + src/vma/event/timers_group.h | 1 + src/vma/event/vlogger_timer_handler.cpp | 1 + src/vma/event/vlogger_timer_handler.h | 1 + src/vma/ib/base/verbs_extra.cpp | 1 + src/vma/ib/base/verbs_extra.h | 1 + src/vma/ib/mlx5/ib_mlx5.cpp | 1 + src/vma/ib/mlx5/ib_mlx5.h | 1 + src/vma/ib/mlx5/ib_mlx5_dv.cpp | 1 + src/vma/ib/mlx5/ib_mlx5_dv.h | 1 + src/vma/ib/mlx5/ib_mlx5_hw.cpp | 1 + src/vma/ib/mlx5/ib_mlx5_hw.h | 1 + src/vma/infra/DemoCollMgr.cpp | 1 + src/vma/infra/DemoCollMgr.h | 1 + src/vma/infra/DemoObserver.cpp | 1 + src/vma/infra/DemoObserver.h | 1 + src/vma/infra/DemoSubject.cpp | 1 + src/vma/infra/DemoSubject.h | 1 + src/vma/infra/cache_subject_observer.h | 1 + src/vma/infra/main.cpp | 1 + src/vma/infra/sender.cpp | 1 + src/vma/infra/sender.h | 1 + src/vma/infra/sender_info_dst.cpp | 1 + src/vma/infra/sender_info_dst.h | 1 + src/vma/infra/subject_observer.cpp | 1 + src/vma/infra/subject_observer.h | 1 + src/vma/iomux/epfd_info.cpp | 1 + src/vma/iomux/epfd_info.h | 1 + src/vma/iomux/epoll_wait_call.cpp | 1 + src/vma/iomux/epoll_wait_call.h | 1 + src/vma/iomux/io_mux_call.cpp | 1 + src/vma/iomux/io_mux_call.h | 1 + src/vma/iomux/poll_call.cpp | 1 + src/vma/iomux/poll_call.h | 1 + src/vma/iomux/select_call.cpp | 1 + src/vma/iomux/select_call.h | 1 + src/vma/libvma.c | 1 + src/vma/main.cpp | 1 + src/vma/main.h | 1 + src/vma/netlink/link_info.cpp | 1 + src/vma/netlink/link_info.h | 1 + src/vma/netlink/neigh_info.cpp | 1 + src/vma/netlink/neigh_info.h | 1 + src/vma/netlink/netlink_compatibility.cpp | 1 + src/vma/netlink/netlink_compatibility.h | 1 + src/vma/netlink/netlink_wrapper.cpp | 1 + src/vma/netlink/netlink_wrapper.h | 1 + src/vma/netlink/route_info.cpp | 1 + src/vma/netlink/route_info.h | 1 + src/vma/netlink/test_main.cpp | 1 + src/vma/proto/L2_address.cpp | 1 + src/vma/proto/L2_address.h | 1 + src/vma/proto/arp.cpp | 1 + src/vma/proto/arp.h | 1 + src/vma/proto/dst_entry.cpp | 1 + src/vma/proto/dst_entry.h | 1 + src/vma/proto/dst_entry_tcp.cpp | 1 + src/vma/proto/dst_entry_tcp.h | 1 + src/vma/proto/dst_entry_udp.cpp | 1 + src/vma/proto/dst_entry_udp.h | 1 + src/vma/proto/dst_entry_udp_mc.cpp | 1 + src/vma/proto/dst_entry_udp_mc.h | 1 + src/vma/proto/flow_tuple.cpp | 1 + src/vma/proto/flow_tuple.h | 1 + src/vma/proto/header.cpp | 1 + src/vma/proto/header.h | 1 + src/vma/proto/igmp_handler.cpp | 1 + src/vma/proto/igmp_handler.h | 1 + src/vma/proto/igmp_mgr.cpp | 1 + src/vma/proto/igmp_mgr.h | 1 + src/vma/proto/ip_address.h | 1 + src/vma/proto/ip_frag.cpp | 1 + src/vma/proto/ip_frag.h | 1 + src/vma/proto/mem_buf_desc.h | 1 + src/vma/proto/neighbour.cpp | 1 + src/vma/proto/neighbour.h | 1 + src/vma/proto/neighbour_observer.h | 1 + src/vma/proto/neighbour_table_mgr.cpp | 1 + src/vma/proto/neighbour_table_mgr.h | 1 + src/vma/proto/netlink_socket_mgr.h | 1 + src/vma/proto/peer_key.h | 1 + src/vma/proto/route_entry.cpp | 1 + src/vma/proto/route_entry.h | 1 + src/vma/proto/route_rule_table_key.h | 1 + src/vma/proto/route_table_mgr.cpp | 1 + src/vma/proto/route_table_mgr.h | 1 + src/vma/proto/route_val.cpp | 1 + src/vma/proto/route_val.h | 1 + src/vma/proto/rule_entry.cpp | 1 + src/vma/proto/rule_entry.h | 1 + src/vma/proto/rule_table_mgr.cpp | 1 + src/vma/proto/rule_table_mgr.h | 1 + src/vma/proto/rule_val.cpp | 1 + src/vma/proto/rule_val.h | 1 + src/vma/proto/vma_lwip.cpp | 1 + src/vma/proto/vma_lwip.h | 1 + src/vma/sock/cleanable_obj.h | 1 + src/vma/sock/fd_collection.cpp | 1 + src/vma/sock/fd_collection.h | 1 + src/vma/sock/pipeinfo.cpp | 1 + src/vma/sock/pipeinfo.h | 1 + src/vma/sock/pkt_rcvr_sink.h | 1 + src/vma/sock/pkt_sndr_source.h | 1 + src/vma/sock/sock-redirect.cpp | 1 + src/vma/sock/sock-redirect.h | 1 + src/vma/sock/socket_fd_api.cpp | 1 + src/vma/sock/socket_fd_api.h | 1 + src/vma/sock/sockinfo.cpp | 1 + src/vma/sock/sockinfo.h | 1 + src/vma/sock/sockinfo_tcp.cpp | 1 + src/vma/sock/sockinfo_tcp.h | 1 + src/vma/sock/sockinfo_udp.cpp | 1 + src/vma/sock/sockinfo_udp.h | 1 + src/vma/util/agent.cpp | 1 + src/vma/util/agent.h | 1 + src/vma/util/agent_def.h | 1 + src/vma/util/chunk_list.h | 1 + src/vma/util/config_parser.y | 1 + src/vma/util/config_scanner.l | 1 + src/vma/util/data_updater.cpp | 1 + src/vma/util/data_updater.h | 1 + src/vma/util/hash_map.h | 1 + src/vma/util/hash_map.inl | 1 + src/vma/util/if.h | 1 + src/vma/util/instrumentation.cpp | 1 + src/vma/util/instrumentation.h | 1 + src/vma/util/libvma.h | 1 + src/vma/util/match.cpp | 1 + src/vma/util/sg_array.h | 1 + src/vma/util/sock_addr.h | 1 + src/vma/util/sys_vars.cpp | 1 + src/vma/util/sys_vars.h | 1 + src/vma/util/sysctl_reader.h | 1 + src/vma/util/to_str.h | 1 + src/vma/util/utils.cpp | 1 + src/vma/util/utils.h | 1 + src/vma/util/valgrind.h | 1 + src/vma/util/vma_list.h | 1 + src/vma/util/vma_stats.h | 1 + src/vma/util/vtypes.h | 1 + src/vma/util/wakeup.cpp | 1 + src/vma/util/wakeup.h | 1 + src/vma/util/wakeup_pipe.cpp | 1 + src/vma/util/wakeup_pipe.h | 1 + src/vma/vma_extra.h | 1 + tests/api-support-check.py | 1 + tests/async-echo-client/async-echo-client.py | 1 + tests/async-echo-client/echo-server.py | 1 + tests/async-echo-client/syncronized-echo-client.py | 1 + tests/benchmarking_test/Accelerators_Benchmarking.sh | 1 + tests/bindtodevice/client.py | 1 + tests/connect-disconnect/client.py | 1 + tests/extra_api_tests/socketxtreme/server_tcp.c | 1 + tests/extra_api_tests/tcp_zcopy_cb/client.c | 1 + tests/extra_api_tests/tcp_zcopy_cb/client.h | 1 + tests/extra_api_tests/tcp_zcopy_cb/main.c | 1 + tests/extra_api_tests/tcp_zcopy_cb/server.c | 1 + tests/extra_api_tests/tcp_zcopy_cb/server.h | 1 + tests/extra_api_tests/tcp_zcopy_cb/types.h | 1 + tests/extra_api_tests/tcp_zcopy_cb/utils.c | 1 + tests/functionality/getsockname_test.c | 1 + tests/functionality/iomux/1epoll_1socket_twice.c | 1 + tests/functionality/iomux/2epoll_1socket.c | 1 + tests/functionality/iomux/client.py | 1 + tests/functionality/iomux/eclient.py | 1 + tests/functionality/iomux/eserver.py | 1 + tests/functionality/iomux/pclient.py | 1 + tests/functionality/iomux/pserver.py | 1 + tests/functionality/iomux/server.py | 1 + tests/gtest/common/base.cc | 1 + tests/gtest/common/base.h | 1 + tests/gtest/common/cmn.h | 1 + tests/gtest/common/def.h | 1 + tests/gtest/common/log.h | 1 + tests/gtest/common/sys.cc | 1 + tests/gtest/common/sys.h | 1 + tests/gtest/main.cc | 1 + tests/gtest/mix/mix_base.cc | 1 + tests/gtest/mix/mix_base.h | 1 + tests/gtest/mix/mix_list.cc | 1 + tests/gtest/mix/sg_array.cc | 1 + tests/gtest/sock/sock_base.cc | 1 + tests/gtest/sock/sock_base.h | 1 + tests/gtest/sock/sock_socket.cc | 1 + tests/gtest/tcp/tcp_base.cc | 1 + tests/gtest/tcp/tcp_base.h | 1 + tests/gtest/tcp/tcp_bind.cc | 1 + tests/gtest/tcp/tcp_connect.cc | 1 + tests/gtest/tcp/tcp_connect_nb.cc | 1 + tests/gtest/tcp/tcp_event.cc | 1 + tests/gtest/tcp/tcp_send.cc | 1 + tests/gtest/tcp/tcp_send_zc.cc | 1 + tests/gtest/tcp/tcp_sendfile.cc | 1 + tests/gtest/tcp/tcp_sendto.cc | 1 + tests/gtest/tcp/tcp_socket.cc | 1 + tests/gtest/tcp/tcp_sockopt.cc | 1 + tests/gtest/tcp/tcp_tls.cc | 1 + tests/gtest/udp/udp_base.cc | 1 + tests/gtest/udp/udp_base.h | 1 + tests/gtest/udp/udp_bind.cc | 1 + tests/gtest/udp/udp_connect.cc | 1 + tests/gtest/udp/udp_send.cc | 1 + tests/gtest/udp/udp_sendto.cc | 1 + tests/gtest/vma/vma_base.cc | 1 + tests/gtest/vma/vma_base.h | 1 + tests/gtest/vma/vma_ioctl.cc | 1 + tests/gtest/vma/vma_poll.cc | 1 + tests/gtest/vma/vma_recvfrom_zcopy.cc | 1 + tests/gtest/vma/vma_ring.cc | 1 + tests/gtest/vma/vma_sockopt.cc | 1 + tests/gtest/vmad/vmad_base.cc | 1 + tests/gtest/vmad/vmad_base.h | 1 + tests/gtest/vmad/vmad_bitmap.cc | 1 + tests/gtest/vmad/vmad_flow.cc | 1 + tests/gtest/vmad/vmad_hash.cc | 1 + tests/gtest/vmad/vmad_init.cc | 1 + tests/gtest/vmad/vmad_state.cc | 1 + tests/latency_test/tcp_lat.cpp | 1 + tests/latency_test/udp_lat.c | 1 + tests/listen/tcp_client.py | 1 + tests/listen/tcp_server.py | 1 + tests/low_pps_tcp_send_test/exchange.cpp | 1 + tests/low_pps_tcp_send_test/trader.cpp | 1 + tests/mc_loop_test/mc_loop_test.c | 1 + tests/multithread_test/exchange.cpp | 1 + tests/multithread_test/trader.cpp | 1 + tests/pps_test/pps_test.c | 1 + .../server_socket_receive_and_recreate_loop.py | 1 + tests/resource_release_checker/server_socket_recreate_loop.py | 1 + tests/reuse_ud_test.c | 1 + tests/select_t1.c | 1 + tests/server_test/client.cc | 1 + tests/server_test/client.h | 1 + tests/server_test/main.cc | 1 + tests/server_test/options.cc | 1 + tests/server_test/options.h | 1 + tests/server_test/server.cc | 1 + tests/server_test/server.h | 1 + tests/server_test/vtime.cc | 1 + tests/server_test/vtime.h | 1 + tests/simple_fork/fork.py | 1 + tests/tcp_window_size_exerciser/Makefile | 1 + tests/tcp_window_size_exerciser/tcp_wnd_test.h | 1 + tests/tcp_window_size_exerciser/tcp_wnd_test_client.c | 1 + tests/tcp_window_size_exerciser/tcp_wnd_test_server.c | 1 + tests/testbed/testbed.c | 1 + tests/throughput_test/bandwidth_test.c | 1 + tests/timetest/timetest.cpp | 1 + tests/vma_perf_envelope/vma_multiplexers_test.sh | 1 + tests/vma_perf_envelope/vma_perf_envelope.sh | 1 + tools/daemon/bitmap.h | 1 + tools/daemon/daemon.c | 1 + tools/daemon/daemon.h | 1 + tools/daemon/flow.c | 1 + tools/daemon/hash.c | 1 + tools/daemon/hash.h | 1 + tools/daemon/loop.c | 1 + tools/daemon/message.c | 1 + tools/daemon/nl.c | 1 + tools/daemon/nl.h | 1 + tools/daemon/notify.c | 1 + tools/daemon/store.c | 1 + tools/daemon/tc.c | 1 + tools/daemon/tc.h | 1 + 368 files changed, 368 insertions(+) diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4 index 3fd68d1f9..e508b77a2 100644 --- a/config/m4/compiler.m4 +++ b/config/m4/compiler.m4 @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # See file LICENSE for terms. # diff --git a/config/m4/func.m4 b/config/m4/func.m4 index 5477fdede..b07d52b3b 100644 --- a/config/m4/func.m4 +++ b/config/m4/func.m4 @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # See file LICENSE for terms. # diff --git a/config/m4/nl.m4 b/config/m4/nl.m4 index 103857003..011c2eddf 100644 --- a/config/m4/nl.m4 +++ b/config/m4/nl.m4 @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # See file LICENSE for terms. # diff --git a/config/m4/opt.m4 b/config/m4/opt.m4 index c49a5b25f..fb27da48f 100644 --- a/config/m4/opt.m4 +++ b/config/m4/opt.m4 @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # See file LICENSE for terms. # diff --git a/config/m4/prof.m4 b/config/m4/prof.m4 index d9c7d88a4..613b54c08 100644 --- a/config/m4/prof.m4 +++ b/config/m4/prof.m4 @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # See file LICENSE for terms. # diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index 4ec63cb1c..0f286aebc 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # See file LICENSE for terms. # diff --git a/contrib/scripts/vma.init.in b/contrib/scripts/vma.init.in index 5b8de486e..ea9c9aa9b 100644 --- a/contrib/scripts/vma.init.in +++ b/contrib/scripts/vma.init.in @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/main.cpp b/src/state_machine/main.cpp index c33592f3e..6837fe2c2 100644 --- a/src/state_machine/main.cpp +++ b/src/state_machine/main.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm.cpp b/src/state_machine/sm.cpp index f5ac2f154..82b30107e 100644 --- a/src/state_machine/sm.cpp +++ b/src/state_machine/sm.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm.h b/src/state_machine/sm.h index 7330bc91b..beccfdb40 100644 --- a/src/state_machine/sm.h +++ b/src/state_machine/sm.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm_fifo.cpp b/src/state_machine/sm_fifo.cpp index e9c0a4fc9..5bc4cab46 100644 --- a/src/state_machine/sm_fifo.cpp +++ b/src/state_machine/sm_fifo.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/sm_fifo.h b/src/state_machine/sm_fifo.h index 0a55adb2a..dc78c19f1 100644 --- a/src/state_machine/sm_fifo.h +++ b/src/state_machine/sm_fifo.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_data_reader.h b/src/stats/stats_data_reader.h index caa15a553..2e3415cc5 100644 --- a/src/stats/stats_data_reader.h +++ b/src/stats/stats_data_reader.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_printer.cpp b/src/stats/stats_printer.cpp index e5425e7ba..66b0638ac 100644 --- a/src/stats/stats_printer.cpp +++ b/src/stats/stats_printer.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_publisher.cpp b/src/stats/stats_publisher.cpp index cd15fb66a..82256bb0f 100644 --- a/src/stats/stats_publisher.cpp +++ b/src/stats/stats_publisher.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index edb29d6fd..2b24337c6 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-arm64.h b/src/utils/asm-arm64.h index 95e25b5af..398251f3e 100644 --- a/src/utils/asm-arm64.h +++ b/src/utils/asm-arm64.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-ppc64.h b/src/utils/asm-ppc64.h index 37ea93060..58c62940c 100644 --- a/src/utils/asm-ppc64.h +++ b/src/utils/asm-ppc64.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm-x86.h b/src/utils/asm-x86.h index bc13033e2..a97a5d834 100644 --- a/src/utils/asm-x86.h +++ b/src/utils/asm-x86.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/asm.h b/src/utils/asm.h index cf21ef3ea..957e0f082 100644 --- a/src/utils/asm.h +++ b/src/utils/asm.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/atomic.h b/src/utils/atomic.h index 9ea037906..04ce2fcc8 100644 --- a/src/utils/atomic.h +++ b/src/utils/atomic.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/bullseye.h b/src/utils/bullseye.h index dcf9e0af3..9bf11a7fe 100644 --- a/src/utils/bullseye.h +++ b/src/utils/bullseye.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/clock.h b/src/utils/clock.h index 8a303c38e..f0427a235 100644 --- a/src/utils/clock.h +++ b/src/utils/clock.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/compiler.h b/src/utils/compiler.h index 1d12d00e0..81aae1f04 100644 --- a/src/utils/compiler.h +++ b/src/utils/compiler.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/lock_wrapper.h b/src/utils/lock_wrapper.h index 25af46a9a..34a74ed8d 100644 --- a/src/utils/lock_wrapper.h +++ b/src/utils/lock_wrapper.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/rdtsc.h b/src/utils/rdtsc.h index 53894e111..02dc12bbe 100644 --- a/src/utils/rdtsc.h +++ b/src/utils/rdtsc.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/utils/types.h b/src/utils/types.h index 34b4bfca6..f880e4962 100644 --- a/src/utils/types.h +++ b/src/utils/types.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/main.cpp b/src/vlogger/main.cpp index fbc74128f..9250b539f 100644 --- a/src/vlogger/main.cpp +++ b/src/vlogger/main.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/vlogger.cpp b/src/vlogger/vlogger.cpp index 7730bcc9f..f5d7f241a 100644 --- a/src/vlogger/vlogger.cpp +++ b/src/vlogger/vlogger.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vlogger/vlogger.h b/src/vlogger/vlogger.h index db174a689..100bc3b54 100644 --- a/src/vlogger/vlogger.h +++ b/src/vlogger/vlogger.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index e92698442..864e7e51e 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/allocator.h b/src/vma/dev/allocator.h index ec1ac13a4..65fd55a0a 100644 --- a/src/vma/dev/allocator.h +++ b/src/vma/dev/allocator.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index 80dd408b5..1060523b1 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/buffer_pool.h b/src/vma/dev/buffer_pool.h index 89b9a9a1b..bd16cf5d7 100644 --- a/src/vma/dev/buffer_pool.h +++ b/src/vma/dev/buffer_pool.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.cpp b/src/vma/dev/cq_mgr.cpp index 590c72add..37e5db76c 100644 --- a/src/vma/dev/cq_mgr.cpp +++ b/src/vma/dev/cq_mgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.h b/src/vma/dev/cq_mgr.h index 8c7dfe449..fbc7ebc75 100644 --- a/src/vma/dev/cq_mgr.h +++ b/src/vma/dev/cq_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr.inl b/src/vma/dev/cq_mgr.inl index 248bc9c8b..76ad7565b 100644 --- a/src/vma/dev/cq_mgr.inl +++ b/src/vma/dev/cq_mgr.inl @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index 4e563d611..3e9c77bee 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.h b/src/vma/dev/cq_mgr_mlx5.h index 892a7b8c7..0809f59cd 100644 --- a/src/vma/dev/cq_mgr_mlx5.h +++ b/src/vma/dev/cq_mgr_mlx5.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/cq_mgr_mlx5.inl b/src/vma/dev/cq_mgr_mlx5.inl index 7eedaf5d2..4ab54e38c 100644 --- a/src/vma/dev/cq_mgr_mlx5.inl +++ b/src/vma/dev/cq_mgr_mlx5.inl @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/dm_mgr.cpp b/src/vma/dev/dm_mgr.cpp index dcdada7f7..a5e540821 100644 --- a/src/vma/dev/dm_mgr.cpp +++ b/src/vma/dev/dm_mgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/dm_mgr.h b/src/vma/dev/dm_mgr.h index 4961ecc64..e81e51896 100644 --- a/src/vma/dev/dm_mgr.h +++ b/src/vma/dev/dm_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/gro_mgr.cpp b/src/vma/dev/gro_mgr.cpp index 51dbb6b34..f9f3a3403 100644 --- a/src/vma/dev/gro_mgr.cpp +++ b/src/vma/dev/gro_mgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/gro_mgr.h b/src/vma/dev/gro_mgr.h index d9575a534..4617be60b 100644 --- a/src/vma/dev/gro_mgr.h +++ b/src/vma/dev/gro_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index cc2fe107c..f5030eff6 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index 11f884911..c11d1b379 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler_collection.cpp b/src/vma/dev/ib_ctx_handler_collection.cpp index f93d205f4..7a70a7137 100644 --- a/src/vma/dev/ib_ctx_handler_collection.cpp +++ b/src/vma/dev/ib_ctx_handler_collection.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ib_ctx_handler_collection.h b/src/vma/dev/ib_ctx_handler_collection.h index 6d17ef7ef..cf9548e42 100644 --- a/src/vma/dev/ib_ctx_handler_collection.h +++ b/src/vma/dev/ib_ctx_handler_collection.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_entry.cpp b/src/vma/dev/net_device_entry.cpp index ae8d21be2..43d5af743 100644 --- a/src/vma/dev/net_device_entry.cpp +++ b/src/vma/dev/net_device_entry.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_entry.h b/src/vma/dev/net_device_entry.h index ccecdd032..1689d2cf2 100644 --- a/src/vma/dev/net_device_entry.h +++ b/src/vma/dev/net_device_entry.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index 08e2fffeb..c8fc57637 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_table_mgr.h b/src/vma/dev/net_device_table_mgr.h index 1c5e77dab..c0b007b83 100644 --- a/src/vma/dev/net_device_table_mgr.h +++ b/src/vma/dev/net_device_table_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index 68f03ac71..dfbb8a674 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/net_device_val.h b/src/vma/dev/net_device_val.h index 4a5ca2123..2ea920571 100644 --- a/src/vma/dev/net_device_val.h +++ b/src/vma/dev/net_device_val.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index 75b86ed6d..368361c68 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index 46304a446..3836da5d1 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index 34db5085e..b19c77bf1 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_direct.h b/src/vma/dev/qp_mgr_eth_direct.h index 6ae8d558d..ad2945fa7 100644 --- a/src/vma/dev/qp_mgr_eth_direct.h +++ b/src/vma/dev/qp_mgr_eth_direct.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index e55ea207b..370ddfdbf 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index 3d3a7483f..db04a081e 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs.cpp b/src/vma/dev/rfs.cpp index bda6cbd9f..1a4ba04f2 100644 --- a/src/vma/dev/rfs.cpp +++ b/src/vma/dev/rfs.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs.h b/src/vma/dev/rfs.h index 2ddc28850..510ce79d5 100644 --- a/src/vma/dev/rfs.h +++ b/src/vma/dev/rfs.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_mc.cpp b/src/vma/dev/rfs_mc.cpp index 0367eac77..d0ae99e3b 100644 --- a/src/vma/dev/rfs_mc.cpp +++ b/src/vma/dev/rfs_mc.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_mc.h b/src/vma/dev/rfs_mc.h index d224c6bd3..b95a5fa85 100644 --- a/src/vma/dev/rfs_mc.h +++ b/src/vma/dev/rfs_mc.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc.cpp b/src/vma/dev/rfs_uc.cpp index 4d1e54d06..e055d134d 100644 --- a/src/vma/dev/rfs_uc.cpp +++ b/src/vma/dev/rfs_uc.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc.h b/src/vma/dev/rfs_uc.h index faa054fee..51abc5846 100644 --- a/src/vma/dev/rfs_uc.h +++ b/src/vma/dev/rfs_uc.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc_tcp_gro.cpp b/src/vma/dev/rfs_uc_tcp_gro.cpp index 673b27dea..b17c96487 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.cpp +++ b/src/vma/dev/rfs_uc_tcp_gro.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/rfs_uc_tcp_gro.h b/src/vma/dev/rfs_uc_tcp_gro.h index f15887259..7e6afbbdc 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.h +++ b/src/vma/dev/rfs_uc_tcp_gro.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring.cpp b/src/vma/dev/ring.cpp index f35684c76..c61234c52 100644 --- a/src/vma/dev/ring.cpp +++ b/src/vma/dev/ring.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring.h b/src/vma/dev/ring.h index 96282618c..1a1a0fddb 100644 --- a/src/vma/dev/ring.h +++ b/src/vma/dev/ring.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_allocation_logic.cpp b/src/vma/dev/ring_allocation_logic.cpp index 1dec4c224..d25276f92 100644 --- a/src/vma/dev/ring_allocation_logic.cpp +++ b/src/vma/dev/ring_allocation_logic.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_allocation_logic.h b/src/vma/dev/ring_allocation_logic.h index dd0fa848f..cd22e197f 100644 --- a/src/vma/dev/ring_allocation_logic.h +++ b/src/vma/dev/ring_allocation_logic.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index fa8e8d510..dbcc728f9 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index 91273bd54..d627530af 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_eth_direct.cpp b/src/vma/dev/ring_eth_direct.cpp index c65315923..057531a17 100644 --- a/src/vma/dev/ring_eth_direct.cpp +++ b/src/vma/dev/ring_eth_direct.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_eth_direct.h b/src/vma/dev/ring_eth_direct.h index 12e59a061..c14954210 100644 --- a/src/vma/dev/ring_eth_direct.h +++ b/src/vma/dev/ring_eth_direct.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_profile.cpp b/src/vma/dev/ring_profile.cpp index 0fc7b0fa0..f292e82a2 100644 --- a/src/vma/dev/ring_profile.cpp +++ b/src/vma/dev/ring_profile.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_profile.h b/src/vma/dev/ring_profile.h index bb0d08792..be2e60e8b 100644 --- a/src/vma/dev/ring_profile.h +++ b/src/vma/dev/ring_profile.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index 059078f50..ba53deb69 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index b0bf7f3a3..987b65399 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_slave.cpp b/src/vma/dev/ring_slave.cpp index 9bfce02ac..c6fd75419 100644 --- a/src/vma/dev/ring_slave.cpp +++ b/src/vma/dev/ring_slave.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_slave.h b/src/vma/dev/ring_slave.h index cca2a9c3e..94b014fce 100644 --- a/src/vma/dev/ring_slave.h +++ b/src/vma/dev/ring_slave.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index b8afdc7f9..50ad9b7d0 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index cca75ef59..9d1010d81 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter.cpp b/src/vma/dev/time_converter.cpp index 9cdae4334..135ad2987 100644 --- a/src/vma/dev/time_converter.cpp +++ b/src/vma/dev/time_converter.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter.h b/src/vma/dev/time_converter.h index f256a8b03..1da1f70b3 100644 --- a/src/vma/dev/time_converter.h +++ b/src/vma/dev/time_converter.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ib_ctx.cpp b/src/vma/dev/time_converter_ib_ctx.cpp index 613e83e0d..3b0c0f11e 100644 --- a/src/vma/dev/time_converter_ib_ctx.cpp +++ b/src/vma/dev/time_converter_ib_ctx.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ib_ctx.h b/src/vma/dev/time_converter_ib_ctx.h index 9fdc8bd2c..d61e819c8 100644 --- a/src/vma/dev/time_converter_ib_ctx.h +++ b/src/vma/dev/time_converter_ib_ctx.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ptp.cpp b/src/vma/dev/time_converter_ptp.cpp index 143b2d967..e2bee3489 100644 --- a/src/vma/dev/time_converter_ptp.cpp +++ b/src/vma/dev/time_converter_ptp.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/time_converter_ptp.h b/src/vma/dev/time_converter_ptp.h index 165720aa2..022197179 100644 --- a/src/vma/dev/time_converter_ptp.h +++ b/src/vma/dev/time_converter_ptp.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_handler.cpp b/src/vma/dev/wqe_send_handler.cpp index d424b1273..bd5f49712 100644 --- a/src/vma/dev/wqe_send_handler.cpp +++ b/src/vma/dev/wqe_send_handler.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_handler.h b/src/vma/dev/wqe_send_handler.h index 1b010008d..a1bb855a8 100644 --- a/src/vma/dev/wqe_send_handler.h +++ b/src/vma/dev/wqe_send_handler.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_ib_handler.cpp b/src/vma/dev/wqe_send_ib_handler.cpp index a371fe4be..2efb6ae7a 100644 --- a/src/vma/dev/wqe_send_ib_handler.cpp +++ b/src/vma/dev/wqe_send_ib_handler.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/dev/wqe_send_ib_handler.h b/src/vma/dev/wqe_send_ib_handler.h index 3635ef343..208a8e9e6 100644 --- a/src/vma/dev/wqe_send_ib_handler.h +++ b/src/vma/dev/wqe_send_ib_handler.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/command.h b/src/vma/event/command.h index 67ce63c31..7c1edce8f 100644 --- a/src/vma/event/command.h +++ b/src/vma/event/command.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/delta_timer.cpp b/src/vma/event/delta_timer.cpp index c6a94d024..f3dafa6a3 100644 --- a/src/vma/event/delta_timer.cpp +++ b/src/vma/event/delta_timer.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/delta_timer.h b/src/vma/event/delta_timer.h index 09c4b0ed0..3072c9b61 100644 --- a/src/vma/event/delta_timer.h +++ b/src/vma/event/delta_timer.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event.h b/src/vma/event/event.h index f4da861e2..797a11af8 100644 --- a/src/vma/event/event.h +++ b/src/vma/event/event.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_ibverbs.h b/src/vma/event/event_handler_ibverbs.h index b62d2ab97..48000f41f 100644 --- a/src/vma/event/event_handler_ibverbs.h +++ b/src/vma/event/event_handler_ibverbs.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index 6333c64fa..9cc77c539 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_manager.h b/src/vma/event/event_handler_manager.h index 5a93f637c..a210dc2f9 100644 --- a/src/vma/event/event_handler_manager.h +++ b/src/vma/event/event_handler_manager.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/event_handler_rdma_cm.h b/src/vma/event/event_handler_rdma_cm.h index c815c8369..92a409cd8 100644 --- a/src/vma/event/event_handler_rdma_cm.h +++ b/src/vma/event/event_handler_rdma_cm.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/netlink_event.cpp b/src/vma/event/netlink_event.cpp index ba7cb4b27..d0d7f91c4 100644 --- a/src/vma/event/netlink_event.cpp +++ b/src/vma/event/netlink_event.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/netlink_event.h b/src/vma/event/netlink_event.h index fcda40f02..8ee46b938 100644 --- a/src/vma/event/netlink_event.h +++ b/src/vma/event/netlink_event.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/timer_handler.h b/src/vma/event/timer_handler.h index a9da9adc8..b8d9845e5 100644 --- a/src/vma/event/timer_handler.h +++ b/src/vma/event/timer_handler.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/timers_group.h b/src/vma/event/timers_group.h index 1e598f853..ba33b49af 100644 --- a/src/vma/event/timers_group.h +++ b/src/vma/event/timers_group.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/vlogger_timer_handler.cpp b/src/vma/event/vlogger_timer_handler.cpp index 424536ad3..ec690c8f2 100644 --- a/src/vma/event/vlogger_timer_handler.cpp +++ b/src/vma/event/vlogger_timer_handler.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/event/vlogger_timer_handler.h b/src/vma/event/vlogger_timer_handler.h index 172e8d746..dba3099f2 100644 --- a/src/vma/event/vlogger_timer_handler.h +++ b/src/vma/event/vlogger_timer_handler.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index e4bf06cad..5c7f66b30 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index fe1aee7a9..91e0116d0 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5.cpp b/src/vma/ib/mlx5/ib_mlx5.cpp index 3ad97256f..4cef62d2a 100644 --- a/src/vma/ib/mlx5/ib_mlx5.cpp +++ b/src/vma/ib/mlx5/ib_mlx5.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5.h b/src/vma/ib/mlx5/ib_mlx5.h index cbb1b0e95..31d6e849e 100644 --- a/src/vma/ib/mlx5/ib_mlx5.h +++ b/src/vma/ib/mlx5/ib_mlx5.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.cpp b/src/vma/ib/mlx5/ib_mlx5_dv.cpp index 2803ae666..4b25f774a 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_dv.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.h b/src/vma/ib/mlx5/ib_mlx5_dv.h index 43bf31769..d0eca8572 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.h +++ b/src/vma/ib/mlx5/ib_mlx5_dv.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.cpp b/src/vma/ib/mlx5/ib_mlx5_hw.cpp index 78e4fb9dc..9312be339 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_hw.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.h b/src/vma/ib/mlx5/ib_mlx5_hw.h index 485105433..ff49c2c1c 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.h +++ b/src/vma/ib/mlx5/ib_mlx5_hw.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoCollMgr.cpp b/src/vma/infra/DemoCollMgr.cpp index 12936fd14..83a15f327 100644 --- a/src/vma/infra/DemoCollMgr.cpp +++ b/src/vma/infra/DemoCollMgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoCollMgr.h b/src/vma/infra/DemoCollMgr.h index 528201d9d..e7900a3f8 100644 --- a/src/vma/infra/DemoCollMgr.h +++ b/src/vma/infra/DemoCollMgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoObserver.cpp b/src/vma/infra/DemoObserver.cpp index e9af95a4f..631bcd528 100644 --- a/src/vma/infra/DemoObserver.cpp +++ b/src/vma/infra/DemoObserver.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoObserver.h b/src/vma/infra/DemoObserver.h index 3fe8dfb50..fe3ae32f5 100644 --- a/src/vma/infra/DemoObserver.h +++ b/src/vma/infra/DemoObserver.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoSubject.cpp b/src/vma/infra/DemoSubject.cpp index a4b063305..b6faf3661 100644 --- a/src/vma/infra/DemoSubject.cpp +++ b/src/vma/infra/DemoSubject.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/DemoSubject.h b/src/vma/infra/DemoSubject.h index 758471f8e..86dadba62 100644 --- a/src/vma/infra/DemoSubject.h +++ b/src/vma/infra/DemoSubject.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/cache_subject_observer.h b/src/vma/infra/cache_subject_observer.h index 831ae4483..91c8d3cee 100644 --- a/src/vma/infra/cache_subject_observer.h +++ b/src/vma/infra/cache_subject_observer.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/main.cpp b/src/vma/infra/main.cpp index 530fac42e..389f26857 100644 --- a/src/vma/infra/main.cpp +++ b/src/vma/infra/main.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender.cpp b/src/vma/infra/sender.cpp index 40ad19a1e..34145a60d 100644 --- a/src/vma/infra/sender.cpp +++ b/src/vma/infra/sender.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender.h b/src/vma/infra/sender.h index 6a6fd3ec7..07b3c10a8 100644 --- a/src/vma/infra/sender.h +++ b/src/vma/infra/sender.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender_info_dst.cpp b/src/vma/infra/sender_info_dst.cpp index 7a4d72b37..cb7cfb9ff 100644 --- a/src/vma/infra/sender_info_dst.cpp +++ b/src/vma/infra/sender_info_dst.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/sender_info_dst.h b/src/vma/infra/sender_info_dst.h index e563b2c85..bd496d535 100644 --- a/src/vma/infra/sender_info_dst.h +++ b/src/vma/infra/sender_info_dst.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/subject_observer.cpp b/src/vma/infra/subject_observer.cpp index 207b2cbf5..2b5cc07b0 100644 --- a/src/vma/infra/subject_observer.cpp +++ b/src/vma/infra/subject_observer.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/infra/subject_observer.h b/src/vma/infra/subject_observer.h index 4e809d40f..7f8430b0b 100644 --- a/src/vma/infra/subject_observer.h +++ b/src/vma/infra/subject_observer.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epfd_info.cpp b/src/vma/iomux/epfd_info.cpp index 28be5573a..de779f0e0 100644 --- a/src/vma/iomux/epfd_info.cpp +++ b/src/vma/iomux/epfd_info.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epfd_info.h b/src/vma/iomux/epfd_info.h index 53fbf7b97..73aaba34d 100644 --- a/src/vma/iomux/epfd_info.h +++ b/src/vma/iomux/epfd_info.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epoll_wait_call.cpp b/src/vma/iomux/epoll_wait_call.cpp index d6bb56e9e..35a51bd7f 100644 --- a/src/vma/iomux/epoll_wait_call.cpp +++ b/src/vma/iomux/epoll_wait_call.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/epoll_wait_call.h b/src/vma/iomux/epoll_wait_call.h index bcf402048..10d1ded7d 100644 --- a/src/vma/iomux/epoll_wait_call.h +++ b/src/vma/iomux/epoll_wait_call.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/io_mux_call.cpp b/src/vma/iomux/io_mux_call.cpp index 5ffab6db3..278188c55 100644 --- a/src/vma/iomux/io_mux_call.cpp +++ b/src/vma/iomux/io_mux_call.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/io_mux_call.h b/src/vma/iomux/io_mux_call.h index 544d12f5f..b3f49a5e9 100644 --- a/src/vma/iomux/io_mux_call.h +++ b/src/vma/iomux/io_mux_call.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/poll_call.cpp b/src/vma/iomux/poll_call.cpp index 2c8f840e2..8eb0d3be5 100644 --- a/src/vma/iomux/poll_call.cpp +++ b/src/vma/iomux/poll_call.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/poll_call.h b/src/vma/iomux/poll_call.h index a683cf50b..2b1a866ea 100644 --- a/src/vma/iomux/poll_call.h +++ b/src/vma/iomux/poll_call.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/select_call.cpp b/src/vma/iomux/select_call.cpp index cfed275af..9614c8964 100644 --- a/src/vma/iomux/select_call.cpp +++ b/src/vma/iomux/select_call.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/iomux/select_call.h b/src/vma/iomux/select_call.h index 4041e9eba..1068be120 100644 --- a/src/vma/iomux/select_call.h +++ b/src/vma/iomux/select_call.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/libvma.c b/src/vma/libvma.c index 564c44a44..ff3e2679a 100644 --- a/src/vma/libvma.c +++ b/src/vma/libvma.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/main.cpp b/src/vma/main.cpp index be38b6a20..38c620481 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/main.h b/src/vma/main.h index fe1b578e2..fc56ae184 100644 --- a/src/vma/main.h +++ b/src/vma/main.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/link_info.cpp b/src/vma/netlink/link_info.cpp index 1f5d23000..957d6f504 100644 --- a/src/vma/netlink/link_info.cpp +++ b/src/vma/netlink/link_info.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/link_info.h b/src/vma/netlink/link_info.h index da66fa2b2..23fd17c49 100644 --- a/src/vma/netlink/link_info.h +++ b/src/vma/netlink/link_info.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/neigh_info.cpp b/src/vma/netlink/neigh_info.cpp index 446e7a5ae..f6dffc84f 100644 --- a/src/vma/netlink/neigh_info.cpp +++ b/src/vma/netlink/neigh_info.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/neigh_info.h b/src/vma/netlink/neigh_info.h index f6b3c233a..b110d393f 100644 --- a/src/vma/netlink/neigh_info.h +++ b/src/vma/netlink/neigh_info.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_compatibility.cpp b/src/vma/netlink/netlink_compatibility.cpp index 36ecc0c17..4a5f2e0b0 100644 --- a/src/vma/netlink/netlink_compatibility.cpp +++ b/src/vma/netlink/netlink_compatibility.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_compatibility.h b/src/vma/netlink/netlink_compatibility.h index 554f72a7d..f9207e95a 100644 --- a/src/vma/netlink/netlink_compatibility.h +++ b/src/vma/netlink/netlink_compatibility.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_wrapper.cpp b/src/vma/netlink/netlink_wrapper.cpp index 9dc770f4f..9ec0fb4d9 100644 --- a/src/vma/netlink/netlink_wrapper.cpp +++ b/src/vma/netlink/netlink_wrapper.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/netlink_wrapper.h b/src/vma/netlink/netlink_wrapper.h index 68fa9a6ad..6c3a22c5a 100644 --- a/src/vma/netlink/netlink_wrapper.h +++ b/src/vma/netlink/netlink_wrapper.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/route_info.cpp b/src/vma/netlink/route_info.cpp index 91ee66e2b..8205cda20 100644 --- a/src/vma/netlink/route_info.cpp +++ b/src/vma/netlink/route_info.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/route_info.h b/src/vma/netlink/route_info.h index 159c3f8a5..211de5f54 100644 --- a/src/vma/netlink/route_info.h +++ b/src/vma/netlink/route_info.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/netlink/test_main.cpp b/src/vma/netlink/test_main.cpp index d30161d6d..550dd7dee 100644 --- a/src/vma/netlink/test_main.cpp +++ b/src/vma/netlink/test_main.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/L2_address.cpp b/src/vma/proto/L2_address.cpp index 11c75dd96..42c67cbb5 100644 --- a/src/vma/proto/L2_address.cpp +++ b/src/vma/proto/L2_address.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/L2_address.h b/src/vma/proto/L2_address.h index 632a3183a..4526aedc7 100644 --- a/src/vma/proto/L2_address.h +++ b/src/vma/proto/L2_address.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/arp.cpp b/src/vma/proto/arp.cpp index 02ce9e60c..b8073e9e0 100644 --- a/src/vma/proto/arp.cpp +++ b/src/vma/proto/arp.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/arp.h b/src/vma/proto/arp.h index 8fab0d6bf..0c4570654 100644 --- a/src/vma/proto/arp.h +++ b/src/vma/proto/arp.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index 251935021..8257f6c14 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index f7a2868a3..492f119d6 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_tcp.cpp b/src/vma/proto/dst_entry_tcp.cpp index f90e37b7d..35eb23fae 100644 --- a/src/vma/proto/dst_entry_tcp.cpp +++ b/src/vma/proto/dst_entry_tcp.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_tcp.h b/src/vma/proto/dst_entry_tcp.h index 853932e42..e8e8af32d 100644 --- a/src/vma/proto/dst_entry_tcp.h +++ b/src/vma/proto/dst_entry_tcp.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp.cpp b/src/vma/proto/dst_entry_udp.cpp index cb6f05a07..078610c13 100644 --- a/src/vma/proto/dst_entry_udp.cpp +++ b/src/vma/proto/dst_entry_udp.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp.h b/src/vma/proto/dst_entry_udp.h index 3cc561ee7..23f159e5d 100644 --- a/src/vma/proto/dst_entry_udp.h +++ b/src/vma/proto/dst_entry_udp.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp_mc.cpp b/src/vma/proto/dst_entry_udp_mc.cpp index 379358901..db9976bfd 100644 --- a/src/vma/proto/dst_entry_udp_mc.cpp +++ b/src/vma/proto/dst_entry_udp_mc.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/dst_entry_udp_mc.h b/src/vma/proto/dst_entry_udp_mc.h index 528a86587..147e78c25 100644 --- a/src/vma/proto/dst_entry_udp_mc.h +++ b/src/vma/proto/dst_entry_udp_mc.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/flow_tuple.cpp b/src/vma/proto/flow_tuple.cpp index 5f6c62cae..b950f65af 100644 --- a/src/vma/proto/flow_tuple.cpp +++ b/src/vma/proto/flow_tuple.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/flow_tuple.h b/src/vma/proto/flow_tuple.h index a6bfba1ee..7a71f2b3d 100644 --- a/src/vma/proto/flow_tuple.h +++ b/src/vma/proto/flow_tuple.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/header.cpp b/src/vma/proto/header.cpp index cf714cac5..f134a657c 100644 --- a/src/vma/proto/header.cpp +++ b/src/vma/proto/header.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/header.h b/src/vma/proto/header.h index ccb497cf6..5fc351b4e 100644 --- a/src/vma/proto/header.h +++ b/src/vma/proto/header.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_handler.cpp b/src/vma/proto/igmp_handler.cpp index bbd8e7028..556c9d7e2 100644 --- a/src/vma/proto/igmp_handler.cpp +++ b/src/vma/proto/igmp_handler.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_handler.h b/src/vma/proto/igmp_handler.h index dd46caab9..618f755b9 100644 --- a/src/vma/proto/igmp_handler.h +++ b/src/vma/proto/igmp_handler.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_mgr.cpp b/src/vma/proto/igmp_mgr.cpp index 82799ba8b..70ac9185f 100644 --- a/src/vma/proto/igmp_mgr.cpp +++ b/src/vma/proto/igmp_mgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/igmp_mgr.h b/src/vma/proto/igmp_mgr.h index ce98a88f1..67f8b5860 100644 --- a/src/vma/proto/igmp_mgr.h +++ b/src/vma/proto/igmp_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_address.h b/src/vma/proto/ip_address.h index b3a96f050..5331c5ea2 100644 --- a/src/vma/proto/ip_address.h +++ b/src/vma/proto/ip_address.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_frag.cpp b/src/vma/proto/ip_frag.cpp index 89145d26f..517866fff 100644 --- a/src/vma/proto/ip_frag.cpp +++ b/src/vma/proto/ip_frag.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/ip_frag.h b/src/vma/proto/ip_frag.h index 8f3d5c92b..a9d681c3d 100644 --- a/src/vma/proto/ip_frag.h +++ b/src/vma/proto/ip_frag.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/mem_buf_desc.h b/src/vma/proto/mem_buf_desc.h index 99c249ce6..e0e317053 100644 --- a/src/vma/proto/mem_buf_desc.h +++ b/src/vma/proto/mem_buf_desc.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index dbd0d635f..faa6bd4ac 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour.h b/src/vma/proto/neighbour.h index 14c4ddbb2..564066651 100644 --- a/src/vma/proto/neighbour.h +++ b/src/vma/proto/neighbour.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_observer.h b/src/vma/proto/neighbour_observer.h index fab0c3a7c..6e4a4fc82 100644 --- a/src/vma/proto/neighbour_observer.h +++ b/src/vma/proto/neighbour_observer.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_table_mgr.cpp b/src/vma/proto/neighbour_table_mgr.cpp index 0d774ce04..901963811 100644 --- a/src/vma/proto/neighbour_table_mgr.cpp +++ b/src/vma/proto/neighbour_table_mgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/neighbour_table_mgr.h b/src/vma/proto/neighbour_table_mgr.h index f6e9191b8..fd4deda2e 100644 --- a/src/vma/proto/neighbour_table_mgr.h +++ b/src/vma/proto/neighbour_table_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/netlink_socket_mgr.h b/src/vma/proto/netlink_socket_mgr.h index c576721cb..278fbc8bb 100644 --- a/src/vma/proto/netlink_socket_mgr.h +++ b/src/vma/proto/netlink_socket_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/peer_key.h b/src/vma/proto/peer_key.h index 246e86156..70f786a70 100644 --- a/src/vma/proto/peer_key.h +++ b/src/vma/proto/peer_key.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_entry.cpp b/src/vma/proto/route_entry.cpp index 4916062b7..4c9576b04 100644 --- a/src/vma/proto/route_entry.cpp +++ b/src/vma/proto/route_entry.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_entry.h b/src/vma/proto/route_entry.h index 779798fd7..5a3d00341 100644 --- a/src/vma/proto/route_entry.h +++ b/src/vma/proto/route_entry.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_rule_table_key.h b/src/vma/proto/route_rule_table_key.h index 0fde03804..0d7e0c025 100644 --- a/src/vma/proto/route_rule_table_key.h +++ b/src/vma/proto/route_rule_table_key.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index 45af9a8d5..1bfb2516d 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_table_mgr.h b/src/vma/proto/route_table_mgr.h index 2798498f6..721d2bf31 100644 --- a/src/vma/proto/route_table_mgr.h +++ b/src/vma/proto/route_table_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_val.cpp b/src/vma/proto/route_val.cpp index c9ae41af3..e8595eb6e 100644 --- a/src/vma/proto/route_val.cpp +++ b/src/vma/proto/route_val.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/route_val.h b/src/vma/proto/route_val.h index 614b58d58..e3268df1a 100644 --- a/src/vma/proto/route_val.h +++ b/src/vma/proto/route_val.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_entry.cpp b/src/vma/proto/rule_entry.cpp index 4c41b1787..fc5e4e3e5 100644 --- a/src/vma/proto/rule_entry.cpp +++ b/src/vma/proto/rule_entry.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_entry.h b/src/vma/proto/rule_entry.h index 192bea31f..cb417dcb5 100644 --- a/src/vma/proto/rule_entry.h +++ b/src/vma/proto/rule_entry.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index 6c341cc23..3751d5d0b 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_table_mgr.h b/src/vma/proto/rule_table_mgr.h index 273675a4c..88f012646 100644 --- a/src/vma/proto/rule_table_mgr.h +++ b/src/vma/proto/rule_table_mgr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_val.cpp b/src/vma/proto/rule_val.cpp index 1be700a06..7c6157b6d 100644 --- a/src/vma/proto/rule_val.cpp +++ b/src/vma/proto/rule_val.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/rule_val.h b/src/vma/proto/rule_val.h index 58bdd71a3..9ec57a549 100644 --- a/src/vma/proto/rule_val.h +++ b/src/vma/proto/rule_val.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/vma_lwip.cpp b/src/vma/proto/vma_lwip.cpp index 429388924..56da927ce 100644 --- a/src/vma/proto/vma_lwip.cpp +++ b/src/vma/proto/vma_lwip.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/proto/vma_lwip.h b/src/vma/proto/vma_lwip.h index 4795da248..95e023245 100644 --- a/src/vma/proto/vma_lwip.h +++ b/src/vma/proto/vma_lwip.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/cleanable_obj.h b/src/vma/sock/cleanable_obj.h index 363e9c423..0590facf4 100644 --- a/src/vma/sock/cleanable_obj.h +++ b/src/vma/sock/cleanable_obj.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/fd_collection.cpp b/src/vma/sock/fd_collection.cpp index 8fb713a82..b3a918bac 100644 --- a/src/vma/sock/fd_collection.cpp +++ b/src/vma/sock/fd_collection.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/fd_collection.h b/src/vma/sock/fd_collection.h index 6bef78934..d1686f3c1 100644 --- a/src/vma/sock/fd_collection.h +++ b/src/vma/sock/fd_collection.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pipeinfo.cpp b/src/vma/sock/pipeinfo.cpp index 552440658..5fbc9ef0f 100644 --- a/src/vma/sock/pipeinfo.cpp +++ b/src/vma/sock/pipeinfo.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pipeinfo.h b/src/vma/sock/pipeinfo.h index ebb52d223..465a5456d 100644 --- a/src/vma/sock/pipeinfo.h +++ b/src/vma/sock/pipeinfo.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pkt_rcvr_sink.h b/src/vma/sock/pkt_rcvr_sink.h index f3c0439bc..22706f439 100644 --- a/src/vma/sock/pkt_rcvr_sink.h +++ b/src/vma/sock/pkt_rcvr_sink.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/pkt_sndr_source.h b/src/vma/sock/pkt_sndr_source.h index bdf8fbf42..1e5b45f3e 100644 --- a/src/vma/sock/pkt_sndr_source.h +++ b/src/vma/sock/pkt_sndr_source.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 1c2d72c5c..a58db58d3 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sock-redirect.h b/src/vma/sock/sock-redirect.h index d54530e96..627ffb326 100644 --- a/src/vma/sock/sock-redirect.h +++ b/src/vma/sock/sock-redirect.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/socket_fd_api.cpp b/src/vma/sock/socket_fd_api.cpp index f33ed7657..34474c70a 100644 --- a/src/vma/sock/socket_fd_api.cpp +++ b/src/vma/sock/socket_fd_api.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/socket_fd_api.h b/src/vma/sock/socket_fd_api.h index 7bcad22ec..c181a0024 100644 --- a/src/vma/sock/socket_fd_api.h +++ b/src/vma/sock/socket_fd_api.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index 9e039c1a1..d1c20bc49 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo.h b/src/vma/sock/sockinfo.h index f447cbcbf..736518b24 100644 --- a/src/vma/sock/sockinfo.h +++ b/src/vma/sock/sockinfo.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index d50567e47..aaea765b8 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index ba2fafbf2..cbeb5743e 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index 1a206b50f..cd1add65c 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/sock/sockinfo_udp.h b/src/vma/sock/sockinfo_udp.h index 7fbc98dc9..b440f67eb 100644 --- a/src/vma/sock/sockinfo_udp.h +++ b/src/vma/sock/sockinfo_udp.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent.cpp b/src/vma/util/agent.cpp index f5b56043c..ec0cfb738 100644 --- a/src/vma/util/agent.cpp +++ b/src/vma/util/agent.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent.h b/src/vma/util/agent.h index 41a65986d..d17c86676 100644 --- a/src/vma/util/agent.h +++ b/src/vma/util/agent.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/agent_def.h b/src/vma/util/agent_def.h index 84d13012a..0c73086ef 100644 --- a/src/vma/util/agent_def.h +++ b/src/vma/util/agent_def.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/chunk_list.h b/src/vma/util/chunk_list.h index e5c025120..8e839dfb1 100644 --- a/src/vma/util/chunk_list.h +++ b/src/vma/util/chunk_list.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/config_parser.y b/src/vma/util/config_parser.y index 730c539a2..dcdc0afdd 100644 --- a/src/vma/util/config_parser.y +++ b/src/vma/util/config_parser.y @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/config_scanner.l b/src/vma/util/config_scanner.l index 499d0d359..9b16f34ee 100644 --- a/src/vma/util/config_scanner.l +++ b/src/vma/util/config_scanner.l @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/data_updater.cpp b/src/vma/util/data_updater.cpp index 3cf67c739..37e1fd1b1 100644 --- a/src/vma/util/data_updater.cpp +++ b/src/vma/util/data_updater.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/data_updater.h b/src/vma/util/data_updater.h index 6c37da507..ad5743ded 100644 --- a/src/vma/util/data_updater.h +++ b/src/vma/util/data_updater.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/hash_map.h b/src/vma/util/hash_map.h index 4e9a964fa..9e3a9b886 100644 --- a/src/vma/util/hash_map.h +++ b/src/vma/util/hash_map.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/hash_map.inl b/src/vma/util/hash_map.inl index 5721f15b8..42c40c8c3 100644 --- a/src/vma/util/hash_map.inl +++ b/src/vma/util/hash_map.inl @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/if.h b/src/vma/util/if.h index 76dddcb7c..0ae3f1f27 100644 --- a/src/vma/util/if.h +++ b/src/vma/util/if.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/instrumentation.cpp b/src/vma/util/instrumentation.cpp index 2f4da5598..58d4feaf7 100644 --- a/src/vma/util/instrumentation.cpp +++ b/src/vma/util/instrumentation.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/instrumentation.h b/src/vma/util/instrumentation.h index d8a6d21cd..2a2506e17 100644 --- a/src/vma/util/instrumentation.h +++ b/src/vma/util/instrumentation.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/libvma.h b/src/vma/util/libvma.h index 69e2cfabd..3f0b71d12 100644 --- a/src/vma/util/libvma.h +++ b/src/vma/util/libvma.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/match.cpp b/src/vma/util/match.cpp index 692dd49e4..1073f1fbf 100644 --- a/src/vma/util/match.cpp +++ b/src/vma/util/match.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sg_array.h b/src/vma/util/sg_array.h index c7fb30bc5..942b927bb 100644 --- a/src/vma/util/sg_array.h +++ b/src/vma/util/sg_array.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sock_addr.h b/src/vma/util/sock_addr.h index 33a9e023c..259c9b873 100644 --- a/src/vma/util/sock_addr.h +++ b/src/vma/util/sock_addr.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 069265954..f61e6ad84 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index d7b57d359..18983e838 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/sysctl_reader.h b/src/vma/util/sysctl_reader.h index 42a56d257..ea82409cc 100644 --- a/src/vma/util/sysctl_reader.h +++ b/src/vma/util/sysctl_reader.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/to_str.h b/src/vma/util/to_str.h index 4aecb7b12..ce0f715e2 100644 --- a/src/vma/util/to_str.h +++ b/src/vma/util/to_str.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 86aebf614..2a5ea4e2b 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index 5f5e2a4d0..fb05e8fc1 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/valgrind.h b/src/vma/util/valgrind.h index 82d6bc41c..aa94b2ff5 100644 --- a/src/vma/util/valgrind.h +++ b/src/vma/util/valgrind.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vma_list.h b/src/vma/util/vma_list.h index 44c4a1ac2..e2c1faf45 100644 --- a/src/vma/util/vma_list.h +++ b/src/vma/util/vma_list.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vma_stats.h b/src/vma/util/vma_stats.h index df3e5252a..60a3331dd 100644 --- a/src/vma/util/vma_stats.h +++ b/src/vma/util/vma_stats.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/vtypes.h b/src/vma/util/vtypes.h index 8ada5ea2a..d944401f0 100644 --- a/src/vma/util/vtypes.h +++ b/src/vma/util/vtypes.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup.cpp b/src/vma/util/wakeup.cpp index ede61fc85..21b1af256 100644 --- a/src/vma/util/wakeup.cpp +++ b/src/vma/util/wakeup.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup.h b/src/vma/util/wakeup.h index a4b5f6b64..27e030565 100644 --- a/src/vma/util/wakeup.h +++ b/src/vma/util/wakeup.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup_pipe.cpp b/src/vma/util/wakeup_pipe.cpp index aa364b3a4..38d759d51 100644 --- a/src/vma/util/wakeup_pipe.cpp +++ b/src/vma/util/wakeup_pipe.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/util/wakeup_pipe.h b/src/vma/util/wakeup_pipe.h index 762881def..f9fe9327d 100644 --- a/src/vma/util/wakeup_pipe.h +++ b/src/vma/util/wakeup_pipe.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index 899507358..1f83f7fff 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/api-support-check.py b/tests/api-support-check.py index 6c0ef562b..b89dc2f15 100755 --- a/tests/api-support-check.py +++ b/tests/api-support-check.py @@ -3,6 +3,7 @@ #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/async-echo-client.py b/tests/async-echo-client/async-echo-client.py index 31246b691..cfdd39ba4 100755 --- a/tests/async-echo-client/async-echo-client.py +++ b/tests/async-echo-client/async-echo-client.py @@ -4,6 +4,7 @@ #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/echo-server.py b/tests/async-echo-client/echo-server.py index 0834177ed..5365684bb 100755 --- a/tests/async-echo-client/echo-server.py +++ b/tests/async-echo-client/echo-server.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/async-echo-client/syncronized-echo-client.py b/tests/async-echo-client/syncronized-echo-client.py index 52c11a62e..cf6f1a462 100755 --- a/tests/async-echo-client/syncronized-echo-client.py +++ b/tests/async-echo-client/syncronized-echo-client.py @@ -4,6 +4,7 @@ #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/benchmarking_test/Accelerators_Benchmarking.sh b/tests/benchmarking_test/Accelerators_Benchmarking.sh index d4dde4b6c..cc6fadf0d 100755 --- a/tests/benchmarking_test/Accelerators_Benchmarking.sh +++ b/tests/benchmarking_test/Accelerators_Benchmarking.sh @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/bindtodevice/client.py b/tests/bindtodevice/client.py index eb675c84a..0fe026cbb 100755 --- a/tests/bindtodevice/client.py +++ b/tests/bindtodevice/client.py @@ -4,6 +4,7 @@ #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/connect-disconnect/client.py b/tests/connect-disconnect/client.py index f5dd6f5e3..1ec46f548 100755 --- a/tests/connect-disconnect/client.py +++ b/tests/connect-disconnect/client.py @@ -4,6 +4,7 @@ #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/socketxtreme/server_tcp.c b/tests/extra_api_tests/socketxtreme/server_tcp.c index 95ee34314..57e9946a0 100644 --- a/tests/extra_api_tests/socketxtreme/server_tcp.c +++ b/tests/extra_api_tests/socketxtreme/server_tcp.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.c b/tests/extra_api_tests/tcp_zcopy_cb/client.c index d8b40b398..302db3960 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.h b/tests/extra_api_tests/tcp_zcopy_cb/client.h index 6d3a5f6a0..e1154a718 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/main.c b/tests/extra_api_tests/tcp_zcopy_cb/main.c index 43cf68166..cecee3e80 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/main.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/main.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.c b/tests/extra_api_tests/tcp_zcopy_cb/server.c index f1da0431a..a5f9e0471 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.h b/tests/extra_api_tests/tcp_zcopy_cb/server.h index d7c8108fd..a8dd64ae6 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/types.h b/tests/extra_api_tests/tcp_zcopy_cb/types.h index b021e5b55..6c5115d06 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/types.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/types.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/extra_api_tests/tcp_zcopy_cb/utils.c b/tests/extra_api_tests/tcp_zcopy_cb/utils.c index 67eec501c..6dc762313 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/utils.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/utils.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/getsockname_test.c b/tests/functionality/getsockname_test.c index 45132ae3f..0c35029da 100644 --- a/tests/functionality/getsockname_test.c +++ b/tests/functionality/getsockname_test.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/1epoll_1socket_twice.c b/tests/functionality/iomux/1epoll_1socket_twice.c index beaf6f788..1cda08e8d 100644 --- a/tests/functionality/iomux/1epoll_1socket_twice.c +++ b/tests/functionality/iomux/1epoll_1socket_twice.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/2epoll_1socket.c b/tests/functionality/iomux/2epoll_1socket.c index 4dca5a828..488465c04 100644 --- a/tests/functionality/iomux/2epoll_1socket.c +++ b/tests/functionality/iomux/2epoll_1socket.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/client.py b/tests/functionality/iomux/client.py index d4c5c3c64..6022c1376 100755 --- a/tests/functionality/iomux/client.py +++ b/tests/functionality/iomux/client.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/eclient.py b/tests/functionality/iomux/eclient.py index 313c61408..9c473f49d 100644 --- a/tests/functionality/iomux/eclient.py +++ b/tests/functionality/iomux/eclient.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/eserver.py b/tests/functionality/iomux/eserver.py index 2efd9d974..574ccf3c1 100644 --- a/tests/functionality/iomux/eserver.py +++ b/tests/functionality/iomux/eserver.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/pclient.py b/tests/functionality/iomux/pclient.py index 488c27d3e..cca82a424 100644 --- a/tests/functionality/iomux/pclient.py +++ b/tests/functionality/iomux/pclient.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/pserver.py b/tests/functionality/iomux/pserver.py index 1a0a7b238..84016d3c7 100644 --- a/tests/functionality/iomux/pserver.py +++ b/tests/functionality/iomux/pserver.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/functionality/iomux/server.py b/tests/functionality/iomux/server.py index 3c1ec0c58..65306cce8 100755 --- a/tests/functionality/iomux/server.py +++ b/tests/functionality/iomux/server.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/base.cc b/tests/gtest/common/base.cc index 8bda89b62..1a85482e9 100644 --- a/tests/gtest/common/base.cc +++ b/tests/gtest/common/base.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/base.h b/tests/gtest/common/base.h index 604e41c78..725933e97 100644 --- a/tests/gtest/common/base.h +++ b/tests/gtest/common/base.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/cmn.h b/tests/gtest/common/cmn.h index 89cdde85a..2c06300a6 100644 --- a/tests/gtest/common/cmn.h +++ b/tests/gtest/common/cmn.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/def.h b/tests/gtest/common/def.h index cdb11859c..6f45af388 100644 --- a/tests/gtest/common/def.h +++ b/tests/gtest/common/def.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/log.h b/tests/gtest/common/log.h index 19488215e..ed77aee55 100644 --- a/tests/gtest/common/log.h +++ b/tests/gtest/common/log.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/sys.cc b/tests/gtest/common/sys.cc index 5675ee271..d3bea72a1 100644 --- a/tests/gtest/common/sys.cc +++ b/tests/gtest/common/sys.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/common/sys.h b/tests/gtest/common/sys.h index 04ce5de9a..0d2386d6d 100644 --- a/tests/gtest/common/sys.h +++ b/tests/gtest/common/sys.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/main.cc b/tests/gtest/main.cc index 2e35faaf4..6e4919f4b 100644 --- a/tests/gtest/main.cc +++ b/tests/gtest/main.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_base.cc b/tests/gtest/mix/mix_base.cc index ce8b664e6..84a964a7c 100644 --- a/tests/gtest/mix/mix_base.cc +++ b/tests/gtest/mix/mix_base.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_base.h b/tests/gtest/mix/mix_base.h index 894181071..fa65f9f1a 100644 --- a/tests/gtest/mix/mix_base.h +++ b/tests/gtest/mix/mix_base.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/mix_list.cc b/tests/gtest/mix/mix_list.cc index 9e34bdec2..9d52641a1 100644 --- a/tests/gtest/mix/mix_list.cc +++ b/tests/gtest/mix/mix_list.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/mix/sg_array.cc b/tests/gtest/mix/sg_array.cc index ad533c59c..f28af7b1e 100644 --- a/tests/gtest/mix/sg_array.cc +++ b/tests/gtest/mix/sg_array.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_base.cc b/tests/gtest/sock/sock_base.cc index 8e470d2cc..32a4c8e13 100644 --- a/tests/gtest/sock/sock_base.cc +++ b/tests/gtest/sock/sock_base.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_base.h b/tests/gtest/sock/sock_base.h index 0c0d558c5..4348bbb24 100644 --- a/tests/gtest/sock/sock_base.h +++ b/tests/gtest/sock/sock_base.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/sock/sock_socket.cc b/tests/gtest/sock/sock_socket.cc index b9dc0d958..10eb81012 100644 --- a/tests/gtest/sock/sock_socket.cc +++ b/tests/gtest/sock/sock_socket.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_base.cc b/tests/gtest/tcp/tcp_base.cc index a2e32d145..7246aaf1a 100644 --- a/tests/gtest/tcp/tcp_base.cc +++ b/tests/gtest/tcp/tcp_base.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_base.h b/tests/gtest/tcp/tcp_base.h index 65e3389b7..88d7c0c30 100644 --- a/tests/gtest/tcp/tcp_base.h +++ b/tests/gtest/tcp/tcp_base.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_bind.cc b/tests/gtest/tcp/tcp_bind.cc index 45cbc4bcd..946047727 100644 --- a/tests/gtest/tcp/tcp_bind.cc +++ b/tests/gtest/tcp/tcp_bind.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_connect.cc b/tests/gtest/tcp/tcp_connect.cc index 8cad7f1a9..194891b99 100644 --- a/tests/gtest/tcp/tcp_connect.cc +++ b/tests/gtest/tcp/tcp_connect.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_connect_nb.cc b/tests/gtest/tcp/tcp_connect_nb.cc index f66746366..3dda7cd0f 100644 --- a/tests/gtest/tcp/tcp_connect_nb.cc +++ b/tests/gtest/tcp/tcp_connect_nb.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_event.cc b/tests/gtest/tcp/tcp_event.cc index 461ad519c..c65288624 100644 --- a/tests/gtest/tcp/tcp_event.cc +++ b/tests/gtest/tcp/tcp_event.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_send.cc b/tests/gtest/tcp/tcp_send.cc index d78db4033..f3b7d65d9 100644 --- a/tests/gtest/tcp/tcp_send.cc +++ b/tests/gtest/tcp/tcp_send.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_send_zc.cc b/tests/gtest/tcp/tcp_send_zc.cc index 4de5a24c5..c0897ca45 100644 --- a/tests/gtest/tcp/tcp_send_zc.cc +++ b/tests/gtest/tcp/tcp_send_zc.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sendfile.cc b/tests/gtest/tcp/tcp_sendfile.cc index d2bed4391..aec49ba8c 100644 --- a/tests/gtest/tcp/tcp_sendfile.cc +++ b/tests/gtest/tcp/tcp_sendfile.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sendto.cc b/tests/gtest/tcp/tcp_sendto.cc index 56f73a6e4..c384c864e 100644 --- a/tests/gtest/tcp/tcp_sendto.cc +++ b/tests/gtest/tcp/tcp_sendto.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_socket.cc b/tests/gtest/tcp/tcp_socket.cc index 5a3711ad7..e15cc0295 100644 --- a/tests/gtest/tcp/tcp_socket.cc +++ b/tests/gtest/tcp/tcp_socket.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_sockopt.cc b/tests/gtest/tcp/tcp_sockopt.cc index c40b44709..3064621fa 100644 --- a/tests/gtest/tcp/tcp_sockopt.cc +++ b/tests/gtest/tcp/tcp_sockopt.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/tcp/tcp_tls.cc b/tests/gtest/tcp/tcp_tls.cc index 284a7df0f..c9362d242 100644 --- a/tests/gtest/tcp/tcp_tls.cc +++ b/tests/gtest/tcp/tcp_tls.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_base.cc b/tests/gtest/udp/udp_base.cc index 60c2cc0a5..e05be8717 100644 --- a/tests/gtest/udp/udp_base.cc +++ b/tests/gtest/udp/udp_base.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_base.h b/tests/gtest/udp/udp_base.h index 60616f9df..660f5a04e 100644 --- a/tests/gtest/udp/udp_base.h +++ b/tests/gtest/udp/udp_base.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_bind.cc b/tests/gtest/udp/udp_bind.cc index 64df297c1..88a4857a5 100644 --- a/tests/gtest/udp/udp_bind.cc +++ b/tests/gtest/udp/udp_bind.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_connect.cc b/tests/gtest/udp/udp_connect.cc index 3f52608ec..af0857ac5 100644 --- a/tests/gtest/udp/udp_connect.cc +++ b/tests/gtest/udp/udp_connect.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_send.cc b/tests/gtest/udp/udp_send.cc index 50247cbfb..d7bbb5855 100644 --- a/tests/gtest/udp/udp_send.cc +++ b/tests/gtest/udp/udp_send.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/udp/udp_sendto.cc b/tests/gtest/udp/udp_sendto.cc index 882189312..1d54c1b9c 100644 --- a/tests/gtest/udp/udp_sendto.cc +++ b/tests/gtest/udp/udp_sendto.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_base.cc b/tests/gtest/vma/vma_base.cc index aaeab8f30..1b60af682 100644 --- a/tests/gtest/vma/vma_base.cc +++ b/tests/gtest/vma/vma_base.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_base.h b/tests/gtest/vma/vma_base.h index 0f30e8f20..35a14a6a2 100644 --- a/tests/gtest/vma/vma_base.h +++ b/tests/gtest/vma/vma_base.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_ioctl.cc b/tests/gtest/vma/vma_ioctl.cc index 3e91ce5a6..64076634a 100644 --- a/tests/gtest/vma/vma_ioctl.cc +++ b/tests/gtest/vma/vma_ioctl.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_poll.cc b/tests/gtest/vma/vma_poll.cc index 1363692ae..07830f049 100644 --- a/tests/gtest/vma/vma_poll.cc +++ b/tests/gtest/vma/vma_poll.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_recvfrom_zcopy.cc b/tests/gtest/vma/vma_recvfrom_zcopy.cc index 38202f2c5..f573c808c 100644 --- a/tests/gtest/vma/vma_recvfrom_zcopy.cc +++ b/tests/gtest/vma/vma_recvfrom_zcopy.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_ring.cc b/tests/gtest/vma/vma_ring.cc index 4ec28f22a..51e05bf8c 100644 --- a/tests/gtest/vma/vma_ring.cc +++ b/tests/gtest/vma/vma_ring.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vma/vma_sockopt.cc b/tests/gtest/vma/vma_sockopt.cc index da03ac082..f97b8e666 100644 --- a/tests/gtest/vma/vma_sockopt.cc +++ b/tests/gtest/vma/vma_sockopt.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_base.cc b/tests/gtest/vmad/vmad_base.cc index b0bcbef4e..8cab23c19 100644 --- a/tests/gtest/vmad/vmad_base.cc +++ b/tests/gtest/vmad/vmad_base.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_base.h b/tests/gtest/vmad/vmad_base.h index 7ccca4246..7f281983d 100644 --- a/tests/gtest/vmad/vmad_base.h +++ b/tests/gtest/vmad/vmad_base.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_bitmap.cc b/tests/gtest/vmad/vmad_bitmap.cc index 44a07c673..1e7cc1ea5 100644 --- a/tests/gtest/vmad/vmad_bitmap.cc +++ b/tests/gtest/vmad/vmad_bitmap.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_flow.cc b/tests/gtest/vmad/vmad_flow.cc index 71a3dd19d..cf3a6b8ba 100644 --- a/tests/gtest/vmad/vmad_flow.cc +++ b/tests/gtest/vmad/vmad_flow.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_hash.cc b/tests/gtest/vmad/vmad_hash.cc index 9dde79a5b..d73ef09f4 100644 --- a/tests/gtest/vmad/vmad_hash.cc +++ b/tests/gtest/vmad/vmad_hash.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_init.cc b/tests/gtest/vmad/vmad_init.cc index e1a040650..d4e77b54c 100644 --- a/tests/gtest/vmad/vmad_init.cc +++ b/tests/gtest/vmad/vmad_init.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/gtest/vmad/vmad_state.cc b/tests/gtest/vmad/vmad_state.cc index 03076276b..82b7c1bf1 100644 --- a/tests/gtest/vmad/vmad_state.cc +++ b/tests/gtest/vmad/vmad_state.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/latency_test/tcp_lat.cpp b/tests/latency_test/tcp_lat.cpp index 38e00936c..daec7b5e7 100644 --- a/tests/latency_test/tcp_lat.cpp +++ b/tests/latency_test/tcp_lat.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/latency_test/udp_lat.c b/tests/latency_test/udp_lat.c index edf40520d..05dbbd00d 100644 --- a/tests/latency_test/udp_lat.c +++ b/tests/latency_test/udp_lat.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/listen/tcp_client.py b/tests/listen/tcp_client.py index 83396649f..2bee5171c 100755 --- a/tests/listen/tcp_client.py +++ b/tests/listen/tcp_client.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/listen/tcp_server.py b/tests/listen/tcp_server.py index f8f0b7e97..2237db8a9 100755 --- a/tests/listen/tcp_server.py +++ b/tests/listen/tcp_server.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/low_pps_tcp_send_test/exchange.cpp b/tests/low_pps_tcp_send_test/exchange.cpp index 643abab1d..b02fd375a 100755 --- a/tests/low_pps_tcp_send_test/exchange.cpp +++ b/tests/low_pps_tcp_send_test/exchange.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/low_pps_tcp_send_test/trader.cpp b/tests/low_pps_tcp_send_test/trader.cpp index 22b68a816..61f4dc90a 100755 --- a/tests/low_pps_tcp_send_test/trader.cpp +++ b/tests/low_pps_tcp_send_test/trader.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/mc_loop_test/mc_loop_test.c b/tests/mc_loop_test/mc_loop_test.c index 6c85b9c40..e294204fb 100644 --- a/tests/mc_loop_test/mc_loop_test.c +++ b/tests/mc_loop_test/mc_loop_test.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/multithread_test/exchange.cpp b/tests/multithread_test/exchange.cpp index ad1e0b2b9..ffb75375f 100755 --- a/tests/multithread_test/exchange.cpp +++ b/tests/multithread_test/exchange.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/multithread_test/trader.cpp b/tests/multithread_test/trader.cpp index b24750753..56f29f2af 100755 --- a/tests/multithread_test/trader.cpp +++ b/tests/multithread_test/trader.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/pps_test/pps_test.c b/tests/pps_test/pps_test.c index 8230d965e..127937751 100644 --- a/tests/pps_test/pps_test.c +++ b/tests/pps_test/pps_test.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py index 54759d734..47805d684 100755 --- a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py @@ -4,6 +4,7 @@ #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/resource_release_checker/server_socket_recreate_loop.py b/tests/resource_release_checker/server_socket_recreate_loop.py index 515715ff6..ba880e555 100755 --- a/tests/resource_release_checker/server_socket_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_recreate_loop.py @@ -4,6 +4,7 @@ #@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/reuse_ud_test.c b/tests/reuse_ud_test.c index 6886a9a86..13814b2ad 100644 --- a/tests/reuse_ud_test.c +++ b/tests/reuse_ud_test.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/select_t1.c b/tests/select_t1.c index aebf367b0..940df3f7d 100644 --- a/tests/select_t1.c +++ b/tests/select_t1.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/client.cc b/tests/server_test/client.cc index 8b813c4e4..cf13bc53e 100644 --- a/tests/server_test/client.cc +++ b/tests/server_test/client.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/client.h b/tests/server_test/client.h index f6443db0c..1e7e27e0b 100644 --- a/tests/server_test/client.h +++ b/tests/server_test/client.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/main.cc b/tests/server_test/main.cc index 0c61d3629..bea931c63 100644 --- a/tests/server_test/main.cc +++ b/tests/server_test/main.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/options.cc b/tests/server_test/options.cc index 338004135..0e13e6093 100644 --- a/tests/server_test/options.cc +++ b/tests/server_test/options.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/options.h b/tests/server_test/options.h index de6c0f16d..0353290e3 100644 --- a/tests/server_test/options.h +++ b/tests/server_test/options.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/server.cc b/tests/server_test/server.cc index 9fc48d291..80dd5b477 100644 --- a/tests/server_test/server.cc +++ b/tests/server_test/server.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/server.h b/tests/server_test/server.h index 7514518fd..aaba638d9 100644 --- a/tests/server_test/server.h +++ b/tests/server_test/server.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/vtime.cc b/tests/server_test/vtime.cc index 91f518d5d..941d07fb7 100644 --- a/tests/server_test/vtime.cc +++ b/tests/server_test/vtime.cc @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/server_test/vtime.h b/tests/server_test/vtime.h index 3f4dabb43..a82bdddb8 100644 --- a/tests/server_test/vtime.h +++ b/tests/server_test/vtime.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/simple_fork/fork.py b/tests/simple_fork/fork.py index 501e72427..8461cffb3 100755 --- a/tests/simple_fork/fork.py +++ b/tests/simple_fork/fork.py @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/Makefile b/tests/tcp_window_size_exerciser/Makefile index 5ab0dc327..f436f36f8 100644 --- a/tests/tcp_window_size_exerciser/Makefile +++ b/tests/tcp_window_size_exerciser/Makefile @@ -1,6 +1,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test.h b/tests/tcp_window_size_exerciser/tcp_wnd_test.h index a5a6e6a1d..9dc39cd6d 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test.h +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c index 57b5693f9..6bb8ca572 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c index fb81e3645..b3eacd765 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/testbed/testbed.c b/tests/testbed/testbed.c index 1fe2584a0..672170043 100644 --- a/tests/testbed/testbed.c +++ b/tests/testbed/testbed.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/throughput_test/bandwidth_test.c b/tests/throughput_test/bandwidth_test.c index b4d784178..52d3f33bd 100644 --- a/tests/throughput_test/bandwidth_test.c +++ b/tests/throughput_test/bandwidth_test.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/timetest/timetest.cpp b/tests/timetest/timetest.cpp index c6399f1b6..ef39e447f 100644 --- a/tests/timetest/timetest.cpp +++ b/tests/timetest/timetest.cpp @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/vma_perf_envelope/vma_multiplexers_test.sh b/tests/vma_perf_envelope/vma_multiplexers_test.sh index 5ff22a8b2..c4c4e2bec 100755 --- a/tests/vma_perf_envelope/vma_multiplexers_test.sh +++ b/tests/vma_perf_envelope/vma_multiplexers_test.sh @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tests/vma_perf_envelope/vma_perf_envelope.sh b/tests/vma_perf_envelope/vma_perf_envelope.sh index 13b248d56..0107f5ff7 100755 --- a/tests/vma_perf_envelope/vma_perf_envelope.sh +++ b/tests/vma_perf_envelope/vma_perf_envelope.sh @@ -2,6 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/bitmap.h b/tools/daemon/bitmap.h index d0abe72c5..73ab98d14 100644 --- a/tools/daemon/bitmap.h +++ b/tools/daemon/bitmap.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/daemon.c b/tools/daemon/daemon.c index 003acdb6d..3cf13025c 100644 --- a/tools/daemon/daemon.c +++ b/tools/daemon/daemon.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/daemon.h b/tools/daemon/daemon.h index 8f066b44c..b9bb12d6c 100644 --- a/tools/daemon/daemon.h +++ b/tools/daemon/daemon.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/flow.c b/tools/daemon/flow.c index 8fa2bcb40..be3bacff7 100644 --- a/tools/daemon/flow.c +++ b/tools/daemon/flow.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/hash.c b/tools/daemon/hash.c index 394d54262..4d97f38ce 100644 --- a/tools/daemon/hash.c +++ b/tools/daemon/hash.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/hash.h b/tools/daemon/hash.h index db3bc8cef..73b650ba6 100644 --- a/tools/daemon/hash.h +++ b/tools/daemon/hash.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/loop.c b/tools/daemon/loop.c index 4b2ab63b0..c94ce20f6 100644 --- a/tools/daemon/loop.c +++ b/tools/daemon/loop.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/message.c b/tools/daemon/message.c index 38c4616b0..3e83f73dd 100644 --- a/tools/daemon/message.c +++ b/tools/daemon/message.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/nl.c b/tools/daemon/nl.c index 433d86079..8b3846f13 100644 --- a/tools/daemon/nl.c +++ b/tools/daemon/nl.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/nl.h b/tools/daemon/nl.h index 828a00b12..a0cf47e92 100644 --- a/tools/daemon/nl.h +++ b/tools/daemon/nl.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/notify.c b/tools/daemon/notify.c index 52bb9c21a..e86f34831 100644 --- a/tools/daemon/notify.c +++ b/tools/daemon/notify.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/store.c b/tools/daemon/store.c index 560838f42..04706a1f5 100644 --- a/tools/daemon/store.c +++ b/tools/daemon/store.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/tc.c b/tools/daemon/tc.c index 7c9026627..da4fe52b9 100644 --- a/tools/daemon/tc.c +++ b/tools/daemon/tc.c @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/tools/daemon/tc.h b/tools/daemon/tc.h index 98e12c653..fdb9f2767 100644 --- a/tools/daemon/tc.h +++ b/tools/daemon/tc.h @@ -1,6 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU From 1771d78a363db5ea2a24c175d155145f7f610d4c Mon Sep 17 00:00:00 2001 From: Tomer Cabouly Date: Sun, 19 Jan 2025 12:59:35 +0200 Subject: [PATCH 073/150] issue: 4260620 infinite loop latency spec When there are no offloaded sockets, we mistakingly poll for offloaded sockets in case VMA_SELECT_POLL_OS_FORCE=1. This behavior makes us getting stuck in an infinite loop. This patch fixes the issue by polling OS sockets in the case there are no offloaded sockets regardless to VMA_SELECT_POLL_OS_FORCE value. Signed-off-by: Tomer Cabouly --- README | 4 ++-- src/vma/iomux/io_mux_call.cpp | 4 +--- src/vma/iomux/io_mux_call.h | 1 - src/vma/main.cpp | 1 - src/vma/util/sys_vars.cpp | 4 ++-- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README b/README index e930e7cf8..858413854 100644 --- a/README +++ b/README @@ -627,8 +627,8 @@ Where value of 0 is used for no polling (interrupt driven) Default value is 100000 VMA_SELECT_POLL_OS_FORCE -This flag forces to poll the OS file descriptors while user thread calls -select(), poll() or epoll_wait() even when no offloaded sockets are mapped. +NOTE: +This is a DEPRECATED configuration parameter that will be removed from future libvma releases. Enabling this flag causes VMA to set VMA_SELECT_POLL_OS_RATIO and VMA_SELECT_SKIP_OS to 1. This will result in VMA_SELECT_POLL number of times VMA will poll the OS file descriptors, along side with offloaded diff --git a/src/vma/iomux/io_mux_call.cpp b/src/vma/iomux/io_mux_call.cpp index 278188c55..f05ed689e 100644 --- a/src/vma/iomux/io_mux_call.cpp +++ b/src/vma/iomux/io_mux_call.cpp @@ -172,7 +172,6 @@ io_mux_call::io_mux_call(int *off_fds_buffer, offloaded_mode_t *off_modes_buffer m_n_sysvar_select_skip_os_fd_check(safe_mce_sys().select_skip_os_fd_check), m_n_sysvar_select_poll_os_ratio(safe_mce_sys().select_poll_os_ratio), m_n_sysvar_select_poll_num(safe_mce_sys().select_poll_num), - m_b_sysvar_select_poll_os_force(safe_mce_sys().select_poll_os_force), m_b_sysvar_select_handle_cpu_usage_stats(safe_mce_sys().select_handle_cpu_usage_stats), m_p_all_offloaded_fds(off_fds_buffer), m_p_offloaded_modes(off_modes_buffer), @@ -470,8 +469,7 @@ int io_mux_call::call() __log_funcall(""); - if (!m_b_sysvar_select_poll_os_force // TODO: evaluate/consider this logic - && (*m_p_num_all_offloaded_fds == 0)) + if (*m_p_num_all_offloaded_fds == 0) { // 1st scenario timer_update(); diff --git a/src/vma/iomux/io_mux_call.h b/src/vma/iomux/io_mux_call.h index b3f49a5e9..b6d442988 100644 --- a/src/vma/iomux/io_mux_call.h +++ b/src/vma/iomux/io_mux_call.h @@ -241,7 +241,6 @@ class io_mux_call const uint32_t m_n_sysvar_select_skip_os_fd_check; const uint32_t m_n_sysvar_select_poll_os_ratio; const int32_t m_n_sysvar_select_poll_num; - const bool m_b_sysvar_select_poll_os_force; const bool m_b_sysvar_select_handle_cpu_usage_stats; public: diff --git a/src/vma/main.cpp b/src/vma/main.cpp index 38c620481..b3ad94cbb 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -483,7 +483,6 @@ void print_vma_global_settings() VLOG_PARAM_STRING("Force Flowtag for MC", safe_mce_sys().mc_force_flowtag, MCE_DEFAULT_MC_FORCE_FLOWTAG, SYS_VAR_MC_FORCE_FLOWTAG, safe_mce_sys().mc_force_flowtag ? "Enabled " : "Disabled"); VLOG_PARAM_NUMBER("Select Poll (usec)", safe_mce_sys().select_poll_num, MCE_DEFAULT_SELECT_NUM_POLLS, SYS_VAR_SELECT_NUM_POLLS); - VLOG_PARAM_STRING("Select Poll OS Force", safe_mce_sys().select_poll_os_force, MCE_DEFAULT_SELECT_POLL_OS_FORCE, SYS_VAR_SELECT_POLL_OS_FORCE, safe_mce_sys().select_poll_os_force ? "Enabled " : "Disabled"); if (safe_mce_sys().select_poll_os_ratio) { VLOG_PARAM_NUMBER("Select Poll OS Ratio", safe_mce_sys().select_poll_os_ratio, MCE_DEFAULT_SELECT_POLL_OS_RATIO, SYS_VAR_SELECT_POLL_OS_RATIO); diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index f61e6ad84..205089e4f 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -704,8 +704,8 @@ void mce_sys_var::get_env_params() mem_alloc_type = ALLOC_TYPE_HUGEPAGES; //MCE_DEFAULT_MEM_ALLOC_TYPE (ALLOC_TYPE_CONTIG) strcpy(internal_thread_affinity_str, "0"); //MCE_DEFAULT_INTERNAL_THREAD_AFFINITY_STR ("-1") progress_engine_interval_msec = 100; //MCE_DEFAULT_PROGRESS_ENGINE_INTERVAL_MSEC (10) - select_poll_os_ratio = 100; //MCE_DEFAULT_SELECT_POLL_OS_RATIO (10) - select_poll_os_force = 1; //MCE_DEFAULT_SELECT_POLL_OS_FORCE (0) + select_poll_os_ratio = 1; //MCE_DEFAULT_SELECT_POLL_OS_RATIO (10) + select_skip_os_fd_check = 1; //MCE_DEFAULT_SELECT_SKIP_OS (4) tcp_nodelay = true; // MCE_DEFAULT_TCP_NODELAY (falst) ring_dev_mem_tx = 16384; // MCE_DEFAULT_RING_DEV_MEM_TX (0) break; From 308747bb70baf1b0ddbe0e936eff0959549bd393 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Wed, 26 Feb 2025 15:57:54 +0200 Subject: [PATCH 074/150] [CI] issue: 4332286 Release path change and source_rpms semilink Change release folder name from libvma_v_ to vma_v_ Create semilink from package release folder to source_rpms folder. Signed-off-by: NirWolfer --- .ci/do_release.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.ci/do_release.sh b/.ci/do_release.sh index 81937924e..032298b7c 100755 --- a/.ci/do_release.sh +++ b/.ci/do_release.sh @@ -49,6 +49,7 @@ MAJOR_VERSION=$(grep -e "define(\[prj_ver_major\]" configure.ac | awk '{ printf MINOR_VERSION=$(grep -e "define(\[prj_ver_minor\]" configure.ac | awk '{ printf $2 };' | sed 's/)//g') REVISION_VERSION=$(grep -e "define(\[prj_ver_revision\]" configure.ac | awk '{ printf $2 };' | sed 's/)//g') configure_ac_version="${MAJOR_VERSION}.${MINOR_VERSION}.${REVISION_VERSION}" +DST_DIR=${release_folder}/vma_v_${release_tag}-0/src echo "FULL_VERSION from configure.ac: [${configure_ac_version}]" if [[ "${release_tag}" != "${configure_ac_version}" ]]; then @@ -57,11 +58,10 @@ if [[ "${release_tag}" != "${configure_ac_version}" ]]; then fi if [ "${do_release}" = true ] ; then - echo "do_release is set to true, will release package into ${release_folder}/libvma_v_${release_tag}-0/src" + echo "do_release is set to true, will release package into ${DST_DIR}" cd pkg/packages || { echo "pkg folder is missing, exiting..."; exit 1; } pkg_name=$(ls -1 libvma-"${release_tag}"-"${revision}".src.rpm) - DST_DIR=${release_folder}/libvma_v_${release_tag}-0/src if [[ -e "${DST_DIR}/${pkg_name}" ]]; then echo "ERROR: [${DST_DIR}/${pkg_name}] file already exist. Exit" @@ -70,6 +70,7 @@ if [ "${do_release}" = true ] ; then sudo -E -u swx-jenkins mkdir -p "$DST_DIR" sudo -E -u swx-jenkins cp -v "${pkg_name}" "$DST_DIR" + sudo -E -u swx-jenkins ln -s "${DST_DIR}/${pkg_name}" "${release_folder}/source_rpms/${pkg_name}" echo "Release found at $DST_DIR" else echo "do_release is set to false, skipping package release." From bcc51baca2eec3e1a8816c007f7c6df8cb551951 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Sun, 2 Mar 2025 16:46:54 +0200 Subject: [PATCH 075/150] [CI] issue: 4322501 Add rhel9.4 aarch64 as build container Add new rhel9.4 Dockerfile - supports both x86_64 and aarch64 Add definition for rhel9.4 aarch64 under matrix job Signed-off-by: NirWolfer --- .ci/dockerfiles/Dockerfile.rhel9.4 | 37 ++++++++++++++++++++++++++++++ .ci/matrix_job.yaml | 4 +++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .ci/dockerfiles/Dockerfile.rhel9.4 diff --git a/.ci/dockerfiles/Dockerfile.rhel9.4 b/.ci/dockerfiles/Dockerfile.rhel9.4 new file mode 100644 index 000000000..7e6fb9530 --- /dev/null +++ b/.ci/dockerfiles/Dockerfile.rhel9.4 @@ -0,0 +1,37 @@ +ARG HARBOR_URL=nbu-harbor.gtm.nvidia.com +ARG ARCH=x86_64 +FROM $HARBOR_URL/swx-infra/media/$ARCH/base/rhel:9.4 +ARG WEBREPO_URL=webrepo.gtm.nvidia.com +ARG ARCH +ARG _UID=6213 +ARG _GID=101 +ARG _LOGIN=swx-jenkins +ARG _HOME=/var/home/$_LOGIN + +RUN sed -i "s#http://webrepo#http://${WEBREPO_URL}#" /etc/yum.repos.d/* && \ + sed -i 's/mirrorlist/#mirrorlist/;s!#baseurl=http://mirror.centos.org!baseurl=http://vault.centos.org!' /etc/yum.repos.d/* && \ + echo "[mlnx-9.4-BaseOS]" > /etc/yum.repos.d/mlnx-9.4-BaseOS.repo && \ + echo "name=RHEL 9.4 mirror BaseOS" >> /etc/yum.repos.d/mlnx-9.4-BaseOS.repo && \ + echo "baseurl=http://${WEBREPO_URL}/RH/9.4/$ARCH/BaseOS/" >> /etc/yum.repos.d/mlnx-9.4-BaseOS.repo && \ + echo "enabled=1" >> /etc/yum.repos.d/mlnx-9.4-BaseOS.repo && \ + echo "gpgcheck=0" >> /etc/yum.repos.d/mlnx-9.4-BaseOS.repo && \ + echo "[mlnx-9.4-AppStream]" > /etc/yum.repos.d/mlnx-9.4-AppStream.repo && \ + echo "name=RHEL 9.4 mirror AppStream" >> /etc/yum.repos.d/mlnx-9.4-AppStream.repo && \ + echo "baseurl=http://${WEBREPO_URL}/RH/9.4/$ARCH/AppStream/" >> /etc/yum.repos.d/mlnx-9.4-AppStream.repo && \ + echo "enabled=1" >> /etc/yum.repos.d/mlnx-9.4-AppStream.repo && \ + echo "gpgcheck=0" >> /etc/yum.repos.d/mlnx-9.4-AppStream.repo && \ + yum makecache + +RUN echo "${_LOGIN} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ + echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ + mkdir -p ${_HOME} && \ + groupadd -f -g "$_GID" "$_LOGIN" && \ + useradd -u "$_UID" -g "$_GID" -s /bin/bash -m -d ${_HOME} "${_LOGIN}" && \ + chown -R ${_LOGIN} ${_HOME} + +RUN dnf install --allowerasing -y \ + git autoconf automake libtool gcc \ + sudo gcc-c++ libibverbs-devel rdma-core \ + librdmacm unzip patch wget make \ + libnl3-devel rpm-build && \ + dnf clean all && rm -rf /var/cache/dnf/* diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index d5f1b1e6b..8b9937235 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -4,7 +4,8 @@ job: LIBVMA step_allow_single_selector: false registry_host: harbor.mellanox.com -registry_auth: swx-storage +registry_auth: swx-infra_harbor_credentials +registry_path: /swx-infra/media kubernetes: privileged: true @@ -33,6 +34,7 @@ runs_on_dockers: # doca-host - {name: 'rhel8.6-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/base', category: 'base', arch: 'x86_64'} - {name: 'rhel9.0-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel9.0/base', category: 'base', arch: 'x86_64'} + - {name: 'rhel9.4-aarch64', file: '.ci/dockerfiles/Dockerfile.rhel9.4', category: 'base', arch: 'aarch64', tag: '20250203', uri: 'vma/$arch/$name/build', build_args: '--build-arg ARCH=aarch64 --no-cache'} - {name: 'ub24.04-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu24.04/base', category: 'base', arch: 'x86_64'} - {name: 'ub24.04-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu24.04/base', category: 'base', arch: 'aarch64'} - {name: 'sl15sp4-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/sles15sp4/base', category: 'base', arch: 'x86_64'} From 2a89b8f0668968efba575652cac8a594ecd43f55 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Thu, 6 Mar 2025 15:39:36 +0200 Subject: [PATCH 076/150] [CI] Issue: 4332286 DR release pipeline fails on daily test Add empty volume under /tmp/source_rpms required by the soft link created at the end of the process Signed-off-by: NirWolfer --- .ci/pipeline/release_matrix_job.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml index 4653aeb5c..275412c5e 100644 --- a/.ci/pipeline/release_matrix_job.yaml +++ b/.ci/pipeline/release_matrix_job.yaml @@ -21,6 +21,9 @@ volumes: # User profile for release - {mountPath: /var/home/swx-jenkins, hostPath: /labhome/swx-jenkins} +empty_volumes: + - {mountPath: /tmp/source_rpms, memory: true} + runs_on_dockers: - { file: '.ci/dockerfiles/Dockerfile.rhel8.6.release', From 3ec6e4f4d5b67967e39bb7b31cfb9bde1846fe73 Mon Sep 17 00:00:00 2001 From: Dmytro Podgornyi Date: Wed, 19 Mar 2025 12:30:29 +0200 Subject: [PATCH 077/150] issue: 4337575 Init VMA in vma_thread_offload() vma_get_api()->thread_offload() can be called before the 1st socket() syscall. In this case VMA is in uninitialized state and the thread_offload() call fails with -1. Call DO_GLOBAL_CTORS() in the vma_thread_offload() to guarantee the initialized state in all scenarios. Until VMA 9.8.70, the initialization was done in the vma_get_api() call, however, it was removed due to external allocator support which requires uninitialized state to guarantee buffers allocation with the configured allocator. Signed-off-by: Dmytro Podgornyi --- src/vma/sock/sock-redirect.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index a58db58d3..e16837c3d 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -609,6 +609,8 @@ int vma_add_conf_rule(const char *config_line) extern "C" int vma_thread_offload(int offload, pthread_t tid) { + DO_GLOBAL_CTORS(); + if (g_p_fd_collection) { g_p_fd_collection->offloading_rule_change_thread(offload, tid); } else { From 27857db7d625cfe70ea460e6e01661412b16fd0f Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Wed, 19 Mar 2025 17:45:28 +0200 Subject: [PATCH 078/150] issue: 4371010 Update copyright layout change copyrights header. Signed-off-by: Bashar Abdelgafer --- .ci/matrix_job.yaml | 2 +- COPYING | 42 +++++------------- LICENSE | 44 ++++++------------- config/m4/compiler.m4 | 6 +-- config/m4/func.m4 | 7 ++- config/m4/nl.m4 | 5 +-- config/m4/opt.m4 | 7 ++- config/m4/prof.m4 | 7 ++- config/m4/verbs.m4 | 6 +-- .../jenkins_tests/copyright-check-map.yaml | 2 +- contrib/scripts/vma.init.in | 30 +------------ src/state_machine/main.cpp | 30 +------------ src/state_machine/sm.cpp | 30 +------------ src/state_machine/sm.h | 30 +------------ src/state_machine/sm_fifo.cpp | 30 +------------ src/state_machine/sm_fifo.h | 30 +------------ src/stats/stats_data_reader.h | 30 +------------ src/stats/stats_printer.cpp | 30 +------------ src/stats/stats_publisher.cpp | 30 +------------ src/stats/stats_reader.cpp | 30 +------------ src/utils/asm-arm64.h | 32 +------------- src/utils/asm-ppc64.h | 32 +------------- src/utils/asm-x86.h | 30 +------------ src/utils/asm.h | 30 +------------ src/utils/atomic.h | 30 +------------ src/utils/bullseye.h | 30 +------------ src/utils/clock.h | 30 +------------ src/utils/compiler.h | 30 +------------ src/utils/lock_wrapper.h | 30 +------------ src/utils/rdtsc.h | 30 +------------ src/utils/types.h | 30 +------------ src/vlogger/main.cpp | 30 +------------ src/vlogger/vlogger.cpp | 30 +------------ src/vlogger/vlogger.h | 30 +------------ src/vma/config_scanner.c | 30 +------------ src/vma/dev/allocator.cpp | 30 +------------ src/vma/dev/allocator.h | 30 +------------ src/vma/dev/buffer_pool.cpp | 30 +------------ src/vma/dev/buffer_pool.h | 30 +------------ src/vma/dev/cq_mgr.cpp | 30 +------------ src/vma/dev/cq_mgr.h | 30 +------------ src/vma/dev/cq_mgr.inl | 30 +------------ src/vma/dev/cq_mgr_mlx5.cpp | 30 +------------ src/vma/dev/cq_mgr_mlx5.h | 30 +------------ src/vma/dev/cq_mgr_mlx5.inl | 30 +------------ src/vma/dev/dm_mgr.cpp | 30 +------------ src/vma/dev/dm_mgr.h | 30 +------------ src/vma/dev/gro_mgr.cpp | 30 +------------ src/vma/dev/gro_mgr.h | 30 +------------ src/vma/dev/ib_ctx_handler.cpp | 30 +------------ src/vma/dev/ib_ctx_handler.h | 30 +------------ src/vma/dev/ib_ctx_handler_collection.cpp | 30 +------------ src/vma/dev/ib_ctx_handler_collection.h | 30 +------------ src/vma/dev/net_device_entry.cpp | 30 +------------ src/vma/dev/net_device_entry.h | 30 +------------ src/vma/dev/net_device_table_mgr.cpp | 30 +------------ src/vma/dev/net_device_table_mgr.h | 30 +------------ src/vma/dev/net_device_val.cpp | 30 +------------ src/vma/dev/net_device_val.h | 30 +------------ src/vma/dev/qp_mgr.cpp | 30 +------------ src/vma/dev/qp_mgr.h | 30 +------------ src/vma/dev/qp_mgr_eth_direct.cpp | 30 +------------ src/vma/dev/qp_mgr_eth_direct.h | 30 +------------ src/vma/dev/qp_mgr_eth_mlx5.cpp | 30 +------------ src/vma/dev/qp_mgr_eth_mlx5.h | 30 +------------ src/vma/dev/rfs.cpp | 30 +------------ src/vma/dev/rfs.h | 30 +------------ src/vma/dev/rfs_mc.cpp | 30 +------------ src/vma/dev/rfs_mc.h | 30 +------------ src/vma/dev/rfs_uc.cpp | 30 +------------ src/vma/dev/rfs_uc.h | 30 +------------ src/vma/dev/rfs_uc_tcp_gro.cpp | 30 +------------ src/vma/dev/rfs_uc_tcp_gro.h | 30 +------------ src/vma/dev/ring.cpp | 30 +------------ src/vma/dev/ring.h | 30 +------------ src/vma/dev/ring_allocation_logic.cpp | 30 +------------ src/vma/dev/ring_allocation_logic.h | 30 +------------ src/vma/dev/ring_bond.cpp | 30 +------------ src/vma/dev/ring_bond.h | 30 +------------ src/vma/dev/ring_eth_direct.cpp | 30 +------------ src/vma/dev/ring_eth_direct.h | 30 +------------ src/vma/dev/ring_profile.cpp | 30 +------------ src/vma/dev/ring_profile.h | 30 +------------ src/vma/dev/ring_simple.cpp | 30 +------------ src/vma/dev/ring_simple.h | 30 +------------ src/vma/dev/ring_slave.cpp | 30 +------------ src/vma/dev/ring_slave.h | 30 +------------ src/vma/dev/ring_tap.cpp | 30 +------------ src/vma/dev/ring_tap.h | 30 +------------ src/vma/dev/time_converter.cpp | 30 +------------ src/vma/dev/time_converter.h | 30 +------------ src/vma/dev/time_converter_ib_ctx.cpp | 30 +------------ src/vma/dev/time_converter_ib_ctx.h | 30 +------------ src/vma/dev/time_converter_ptp.cpp | 30 +------------ src/vma/dev/time_converter_ptp.h | 30 +------------ src/vma/dev/wqe_send_handler.cpp | 30 +------------ src/vma/dev/wqe_send_handler.h | 30 +------------ src/vma/dev/wqe_send_ib_handler.cpp | 30 +------------ src/vma/dev/wqe_send_ib_handler.h | 30 +------------ src/vma/event/command.h | 33 +------------- src/vma/event/delta_timer.cpp | 30 +------------ src/vma/event/delta_timer.h | 30 +------------ src/vma/event/event.h | 30 +------------ src/vma/event/event_handler_ibverbs.h | 30 +------------ src/vma/event/event_handler_manager.cpp | 30 +------------ src/vma/event/event_handler_manager.h | 30 +------------ src/vma/event/event_handler_rdma_cm.h | 30 +------------ src/vma/event/netlink_event.cpp | 30 +------------ src/vma/event/netlink_event.h | 30 +------------ src/vma/event/timer_handler.h | 30 +------------ src/vma/event/timers_group.h | 30 +------------ src/vma/event/vlogger_timer_handler.cpp | 30 +------------ src/vma/event/vlogger_timer_handler.h | 30 +------------ src/vma/ib/base/verbs_extra.cpp | 30 +------------ src/vma/ib/base/verbs_extra.h | 30 +------------ src/vma/ib/mlx5/ib_mlx5.cpp | 30 +------------ src/vma/ib/mlx5/ib_mlx5.h | 30 +------------ src/vma/ib/mlx5/ib_mlx5_dv.cpp | 30 +------------ src/vma/ib/mlx5/ib_mlx5_dv.h | 30 +------------ src/vma/ib/mlx5/ib_mlx5_hw.cpp | 30 +------------ src/vma/ib/mlx5/ib_mlx5_hw.h | 30 +------------ src/vma/infra/DemoCollMgr.cpp | 30 +------------ src/vma/infra/DemoCollMgr.h | 30 +------------ src/vma/infra/DemoObserver.cpp | 32 +------------- src/vma/infra/DemoObserver.h | 32 +------------- src/vma/infra/DemoSubject.cpp | 32 +------------- src/vma/infra/DemoSubject.h | 32 +------------- src/vma/infra/cache_subject_observer.h | 30 +------------ src/vma/infra/main.cpp | 30 +------------ src/vma/infra/sender.cpp | 30 +------------ src/vma/infra/sender.h | 30 +------------ src/vma/infra/sender_info_dst.cpp | 30 +------------ src/vma/infra/sender_info_dst.h | 30 +------------ src/vma/infra/subject_observer.cpp | 30 +------------ src/vma/infra/subject_observer.h | 30 +------------ src/vma/iomux/epfd_info.cpp | 30 +------------ src/vma/iomux/epfd_info.h | 30 +------------ src/vma/iomux/epoll_wait_call.cpp | 30 +------------ src/vma/iomux/epoll_wait_call.h | 30 +------------ src/vma/iomux/io_mux_call.cpp | 30 +------------ src/vma/iomux/io_mux_call.h | 30 +------------ src/vma/iomux/poll_call.cpp | 30 +------------ src/vma/iomux/poll_call.h | 30 +------------ src/vma/iomux/select_call.cpp | 30 +------------ src/vma/iomux/select_call.h | 30 +------------ src/vma/libvma.c | 30 +------------ src/vma/lwip/cc.c | 30 +------------ src/vma/lwip/cc.h | 30 +------------ src/vma/lwip/cc_cubic.c | 30 +------------ src/vma/lwip/cc_cubic.h | 32 ++------------ src/vma/lwip/cc_lwip.c | 30 +------------ src/vma/lwip/cc_none.c | 30 +------------ src/vma/main.cpp | 30 +------------ src/vma/main.h | 30 +------------ src/vma/netlink/link_info.cpp | 30 +------------ src/vma/netlink/link_info.h | 30 +------------ src/vma/netlink/neigh_info.cpp | 30 +------------ src/vma/netlink/neigh_info.h | 30 +------------ src/vma/netlink/netlink_compatibility.cpp | 30 +------------ src/vma/netlink/netlink_compatibility.h | 30 +------------ src/vma/netlink/netlink_wrapper.cpp | 30 +------------ src/vma/netlink/netlink_wrapper.h | 30 +------------ src/vma/netlink/route_info.cpp | 30 +------------ src/vma/netlink/route_info.h | 30 +------------ src/vma/netlink/test_main.cpp | 30 +------------ src/vma/proto/L2_address.cpp | 30 +------------ src/vma/proto/L2_address.h | 30 +------------ src/vma/proto/arp.cpp | 30 +------------ src/vma/proto/arp.h | 30 +------------ src/vma/proto/dst_entry.cpp | 30 +------------ src/vma/proto/dst_entry.h | 30 +------------ src/vma/proto/dst_entry_tcp.cpp | 30 +------------ src/vma/proto/dst_entry_tcp.h | 30 +------------ src/vma/proto/dst_entry_udp.cpp | 30 +------------ src/vma/proto/dst_entry_udp.h | 30 +------------ src/vma/proto/dst_entry_udp_mc.cpp | 30 +------------ src/vma/proto/dst_entry_udp_mc.h | 30 +------------ src/vma/proto/flow_tuple.cpp | 30 +------------ src/vma/proto/flow_tuple.h | 30 +------------ src/vma/proto/header.cpp | 30 +------------ src/vma/proto/header.h | 30 +------------ src/vma/proto/igmp_handler.cpp | 30 +------------ src/vma/proto/igmp_handler.h | 30 +------------ src/vma/proto/igmp_mgr.cpp | 30 +------------ src/vma/proto/igmp_mgr.h | 30 +------------ src/vma/proto/ip_address.h | 30 +------------ src/vma/proto/ip_frag.cpp | 30 +------------ src/vma/proto/ip_frag.h | 30 +------------ src/vma/proto/mem_buf_desc.h | 30 +------------ src/vma/proto/neighbour.cpp | 30 +------------ src/vma/proto/neighbour.h | 30 +------------ src/vma/proto/neighbour_observer.h | 30 +------------ src/vma/proto/neighbour_table_mgr.cpp | 30 +------------ src/vma/proto/neighbour_table_mgr.h | 30 +------------ src/vma/proto/netlink_socket_mgr.h | 30 +------------ src/vma/proto/peer_key.h | 30 +------------ src/vma/proto/route_entry.cpp | 30 +------------ src/vma/proto/route_entry.h | 30 +------------ src/vma/proto/route_rule_table_key.h | 30 +------------ src/vma/proto/route_table_mgr.cpp | 30 +------------ src/vma/proto/route_table_mgr.h | 30 +------------ src/vma/proto/route_val.cpp | 30 +------------ src/vma/proto/route_val.h | 30 +------------ src/vma/proto/rule_entry.cpp | 30 +------------ src/vma/proto/rule_entry.h | 30 +------------ src/vma/proto/rule_table_mgr.cpp | 30 +------------ src/vma/proto/rule_table_mgr.h | 30 +------------ src/vma/proto/rule_val.cpp | 30 +------------ src/vma/proto/rule_val.h | 30 +------------ src/vma/proto/vma_lwip.cpp | 30 +------------ src/vma/proto/vma_lwip.h | 30 +------------ src/vma/sock/cleanable_obj.h | 30 +------------ src/vma/sock/fd_collection.cpp | 30 +------------ src/vma/sock/fd_collection.h | 30 +------------ src/vma/sock/pipeinfo.cpp | 30 +------------ src/vma/sock/pipeinfo.h | 30 +------------ src/vma/sock/pkt_rcvr_sink.h | 30 +------------ src/vma/sock/pkt_sndr_source.h | 30 +------------ src/vma/sock/sock-redirect.cpp | 30 +------------ src/vma/sock/sock-redirect.h | 30 +------------ src/vma/sock/socket_fd_api.cpp | 30 +------------ src/vma/sock/socket_fd_api.h | 30 +------------ src/vma/sock/sockinfo.cpp | 30 +------------ src/vma/sock/sockinfo.h | 30 +------------ src/vma/sock/sockinfo_tcp.cpp | 30 +------------ src/vma/sock/sockinfo_tcp.h | 30 +------------ src/vma/sock/sockinfo_udp.cpp | 30 +------------ src/vma/sock/sockinfo_udp.h | 30 +------------ src/vma/util/agent.cpp | 30 +------------ src/vma/util/agent.h | 30 +------------ src/vma/util/agent_def.h | 30 +------------ src/vma/util/chunk_list.h | 30 +------------ src/vma/util/config_parser.y | 30 +------------ src/vma/util/config_scanner.l | 30 +------------ src/vma/util/data_updater.cpp | 30 +------------ src/vma/util/data_updater.h | 30 +------------ src/vma/util/hash_map.h | 30 +------------ src/vma/util/hash_map.inl | 30 +------------ src/vma/util/if.h | 30 +------------ src/vma/util/instrumentation.cpp | 30 +------------ src/vma/util/instrumentation.h | 30 +------------ src/vma/util/libvma.h | 30 +------------ src/vma/util/match.cpp | 30 +------------ src/vma/util/sg_array.h | 30 +------------ src/vma/util/sock_addr.h | 30 +------------ src/vma/util/sys_vars.cpp | 32 +------------- src/vma/util/sys_vars.h | 30 +------------ src/vma/util/sysctl_reader.h | 30 +------------ src/vma/util/to_str.h | 30 +------------ src/vma/util/utils.cpp | 30 +------------ src/vma/util/utils.h | 30 +------------ src/vma/util/valgrind.h | 30 +------------ src/vma/util/vma_list.h | 30 +------------ src/vma/util/vma_stats.h | 30 +------------ src/vma/util/vtypes.h | 30 +------------ src/vma/util/wakeup.cpp | 30 +------------ src/vma/util/wakeup.h | 30 +------------ src/vma/util/wakeup_pipe.cpp | 30 +------------ src/vma/util/wakeup_pipe.h | 30 +------------ src/vma/vma_extra.h | 30 +------------ tests/api-support-check.py | 32 +------------- tests/async-echo-client/async-echo-client.py | 33 +------------- tests/async-echo-client/echo-server.py | 30 +------------ .../syncronized-echo-client.py | 33 +------------- .../Accelerators_Benchmarking.sh | 30 +------------ tests/bindtodevice/client.py | 35 ++------------- tests/connect-disconnect/client.py | 33 +------------- .../extra_api_tests/socketxtreme/server_tcp.c | 30 +------------ tests/extra_api_tests/tcp_zcopy_cb/client.c | 30 +------------ tests/extra_api_tests/tcp_zcopy_cb/client.h | 30 +------------ tests/extra_api_tests/tcp_zcopy_cb/main.c | 30 +------------ tests/extra_api_tests/tcp_zcopy_cb/server.c | 30 +------------ tests/extra_api_tests/tcp_zcopy_cb/server.h | 30 +------------ tests/extra_api_tests/tcp_zcopy_cb/types.h | 30 +------------ tests/extra_api_tests/tcp_zcopy_cb/utils.c | 30 +------------ tests/functionality/getsockname_test.c | 32 +------------- .../iomux/1epoll_1socket_twice.c | 30 +------------ tests/functionality/iomux/2epoll_1socket.c | 30 +------------ tests/functionality/iomux/client.py | 32 +------------- tests/functionality/iomux/eclient.py | 32 +------------- tests/functionality/iomux/eserver.py | 32 +------------- tests/functionality/iomux/pclient.py | 32 +------------- tests/functionality/iomux/pserver.py | 32 +------------- tests/functionality/iomux/server.py | 32 +------------- tests/gtest/common/base.cc | 32 +------------- tests/gtest/common/base.h | 30 +------------ tests/gtest/common/cmn.h | 30 +------------ tests/gtest/common/def.h | 30 +------------ tests/gtest/common/log.h | 30 +------------ tests/gtest/common/sys.cc | 32 +------------- tests/gtest/common/sys.h | 30 +------------ tests/gtest/main.cc | 30 +------------ tests/gtest/mix/mix_base.cc | 30 +------------ tests/gtest/mix/mix_base.h | 30 +------------ tests/gtest/mix/mix_list.cc | 30 +------------ tests/gtest/mix/sg_array.cc | 30 +------------ tests/gtest/sock/sock_base.cc | 30 +------------ tests/gtest/sock/sock_base.h | 30 +------------ tests/gtest/sock/sock_socket.cc | 30 +------------ tests/gtest/tcp/tcp_base.cc | 30 +------------ tests/gtest/tcp/tcp_base.h | 30 +------------ tests/gtest/tcp/tcp_bind.cc | 30 +------------ tests/gtest/tcp/tcp_connect.cc | 30 +------------ tests/gtest/tcp/tcp_connect_nb.cc | 30 +------------ tests/gtest/tcp/tcp_event.cc | 30 +------------ tests/gtest/tcp/tcp_send.cc | 30 +------------ tests/gtest/tcp/tcp_send_zc.cc | 30 +------------ tests/gtest/tcp/tcp_sendfile.cc | 30 +------------ tests/gtest/tcp/tcp_sendto.cc | 30 +------------ tests/gtest/tcp/tcp_socket.cc | 30 +------------ tests/gtest/tcp/tcp_sockopt.cc | 32 +------------- tests/gtest/tcp/tcp_tls.cc | 30 +------------ tests/gtest/udp/udp_base.cc | 30 +------------ tests/gtest/udp/udp_base.h | 30 +------------ tests/gtest/udp/udp_bind.cc | 30 +------------ tests/gtest/udp/udp_connect.cc | 30 +------------ tests/gtest/udp/udp_send.cc | 30 +------------ tests/gtest/udp/udp_sendto.cc | 30 +------------ tests/gtest/vma/vma_base.cc | 30 +------------ tests/gtest/vma/vma_base.h | 30 +------------ tests/gtest/vma/vma_ioctl.cc | 30 +------------ tests/gtest/vma/vma_poll.cc | 30 +------------ tests/gtest/vma/vma_recvfrom_zcopy.cc | 30 +------------ tests/gtest/vma/vma_ring.cc | 30 +------------ tests/gtest/vma/vma_sockopt.cc | 32 +------------- tests/gtest/vmad/vmad_base.cc | 30 +------------ tests/gtest/vmad/vmad_base.h | 30 +------------ tests/gtest/vmad/vmad_bitmap.cc | 30 +------------ tests/gtest/vmad/vmad_flow.cc | 30 +------------ tests/gtest/vmad/vmad_hash.cc | 30 +------------ tests/gtest/vmad/vmad_init.cc | 30 +------------ tests/gtest/vmad/vmad_state.cc | 30 +------------ tests/latency_test/tcp_lat.cpp | 30 +------------ tests/latency_test/udp_lat.c | 30 +------------ tests/listen/tcp_client.py | 30 +------------ tests/listen/tcp_server.py | 30 +------------ tests/low_pps_tcp_send_test/exchange.cpp | 30 +------------ tests/low_pps_tcp_send_test/trader.cpp | 30 +------------ tests/mc_loop_test/mc_loop_test.c | 30 +------------ tests/multithread_test/exchange.cpp | 32 +------------- tests/multithread_test/trader.cpp | 30 +------------ tests/pps_test/pps_test.c | 30 +------------ ...server_socket_receive_and_recreate_loop.py | 35 ++------------- .../server_socket_recreate_loop.py | 35 ++------------- tests/reuse_ud_test.c | 32 +------------- tests/select_t1.c | 32 +------------- tests/server_test/client.cc | 30 +------------ tests/server_test/client.h | 30 +------------ tests/server_test/main.cc | 30 +------------ tests/server_test/options.cc | 30 +------------ tests/server_test/options.h | 30 +------------ tests/server_test/server.cc | 30 +------------ tests/server_test/server.h | 30 +------------ tests/server_test/vtime.cc | 30 +------------ tests/server_test/vtime.h | 30 +------------ tests/simple_fork/fork.py | 30 +------------ .../tcp_window_size_exerciser/tcp_wnd_test.h | 30 +------------ .../tcp_wnd_test_client.c | 32 +------------- .../tcp_wnd_test_server.c | 32 +------------- tests/testbed/testbed.c | 30 +------------ tests/throughput_test/bandwidth_test.c | 30 +------------ tests/timetest/timetest.cpp | 32 +------------- .../vma_multiplexers_test.sh | 31 +------------ tests/vma_perf_envelope/vma_perf_envelope.sh | 31 +------------ tools/daemon/bitmap.h | 30 +------------ tools/daemon/daemon.c | 30 +------------ tools/daemon/daemon.h | 30 +------------ tools/daemon/flow.c | 30 +------------ tools/daemon/hash.c | 32 +------------- tools/daemon/hash.h | 30 +------------ tools/daemon/loop.c | 30 +------------ tools/daemon/message.c | 32 +------------- tools/daemon/nl.c | 30 +------------ tools/daemon/nl.h | 30 +------------ tools/daemon/notify.c | 30 +------------ tools/daemon/store.c | 30 +------------ tools/daemon/tc.c | 30 +------------ tools/daemon/tc.h | 30 +------------ 378 files changed, 452 insertions(+), 10801 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 8b9937235..1edc54c3d 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -44,7 +44,7 @@ runs_on_dockers: # tool - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', url: 'harbor.mellanox.com/toolbox/ngci-centos:7.9.2009.2', category: 'tool', arch: 'x86_64'} - - {name: 'header-check', url: 'harbor.mellanox.com/toolbox/header_check:0.0.51', category: 'tool', arch: 'x86_64', tag: '0.0.51'} + - {name: 'header-check', url: 'harbor.mellanox.com/toolbox/header_check:0.0.58', category: 'tool', arch: 'x86_64', tag: '0.0.58'} runs_on_agents: - {nodeLabel: 'beni09', category: 'base'} diff --git a/COPYING b/COPYING index 777b77b7c..13768c821 100644 --- a/COPYING +++ b/COPYING @@ -2,71 +2,49 @@ SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. SPDX-License-Identifier: GPL-2.0-only GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - Copyright (C) 1989, 1991 Free Software Foundation, Inc. -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - +Preamble +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. +For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. +We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. +Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. +The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". - Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. - 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. - You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. - 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: - a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. - Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. - In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. - 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: - a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. - If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. - 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. - 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. - 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. - 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. - If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. - It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. - This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. - 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. - 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. - Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. - 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS - diff --git a/LICENSE b/LICENSE index cf3f3f294..e041a1bf3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,31 +1,13 @@ -/* - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ +SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause + +This software is available to you under a choice of one of two +licenses. You may choose to be licensed under the terms of the GNU +General Public License (GPL) Version 2, available from the file +COPYING in the main directory of this source tree, or the +BSD – 2- Clause license below: + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4 index e508b77a2..99e0748fd 100644 --- a/config/m4/compiler.m4 +++ b/config/m4/compiler.m4 @@ -1,11 +1,9 @@ -# compiler.m4 - Configure compiler capabilities # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# See file LICENSE for terms. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # - +# compiler.m4 - Configure compiler capabilities # Check compiler specific attributes # Usage: CHECK_COMPILER_ATTRIBUTE([attribute], [program], [definition]) diff --git a/config/m4/func.m4 b/config/m4/func.m4 index b07d52b3b..54be94123 100644 --- a/config/m4/func.m4 +++ b/config/m4/func.m4 @@ -1,10 +1,9 @@ -# func.m4 - Collection of functions -# +# # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# See file LICENSE for terms. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +# func.m4 - Collection of functions ########################## # Configure functions diff --git a/config/m4/nl.m4 b/config/m4/nl.m4 index 011c2eddf..f0b859644 100644 --- a/config/m4/nl.m4 +++ b/config/m4/nl.m4 @@ -1,10 +1,9 @@ -# nl.m4 - Detect nl package # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# See file LICENSE for terms. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +# nl.m4 - Detect nl package ########################## # Checking nl library diff --git a/config/m4/opt.m4 b/config/m4/opt.m4 index fb27da48f..b884196bf 100644 --- a/config/m4/opt.m4 +++ b/config/m4/opt.m4 @@ -1,10 +1,9 @@ -# opt.m4 - Macros to control optimization -# +# # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# See file LICENSE for terms. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +# opt.m4 - Macros to control optimization ########################## # Logging control diff --git a/config/m4/prof.m4 b/config/m4/prof.m4 index 613b54c08..43d7bdfdd 100644 --- a/config/m4/prof.m4 +++ b/config/m4/prof.m4 @@ -1,10 +1,9 @@ -# prof.m4 - Profiling, instrumentation -# +# # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# See file LICENSE for terms. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +# prof.m4 - Profiling, instrumentation ########################## # libibprof profiling support diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index 0f286aebc..41567f16f 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -1,11 +1,9 @@ -# verbs.m4 - Parsing verbs capabilities # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# See file LICENSE for terms. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # - +# verbs.m4 - Parsing verbs capabilities # Check attributes # Usage: CHECK_VERBS_ATTRIBUTE([attribute], [header file], [definition]) diff --git a/contrib/jenkins_tests/copyright-check-map.yaml b/contrib/jenkins_tests/copyright-check-map.yaml index 4e0352a5b..0e8547fb5 100644 --- a/contrib/jenkins_tests/copyright-check-map.yaml +++ b/contrib/jenkins_tests/copyright-check-map.yaml @@ -34,7 +34,7 @@ general: - ".*src/vma/config_parser.*" - ".*src/vma/config_scanner\\.c" -dual_gpl_2_bsd_3: +dual_gpl_2_bsd_2_no_license: validate-spdx-license: True include: - ".*" diff --git a/contrib/scripts/vma.init.in b/contrib/scripts/vma.init.in index ea9c9aa9b..ac63c02d5 100644 --- a/contrib/scripts/vma.init.in +++ b/contrib/scripts/vma.init.in @@ -2,35 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # vma: Start the VMA Daemon diff --git a/src/state_machine/main.cpp b/src/state_machine/main.cpp index 6837fe2c2..36b7cce11 100644 --- a/src/state_machine/main.cpp +++ b/src/state_machine/main.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/state_machine/sm.cpp b/src/state_machine/sm.cpp index 82b30107e..f6bb486c9 100644 --- a/src/state_machine/sm.cpp +++ b/src/state_machine/sm.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/state_machine/sm.h b/src/state_machine/sm.h index beccfdb40..35178efc0 100644 --- a/src/state_machine/sm.h +++ b/src/state_machine/sm.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/state_machine/sm_fifo.cpp b/src/state_machine/sm_fifo.cpp index 5bc4cab46..65d98580b 100644 --- a/src/state_machine/sm_fifo.cpp +++ b/src/state_machine/sm_fifo.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/state_machine/sm_fifo.h b/src/state_machine/sm_fifo.h index dc78c19f1..8ace64ab5 100644 --- a/src/state_machine/sm_fifo.h +++ b/src/state_machine/sm_fifo.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/stats/stats_data_reader.h b/src/stats/stats_data_reader.h index 2e3415cc5..e9ef75b9d 100644 --- a/src/stats/stats_data_reader.h +++ b/src/stats/stats_data_reader.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/stats/stats_printer.cpp b/src/stats/stats_printer.cpp index 66b0638ac..bcbcb18f6 100644 --- a/src/stats/stats_printer.cpp +++ b/src/stats/stats_printer.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifdef HAVE_CONFIG_H diff --git a/src/stats/stats_publisher.cpp b/src/stats/stats_publisher.cpp index 82256bb0f..35eaaf6ce 100644 --- a/src/stats/stats_publisher.cpp +++ b/src/stats/stats_publisher.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index 2b24337c6..cf0ad80aa 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifdef HAVE_CONFIG_H diff --git a/src/utils/asm-arm64.h b/src/utils/asm-arm64.h index 398251f3e..d351fba8a 100644 --- a/src/utils/asm-arm64.h +++ b/src/utils/asm-arm64.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/asm-ppc64.h b/src/utils/asm-ppc64.h index 58c62940c..46fca2c79 100644 --- a/src/utils/asm-ppc64.h +++ b/src/utils/asm-ppc64.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/asm-x86.h b/src/utils/asm-x86.h index a97a5d834..37f401a4b 100644 --- a/src/utils/asm-x86.h +++ b/src/utils/asm-x86.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/asm.h b/src/utils/asm.h index 957e0f082..09b215fc4 100644 --- a/src/utils/asm.h +++ b/src/utils/asm.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/atomic.h b/src/utils/atomic.h index 04ce2fcc8..f86958843 100644 --- a/src/utils/atomic.h +++ b/src/utils/atomic.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/bullseye.h b/src/utils/bullseye.h index 9bf11a7fe..1583df0c7 100644 --- a/src/utils/bullseye.h +++ b/src/utils/bullseye.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/clock.h b/src/utils/clock.h index f0427a235..08b67da96 100644 --- a/src/utils/clock.h +++ b/src/utils/clock.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/compiler.h b/src/utils/compiler.h index 81aae1f04..62d60bd5a 100644 --- a/src/utils/compiler.h +++ b/src/utils/compiler.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/lock_wrapper.h b/src/utils/lock_wrapper.h index 34a74ed8d..61340f9e6 100644 --- a/src/utils/lock_wrapper.h +++ b/src/utils/lock_wrapper.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/rdtsc.h b/src/utils/rdtsc.h index 02dc12bbe..b52cc5ae9 100644 --- a/src/utils/rdtsc.h +++ b/src/utils/rdtsc.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/types.h b/src/utils/types.h index f880e4962..c6197f320 100644 --- a/src/utils/types.h +++ b/src/utils/types.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vlogger/main.cpp b/src/vlogger/main.cpp index 9250b539f..a720c842f 100644 --- a/src/vlogger/main.cpp +++ b/src/vlogger/main.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vlogger/vlogger.cpp b/src/vlogger/vlogger.cpp index f5d7f241a..fb0c4617a 100644 --- a/src/vlogger/vlogger.cpp +++ b/src/vlogger/vlogger.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vlogger/vlogger.h b/src/vlogger/vlogger.h index 100bc3b54..d9832dc08 100644 --- a/src/vlogger/vlogger.h +++ b/src/vlogger/vlogger.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/config_scanner.c b/src/vma/config_scanner.c index 15e6f6297..51311205e 100644 --- a/src/vma/config_scanner.c +++ b/src/vma/config_scanner.c @@ -756,35 +756,9 @@ int libvma_yy_flex_debug = 0; char *libvma_yytext; /* Line 1 of config_scanner.l */ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * $Id: ibnl_scanner.ll,v 1.4 2005/02/23 21:08:37 eitan Exp $ */ diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index 864e7e51e..a016a1bee 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/src/vma/dev/allocator.h b/src/vma/dev/allocator.h index 65fd55a0a..e25510bf6 100644 --- a/src/vma/dev/allocator.h +++ b/src/vma/dev/allocator.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_DEV_ALLOCATOR_H_ diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index 1060523b1..5e8ec06fd 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/buffer_pool.h b/src/vma/dev/buffer_pool.h index bd16cf5d7..00a252896 100644 --- a/src/vma/dev/buffer_pool.h +++ b/src/vma/dev/buffer_pool.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr.cpp b/src/vma/dev/cq_mgr.cpp index 37e5db76c..388c452bb 100644 --- a/src/vma/dev/cq_mgr.cpp +++ b/src/vma/dev/cq_mgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr.h b/src/vma/dev/cq_mgr.h index fbc7ebc75..c6015445e 100644 --- a/src/vma/dev/cq_mgr.h +++ b/src/vma/dev/cq_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr.inl b/src/vma/dev/cq_mgr.inl index 76ad7565b..744a0eeab 100644 --- a/src/vma/dev/cq_mgr.inl +++ b/src/vma/dev/cq_mgr.inl @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index 3e9c77bee..e94773d46 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "cq_mgr_mlx5.h" diff --git a/src/vma/dev/cq_mgr_mlx5.h b/src/vma/dev/cq_mgr_mlx5.h index 0809f59cd..26486b7ad 100644 --- a/src/vma/dev/cq_mgr_mlx5.h +++ b/src/vma/dev/cq_mgr_mlx5.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr_mlx5.inl b/src/vma/dev/cq_mgr_mlx5.inl index 4ab54e38c..f49d6442e 100644 --- a/src/vma/dev/cq_mgr_mlx5.inl +++ b/src/vma/dev/cq_mgr_mlx5.inl @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/dm_mgr.cpp b/src/vma/dev/dm_mgr.cpp index a5e540821..473946893 100644 --- a/src/vma/dev/dm_mgr.cpp +++ b/src/vma/dev/dm_mgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "dm_mgr.h" diff --git a/src/vma/dev/dm_mgr.h b/src/vma/dev/dm_mgr.h index e81e51896..5ec4513f2 100644 --- a/src/vma/dev/dm_mgr.h +++ b/src/vma/dev/dm_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef DM_MGR_H diff --git a/src/vma/dev/gro_mgr.cpp b/src/vma/dev/gro_mgr.cpp index f9f3a3403..023b70f0f 100644 --- a/src/vma/dev/gro_mgr.cpp +++ b/src/vma/dev/gro_mgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "vma/dev/gro_mgr.h" diff --git a/src/vma/dev/gro_mgr.h b/src/vma/dev/gro_mgr.h index 4617be60b..bb207ca63 100644 --- a/src/vma/dev/gro_mgr.h +++ b/src/vma/dev/gro_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef GRO_MGR_H_ diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index f5030eff6..3d3e4f8b3 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index c11d1b379..b66384e8e 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ib_ctx_handler_collection.cpp b/src/vma/dev/ib_ctx_handler_collection.cpp index 7a70a7137..e70c3e298 100644 --- a/src/vma/dev/ib_ctx_handler_collection.cpp +++ b/src/vma/dev/ib_ctx_handler_collection.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/src/vma/dev/ib_ctx_handler_collection.h b/src/vma/dev/ib_ctx_handler_collection.h index cf9548e42..004c47926 100644 --- a/src/vma/dev/ib_ctx_handler_collection.h +++ b/src/vma/dev/ib_ctx_handler_collection.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_entry.cpp b/src/vma/dev/net_device_entry.cpp index 43d5af743..452db5d01 100644 --- a/src/vma/dev/net_device_entry.cpp +++ b/src/vma/dev/net_device_entry.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_entry.h b/src/vma/dev/net_device_entry.h index 1689d2cf2..103defeae 100644 --- a/src/vma/dev/net_device_entry.h +++ b/src/vma/dev/net_device_entry.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index c8fc57637..198fbcaa1 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_table_mgr.h b/src/vma/dev/net_device_table_mgr.h index c0b007b83..e2f132077 100644 --- a/src/vma/dev/net_device_table_mgr.h +++ b/src/vma/dev/net_device_table_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index dfbb8a674..cb801469d 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_val.h b/src/vma/dev/net_device_val.h index 2ea920571..cd48ee743 100644 --- a/src/vma/dev/net_device_val.h +++ b/src/vma/dev/net_device_val.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index 368361c68..e7c1312c1 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "qp_mgr.h" diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index 3836da5d1..b6081ceff 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index b19c77bf1..09d94444d 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "qp_mgr_eth_direct.h" #include "vlogger/vlogger.h" diff --git a/src/vma/dev/qp_mgr_eth_direct.h b/src/vma/dev/qp_mgr_eth_direct.h index ad2945fa7..e5c269579 100644 --- a/src/vma/dev/qp_mgr_eth_direct.h +++ b/src/vma/dev/qp_mgr_eth_direct.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_DEV_QP_MGR_ETH_DIRECT_H_ #define SRC_VMA_DEV_QP_MGR_ETH_DIRECT_H_ diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index 370ddfdbf..c5c6714fc 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "qp_mgr_eth_mlx5.h" diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index db04a081e..e316db379 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs.cpp b/src/vma/dev/rfs.cpp index 1a4ba04f2..48588c916 100644 --- a/src/vma/dev/rfs.cpp +++ b/src/vma/dev/rfs.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs.h b/src/vma/dev/rfs.h index 510ce79d5..adacb898a 100644 --- a/src/vma/dev/rfs.h +++ b/src/vma/dev/rfs.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_mc.cpp b/src/vma/dev/rfs_mc.cpp index d0ae99e3b..3b73f614c 100644 --- a/src/vma/dev/rfs_mc.cpp +++ b/src/vma/dev/rfs_mc.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_mc.h b/src/vma/dev/rfs_mc.h index b95a5fa85..6a4e2276e 100644 --- a/src/vma/dev/rfs_mc.h +++ b/src/vma/dev/rfs_mc.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_uc.cpp b/src/vma/dev/rfs_uc.cpp index e055d134d..708115251 100644 --- a/src/vma/dev/rfs_uc.cpp +++ b/src/vma/dev/rfs_uc.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_uc.h b/src/vma/dev/rfs_uc.h index 51abc5846..4e4cfc102 100644 --- a/src/vma/dev/rfs_uc.h +++ b/src/vma/dev/rfs_uc.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_uc_tcp_gro.cpp b/src/vma/dev/rfs_uc_tcp_gro.cpp index b17c96487..c19005331 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.cpp +++ b/src/vma/dev/rfs_uc_tcp_gro.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "utils/bullseye.h" diff --git a/src/vma/dev/rfs_uc_tcp_gro.h b/src/vma/dev/rfs_uc_tcp_gro.h index 7e6afbbdc..b2c96b91f 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.h +++ b/src/vma/dev/rfs_uc_tcp_gro.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring.cpp b/src/vma/dev/ring.cpp index c61234c52..318af8fa5 100644 --- a/src/vma/dev/ring.cpp +++ b/src/vma/dev/ring.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring.h b/src/vma/dev/ring.h index 1a1a0fddb..aa0a511d7 100644 --- a/src/vma/dev/ring.h +++ b/src/vma/dev/ring.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_allocation_logic.cpp b/src/vma/dev/ring_allocation_logic.cpp index d25276f92..cfab63d2e 100644 --- a/src/vma/dev/ring_allocation_logic.cpp +++ b/src/vma/dev/ring_allocation_logic.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_allocation_logic.h b/src/vma/dev/ring_allocation_logic.h index cd22e197f..6756e222c 100644 --- a/src/vma/dev/ring_allocation_logic.h +++ b/src/vma/dev/ring_allocation_logic.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index dbcc728f9..61e67fddd 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "ring_bond.h" diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index d627530af..28b82522e 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef RING_BOND_H diff --git a/src/vma/dev/ring_eth_direct.cpp b/src/vma/dev/ring_eth_direct.cpp index 057531a17..4692a54c9 100644 --- a/src/vma/dev/ring_eth_direct.cpp +++ b/src/vma/dev/ring_eth_direct.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "ring_eth_direct.h" diff --git a/src/vma/dev/ring_eth_direct.h b/src/vma/dev/ring_eth_direct.h index c14954210..b775575b0 100644 --- a/src/vma/dev/ring_eth_direct.h +++ b/src/vma/dev/ring_eth_direct.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_DEV_RING_ETH_DIRECT_H_ diff --git a/src/vma/dev/ring_profile.cpp b/src/vma/dev/ring_profile.cpp index f292e82a2..1dfc6717c 100644 --- a/src/vma/dev/ring_profile.cpp +++ b/src/vma/dev/ring_profile.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/src/vma/dev/ring_profile.h b/src/vma/dev/ring_profile.h index be2e60e8b..36734d83c 100644 --- a/src/vma/dev/ring_profile.h +++ b/src/vma/dev/ring_profile.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_DEV_RING_PROFILE_H_ diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index ba53deb69..2b94f44ce 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index 987b65399..b7ffd2b1e 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef RING_SIMPLE_H diff --git a/src/vma/dev/ring_slave.cpp b/src/vma/dev/ring_slave.cpp index c6fd75419..0d88a8492 100644 --- a/src/vma/dev/ring_slave.cpp +++ b/src/vma/dev/ring_slave.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "ring_slave.h" diff --git a/src/vma/dev/ring_slave.h b/src/vma/dev/ring_slave.h index 94b014fce..6804be7ad 100644 --- a/src/vma/dev/ring_slave.h +++ b/src/vma/dev/ring_slave.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef RING_SLAVE_H_ diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index 50ad9b7d0..b6cbe6508 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "ring_tap.h" diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index 9d1010d81..7c00df454 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef RING_TAP_H_ diff --git a/src/vma/dev/time_converter.cpp b/src/vma/dev/time_converter.cpp index 135ad2987..4176074f3 100644 --- a/src/vma/dev/time_converter.cpp +++ b/src/vma/dev/time_converter.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter.h b/src/vma/dev/time_converter.h index 1da1f70b3..866150d2a 100644 --- a/src/vma/dev/time_converter.h +++ b/src/vma/dev/time_converter.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter_ib_ctx.cpp b/src/vma/dev/time_converter_ib_ctx.cpp index 3b0c0f11e..34af53662 100644 --- a/src/vma/dev/time_converter_ib_ctx.cpp +++ b/src/vma/dev/time_converter_ib_ctx.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter_ib_ctx.h b/src/vma/dev/time_converter_ib_ctx.h index d61e819c8..4a3c15ab7 100644 --- a/src/vma/dev/time_converter_ib_ctx.h +++ b/src/vma/dev/time_converter_ib_ctx.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter_ptp.cpp b/src/vma/dev/time_converter_ptp.cpp index e2bee3489..0bc345e54 100644 --- a/src/vma/dev/time_converter_ptp.cpp +++ b/src/vma/dev/time_converter_ptp.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter_ptp.h b/src/vma/dev/time_converter_ptp.h index 022197179..07e45eefc 100644 --- a/src/vma/dev/time_converter_ptp.h +++ b/src/vma/dev/time_converter_ptp.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/wqe_send_handler.cpp b/src/vma/dev/wqe_send_handler.cpp index bd5f49712..140c8db92 100644 --- a/src/vma/dev/wqe_send_handler.cpp +++ b/src/vma/dev/wqe_send_handler.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/wqe_send_handler.h b/src/vma/dev/wqe_send_handler.h index a1bb855a8..833500b68 100644 --- a/src/vma/dev/wqe_send_handler.h +++ b/src/vma/dev/wqe_send_handler.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "vma/ib/base/verbs_extra.h" diff --git a/src/vma/dev/wqe_send_ib_handler.cpp b/src/vma/dev/wqe_send_ib_handler.cpp index 2efb6ae7a..bf9425f47 100644 --- a/src/vma/dev/wqe_send_ib_handler.cpp +++ b/src/vma/dev/wqe_send_ib_handler.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "wqe_send_ib_handler.h" diff --git a/src/vma/dev/wqe_send_ib_handler.h b/src/vma/dev/wqe_send_ib_handler.h index 208a8e9e6..f599b7bd8 100644 --- a/src/vma/dev/wqe_send_ib_handler.h +++ b/src/vma/dev/wqe_send_ib_handler.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "wqe_send_handler.h" diff --git a/src/vma/event/command.h b/src/vma/event/command.h index 7c1edce8f..adbffc1b7 100644 --- a/src/vma/event/command.h +++ b/src/vma/event/command.h @@ -1,38 +1,9 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause + * * command.h - * */ #ifndef COMMAND_H_ diff --git a/src/vma/event/delta_timer.cpp b/src/vma/event/delta_timer.cpp index f3dafa6a3..14b7d936f 100644 --- a/src/vma/event/delta_timer.cpp +++ b/src/vma/event/delta_timer.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/delta_timer.h b/src/vma/event/delta_timer.h index 3072c9b61..1532b44f6 100644 --- a/src/vma/event/delta_timer.h +++ b/src/vma/event/delta_timer.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event.h b/src/vma/event/event.h index 797a11af8..17aaacf02 100644 --- a/src/vma/event/event.h +++ b/src/vma/event/event.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event_handler_ibverbs.h b/src/vma/event/event_handler_ibverbs.h index 48000f41f..8bcbf312c 100644 --- a/src/vma/event/event_handler_ibverbs.h +++ b/src/vma/event/event_handler_ibverbs.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index 9cc77c539..4857b2439 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event_handler_manager.h b/src/vma/event/event_handler_manager.h index a210dc2f9..c5a3425d0 100644 --- a/src/vma/event/event_handler_manager.h +++ b/src/vma/event/event_handler_manager.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event_handler_rdma_cm.h b/src/vma/event/event_handler_rdma_cm.h index 92a409cd8..d42f421aa 100644 --- a/src/vma/event/event_handler_rdma_cm.h +++ b/src/vma/event/event_handler_rdma_cm.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/netlink_event.cpp b/src/vma/event/netlink_event.cpp index d0d7f91c4..67b9540e1 100644 --- a/src/vma/event/netlink_event.cpp +++ b/src/vma/event/netlink_event.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/netlink_event.h b/src/vma/event/netlink_event.h index 8ee46b938..6af838e0d 100644 --- a/src/vma/event/netlink_event.h +++ b/src/vma/event/netlink_event.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/timer_handler.h b/src/vma/event/timer_handler.h index b8d9845e5..c0cd65331 100644 --- a/src/vma/event/timer_handler.h +++ b/src/vma/event/timer_handler.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/timers_group.h b/src/vma/event/timers_group.h index ba33b49af..6ddb9395c 100644 --- a/src/vma/event/timers_group.h +++ b/src/vma/event/timers_group.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/vlogger_timer_handler.cpp b/src/vma/event/vlogger_timer_handler.cpp index ec690c8f2..7973f45b5 100644 --- a/src/vma/event/vlogger_timer_handler.cpp +++ b/src/vma/event/vlogger_timer_handler.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/vlogger_timer_handler.h b/src/vma/event/vlogger_timer_handler.h index dba3099f2..0fe6bc6ca 100644 --- a/src/vma/event/vlogger_timer_handler.h +++ b/src/vma/event/vlogger_timer_handler.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index 5c7f66b30..29095fdc0 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index 91e0116d0..31c756529 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/ib/mlx5/ib_mlx5.cpp b/src/vma/ib/mlx5/ib_mlx5.cpp index 4cef62d2a..30c301dba 100644 --- a/src/vma/ib/mlx5/ib_mlx5.cpp +++ b/src/vma/ib/mlx5/ib_mlx5.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifdef HAVE_CONFIG_H diff --git a/src/vma/ib/mlx5/ib_mlx5.h b/src/vma/ib/mlx5/ib_mlx5.h index 31d6e849e..8f22af5df 100644 --- a/src/vma/ib/mlx5/ib_mlx5.h +++ b/src/vma/ib/mlx5/ib_mlx5.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_IB_MLX5_H_ diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.cpp b/src/vma/ib/mlx5/ib_mlx5_dv.cpp index 4b25f774a..059399e7d 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_dv.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifdef HAVE_CONFIG_H diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.h b/src/vma/ib/mlx5/ib_mlx5_dv.h index d0eca8572..7a602f0a9 100644 --- a/src/vma/ib/mlx5/ib_mlx5_dv.h +++ b/src/vma/ib/mlx5/ib_mlx5_dv.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_IB_MLX5_DV_H_ diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.cpp b/src/vma/ib/mlx5/ib_mlx5_hw.cpp index 9312be339..d86ee33db 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.cpp +++ b/src/vma/ib/mlx5/ib_mlx5_hw.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifdef HAVE_CONFIG_H diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.h b/src/vma/ib/mlx5/ib_mlx5_hw.h index ff49c2c1c..b34a9829b 100644 --- a/src/vma/ib/mlx5/ib_mlx5_hw.h +++ b/src/vma/ib/mlx5/ib_mlx5_hw.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_IB_MLX5_HW_H_ diff --git a/src/vma/infra/DemoCollMgr.cpp b/src/vma/infra/DemoCollMgr.cpp index 83a15f327..42fa096d2 100644 --- a/src/vma/infra/DemoCollMgr.cpp +++ b/src/vma/infra/DemoCollMgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/DemoCollMgr.h b/src/vma/infra/DemoCollMgr.h index e7900a3f8..279eacb1c 100644 --- a/src/vma/infra/DemoCollMgr.h +++ b/src/vma/infra/DemoCollMgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/DemoObserver.cpp b/src/vma/infra/DemoObserver.cpp index 631bcd528..4bd5a0556 100644 --- a/src/vma/infra/DemoObserver.cpp +++ b/src/vma/infra/DemoObserver.cpp @@ -1,39 +1,9 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * DemoObserver.cpp - * */ #include "DemoObserver.h" diff --git a/src/vma/infra/DemoObserver.h b/src/vma/infra/DemoObserver.h index fe3ae32f5..b3438277d 100644 --- a/src/vma/infra/DemoObserver.h +++ b/src/vma/infra/DemoObserver.h @@ -1,39 +1,9 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * DemoObserver.h - * */ #ifndef DEMOOBSERVER_H_ diff --git a/src/vma/infra/DemoSubject.cpp b/src/vma/infra/DemoSubject.cpp index b6faf3661..85ae3bdbd 100644 --- a/src/vma/infra/DemoSubject.cpp +++ b/src/vma/infra/DemoSubject.cpp @@ -1,39 +1,9 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * DemoSubject.h - * */ diff --git a/src/vma/infra/DemoSubject.h b/src/vma/infra/DemoSubject.h index 86dadba62..cd5205ac4 100644 --- a/src/vma/infra/DemoSubject.h +++ b/src/vma/infra/DemoSubject.h @@ -1,39 +1,9 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * DemoSubject.h - * */ #ifndef DEMOSUBJECT_H_ diff --git a/src/vma/infra/cache_subject_observer.h b/src/vma/infra/cache_subject_observer.h index 91c8d3cee..793adbdbf 100644 --- a/src/vma/infra/cache_subject_observer.h +++ b/src/vma/infra/cache_subject_observer.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/main.cpp b/src/vma/infra/main.cpp index 389f26857..d4a0e8387 100644 --- a/src/vma/infra/main.cpp +++ b/src/vma/infra/main.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/sender.cpp b/src/vma/infra/sender.cpp index 34145a60d..a8585af60 100644 --- a/src/vma/infra/sender.cpp +++ b/src/vma/infra/sender.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ /* diff --git a/src/vma/infra/sender.h b/src/vma/infra/sender.h index 07b3c10a8..0f720a191 100644 --- a/src/vma/infra/sender.h +++ b/src/vma/infra/sender.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/sender_info_dst.cpp b/src/vma/infra/sender_info_dst.cpp index cb7cfb9ff..356bf0954 100644 --- a/src/vma/infra/sender_info_dst.cpp +++ b/src/vma/infra/sender_info_dst.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/sender_info_dst.h b/src/vma/infra/sender_info_dst.h index bd496d535..8f5693c5b 100644 --- a/src/vma/infra/sender_info_dst.h +++ b/src/vma/infra/sender_info_dst.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/subject_observer.cpp b/src/vma/infra/subject_observer.cpp index 2b5cc07b0..2b6a58e26 100644 --- a/src/vma/infra/subject_observer.cpp +++ b/src/vma/infra/subject_observer.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/subject_observer.h b/src/vma/infra/subject_observer.h index 7f8430b0b..9126edb4d 100644 --- a/src/vma/infra/subject_observer.h +++ b/src/vma/infra/subject_observer.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/epfd_info.cpp b/src/vma/iomux/epfd_info.cpp index de779f0e0..1d7f25235 100644 --- a/src/vma/iomux/epfd_info.cpp +++ b/src/vma/iomux/epfd_info.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/src/vma/iomux/epfd_info.h b/src/vma/iomux/epfd_info.h index 73aaba34d..4bccd6b6d 100644 --- a/src/vma/iomux/epfd_info.h +++ b/src/vma/iomux/epfd_info.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/epoll_wait_call.cpp b/src/vma/iomux/epoll_wait_call.cpp index 35a51bd7f..1e2d5ccf0 100644 --- a/src/vma/iomux/epoll_wait_call.cpp +++ b/src/vma/iomux/epoll_wait_call.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/epoll_wait_call.h b/src/vma/iomux/epoll_wait_call.h index 10d1ded7d..d3c484315 100644 --- a/src/vma/iomux/epoll_wait_call.h +++ b/src/vma/iomux/epoll_wait_call.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/io_mux_call.cpp b/src/vma/iomux/io_mux_call.cpp index f05ed689e..0710604b4 100644 --- a/src/vma/iomux/io_mux_call.cpp +++ b/src/vma/iomux/io_mux_call.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/io_mux_call.h b/src/vma/iomux/io_mux_call.h index b6d442988..9dda19ac0 100644 --- a/src/vma/iomux/io_mux_call.h +++ b/src/vma/iomux/io_mux_call.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/poll_call.cpp b/src/vma/iomux/poll_call.cpp index 8eb0d3be5..8aad98fe6 100644 --- a/src/vma/iomux/poll_call.cpp +++ b/src/vma/iomux/poll_call.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/poll_call.h b/src/vma/iomux/poll_call.h index 2b1a866ea..85ffabcc9 100644 --- a/src/vma/iomux/poll_call.h +++ b/src/vma/iomux/poll_call.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/select_call.cpp b/src/vma/iomux/select_call.cpp index 9614c8964..0309a9e87 100644 --- a/src/vma/iomux/select_call.cpp +++ b/src/vma/iomux/select_call.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/select_call.h b/src/vma/iomux/select_call.h index 1068be120..345edf81f 100644 --- a/src/vma/iomux/select_call.h +++ b/src/vma/iomux/select_call.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/libvma.c b/src/vma/libvma.c index ff3e2679a..0797f5c6a 100644 --- a/src/vma/libvma.c +++ b/src/vma/libvma.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/lwip/cc.c b/src/vma/lwip/cc.c index c429fa87b..2c271881f 100644 --- a/src/vma/lwip/cc.c +++ b/src/vma/lwip/cc.c @@ -49,35 +49,9 @@ */ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "vma/lwip/cc.h" diff --git a/src/vma/lwip/cc.h b/src/vma/lwip/cc.h index 2dba065a9..04d51c648 100644 --- a/src/vma/lwip/cc.h +++ b/src/vma/lwip/cc.h @@ -49,35 +49,9 @@ */ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef CC_H_ diff --git a/src/vma/lwip/cc_cubic.c b/src/vma/lwip/cc_cubic.c index 2e826231a..00073c6ea 100644 --- a/src/vma/lwip/cc_cubic.c +++ b/src/vma/lwip/cc_cubic.c @@ -49,35 +49,9 @@ */ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "cc_cubic.h" diff --git a/src/vma/lwip/cc_cubic.h b/src/vma/lwip/cc_cubic.h index 98d230f95..96d696a39 100644 --- a/src/vma/lwip/cc_cubic.h +++ b/src/vma/lwip/cc_cubic.h @@ -48,36 +48,10 @@ * http://caia.swin.edu.au/urp/newtcp/ */ -/* + /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef CC_CUBIC_H_ diff --git a/src/vma/lwip/cc_lwip.c b/src/vma/lwip/cc_lwip.c index 1fb6d9bac..b9ebc2491 100644 --- a/src/vma/lwip/cc_lwip.c +++ b/src/vma/lwip/cc_lwip.c @@ -49,35 +49,9 @@ */ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "vma/lwip/cc.h" diff --git a/src/vma/lwip/cc_none.c b/src/vma/lwip/cc_none.c index b122a6fe9..b73a3f249 100644 --- a/src/vma/lwip/cc_none.c +++ b/src/vma/lwip/cc_none.c @@ -1,33 +1,7 @@ /* + * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "vma/lwip/cc.h" diff --git a/src/vma/main.cpp b/src/vma/main.cpp index b3ad94cbb..c2356c866 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/main.h b/src/vma/main.h index fc56ae184..7599f0a23 100644 --- a/src/vma/main.h +++ b/src/vma/main.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/link_info.cpp b/src/vma/netlink/link_info.cpp index 957d6f504..8f213d087 100644 --- a/src/vma/netlink/link_info.cpp +++ b/src/vma/netlink/link_info.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/link_info.h b/src/vma/netlink/link_info.h index 23fd17c49..71c8e754f 100644 --- a/src/vma/netlink/link_info.h +++ b/src/vma/netlink/link_info.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/neigh_info.cpp b/src/vma/netlink/neigh_info.cpp index f6dffc84f..55723035f 100644 --- a/src/vma/netlink/neigh_info.cpp +++ b/src/vma/netlink/neigh_info.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/neigh_info.h b/src/vma/netlink/neigh_info.h index b110d393f..84a686fe9 100644 --- a/src/vma/netlink/neigh_info.h +++ b/src/vma/netlink/neigh_info.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/netlink_compatibility.cpp b/src/vma/netlink/netlink_compatibility.cpp index 4a5f2e0b0..059e97843 100644 --- a/src/vma/netlink/netlink_compatibility.cpp +++ b/src/vma/netlink/netlink_compatibility.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "utils/bullseye.h" diff --git a/src/vma/netlink/netlink_compatibility.h b/src/vma/netlink/netlink_compatibility.h index f9207e95a..ed8a652e1 100644 --- a/src/vma/netlink/netlink_compatibility.h +++ b/src/vma/netlink/netlink_compatibility.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/netlink_wrapper.cpp b/src/vma/netlink/netlink_wrapper.cpp index 9ec0fb4d9..8a0c066ff 100644 --- a/src/vma/netlink/netlink_wrapper.cpp +++ b/src/vma/netlink/netlink_wrapper.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/netlink_wrapper.h b/src/vma/netlink/netlink_wrapper.h index 6c3a22c5a..cf2c5a900 100644 --- a/src/vma/netlink/netlink_wrapper.h +++ b/src/vma/netlink/netlink_wrapper.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/route_info.cpp b/src/vma/netlink/route_info.cpp index 8205cda20..fe44f81ea 100644 --- a/src/vma/netlink/route_info.cpp +++ b/src/vma/netlink/route_info.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/route_info.h b/src/vma/netlink/route_info.h index 211de5f54..f6601f94f 100644 --- a/src/vma/netlink/route_info.h +++ b/src/vma/netlink/route_info.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/test_main.cpp b/src/vma/netlink/test_main.cpp index 550dd7dee..d554b104e 100644 --- a/src/vma/netlink/test_main.cpp +++ b/src/vma/netlink/test_main.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/L2_address.cpp b/src/vma/proto/L2_address.cpp index 42c67cbb5..33a902c02 100644 --- a/src/vma/proto/L2_address.cpp +++ b/src/vma/proto/L2_address.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/L2_address.h b/src/vma/proto/L2_address.h index 4526aedc7..6483651aa 100644 --- a/src/vma/proto/L2_address.h +++ b/src/vma/proto/L2_address.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/arp.cpp b/src/vma/proto/arp.cpp index b8073e9e0..9bcad6491 100644 --- a/src/vma/proto/arp.cpp +++ b/src/vma/proto/arp.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/arp.h b/src/vma/proto/arp.h index 0c4570654..627853705 100644 --- a/src/vma/proto/arp.h +++ b/src/vma/proto/arp.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index 8257f6c14..60b2a7dde 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index 492f119d6..2a889d28d 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_tcp.cpp b/src/vma/proto/dst_entry_tcp.cpp index 35eb23fae..d2851628e 100644 --- a/src/vma/proto/dst_entry_tcp.cpp +++ b/src/vma/proto/dst_entry_tcp.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_tcp.h b/src/vma/proto/dst_entry_tcp.h index e8e8af32d..c49b9386d 100644 --- a/src/vma/proto/dst_entry_tcp.h +++ b/src/vma/proto/dst_entry_tcp.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_udp.cpp b/src/vma/proto/dst_entry_udp.cpp index 078610c13..d8098f1fa 100644 --- a/src/vma/proto/dst_entry_udp.cpp +++ b/src/vma/proto/dst_entry_udp.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_udp.h b/src/vma/proto/dst_entry_udp.h index 23f159e5d..c8a0637af 100644 --- a/src/vma/proto/dst_entry_udp.h +++ b/src/vma/proto/dst_entry_udp.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_udp_mc.cpp b/src/vma/proto/dst_entry_udp_mc.cpp index db9976bfd..316123686 100644 --- a/src/vma/proto/dst_entry_udp_mc.cpp +++ b/src/vma/proto/dst_entry_udp_mc.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_udp_mc.h b/src/vma/proto/dst_entry_udp_mc.h index 147e78c25..590d513c7 100644 --- a/src/vma/proto/dst_entry_udp_mc.h +++ b/src/vma/proto/dst_entry_udp_mc.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/flow_tuple.cpp b/src/vma/proto/flow_tuple.cpp index b950f65af..0e68779ab 100644 --- a/src/vma/proto/flow_tuple.cpp +++ b/src/vma/proto/flow_tuple.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/flow_tuple.h b/src/vma/proto/flow_tuple.h index 7a71f2b3d..093f1fef4 100644 --- a/src/vma/proto/flow_tuple.h +++ b/src/vma/proto/flow_tuple.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/header.cpp b/src/vma/proto/header.cpp index f134a657c..d6c090dab 100644 --- a/src/vma/proto/header.cpp +++ b/src/vma/proto/header.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/header.h b/src/vma/proto/header.h index 5fc351b4e..7f8808676 100644 --- a/src/vma/proto/header.h +++ b/src/vma/proto/header.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/igmp_handler.cpp b/src/vma/proto/igmp_handler.cpp index 556c9d7e2..f9ee67d6c 100644 --- a/src/vma/proto/igmp_handler.cpp +++ b/src/vma/proto/igmp_handler.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/igmp_handler.h b/src/vma/proto/igmp_handler.h index 618f755b9..021b9081a 100644 --- a/src/vma/proto/igmp_handler.h +++ b/src/vma/proto/igmp_handler.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/igmp_mgr.cpp b/src/vma/proto/igmp_mgr.cpp index 70ac9185f..3af222bc5 100644 --- a/src/vma/proto/igmp_mgr.cpp +++ b/src/vma/proto/igmp_mgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/igmp_mgr.h b/src/vma/proto/igmp_mgr.h index 67f8b5860..36ebe8ff9 100644 --- a/src/vma/proto/igmp_mgr.h +++ b/src/vma/proto/igmp_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/ip_address.h b/src/vma/proto/ip_address.h index 5331c5ea2..6a89541f5 100644 --- a/src/vma/proto/ip_address.h +++ b/src/vma/proto/ip_address.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/ip_frag.cpp b/src/vma/proto/ip_frag.cpp index 517866fff..264633546 100644 --- a/src/vma/proto/ip_frag.cpp +++ b/src/vma/proto/ip_frag.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/ip_frag.h b/src/vma/proto/ip_frag.h index a9d681c3d..164c76c0d 100644 --- a/src/vma/proto/ip_frag.h +++ b/src/vma/proto/ip_frag.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/mem_buf_desc.h b/src/vma/proto/mem_buf_desc.h index e0e317053..726f6611e 100644 --- a/src/vma/proto/mem_buf_desc.h +++ b/src/vma/proto/mem_buf_desc.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index faa6bd4ac..081ecd2bd 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/neighbour.h b/src/vma/proto/neighbour.h index 564066651..5a8350d21 100644 --- a/src/vma/proto/neighbour.h +++ b/src/vma/proto/neighbour.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/neighbour_observer.h b/src/vma/proto/neighbour_observer.h index 6e4a4fc82..07703bf35 100644 --- a/src/vma/proto/neighbour_observer.h +++ b/src/vma/proto/neighbour_observer.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/neighbour_table_mgr.cpp b/src/vma/proto/neighbour_table_mgr.cpp index 901963811..d196aec25 100644 --- a/src/vma/proto/neighbour_table_mgr.cpp +++ b/src/vma/proto/neighbour_table_mgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/neighbour_table_mgr.h b/src/vma/proto/neighbour_table_mgr.h index fd4deda2e..36febccd2 100644 --- a/src/vma/proto/neighbour_table_mgr.h +++ b/src/vma/proto/neighbour_table_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/netlink_socket_mgr.h b/src/vma/proto/netlink_socket_mgr.h index 278fbc8bb..15f99317f 100644 --- a/src/vma/proto/netlink_socket_mgr.h +++ b/src/vma/proto/netlink_socket_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/peer_key.h b/src/vma/proto/peer_key.h index 70f786a70..e19d1c84c 100644 --- a/src/vma/proto/peer_key.h +++ b/src/vma/proto/peer_key.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef __PEER_KEY_H__ #define __PEER_KEY_H__ diff --git a/src/vma/proto/route_entry.cpp b/src/vma/proto/route_entry.cpp index 4c9576b04..7d7f5a471 100644 --- a/src/vma/proto/route_entry.cpp +++ b/src/vma/proto/route_entry.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_entry.h b/src/vma/proto/route_entry.h index 5a3d00341..67cd68dcb 100644 --- a/src/vma/proto/route_entry.h +++ b/src/vma/proto/route_entry.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_rule_table_key.h b/src/vma/proto/route_rule_table_key.h index 0d7e0c025..9a610a1e5 100644 --- a/src/vma/proto/route_rule_table_key.h +++ b/src/vma/proto/route_rule_table_key.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index 1bfb2516d..772672402 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_table_mgr.h b/src/vma/proto/route_table_mgr.h index 721d2bf31..b49d975d9 100644 --- a/src/vma/proto/route_table_mgr.h +++ b/src/vma/proto/route_table_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_val.cpp b/src/vma/proto/route_val.cpp index e8595eb6e..4b1010196 100644 --- a/src/vma/proto/route_val.cpp +++ b/src/vma/proto/route_val.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_val.h b/src/vma/proto/route_val.h index e3268df1a..bd5bafeb2 100644 --- a/src/vma/proto/route_val.h +++ b/src/vma/proto/route_val.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_entry.cpp b/src/vma/proto/rule_entry.cpp index fc5e4e3e5..196cd856c 100644 --- a/src/vma/proto/rule_entry.cpp +++ b/src/vma/proto/rule_entry.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_entry.h b/src/vma/proto/rule_entry.h index cb417dcb5..151b694c5 100644 --- a/src/vma/proto/rule_entry.h +++ b/src/vma/proto/rule_entry.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index 3751d5d0b..c9493ee78 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_table_mgr.h b/src/vma/proto/rule_table_mgr.h index 88f012646..ec639dd22 100644 --- a/src/vma/proto/rule_table_mgr.h +++ b/src/vma/proto/rule_table_mgr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_val.cpp b/src/vma/proto/rule_val.cpp index 7c6157b6d..59bdecc34 100644 --- a/src/vma/proto/rule_val.cpp +++ b/src/vma/proto/rule_val.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_val.h b/src/vma/proto/rule_val.h index 9ec57a549..7389858ce 100644 --- a/src/vma/proto/rule_val.h +++ b/src/vma/proto/rule_val.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/vma_lwip.cpp b/src/vma/proto/vma_lwip.cpp index 56da927ce..97b2db962 100644 --- a/src/vma/proto/vma_lwip.cpp +++ b/src/vma/proto/vma_lwip.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "utils/rdtsc.h" diff --git a/src/vma/proto/vma_lwip.h b/src/vma/proto/vma_lwip.h index 95e023245..b6db254a1 100644 --- a/src/vma/proto/vma_lwip.h +++ b/src/vma/proto/vma_lwip.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/cleanable_obj.h b/src/vma/sock/cleanable_obj.h index 0590facf4..84a44c7db 100644 --- a/src/vma/sock/cleanable_obj.h +++ b/src/vma/sock/cleanable_obj.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/fd_collection.cpp b/src/vma/sock/fd_collection.cpp index b3a918bac..b4c8581b1 100644 --- a/src/vma/sock/fd_collection.cpp +++ b/src/vma/sock/fd_collection.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/fd_collection.h b/src/vma/sock/fd_collection.h index d1686f3c1..5871672a7 100644 --- a/src/vma/sock/fd_collection.h +++ b/src/vma/sock/fd_collection.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/pipeinfo.cpp b/src/vma/sock/pipeinfo.cpp index 5fbc9ef0f..1c1bc66e4 100644 --- a/src/vma/sock/pipeinfo.cpp +++ b/src/vma/sock/pipeinfo.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/pipeinfo.h b/src/vma/sock/pipeinfo.h index 465a5456d..a7bab5bec 100644 --- a/src/vma/sock/pipeinfo.h +++ b/src/vma/sock/pipeinfo.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/pkt_rcvr_sink.h b/src/vma/sock/pkt_rcvr_sink.h index 22706f439..5e640b0a6 100644 --- a/src/vma/sock/pkt_rcvr_sink.h +++ b/src/vma/sock/pkt_rcvr_sink.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/pkt_sndr_source.h b/src/vma/sock/pkt_sndr_source.h index 1e5b45f3e..42c4c05b5 100644 --- a/src/vma/sock/pkt_sndr_source.h +++ b/src/vma/sock/pkt_sndr_source.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index e16837c3d..deec462e1 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sock-redirect.h b/src/vma/sock/sock-redirect.h index 627ffb326..cfcd114ad 100644 --- a/src/vma/sock/sock-redirect.h +++ b/src/vma/sock/sock-redirect.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/socket_fd_api.cpp b/src/vma/sock/socket_fd_api.cpp index 34474c70a..b78f51643 100644 --- a/src/vma/sock/socket_fd_api.cpp +++ b/src/vma/sock/socket_fd_api.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/socket_fd_api.h b/src/vma/sock/socket_fd_api.h index c181a0024..91007d2cd 100644 --- a/src/vma/sock/socket_fd_api.h +++ b/src/vma/sock/socket_fd_api.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index d1c20bc49..e52387325 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo.h b/src/vma/sock/sockinfo.h index 736518b24..f83402130 100644 --- a/src/vma/sock/sockinfo.h +++ b/src/vma/sock/sockinfo.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index aaea765b8..3bf6eae7f 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index cbeb5743e..975e160bf 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index cd1add65c..8f5c578d0 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo_udp.h b/src/vma/sock/sockinfo_udp.h index b440f67eb..4eb4a5c3b 100644 --- a/src/vma/sock/sockinfo_udp.h +++ b/src/vma/sock/sockinfo_udp.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/agent.cpp b/src/vma/util/agent.cpp index ec0cfb738..9f99427a5 100644 --- a/src/vma/util/agent.cpp +++ b/src/vma/util/agent.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifdef HAVE_CONFIG_H diff --git a/src/vma/util/agent.h b/src/vma/util/agent.h index d17c86676..68406ac1f 100644 --- a/src/vma/util/agent.h +++ b/src/vma/util/agent.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_UTIL_AGENT_H_ diff --git a/src/vma/util/agent_def.h b/src/vma/util/agent_def.h index 0c73086ef..a40e900d7 100644 --- a/src/vma/util/agent_def.h +++ b/src/vma/util/agent_def.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_UTIL_AGENT_DEF_H_ diff --git a/src/vma/util/chunk_list.h b/src/vma/util/chunk_list.h index 8e839dfb1..a1c48ba7f 100644 --- a/src/vma/util/chunk_list.h +++ b/src/vma/util/chunk_list.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef CHUNK_LIST_H_ diff --git a/src/vma/util/config_parser.y b/src/vma/util/config_parser.y index dcdc0afdd..d4972a2bd 100644 --- a/src/vma/util/config_parser.y +++ b/src/vma/util/config_parser.y @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * OpenIB.org BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * $Id: config_parser.y 1.5 2005/06/29 11:39:27 eitan Exp $ */ diff --git a/src/vma/util/config_scanner.l b/src/vma/util/config_scanner.l index 9b16f34ee..3592ccfe6 100644 --- a/src/vma/util/config_scanner.l +++ b/src/vma/util/config_scanner.l @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * OpenIB.org BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * $Id: ibnl_scanner.ll,v 1.4 2005/02/23 21:08:37 eitan Exp $ */ diff --git a/src/vma/util/data_updater.cpp b/src/vma/util/data_updater.cpp index 37e1fd1b1..895a7eb43 100644 --- a/src/vma/util/data_updater.cpp +++ b/src/vma/util/data_updater.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "data_updater.h" diff --git a/src/vma/util/data_updater.h b/src/vma/util/data_updater.h index ad5743ded..918015df5 100644 --- a/src/vma/util/data_updater.h +++ b/src/vma/util/data_updater.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_UTIL_DATA_UPDATER_H_ diff --git a/src/vma/util/hash_map.h b/src/vma/util/hash_map.h index 9e3a9b886..8f763ceae 100644 --- a/src/vma/util/hash_map.h +++ b/src/vma/util/hash_map.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/hash_map.inl b/src/vma/util/hash_map.inl index 42c40c8c3..45f9d36ff 100644 --- a/src/vma/util/hash_map.inl +++ b/src/vma/util/hash_map.inl @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/if.h b/src/vma/util/if.h index 0ae3f1f27..ea6e02a54 100644 --- a/src/vma/util/if.h +++ b/src/vma/util/if.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/instrumentation.cpp b/src/vma/util/instrumentation.cpp index 58d4feaf7..c9d92bafa 100644 --- a/src/vma/util/instrumentation.cpp +++ b/src/vma/util/instrumentation.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "config.h" diff --git a/src/vma/util/instrumentation.h b/src/vma/util/instrumentation.h index 2a2506e17..be392d6f7 100644 --- a/src/vma/util/instrumentation.h +++ b/src/vma/util/instrumentation.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/libvma.h b/src/vma/util/libvma.h index 3f0b71d12..657122a23 100644 --- a/src/vma/util/libvma.h +++ b/src/vma/util/libvma.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/match.cpp b/src/vma/util/match.cpp index 1073f1fbf..472c8bd3a 100644 --- a/src/vma/util/match.cpp +++ b/src/vma/util/match.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/sg_array.h b/src/vma/util/sg_array.h index 942b927bb..7eb3a6611 100644 --- a/src/vma/util/sg_array.h +++ b/src/vma/util/sg_array.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SG_ARRAY_H diff --git a/src/vma/util/sock_addr.h b/src/vma/util/sock_addr.h index 259c9b873..e70e2bb24 100644 --- a/src/vma/util/sock_addr.h +++ b/src/vma/util/sock_addr.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 205089e4f..210c325c6 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 18983e838..65bdbe6bd 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/sysctl_reader.h b/src/vma/util/sysctl_reader.h index ea82409cc..2ea444be3 100644 --- a/src/vma/util/sysctl_reader.h +++ b/src/vma/util/sysctl_reader.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/to_str.h b/src/vma/util/to_str.h index ce0f715e2..5a84c3f84 100644 --- a/src/vma/util/to_str.h +++ b/src/vma/util/to_str.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 2a5ea4e2b..a59d661a5 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index fb05e8fc1..ee9d1c1de 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/valgrind.h b/src/vma/util/valgrind.h index aa94b2ff5..13fd8249c 100644 --- a/src/vma/util/valgrind.h +++ b/src/vma/util/valgrind.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/vma_list.h b/src/vma/util/vma_list.h index e2c1faf45..efb18efe0 100644 --- a/src/vma/util/vma_list.h +++ b/src/vma/util/vma_list.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef VMA_LIST_H diff --git a/src/vma/util/vma_stats.h b/src/vma/util/vma_stats.h index 60a3331dd..51d49a25b 100644 --- a/src/vma/util/vma_stats.h +++ b/src/vma/util/vma_stats.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/vtypes.h b/src/vma/util/vtypes.h index d944401f0..59b30ebfb 100644 --- a/src/vma/util/vtypes.h +++ b/src/vma/util/vtypes.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/wakeup.cpp b/src/vma/util/wakeup.cpp index 21b1af256..fa5f8d096 100644 --- a/src/vma/util/wakeup.cpp +++ b/src/vma/util/wakeup.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/wakeup.h b/src/vma/util/wakeup.h index 27e030565..c7bc66923 100644 --- a/src/vma/util/wakeup.h +++ b/src/vma/util/wakeup.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/wakeup_pipe.cpp b/src/vma/util/wakeup_pipe.cpp index 38d759d51..5a7779065 100644 --- a/src/vma/util/wakeup_pipe.cpp +++ b/src/vma/util/wakeup_pipe.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/wakeup_pipe.h b/src/vma/util/wakeup_pipe.h index f9fe9327d..bde7ac95e 100644 --- a/src/vma/util/wakeup_pipe.h +++ b/src/vma/util/wakeup_pipe.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index 1f83f7fff..a0c45d35a 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef VMA_EXTRA_H diff --git a/tests/api-support-check.py b/tests/api-support-check.py index b89dc2f15..47e0edd1e 100755 --- a/tests/api-support-check.py +++ b/tests/api-support-check.py @@ -1,38 +1,10 @@ #!/usr/bin/env python # -#@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +#@copyright: #@author: Avner BenHanoch #@date: 18Oct2015 diff --git a/tests/async-echo-client/async-echo-client.py b/tests/async-echo-client/async-echo-client.py index cfdd39ba4..7b3e11172 100755 --- a/tests/async-echo-client/async-echo-client.py +++ b/tests/async-echo-client/async-echo-client.py @@ -1,39 +1,10 @@ #!/usr/bin/env python # -# -#@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +#@copyright: #@author: Avner BenHanoch #@date: 20June2015 diff --git a/tests/async-echo-client/echo-server.py b/tests/async-echo-client/echo-server.py index 5365684bb..f001080e7 100755 --- a/tests/async-echo-client/echo-server.py +++ b/tests/async-echo-client/echo-server.py @@ -2,35 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # """ diff --git a/tests/async-echo-client/syncronized-echo-client.py b/tests/async-echo-client/syncronized-echo-client.py index cf6f1a462..8446d3613 100755 --- a/tests/async-echo-client/syncronized-echo-client.py +++ b/tests/async-echo-client/syncronized-echo-client.py @@ -1,39 +1,10 @@ #!/usr/bin/env python # -# -#@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +#@copyright: #@author: Avner BenHanoch #@date: 05July2015 diff --git a/tests/benchmarking_test/Accelerators_Benchmarking.sh b/tests/benchmarking_test/Accelerators_Benchmarking.sh index cc6fadf0d..d7398dbbb 100755 --- a/tests/benchmarking_test/Accelerators_Benchmarking.sh +++ b/tests/benchmarking_test/Accelerators_Benchmarking.sh @@ -1,36 +1,10 @@ #!/bin/sh # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause +# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: # -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. # diff --git a/tests/bindtodevice/client.py b/tests/bindtodevice/client.py index 0fe026cbb..33ba945b3 100755 --- a/tests/bindtodevice/client.py +++ b/tests/bindtodevice/client.py @@ -1,39 +1,10 @@ #!/usr/bin/env python # -# -#@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +#@copyright: #@author: Alex Rosenbaum #@date: 18May2016 diff --git a/tests/connect-disconnect/client.py b/tests/connect-disconnect/client.py index 1ec46f548..d9eb40e30 100755 --- a/tests/connect-disconnect/client.py +++ b/tests/connect-disconnect/client.py @@ -1,39 +1,10 @@ #!/usr/bin/env python # -# -#@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +#@copyright: #@author: Avner BenHanoch #@date: 31Mar2015 diff --git a/tests/extra_api_tests/socketxtreme/server_tcp.c b/tests/extra_api_tests/socketxtreme/server_tcp.c index 57e9946a0..ca5ceb04d 100644 --- a/tests/extra_api_tests/socketxtreme/server_tcp.c +++ b/tests/extra_api_tests/socketxtreme/server_tcp.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ /* server_tcp.c diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.c b/tests/extra_api_tests/tcp_zcopy_cb/client.c index 302db3960..3981e3a54 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.h b/tests/extra_api_tests/tcp_zcopy_cb/client.h index e1154a718..5fa037303 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef _CLIENT_H_ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/main.c b/tests/extra_api_tests/tcp_zcopy_cb/main.c index cecee3e80..88d7f965f 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/main.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/main.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.c b/tests/extra_api_tests/tcp_zcopy_cb/server.c index a5f9e0471..36175c259 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.h b/tests/extra_api_tests/tcp_zcopy_cb/server.h index a8dd64ae6..8f91f7e81 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef _SERVER_H_ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/types.h b/tests/extra_api_tests/tcp_zcopy_cb/types.h index 6c5115d06..c8ae86273 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/types.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/types.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef _TYPES_H_ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/utils.c b/tests/extra_api_tests/tcp_zcopy_cb/utils.c index 6dc762313..4e54c93c4 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/utils.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/utils.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/functionality/getsockname_test.c b/tests/functionality/getsockname_test.c index 0c35029da..be4937ac5 100644 --- a/tests/functionality/getsockname_test.c +++ b/tests/functionality/getsockname_test.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/functionality/iomux/1epoll_1socket_twice.c b/tests/functionality/iomux/1epoll_1socket_twice.c index 1cda08e8d..c68e6640a 100644 --- a/tests/functionality/iomux/1epoll_1socket_twice.c +++ b/tests/functionality/iomux/1epoll_1socket_twice.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/functionality/iomux/2epoll_1socket.c b/tests/functionality/iomux/2epoll_1socket.c index 488465c04..d3936539e 100644 --- a/tests/functionality/iomux/2epoll_1socket.c +++ b/tests/functionality/iomux/2epoll_1socket.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/functionality/iomux/client.py b/tests/functionality/iomux/client.py index 6022c1376..04c602897 100755 --- a/tests/functionality/iomux/client.py +++ b/tests/functionality/iomux/client.py @@ -1,36 +1,8 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # Written By: Avner BenHanoch diff --git a/tests/functionality/iomux/eclient.py b/tests/functionality/iomux/eclient.py index 9c473f49d..adfc53ac5 100644 --- a/tests/functionality/iomux/eclient.py +++ b/tests/functionality/iomux/eclient.py @@ -1,36 +1,8 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # Written By: Avner BenHanoch diff --git a/tests/functionality/iomux/eserver.py b/tests/functionality/iomux/eserver.py index 574ccf3c1..65deca618 100644 --- a/tests/functionality/iomux/eserver.py +++ b/tests/functionality/iomux/eserver.py @@ -1,36 +1,8 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # Written By: Avner BenHanoch diff --git a/tests/functionality/iomux/pclient.py b/tests/functionality/iomux/pclient.py index cca82a424..12e108673 100644 --- a/tests/functionality/iomux/pclient.py +++ b/tests/functionality/iomux/pclient.py @@ -1,36 +1,8 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # Written By: Avner BenHanoch diff --git a/tests/functionality/iomux/pserver.py b/tests/functionality/iomux/pserver.py index 84016d3c7..929ed4d55 100644 --- a/tests/functionality/iomux/pserver.py +++ b/tests/functionality/iomux/pserver.py @@ -1,36 +1,8 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # Written By: Avner BenHanoch diff --git a/tests/functionality/iomux/server.py b/tests/functionality/iomux/server.py index 65306cce8..a385bcf95 100755 --- a/tests/functionality/iomux/server.py +++ b/tests/functionality/iomux/server.py @@ -1,36 +1,8 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # Written By: Avner BenHanoch diff --git a/tests/gtest/common/base.cc b/tests/gtest/common/base.cc index 1a85482e9..35e128c00 100644 --- a/tests/gtest/common/base.cc +++ b/tests/gtest/common/base.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/common/base.h b/tests/gtest/common/base.h index 725933e97..b728a3388 100644 --- a/tests/gtest/common/base.h +++ b/tests/gtest/common/base.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_COMMON_BASE_H_ diff --git a/tests/gtest/common/cmn.h b/tests/gtest/common/cmn.h index 2c06300a6..2ee4d7035 100644 --- a/tests/gtest/common/cmn.h +++ b/tests/gtest/common/cmn.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_COMMON_CMN_H_ diff --git a/tests/gtest/common/def.h b/tests/gtest/common/def.h index 6f45af388..d7d10f034 100644 --- a/tests/gtest/common/def.h +++ b/tests/gtest/common/def.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_COMMON_DEF_H_ diff --git a/tests/gtest/common/log.h b/tests/gtest/common/log.h index ed77aee55..f897a8036 100644 --- a/tests/gtest/common/log.h +++ b/tests/gtest/common/log.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_COMMON_LOG_H_ diff --git a/tests/gtest/common/sys.cc b/tests/gtest/common/sys.cc index d3bea72a1..bb9a34ddb 100644 --- a/tests/gtest/common/sys.cc +++ b/tests/gtest/common/sys.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/common/sys.h b/tests/gtest/common/sys.h index 0d2386d6d..5d2286f82 100644 --- a/tests/gtest/common/sys.h +++ b/tests/gtest/common/sys.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_COMMON_SYS_H_ diff --git a/tests/gtest/main.cc b/tests/gtest/main.cc index 6e4919f4b..93a3dafd0 100644 --- a/tests/gtest/main.cc +++ b/tests/gtest/main.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/gtest/mix/mix_base.cc b/tests/gtest/mix/mix_base.cc index 84a964a7c..43e13cc4d 100644 --- a/tests/gtest/mix/mix_base.cc +++ b/tests/gtest/mix/mix_base.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/mix/mix_base.h b/tests/gtest/mix/mix_base.h index fa65f9f1a..40534b109 100644 --- a/tests/gtest/mix/mix_base.h +++ b/tests/gtest/mix/mix_base.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_MIX_BASE_H_ #define TESTS_GTEST_MIX_BASE_H_ diff --git a/tests/gtest/mix/mix_list.cc b/tests/gtest/mix/mix_list.cc index 9d52641a1..d3c063e4e 100644 --- a/tests/gtest/mix/mix_list.cc +++ b/tests/gtest/mix/mix_list.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/mix/sg_array.cc b/tests/gtest/mix/sg_array.cc index f28af7b1e..f3d1a8946 100644 --- a/tests/gtest/mix/sg_array.cc +++ b/tests/gtest/mix/sg_array.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/sock/sock_base.cc b/tests/gtest/sock/sock_base.cc index 32a4c8e13..84b9fbf1c 100644 --- a/tests/gtest/sock/sock_base.cc +++ b/tests/gtest/sock/sock_base.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/sock/sock_base.h b/tests/gtest/sock/sock_base.h index 4348bbb24..fb2676a5e 100644 --- a/tests/gtest/sock/sock_base.h +++ b/tests/gtest/sock/sock_base.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_SOCK_BASE_H_ diff --git a/tests/gtest/sock/sock_socket.cc b/tests/gtest/sock/sock_socket.cc index 10eb81012..66ade0845 100644 --- a/tests/gtest/sock/sock_socket.cc +++ b/tests/gtest/sock/sock_socket.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/tcp/tcp_base.cc b/tests/gtest/tcp/tcp_base.cc index 7246aaf1a..c32eedf1c 100644 --- a/tests/gtest/tcp/tcp_base.cc +++ b/tests/gtest/tcp/tcp_base.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/tcp/tcp_base.h b/tests/gtest/tcp/tcp_base.h index 88d7c0c30..89e81fc22 100644 --- a/tests/gtest/tcp/tcp_base.h +++ b/tests/gtest/tcp/tcp_base.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_TCP_BASE_H_ diff --git a/tests/gtest/tcp/tcp_bind.cc b/tests/gtest/tcp/tcp_bind.cc index 946047727..f2b4726cd 100644 --- a/tests/gtest/tcp/tcp_bind.cc +++ b/tests/gtest/tcp/tcp_bind.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/tcp/tcp_connect.cc b/tests/gtest/tcp/tcp_connect.cc index 194891b99..63a3f9af5 100644 --- a/tests/gtest/tcp/tcp_connect.cc +++ b/tests/gtest/tcp/tcp_connect.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/tcp/tcp_connect_nb.cc b/tests/gtest/tcp/tcp_connect_nb.cc index 3dda7cd0f..b4e3f46ca 100644 --- a/tests/gtest/tcp/tcp_connect_nb.cc +++ b/tests/gtest/tcp/tcp_connect_nb.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/tcp/tcp_event.cc b/tests/gtest/tcp/tcp_event.cc index c65288624..e5c0d33ca 100644 --- a/tests/gtest/tcp/tcp_event.cc +++ b/tests/gtest/tcp/tcp_event.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/tcp/tcp_send.cc b/tests/gtest/tcp/tcp_send.cc index f3b7d65d9..56530aa16 100644 --- a/tests/gtest/tcp/tcp_send.cc +++ b/tests/gtest/tcp/tcp_send.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include #include "common/def.h" diff --git a/tests/gtest/tcp/tcp_send_zc.cc b/tests/gtest/tcp/tcp_send_zc.cc index c0897ca45..dc6910a3b 100644 --- a/tests/gtest/tcp/tcp_send_zc.cc +++ b/tests/gtest/tcp/tcp_send_zc.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/gtest/tcp/tcp_sendfile.cc b/tests/gtest/tcp/tcp_sendfile.cc index aec49ba8c..c0e4b145f 100644 --- a/tests/gtest/tcp/tcp_sendfile.cc +++ b/tests/gtest/tcp/tcp_sendfile.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/gtest/tcp/tcp_sendto.cc b/tests/gtest/tcp/tcp_sendto.cc index c384c864e..5c9ea9540 100644 --- a/tests/gtest/tcp/tcp_sendto.cc +++ b/tests/gtest/tcp/tcp_sendto.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/tcp/tcp_socket.cc b/tests/gtest/tcp/tcp_socket.cc index e15cc0295..bd22585ac 100644 --- a/tests/gtest/tcp/tcp_socket.cc +++ b/tests/gtest/tcp/tcp_socket.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/tcp/tcp_sockopt.cc b/tests/gtest/tcp/tcp_sockopt.cc index 3064621fa..f30516d08 100644 --- a/tests/gtest/tcp/tcp_sockopt.cc +++ b/tests/gtest/tcp/tcp_sockopt.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/gtest/tcp/tcp_tls.cc b/tests/gtest/tcp/tcp_tls.cc index c9362d242..87eee7ee8 100644 --- a/tests/gtest/tcp/tcp_tls.cc +++ b/tests/gtest/tcp/tcp_tls.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/udp/udp_base.cc b/tests/gtest/udp/udp_base.cc index e05be8717..86a6c2b5e 100644 --- a/tests/gtest/udp/udp_base.cc +++ b/tests/gtest/udp/udp_base.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/udp/udp_base.h b/tests/gtest/udp/udp_base.h index 660f5a04e..288a2c4de 100644 --- a/tests/gtest/udp/udp_base.h +++ b/tests/gtest/udp/udp_base.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_UDP_BASE_H_ diff --git a/tests/gtest/udp/udp_bind.cc b/tests/gtest/udp/udp_bind.cc index 88a4857a5..13b0b8e4e 100644 --- a/tests/gtest/udp/udp_bind.cc +++ b/tests/gtest/udp/udp_bind.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/udp/udp_connect.cc b/tests/gtest/udp/udp_connect.cc index af0857ac5..b455ad7f3 100644 --- a/tests/gtest/udp/udp_connect.cc +++ b/tests/gtest/udp/udp_connect.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/udp/udp_send.cc b/tests/gtest/udp/udp_send.cc index d7bbb5855..6cc282cc0 100644 --- a/tests/gtest/udp/udp_send.cc +++ b/tests/gtest/udp/udp_send.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/gtest/udp/udp_sendto.cc b/tests/gtest/udp/udp_sendto.cc index 1d54c1b9c..16259416b 100644 --- a/tests/gtest/udp/udp_sendto.cc +++ b/tests/gtest/udp/udp_sendto.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vma/vma_base.cc b/tests/gtest/vma/vma_base.cc index 1b60af682..66edda40f 100644 --- a/tests/gtest/vma/vma_base.cc +++ b/tests/gtest/vma/vma_base.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vma/vma_base.h b/tests/gtest/vma/vma_base.h index 35a14a6a2..1b4113d05 100644 --- a/tests/gtest/vma/vma_base.h +++ b/tests/gtest/vma/vma_base.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_VMA_BASE_H_ diff --git a/tests/gtest/vma/vma_ioctl.cc b/tests/gtest/vma/vma_ioctl.cc index 64076634a..245c778e8 100644 --- a/tests/gtest/vma/vma_ioctl.cc +++ b/tests/gtest/vma/vma_ioctl.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vma/vma_poll.cc b/tests/gtest/vma/vma_poll.cc index 07830f049..ba3bb7570 100644 --- a/tests/gtest/vma/vma_poll.cc +++ b/tests/gtest/vma/vma_poll.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vma/vma_recvfrom_zcopy.cc b/tests/gtest/vma/vma_recvfrom_zcopy.cc index f573c808c..364d91aac 100644 --- a/tests/gtest/vma/vma_recvfrom_zcopy.cc +++ b/tests/gtest/vma/vma_recvfrom_zcopy.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vma/vma_ring.cc b/tests/gtest/vma/vma_ring.cc index 51e05bf8c..02fcce4e9 100644 --- a/tests/gtest/vma/vma_ring.cc +++ b/tests/gtest/vma/vma_ring.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vma/vma_sockopt.cc b/tests/gtest/vma/vma_sockopt.cc index f97b8e666..506017c68 100644 --- a/tests/gtest/vma/vma_sockopt.cc +++ b/tests/gtest/vma/vma_sockopt.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vmad/vmad_base.cc b/tests/gtest/vmad/vmad_base.cc index 8cab23c19..644099a47 100644 --- a/tests/gtest/vmad/vmad_base.cc +++ b/tests/gtest/vmad/vmad_base.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vmad/vmad_base.h b/tests/gtest/vmad/vmad_base.h index 7f281983d..f5cc1c7bd 100644 --- a/tests/gtest/vmad/vmad_base.h +++ b/tests/gtest/vmad/vmad_base.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_VMAD_BASE_H_ diff --git a/tests/gtest/vmad/vmad_bitmap.cc b/tests/gtest/vmad/vmad_bitmap.cc index 1e7cc1ea5..8677d481e 100644 --- a/tests/gtest/vmad/vmad_bitmap.cc +++ b/tests/gtest/vmad/vmad_bitmap.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vmad/vmad_flow.cc b/tests/gtest/vmad/vmad_flow.cc index cf3a6b8ba..ff7ab63b2 100644 --- a/tests/gtest/vmad/vmad_flow.cc +++ b/tests/gtest/vmad/vmad_flow.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vmad/vmad_hash.cc b/tests/gtest/vmad/vmad_hash.cc index d73ef09f4..6162c74ad 100644 --- a/tests/gtest/vmad/vmad_hash.cc +++ b/tests/gtest/vmad/vmad_hash.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vmad/vmad_init.cc b/tests/gtest/vmad/vmad_init.cc index d4e77b54c..b4891f3d3 100644 --- a/tests/gtest/vmad/vmad_init.cc +++ b/tests/gtest/vmad/vmad_init.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/vmad/vmad_state.cc b/tests/gtest/vmad/vmad_state.cc index 82b7c1bf1..1d7a4e7ce 100644 --- a/tests/gtest/vmad/vmad_state.cc +++ b/tests/gtest/vmad/vmad_state.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/latency_test/tcp_lat.cpp b/tests/latency_test/tcp_lat.cpp index daec7b5e7..a8a85acef 100644 --- a/tests/latency_test/tcp_lat.cpp +++ b/tests/latency_test/tcp_lat.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/latency_test/udp_lat.c b/tests/latency_test/udp_lat.c index 05dbbd00d..bc383a145 100644 --- a/tests/latency_test/udp_lat.c +++ b/tests/latency_test/udp_lat.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/listen/tcp_client.py b/tests/listen/tcp_client.py index 2bee5171c..2a8f20d6e 100755 --- a/tests/listen/tcp_client.py +++ b/tests/listen/tcp_client.py @@ -2,35 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # import sys diff --git a/tests/listen/tcp_server.py b/tests/listen/tcp_server.py index 2237db8a9..f7e737536 100755 --- a/tests/listen/tcp_server.py +++ b/tests/listen/tcp_server.py @@ -2,35 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # from socket import * diff --git a/tests/low_pps_tcp_send_test/exchange.cpp b/tests/low_pps_tcp_send_test/exchange.cpp index b02fd375a..15fdd3acb 100755 --- a/tests/low_pps_tcp_send_test/exchange.cpp +++ b/tests/low_pps_tcp_send_test/exchange.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ /* diff --git a/tests/low_pps_tcp_send_test/trader.cpp b/tests/low_pps_tcp_send_test/trader.cpp index 61f4dc90a..037ea7c8a 100755 --- a/tests/low_pps_tcp_send_test/trader.cpp +++ b/tests/low_pps_tcp_send_test/trader.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ /* diff --git a/tests/mc_loop_test/mc_loop_test.c b/tests/mc_loop_test/mc_loop_test.c index e294204fb..976d27f4e 100644 --- a/tests/mc_loop_test/mc_loop_test.c +++ b/tests/mc_loop_test/mc_loop_test.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/multithread_test/exchange.cpp b/tests/multithread_test/exchange.cpp index ffb75375f..693b27dbb 100755 --- a/tests/multithread_test/exchange.cpp +++ b/tests/multithread_test/exchange.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ /* diff --git a/tests/multithread_test/trader.cpp b/tests/multithread_test/trader.cpp index 56f29f2af..df85d189c 100755 --- a/tests/multithread_test/trader.cpp +++ b/tests/multithread_test/trader.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ /* diff --git a/tests/pps_test/pps_test.c b/tests/pps_test/pps_test.c index 127937751..9a6b69e16 100644 --- a/tests/pps_test/pps_test.c +++ b/tests/pps_test/pps_test.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py index 47805d684..caa2f6e6e 100755 --- a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py @@ -1,39 +1,10 @@ #!/usr/bin/env python # -# -#@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +#@copyright: #@author: Alex Rosenbaum #@date: 20160520 diff --git a/tests/resource_release_checker/server_socket_recreate_loop.py b/tests/resource_release_checker/server_socket_recreate_loop.py index ba880e555..35a30c211 100755 --- a/tests/resource_release_checker/server_socket_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_recreate_loop.py @@ -1,39 +1,10 @@ #!/usr/bin/env python # -# -#@copyright: # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # +#@copyright: #@author: Alex Rosenbaum #@date: 20160520 diff --git a/tests/reuse_ud_test.c b/tests/reuse_ud_test.c index 13814b2ad..7c4c5d67e 100644 --- a/tests/reuse_ud_test.c +++ b/tests/reuse_ud_test.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/select_t1.c b/tests/select_t1.c index 940df3f7d..90b785703 100644 --- a/tests/select_t1.c +++ b/tests/select_t1.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/server_test/client.cc b/tests/server_test/client.cc index cf13bc53e..cbefd6488 100644 --- a/tests/server_test/client.cc +++ b/tests/server_test/client.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/client.h b/tests/server_test/client.h index 1e7e27e0b..0bd4900bd 100644 --- a/tests/server_test/client.h +++ b/tests/server_test/client.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/main.cc b/tests/server_test/main.cc index bea931c63..2ea8a22c8 100644 --- a/tests/server_test/main.cc +++ b/tests/server_test/main.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/options.cc b/tests/server_test/options.cc index 0e13e6093..eabdec519 100644 --- a/tests/server_test/options.cc +++ b/tests/server_test/options.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/options.h b/tests/server_test/options.h index 0353290e3..58d849118 100644 --- a/tests/server_test/options.h +++ b/tests/server_test/options.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/server.cc b/tests/server_test/server.cc index 80dd5b477..6f459544f 100644 --- a/tests/server_test/server.cc +++ b/tests/server_test/server.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/server.h b/tests/server_test/server.h index aaba638d9..585a8f134 100644 --- a/tests/server_test/server.h +++ b/tests/server_test/server.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/vtime.cc b/tests/server_test/vtime.cc index 941d07fb7..01807f712 100644 --- a/tests/server_test/vtime.cc +++ b/tests/server_test/vtime.cc @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/vtime.h b/tests/server_test/vtime.h index a82bdddb8..e4ba10f63 100644 --- a/tests/server_test/vtime.h +++ b/tests/server_test/vtime.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/simple_fork/fork.py b/tests/simple_fork/fork.py index 8461cffb3..2eef9d07f 100755 --- a/tests/simple_fork/fork.py +++ b/tests/simple_fork/fork.py @@ -2,35 +2,7 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES # Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause -# -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test.h b/tests/tcp_window_size_exerciser/tcp_wnd_test.h index 9dc39cd6d..ccb72676f 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test.h +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c index 6bb8ca572..017b64eb3 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c index b3eacd765..6c5c04ea8 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/testbed/testbed.c b/tests/testbed/testbed.c index 672170043..b0a1236ee 100644 --- a/tests/testbed/testbed.c +++ b/tests/testbed/testbed.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ /* diff --git a/tests/throughput_test/bandwidth_test.c b/tests/throughput_test/bandwidth_test.c index 52d3f33bd..41a68a077 100644 --- a/tests/throughput_test/bandwidth_test.c +++ b/tests/throughput_test/bandwidth_test.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/timetest/timetest.cpp b/tests/timetest/timetest.cpp index ef39e447f..7b2aa3642 100644 --- a/tests/timetest/timetest.cpp +++ b/tests/timetest/timetest.cpp @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/vma_perf_envelope/vma_multiplexers_test.sh b/tests/vma_perf_envelope/vma_multiplexers_test.sh index c4c4e2bec..9240aef14 100755 --- a/tests/vma_perf_envelope/vma_multiplexers_test.sh +++ b/tests/vma_perf_envelope/vma_multiplexers_test.sh @@ -1,36 +1,9 @@ #!/bin/bash # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause +# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. #configurable parameters #--------------------------------------------------- diff --git a/tests/vma_perf_envelope/vma_perf_envelope.sh b/tests/vma_perf_envelope/vma_perf_envelope.sh index 0107f5ff7..4f3d81efa 100755 --- a/tests/vma_perf_envelope/vma_perf_envelope.sh +++ b/tests/vma_perf_envelope/vma_perf_envelope.sh @@ -1,36 +1,9 @@ #!/bin/bash # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause +# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # -# This software is available to you under a choice of one of two -# licenses. You may choose to be licensed under the terms of the GNU -# General Public License (GPL) Version 2, available from the file -# COPYING in the main directory of this source tree, or the -# BSD license below: -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# - Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# - Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. #configurable parameters #--------------------------------------------------- diff --git a/tools/daemon/bitmap.h b/tools/daemon/bitmap.h index 73ab98d14..ff8d71db7 100644 --- a/tools/daemon/bitmap.h +++ b/tools/daemon/bitmap.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/daemon.c b/tools/daemon/daemon.c index 3cf13025c..c2f6ba8da 100644 --- a/tools/daemon/daemon.c +++ b/tools/daemon/daemon.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/daemon.h b/tools/daemon/daemon.h index b9bb12d6c..1793a6e67 100644 --- a/tools/daemon/daemon.h +++ b/tools/daemon/daemon.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TOOLS_DAEMON_DAEMON_H_ diff --git a/tools/daemon/flow.c b/tools/daemon/flow.c index be3bacff7..3dac9272e 100644 --- a/tools/daemon/flow.c +++ b/tools/daemon/flow.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/hash.c b/tools/daemon/hash.c index 4d97f38ce..c111ee251 100644 --- a/tools/daemon/hash.c +++ b/tools/daemon/hash.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/hash.h b/tools/daemon/hash.h index 73b650ba6..057934e1d 100644 --- a/tools/daemon/hash.h +++ b/tools/daemon/hash.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TOOLS_DAEMON_HASH_H_ diff --git a/tools/daemon/loop.c b/tools/daemon/loop.c index c94ce20f6..c4c21a8e7 100644 --- a/tools/daemon/loop.c +++ b/tools/daemon/loop.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/message.c b/tools/daemon/message.c index 3e83f73dd..86cda96fd 100644 --- a/tools/daemon/message.c +++ b/tools/daemon/message.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/nl.c b/tools/daemon/nl.c index 8b3846f13..a338edf88 100644 --- a/tools/daemon/nl.c +++ b/tools/daemon/nl.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/nl.h b/tools/daemon/nl.h index a0cf47e92..0a89406d1 100644 --- a/tools/daemon/nl.h +++ b/tools/daemon/nl.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TOOLS_DAEMON_NL_H_ diff --git a/tools/daemon/notify.c b/tools/daemon/notify.c index e86f34831..39b20b2ea 100644 --- a/tools/daemon/notify.c +++ b/tools/daemon/notify.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/store.c b/tools/daemon/store.c index 04706a1f5..22a1b8196 100644 --- a/tools/daemon/store.c +++ b/tools/daemon/store.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/tc.c b/tools/daemon/tc.c index da4fe52b9..08ff0dcfc 100644 --- a/tools/daemon/tc.c +++ b/tools/daemon/tc.c @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/tc.h b/tools/daemon/tc.h index fdb9f2767..20023aeaf 100644 --- a/tools/daemon/tc.h +++ b/tools/daemon/tc.h @@ -1,35 +1,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause - * - * This software is available to you under a choice of one of two - * licenses. You may choose to be licensed under the terms of the GNU - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TOOLS_DAEMON_TC_H_ From b890f1d3696db65ed8996dc80659835ed3a17a73 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Sun, 23 Mar 2025 21:49:11 +0200 Subject: [PATCH 079/150] issue: 3848350 Coverity Move Semantics - Simplify event_data_t initialization with concise constructor calls in event_handler_manager.cpp, causing assigned objects to be temporary rvalue references which invoke move semantics - Add specialized constructors for EV_IBVERBS, EV_RDMA_CM and EV_COMMAND types in event_data_t Signed-off-by: Bashar Abdelgafer --- src/vma/event/event_handler_manager.cpp | 31 ++++--------------------- src/vma/event/event_handler_manager.h | 28 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index 4857b2439..dc442feb0 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -483,15 +483,7 @@ void event_handler_manager::priv_register_ibverbs_events(ibverbs_reg_info_t& inf event_handler_map_t::iterator i; i = m_event_handler_map.find(info.fd); if (i == m_event_handler_map.end()) { - event_data_t v; - - v.type = EV_IBVERBS; - v.ibverbs_ev.fd = info.fd; - v.ibverbs_ev.channel = info.channel; - - /* coverity[uninit_use_in_call] */ - /* cppcheck-suppress uninitStructMember */ - m_event_handler_map[info.fd] = v; + m_event_handler_map[info.fd] = event_data_t(EV_IBVERBS, info); i = m_event_handler_map.find(info.fd); priv_prepare_ibverbs_async_event_queue(i); @@ -572,16 +564,7 @@ void event_handler_manager::priv_register_rdma_cm_events(rdma_cm_reg_info_t& inf event_handler_map_t::iterator iter_fd = m_event_handler_map.find(info.fd); if (iter_fd == m_event_handler_map.end()) { evh_logdbg("Adding new channel (fd %d, id %p, handler %p)", info.fd, info.id, info.handler); - event_data_t map_value; - - map_value.type = EV_RDMA_CM; - map_value.rdma_cm_ev.n_ref_count = 1; - map_value.rdma_cm_ev.map_rdma_cm_id[info.id] = info.handler; - map_value.rdma_cm_ev.cma_channel = info.cma_channel; - - /* coverity[uninit_use_in_call] */ - /* cppcheck-suppress uninitStructMember */ - m_event_handler_map[info.fd] = map_value; + m_event_handler_map[info.fd] = event_data_t(EV_RDMA_CM, info); update_epfd(info.fd, EPOLL_CTL_ADD, EPOLLIN | EPOLLPRI); } @@ -647,14 +630,8 @@ void event_handler_manager::priv_register_command_events(command_reg_info_t& inf event_handler_map_t::iterator iter_fd = m_event_handler_map.find(info.fd); if (iter_fd == m_event_handler_map.end()) { evh_logdbg("Adding new channel (fd %d)", info.fd); - event_data_t map_value; - - map_value.type = EV_COMMAND; - map_value.command_ev.cmd = info.cmd; - - /* coverity[uninit_use_in_call] */ - /* cppcheck-suppress uninitStructMember */ - m_event_handler_map[info.fd] = map_value; + m_event_handler_map[info.fd] = event_data_t(EV_COMMAND, info); + update_epfd(info.fd, EPOLL_CTL_ADD, EPOLLIN | EPOLLPRI); } diff --git a/src/vma/event/event_handler_manager.h b/src/vma/event/event_handler_manager.h index c5a3425d0..c9cef6120 100644 --- a/src/vma/event/event_handler_manager.h +++ b/src/vma/event/event_handler_manager.h @@ -114,6 +114,34 @@ struct event_data_t { ibverbs_ev_t ibverbs_ev; rdma_cm_ev_t rdma_cm_ev; command_ev_t command_ev; + event_data_t() = default; + event_data_t(ev_type t, const ibverbs_reg_info_t &info) + : type(t) + , ibverbs_ev {} + , rdma_cm_ev {} + , command_ev {} + { + ibverbs_ev.fd = info.fd; + ibverbs_ev.channel = info.channel; + } + event_data_t(ev_type t, const rdma_cm_reg_info_t &info) + : type(t) + , ibverbs_ev {} + , rdma_cm_ev {} + , command_ev {} + { + rdma_cm_ev.n_ref_count = 1; + rdma_cm_ev.map_rdma_cm_id[info.id] = info.handler; + rdma_cm_ev.cma_channel = info.cma_channel; + } + event_data_t(ev_type t, const command_reg_info_t &info) + : type(t) + , ibverbs_ev {} + , rdma_cm_ev {} + , command_ev {} + { + command_ev.cmd = info.cmd; + } }; typedef std::map event_handler_map_t; From 8f06b8f5c07b632e3c011648ec4bfc7cb2a9340b Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Sun, 23 Mar 2025 22:07:49 +0200 Subject: [PATCH 080/150] issue: 3848350 Add conditional compilation time measure Add conditional compilation for vma_time_measure_num_samples using VMA_TIME_MEASURE. This change allows cleaner builds and avoids unnecessary code inclusion when VMA_TIME_MEASURE is not required. Signed-off-by: Bashar Abdelgafer --- src/vma/event/event_handler_manager.cpp | 4 +++- src/vma/event/event_handler_manager.h | 2 ++ src/vma/util/sys_vars.h | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index dc442feb0..20f6adc75 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -204,7 +204,9 @@ void event_handler_manager::register_command_event(int fd, command* cmd) event_handler_manager::event_handler_manager() : m_reg_action_q_lock("reg_action_q_lock"), m_b_sysvar_internal_thread_arm_cq_enabled(safe_mce_sys().internal_thread_arm_cq_enabled), + #ifdef VMA_TIME_MEASURE m_n_sysvar_vma_time_measure_num_samples(safe_mce_sys().vma_time_measure_num_samples), + #endif m_n_sysvar_timer_resolution_msec(safe_mce_sys().timer_resolution_msec) { evh_logfunc(""); @@ -631,7 +633,7 @@ void event_handler_manager::priv_register_command_events(command_reg_info_t& inf if (iter_fd == m_event_handler_map.end()) { evh_logdbg("Adding new channel (fd %d)", info.fd); m_event_handler_map[info.fd] = event_data_t(EV_COMMAND, info); - + update_epfd(info.fd, EPOLL_CTL_ADD, EPOLLIN | EPOLLPRI); } diff --git a/src/vma/event/event_handler_manager.h b/src/vma/event/event_handler_manager.h index c9cef6120..8e6672756 100644 --- a/src/vma/event/event_handler_manager.h +++ b/src/vma/event/event_handler_manager.h @@ -193,7 +193,9 @@ class event_handler_manager : public wakeup_pipe timer m_timer; const bool m_b_sysvar_internal_thread_arm_cq_enabled; + #ifdef VMA_TIME_MEASURE const uint32_t m_n_sysvar_vma_time_measure_num_samples; + #endif const uint32_t m_n_sysvar_timer_resolution_msec; event_handler_map_t m_event_handler_map; diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 65bdbe6bd..40fd77187 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -383,8 +383,9 @@ struct mce_sys_var { uint32_t neigh_uc_arp_quata; uint32_t neigh_wait_till_send_arp_msec; uint32_t neigh_num_err_retries; - + #ifdef VMA_TIME_MEASURE uint32_t vma_time_measure_num_samples; + #endif char vma_time_measure_filename[PATH_MAX]; sysctl_reader_t & sysctl_reader; // Workaround for #3440429: postpone close(2) to the socket destructor, so the sockfd is closed From 8f43014fcc297ab45b0ca7652fffd9fa018cedd4 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 25 Mar 2025 16:04:08 +0200 Subject: [PATCH 081/150] issue: 3848350 Coverity Supress FalsePositives Suppress irrelevant and false positive coverity warnings. null dereference, overflow, missing lock, assigned pointer copy assignment call. Signed-off-by: Bashar Abdelgafer --- src/stats/stats_reader.cpp | 6 +++++- src/utils/lock_wrapper.h | 1 + src/vma/config_scanner.c | 3 ++- src/vma/dev/allocator.cpp | 1 + src/vma/dev/ring_allocation_logic.cpp | 1 + src/vma/dev/ring_simple.cpp | 2 ++ src/vma/dev/ring_tap.cpp | 1 + src/vma/event/delta_timer.cpp | 1 + src/vma/iomux/epfd_info.cpp | 4 ++-- src/vma/lwip/tcp.c | 1 + src/vma/proto/dst_entry.cpp | 2 ++ src/vma/proto/igmp_mgr.cpp | 1 + src/vma/sock/fd_collection.cpp | 2 ++ src/vma/sock/sockinfo_udp.cpp | 3 ++- src/vma/util/utils.cpp | 1 + tools/daemon/daemon.c | 2 +- tools/daemon/flow.c | 2 +- tools/daemon/notify.c | 1 + 18 files changed, 28 insertions(+), 7 deletions(-) diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index cf0ad80aa..8a166fa71 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -255,6 +255,7 @@ void print_ring_stats(ring_instance_block_t* p_ring_inst_arr) strcpy(post_fix, "/s"); for (int i = 0; i < NUM_OF_SUPPORTED_RINGS; i++) { + // coverity[missing_lock:FALSE] /* Turn off coverity missing_lock check */ if (p_ring_inst_arr[i].b_enabled) { p_ring_stats = &p_ring_inst_arr[i].ring_stats; printf("======================================================\n"); @@ -305,6 +306,7 @@ void print_cq_stats(cq_instance_block_t* p_cq_inst_arr) strcpy(post_fix, "/s"); for (int i = 0; i < NUM_OF_SUPPORTED_CQS; i++) { + // coverity[missing_lock:FALSE] /* Turn off coverity missing_lock check */ if (p_cq_inst_arr[i].b_enabled) { p_cq_stats = &p_cq_inst_arr[i].cq_stats; printf("======================================================\n"); @@ -327,6 +329,7 @@ void print_bpool_stats(bpool_instance_block_t* p_bpool_inst_arr) strcpy(post_fix, "/s"); for (int i = 0; i < NUM_OF_SUPPORTED_BPOOLS; i++) { + // coverity[missing_lock:FALSE] /* Turn off coverity missing_lock check */ if (p_bpool_inst_arr && p_bpool_inst_arr[i].b_enabled) { p_bpool_stats = &p_bpool_inst_arr[i].bpool_stats; printf("======================================================\n"); @@ -814,7 +817,8 @@ void show_mc_group_stats(mc_grp_info_t* p_mc_grp_info , socket_instance_block_t* for (uint32_t i=0; i < num_of_obj; i++) { size_t fd = (size_t)p_instance[i].skt_stats.fd; if (p_instance[i].b_enabled && g_fd_mask[fd]) { - socket_stats_t* p_si_stats = &p_instance[i].skt_stats; + socket_stats_t* p_si_stats = &p_instance[i].skt_stats; + // coverity[missing_lock:FALSE] /* Turn off coverity missing_lock check */ for (int grp_idx = 0; grp_idx < p_mc_grp_info->max_grp_num; grp_idx++) { if (p_si_stats->mc_grp_map.test(grp_idx)) { //printf("fd %d Member of = [%d.%d.%d.%d]\n",p_si_stats->fd, NIPQUAD(p_si_stats->mc_grp[grp_idx])); diff --git a/src/utils/lock_wrapper.h b/src/utils/lock_wrapper.h index 61340f9e6..2b363fe05 100644 --- a/src/utils/lock_wrapper.h +++ b/src/utils/lock_wrapper.h @@ -195,6 +195,7 @@ class lock_spin_recursive : public lock_spin inline int lock() { DEFINED_NO_THREAD_LOCK_RETURN_0 pthread_t self = pthread_self(); + // coverity[use_same_locks_for_read_and_modify:FALSE] if (m_owner == self) { ++m_lock_count; return 0; diff --git a/src/vma/config_scanner.c b/src/vma/config_scanner.c index 51311205e..7e2c38a30 100644 --- a/src/vma/config_scanner.c +++ b/src/vma/config_scanner.c @@ -1019,8 +1019,9 @@ YY_DECL */ yy_bp = yy_cp; - /* coverity[var_deref_op] */ + // coverity[var_deref_op:FALSE] /* Turn off coverity check for null deref */ yy_current_state = (yy_start); + // coverity[var_deref_op:FALSE] /* Turn off coverity check for null deref */ yy_current_state += YY_AT_BOL(); yy_match: do diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index a016a1bee..65abbb9fe 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -166,6 +166,7 @@ bool vma_allocator::hugetlb_alloc(size_t sz_bytes) if (!hugepagemask) { return false; } + // coverity[overflow:FALSE] /* Turn off coverity check for overflow */ hugepagemask -= 1; } diff --git a/src/vma/dev/ring_allocation_logic.cpp b/src/vma/dev/ring_allocation_logic.cpp index cfab63d2e..3a56ab1db 100644 --- a/src/vma/dev/ring_allocation_logic.cpp +++ b/src/vma/dev/ring_allocation_logic.cpp @@ -229,6 +229,7 @@ int cpu_manager::reserve_cpu_for_thread(pthread_t tid, int suggested_cpu /* = NO cpu = suggested_cpu; } CPU_ZERO(&cpu_set); + // coverity[overflow_const:FALSE] /* Turn off coverity check, cpu value is non-negative */ CPU_SET(cpu, &cpu_set); __log_dbg("attach tid=%lu running on cpu=%d to cpu=%d", tid, sched_getcpu(), cpu); ret = pthread_setaffinity_np(tid, sizeof(cpu_set_t), &cpu_set); diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index 2b94f44ce..c8208e0f8 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -134,6 +134,7 @@ ring_simple::~ring_simple() // Allow last few post sends to be sent by HCA. // Was done in order to allow iperf's FIN packet to be sent. + // coverity[sleep:FALSE] /* Turn off coverity sleep while holding lock */ usleep(25000); if (m_p_qp_mgr) { @@ -751,6 +752,7 @@ bool ring_simple::is_available_qp_wr(bool b_block) m_lock_ring_tx_buf_wait.unlock(); /* coverity[double_lock] TODO: RM#1049980 */ m_lock_ring_tx.lock(); + // coverity[missing_unlock:FALSE] /*Turn off coverity check for overflow*/ return false; } ring_logfunc("polling/blocking succeeded on tx cq_mgr (we got %d wce)", ret); diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index b6cbe6508..4987499c0 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -49,6 +49,7 @@ ring_tap::ring_tap(int if_index, ring* parent): request_more_tx_buffers(m_sysvar_qp_compensation_level, 0); /* Update ring statistics */ + // coverity[overflow_const:FALSE] /* Turn off coverity overflow_const check */ m_p_ring_stat->tap.n_tap_fd = m_tap_fd; if_indextoname(get_if_index(), tap_if_name); memcpy(m_p_ring_stat->tap.s_tap_name, tap_if_name, IFNAMSIZ); diff --git a/src/vma/event/delta_timer.cpp b/src/vma/event/delta_timer.cpp index 14b7d936f..1511845ea 100644 --- a/src/vma/event/delta_timer.cpp +++ b/src/vma/event/delta_timer.cpp @@ -141,6 +141,7 @@ void timer::remove_all_timers(timer_handler *handler) remove_from_list(node_tmp); // Remove & Free node free(node_tmp); + // coverity[assigned_pointer:FALSE] /* NULL assign for already freed object */ node_tmp = NULL; } else { node = node->next; diff --git a/src/vma/iomux/epfd_info.cpp b/src/vma/iomux/epfd_info.cpp index 1d7f25235..a3e3c5813 100644 --- a/src/vma/iomux/epfd_info.cpp +++ b/src/vma/iomux/epfd_info.cpp @@ -574,7 +574,7 @@ int epfd_info::ring_poll_and_process_element(uint64_t *p_poll_sn, void* pv_fd_re __log_func(""); int ret_total = 0; - + // coverity[missing_lock:FALSE] /* Turn off coverity sleep while holding lock */ if (m_ring_map.empty()) { return ret_total; } @@ -611,7 +611,7 @@ int epfd_info::ring_request_notification(uint64_t poll_sn) { __log_func(""); int ret_total = 0; - + // coverity[missing_lock:FALSE] /* Turn off coverity sleep while holding lock */ if (m_ring_map.empty()) { return ret_total; } diff --git a/src/vma/lwip/tcp.c b/src/vma/lwip/tcp.c index 72fdc0e65..22d5c410b 100644 --- a/src/vma/lwip/tcp.c +++ b/src/vma/lwip/tcp.c @@ -486,6 +486,7 @@ u32_t tcp_update_rcv_ann_wnd(struct tcp_pcb *pcb) if (TCP_SEQ_GEQ(new_right_edge, pcb->rcv_ann_right_edge + LWIP_MIN((pcb->rcv_wnd_max / 2), pcb->mss))) { /* we can advertise more window */ pcb->rcv_ann_wnd = pcb->rcv_wnd; + // coverity[overflow:FALSE] /* Turn off coverity check, value is non-negative */ return new_right_edge - pcb->rcv_ann_right_edge; } else { if (TCP_SEQ_GT(pcb->rcv_nxt, pcb->rcv_ann_right_edge)) { diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index 60b2a7dde..49490a5f9 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -591,6 +591,8 @@ void dst_entry::do_ring_migration(lock_base& socket_lock, resource_allocation_ke socket_lock.lock(); return; } + + // coverity[use_same_locks_for_read_and_modify:FALSE] if (new_ring == m_p_ring) { if (m_p_net_dev_val->release_ring(&old_key) < 0) { dst_logerr("Failed to release ring for allocation key %s", diff --git a/src/vma/proto/igmp_mgr.cpp b/src/vma/proto/igmp_mgr.cpp index 3af222bc5..df2ac2809 100644 --- a/src/vma/proto/igmp_mgr.cpp +++ b/src/vma/proto/igmp_mgr.cpp @@ -43,6 +43,7 @@ igmp_mgr::~igmp_mgr() igmp_mgr_logdbg("Delete existing igmp handler '%s'", p_igmp_hdlr->to_str().c_str()); m_igmp_hash.erase(iter); p_igmp_hdlr->clean_obj(); + // coverity[assigned_pointer:FALSE] /* NULL assign for already freed object */ p_igmp_hdlr = NULL; iter = m_igmp_hash.begin(); } diff --git a/src/vma/sock/fd_collection.cpp b/src/vma/sock/fd_collection.cpp index b4c8581b1..c210843e8 100644 --- a/src/vma/sock/fd_collection.cpp +++ b/src/vma/sock/fd_collection.cpp @@ -480,11 +480,13 @@ int fd_collection::add_cq_channel_fd(int cq_ch_fd, ring* p_ring) fdcoll_logwarn("cq channel fd already exists in fd_collection"); m_p_cq_channel_map[cq_ch_fd] = NULL; delete p_cq_ch_info; + // coverity[assigned_pointer:FALSE] /* NULL asign after freed object */ p_cq_ch_info = NULL; } BULLSEYE_EXCLUDE_BLOCK_END unlock(); + // coverity[value_overwrite:FALSE] /* p_cq_ch_info is NULL here */ p_cq_ch_info = new cq_channel_info(p_ring); lock(); diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index 8f5c578d0..8d041832d 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1300,7 +1300,7 @@ ssize_t sockinfo_udp::rx(const rx_call_t call_type, iovec* p_iov,ssize_t sz_iov, * Wait for RX to become ready. */ rx_wait_ret = rx_wait(m_b_blocking && !(in_flags & MSG_DONTWAIT)); - + // coverity[double_lock:FALSE] /* Turn off coverity check for overflow */ m_lock_rcv.lock(); if (likely(rx_wait_ret == 0)) { @@ -1940,6 +1940,7 @@ bool sockinfo_udp::rx_input_cb(mem_buf_desc_t* p_desc, void* pv_fd_ready_array) if (!sock_api || sock_api->get_type()!=FD_TYPE_SOCKET) { m_port_map.erase(std::remove(m_port_map.begin(), m_port_map.end(), m_port_map[m_port_map_index].port)); if (m_port_map_index) + // coverity[underflow:FALSE] /* Turn off coverity underflow check */ m_port_map_index--; m_port_map_lock.unlock(); continue; diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index a59d661a5..7e9b6b877 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -1141,6 +1141,7 @@ size_t default_huge_page_size(void) if (file) { while (fgets(str, sizeof(str), file) != NULL) { if (sscanf(str, "Hugepagesize: %8lu kB", &sz) == 1) { + // coverity[overflow:FALSE] /* Turn off coverity overflow check */ hugepage_sz = sz * 1024; break; } diff --git a/tools/daemon/daemon.c b/tools/daemon/daemon.c index c2f6ba8da..b68421d5e 100644 --- a/tools/daemon/daemon.c +++ b/tools/daemon/daemon.c @@ -405,7 +405,7 @@ ssize_t sys_sendto(int sockfd, data += n; nb += n; } while (!(flags & MSG_DONTWAIT) && (len > 0)); - + // coverity[return_overflow:FALSE] /* Turn off coverity check for overflow */ return nb; } diff --git a/tools/daemon/flow.c b/tools/daemon/flow.c index 3dac9272e..227fab490 100644 --- a/tools/daemon/flow.c +++ b/tools/daemon/flow.c @@ -330,7 +330,7 @@ int add_flow(struct store_pid *pid_value, struct store_flow *value) free_pending_list(pid, ctx, value->if_id); err: - + // coverity[overflow_const:FALSE] /* Turn off coverity check for overflow */ value->handle = HANDLE_SET(ht, bkt, id); log_debug("[%d] add flow filter: %x:%x:%x rc=%d\n", pid, ht, bkt, id, rc); diff --git a/tools/daemon/notify.c b/tools/daemon/notify.c index 39b20b2ea..4f9e24d06 100644 --- a/tools/daemon/notify.c +++ b/tools/daemon/notify.c @@ -679,6 +679,7 @@ static int proc_fanotify(void *buffer, int nbyte) } /* Close the file descriptor of the event */ + // coverity[double_close:FALSE] /* Turn off coverity check */ close(data->fd); data = FAN_EVENT_NEXT(data, len); } From 61bf8a128e589387d8da23105e3adee0dbf92ca4 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 25 Mar 2025 16:07:15 +0200 Subject: [PATCH 082/150] issue: 3848350 Fix datatypes fix datatypes in get_iftype_from_ifname and sys_sendto Signed-off-by: Bashar Abdelgafer --- src/vma/util/utils.cpp | 2 +- tools/daemon/daemon.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 7e9b6b877..4c31db0a1 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -524,7 +524,7 @@ int get_iftype_from_ifname(const char* ifname) char iftype_filename[100]; char iftype_value_str[32]; char base_ifname[32]; - char iftype_value = -1; + int iftype_value = -1; get_base_interface_name(ifname, base_ifname, sizeof(base_ifname)); sprintf(iftype_filename, IFTYPE_PARAM_FILE, base_ifname); diff --git a/tools/daemon/daemon.c b/tools/daemon/daemon.c index b68421d5e..601243449 100644 --- a/tools/daemon/daemon.c +++ b/tools/daemon/daemon.c @@ -387,7 +387,7 @@ ssize_t sys_sendto(int sockfd, const struct sockaddr *dest_addr, socklen_t addrlen) { char *data = (char *)buf; - int n, nb; + ssize_t n, nb; nb = 0; do { From 2448ecc6fd25979b6c12572d9da4b1dd17b9432f Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 25 Mar 2025 17:25:13 +0200 Subject: [PATCH 083/150] issue: 3848350 Coverity fix uninitialized member Initialized uninitialized class members stats_file and m_ioctl in mce_sys_var constructor. Signed-off-by: Bashar Abdelgafer --- src/vma/util/sys_vars.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 40fd77187..1814533e1 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -410,7 +410,10 @@ struct mce_sys_var { void read_hv(); // prevent unautothrized creation of objects - mce_sys_var () : sysctl_reader(sysctl_reader_t::instance()){ + mce_sys_var() + : sysctl_reader(sysctl_reader_t::instance()) + , m_ioctl {} + { // coverity[uninit_member] get_env_params(); } From 8a7d0bc3f381effcae0c205715d4844edb783acc Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 25 Mar 2025 16:26:49 +0200 Subject: [PATCH 084/150] issue: 3848350 Upgrade coverity to v2023.12 Upgrade coverity to version 2023.12 Signed-off-by: Bashar Abdelgafer --- contrib/jenkins_tests/cov.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/jenkins_tests/cov.sh b/contrib/jenkins_tests/cov.sh index d6ebbecc3..452fcf9ed 100755 --- a/contrib/jenkins_tests/cov.sh +++ b/contrib/jenkins_tests/cov.sh @@ -5,7 +5,7 @@ source $(dirname $0)/globals.sh echo "Checking for coverity ..." -COVERITY_MODULE="${COVERITY_MODULE:-tools/cov-2021.12}" +COVERITY_MODULE="${COVERITY_MODULE:-tools/cov-2023.12}" do_module "${COVERITY_MODULE}" cd "$WORKSPACE" From dca4bf2c3507a513fd1130ad845afc99b64807dd Mon Sep 17 00:00:00 2001 From: Gal Noam Date: Wed, 26 Mar 2025 15:44:05 +0200 Subject: [PATCH 085/150] issue: 321712 ****************** VMA 9.8.71 ****************** Signed-off-by: Gal Noam --- CHANGES | 7 +++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 4f5dda6c8..249f719ab 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +Version 9.8.71-1: +Date + Time 2025-03-26 +============================================================= +Fixed: + - RM #4337575 Init VMA in vma_thread_offload() + - RM #4260620 infinite loop latency spec + Version 9.8.70-1: Date + Time 2025-02-09 ============================================================= diff --git a/configure.ac b/configure.ac index 5eaadcc49..f179c12c0 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 70) +define([prj_ver_revision], 71) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 67004572a..7cd0cbdae 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Sun Feb 9 2025 NVIDIA CORPORATION 9.8.70-1 -- Bump version to 9.8.70 +* Wed Mar 26 2025 NVIDIA CORPORATION 9.8.71-1 +- Bump version to 9.8.71 - Please refer to CHANGES for full changelog. From 5e513534f744eaaa8ff010dceb406ebd11e24eb0 Mon Sep 17 00:00:00 2001 From: Michael Braverman Date: Sun, 6 Apr 2025 16:58:33 +0300 Subject: [PATCH 086/150] [CI] Issue: 4396851 Update GHPRB service user Shared user sometimes been abused by other teams causing GitHub token exhaustion This causes delays in GHPRB plug in response Move to media team dedicated service user Issue: HPCINFRA-3449 Signed-off-by: Michael Braverman --- .ci/proj_jjb.yaml | 2 +- .ci/redmine_jjb.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index 2bac129ca..52194d4d5 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -115,7 +115,7 @@ failure-status: "[FAIL]" error-status: "[FAIL]" status-add-test-results: true - auth-id: 'swx-jenkins_ssh_key' + auth-id: 'svc-nbu-swx-media_GHPRB_ID' org-list: ["Mellanox"] white-list: ["swx-jenkins","swx-jenkins2","swx-jenkins3","mellanox-github"] allow-whitelist-orgs-as-admins: true diff --git a/.ci/redmine_jjb.yaml b/.ci/redmine_jjb.yaml index 121cb1800..b84b7d19d 100644 --- a/.ci/redmine_jjb.yaml +++ b/.ci/redmine_jjb.yaml @@ -42,7 +42,7 @@ failure-status: "[FAIL]" error-status: "[FAIL]" status-add-test-results: true - auth-id: 'swx-jenkins_ssh_key' + auth-id: 'svc-nbu-swx-media_GHPRB_ID' admin-list: ["Mellanox"] org-list: ["Mellanox"] white-list: ["Mellanox"] From 416c4426f2c20b2a3b641203c34291bc8922471d Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Tue, 22 Apr 2025 14:17:53 +0400 Subject: [PATCH 087/150] [CI] issue: 4411941 BlackDuck scan startup fix This change removes the NGCI module previously used for running BlackDuck scans. NGCI relied on a Gerrit user token for cloning BlackDuck, which was subject to periodic rotation and caused recurring CI failures. Instead, the scan is now executed via a custom script using an SSH-based access to Gerrit. This approach improves reliability, simplifies debugging, and provides clearer logs. Signed-off-by: Viacheslav Login --- .ci/blackduck_source.sh | 51 ++++++++++++++++++++++++++++++ .ci/dockerfiles/Dockerfile.rhel8.6 | 18 +++++++++++ .ci/matrix_job.yaml | 25 ++++++--------- 3 files changed, 79 insertions(+), 15 deletions(-) create mode 100755 .ci/blackduck_source.sh create mode 100644 .ci/dockerfiles/Dockerfile.rhel8.6 diff --git a/.ci/blackduck_source.sh b/.ci/blackduck_source.sh new file mode 100755 index 000000000..102bd952e --- /dev/null +++ b/.ci/blackduck_source.sh @@ -0,0 +1,51 @@ +#!/bin/bash -Exel + +topdir=$(git rev-parse --show-toplevel) +cd "$topdir" + +# Check if the variables and pipeline attributes are set +[[ -z "${WORKSPACE}" ]] && { echo "Error: WORKSPACE variable is not set"; exit 1; } +[[ -z "$BLACKDUCK_API_TOKEN" ]] && { echo "Error: BLACKDUCK_API_TOKEN variable is not set"; exit 1; } +[[ ! -d "${WORKSPACE}/logs" ]] && mkdir -p "${WORKSPACE}/logs" + +# Create valid JSON for further authentication in BlackDuck server +json=$(jq -n \ + --arg token "$BLACKDUCK_API_TOKEN" \ + '{"blackduck.url": "https://blackduck.mellanox.com/", "blackduck.api.token": $token }') + +export SPRING_APPLICATION_JSON="$json" +export PROJECT_NAME=LibVMA +export PROJECT_VERSION="$sha1" +export PROJECT_SRC_PATH="$topdir"/src/ + +echo "Running BlackDuck (SRC) on $name" +echo "CONFIG:" +echo " NAME: ${PROJECT_NAME}" +echo " VERSION: ${PROJECT_VERSION}" +echo " SRC_PATH: ${PROJECT_SRC_PATH}" + +# clone BlackDuck +[[ -d /tmp/blackduck ]] && rm -rf /tmp/blackduck +[[ -d ~/.ssh/ ]] || mkdir -p ~/.ssh/ +chmod 600 "${GERRIT_SSH_KEY}" +ssh-keyscan -p 12023 -H git-nbu.nvidia.com >> ~/.ssh/known_hosts +git clone -c core.sshCommand="ssh -i ${GERRIT_SSH_KEY} -l swx-jenkins2-svc" -b master --single-branch --depth=1 ssh://git-nbu.nvidia.com:12023/DevOps/Tools/blackduck /tmp/blackduck +cd /tmp/blackduck + +# disable check errors +set +e +timeout 3600 ./run_bd_scan.sh +exit_code=$? +# enable back +set -e + +# copy run log to a place that jenkins job will archive it +REPORT_NAME="BlackDuck_source_${PROJECT_NAME}_${PROJECT_VERSION}" +cat "log/${PROJECT_NAME}_${PROJECT_VERSION}"*.log > "${WORKSPACE}/logs/${REPORT_NAME}.log" || true +cat "log/${PROJECT_NAME}_${PROJECT_VERSION}"*.log || true + +if [ "$exit_code" == "0" ]; then + cp -v /tmp/blackduck/report/*.pdf "${WORKSPACE}/logs/${REPORT_NAME}.pdf" +fi + +exit $exit_code diff --git a/.ci/dockerfiles/Dockerfile.rhel8.6 b/.ci/dockerfiles/Dockerfile.rhel8.6 new file mode 100644 index 000000000..b4226957a --- /dev/null +++ b/.ci/dockerfiles/Dockerfile.rhel8.6 @@ -0,0 +1,18 @@ +ARG HARBOR_URL=nbu-harbor.gtm.nvidia.com +ARG ARCH=x86_64 +FROM $HARBOR_URL/hpcx/x86_64/rhel8.6/core:latest +ARG WEBREPO_URL=webrepo.gtm.nvidia.com + +RUN sed -i "s/webrepo/${WEBREPO_URL}/" /etc/yum.repos.d/* && \ + sed -i 's/mirrorlist/#mirrorlist/;s!#baseurl=http://mirror.centos.org!baseurl=http://vault.centos.org!' /etc/yum.repos.d/* && \ + echo "[mlnx-opt]" > /etc/yum.repos.d/mlnx-opt.repo && \ + echo "name=RHEL 8.6 mirror" >> /etc/yum.repos.d/mlnx-opt.repo && \ + echo "baseurl=http://${WEBREPO_URL}/RH/optional/8.6/x86_64/" >> /etc/yum.repos.d/mlnx-opt.repo && \ + echo "enabled=1" >> /etc/yum.repos.d/mlnx-opt.repo && \ + echo "gpgcheck=0" >> /etc/yum.repos.d/mlnx-opt.repo && \ + yum makecache + +RUN yum install --allowerasing -y \ + java-11-openjdk jq git && \ + yum clean all && \ + rm -rf /var/cache/yum diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 1edc54c3d..e1ee532fb 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -26,6 +26,7 @@ volumes: credentials: - {credentialsId: 'media_coverity_credentials', usernameVariable: 'VMA_COV_USER', passwordVariable: 'VMA_COV_PASSWORD'} - {credentialsId: 'mellanox_github_credentials', usernameVariable: 'MELLANOX_GH_USER', passwordVariable: 'MELLANOX_GH_TOKEN'} + - {credentialsId: 'swx-jenkins2-svc-gerrit-ssh-key', keyFileVariable: 'GERRIT_SSH_KEY', type: 'sshUserPrivateKey'} env: build_dockers: false @@ -43,7 +44,7 @@ runs_on_dockers: - {name: 'ub22.04-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu22.04/base', category: 'base', arch: 'aarch64'} # tool - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'tool', arch: 'x86_64'} - - {name: 'blackduck', url: 'harbor.mellanox.com/toolbox/ngci-centos:7.9.2009.2', category: 'tool', arch: 'x86_64'} + - {name: 'blackduck', file: '.ci/dockerfiles/Dockerfile.rhel8.6', category: 'tool', arch: 'x86_64', tag: '20250422', uri: 'vma/$arch/$name/bduck', build_args: '--no-cache'} - {name: 'header-check', url: 'harbor.mellanox.com/toolbox/header_check:0.0.58', category: 'tool', arch: 'x86_64', tag: '0.0.58'} runs_on_agents: @@ -305,20 +306,14 @@ steps: - "{name: 'blackduck', category:'tool', variant:1}" agentSelector: - "{nodeLabel: 'skip-agent'}" - shell: action - module: ngci - run: NGCIBlackDuckScan - args: - projectName: "LibVMA" - projectVersion: "0.1.0" - projectSrcPath: "src" - attachArtifact: true - reportName: "BlackDuck report" - scanMode: "source" - skipDockerDaemonCheck: true - credentialsId: "b68aedbd-e39f-4ee2-acce-e25a5b91fe18" - env: - SPRING_APPLICATION_JSON: '{"blackduck.url":"https://blackduck.mellanox.com/","blackduck.api.token":"ODMwOWYwMzEtODA2ZC00MzBjLWI1ZDEtNmFiMjBkYzQzMzkwOjNmNjExN2M1LWE2ZmEtNDZlYS1hZjRiLTZlNDgwNjAwOTVjNw=="}' + run: | + export BLACKDUCK_API_TOKEN="ODMwOWYwMzEtODA2ZC00MzBjLWI1ZDEtNmFiMjBkYzQzMzkwOjNmNjExN2M1LWE2ZmEtNDZlYS1hZjRiLTZlNDgwNjAwOTVjNw==" + # WA for possible CI-Demo bug: HPCINFRA-1614 + if ${do_blackduck} ; then + .ci/blackduck_source.sh + fi + archiveArtifacts: 'logs/' + credentialsId: "swx-jenkins2-svc-gerrit-ssh-key" pipeline_start: run: | From cb7e7eb145836b22812b058049b4f5519b404419 Mon Sep 17 00:00:00 2001 From: Viacheslav Login Date: Mon, 28 Apr 2025 10:13:01 +0400 Subject: [PATCH 088/150] [CI] issue: 4416570 Move hardcoded BD token to Jenkins Credentials To increase security and prevent security checks failures, we want to remove secrets from the codebase and move them to Jenkins's credential. Issue: HPCINFRA-3524 Signed-off-by: Viacheslav Login --- .ci/matrix_job.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index e1ee532fb..7f494382a 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -27,6 +27,7 @@ credentials: - {credentialsId: 'media_coverity_credentials', usernameVariable: 'VMA_COV_USER', passwordVariable: 'VMA_COV_PASSWORD'} - {credentialsId: 'mellanox_github_credentials', usernameVariable: 'MELLANOX_GH_USER', passwordVariable: 'MELLANOX_GH_TOKEN'} - {credentialsId: 'swx-jenkins2-svc-gerrit-ssh-key', keyFileVariable: 'GERRIT_SSH_KEY', type: 'sshUserPrivateKey'} + - {credentialsId: 'blackduck_api_token', type: 'string', variable: 'BLACKDUCK_API_TOKEN'} env: build_dockers: false @@ -307,13 +308,14 @@ steps: agentSelector: - "{nodeLabel: 'skip-agent'}" run: | - export BLACKDUCK_API_TOKEN="ODMwOWYwMzEtODA2ZC00MzBjLWI1ZDEtNmFiMjBkYzQzMzkwOjNmNjExN2M1LWE2ZmEtNDZlYS1hZjRiLTZlNDgwNjAwOTVjNw==" # WA for possible CI-Demo bug: HPCINFRA-1614 if ${do_blackduck} ; then .ci/blackduck_source.sh fi archiveArtifacts: 'logs/' - credentialsId: "swx-jenkins2-svc-gerrit-ssh-key" + credentialsId: + - "swx-jenkins2-svc-gerrit-ssh-key" + - "blackduck_api_token" pipeline_start: run: | From de434e85100878e78735763ce38623dd9179d47b Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Mon, 12 May 2025 11:26:59 +0300 Subject: [PATCH 089/150] [CI] issue: 4377705 Create tar.gz from src.rpm Released packed should be tar.gz instead of src.rpm, with a small change to the dir stucture Move libvma.spec to the root of the directory being compressed. Remove libvma.spec from contrib/scripts/libvma.spec For now we will create both the src.rpm and the tar.gz created in the build_pkg.sh , and moves it to the release folder. Pointers to the new tar.gz file are not being created by the script Signed-off-by: NirWolfer --- .ci/do_release.sh | 31 ++++++++++++++++++++----------- contrib/build_pkg.sh | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 11 deletions(-) diff --git a/.ci/do_release.sh b/.ci/do_release.sh index 032298b7c..bb87cc2aa 100755 --- a/.ci/do_release.sh +++ b/.ci/do_release.sh @@ -43,15 +43,19 @@ if [ -z "${do_release}" ]; then do_release=false fi -env PRJ_RELEASE="${revision}" contrib/build_pkg.sh -s - MAJOR_VERSION=$(grep -e "define(\[prj_ver_major\]" configure.ac | awk '{ printf $2 };' | sed 's/)//g') MINOR_VERSION=$(grep -e "define(\[prj_ver_minor\]" configure.ac | awk '{ printf $2 };' | sed 's/)//g') REVISION_VERSION=$(grep -e "define(\[prj_ver_revision\]" configure.ac | awk '{ printf $2 };' | sed 's/)//g') configure_ac_version="${MAJOR_VERSION}.${MINOR_VERSION}.${REVISION_VERSION}" +pkg_folder=pkg/packages +pkg_name="libvma-${release_tag}-${revision}.src.rpm" +tarball_name="libvma-${release_tag}.tar.gz" DST_DIR=${release_folder}/vma_v_${release_tag}-0/src echo "FULL_VERSION from configure.ac: [${configure_ac_version}]" +# Creating both tarball and src.rpm +env PRJ_RELEASE="${revision}" contrib/build_pkg.sh -s -t + if [[ "${release_tag}" != "${configure_ac_version}" ]]; then echo "ERROR: FULL_VERSION: ${configure_ac_version} from configure.ac doesn't match tag: ${release_tag} provided! Exit" exit 1 @@ -60,20 +64,25 @@ fi if [ "${do_release}" = true ] ; then echo "do_release is set to true, will release package into ${DST_DIR}" - cd pkg/packages || { echo "pkg folder is missing, exiting..."; exit 1; } - pkg_name=$(ls -1 libvma-"${release_tag}"-"${revision}".src.rpm) - - if [[ -e "${DST_DIR}/${pkg_name}" ]]; then - echo "ERROR: [${DST_DIR}/${pkg_name}] file already exist. Exit" + if [ ! -d "${pkg_folder}" ]; then + echo "ERROR: [${pkg_folder}] directory doesn't exist. Exit" exit 1 fi + if [[ -e "${DST_DIR}/${pkg_name}" || -e "${DST_DIR}/${tarball_name}" ]]; then + echo "ERROR: [${DST_DIR}/${pkg_name}] or [${DST_DIR}/${tarball_name}] file already exist. Exit" + exit 1 + fi + files_dir=$(pwd) + pushd "${release_folder}" || { echo "ERROR: Failed to pushd to ${release_folder}. Exit" ; exit 1; } sudo -E -u swx-jenkins mkdir -p "$DST_DIR" - sudo -E -u swx-jenkins cp -v "${pkg_name}" "$DST_DIR" - sudo -E -u swx-jenkins ln -s "${DST_DIR}/${pkg_name}" "${release_folder}/source_rpms/${pkg_name}" - echo "Release found at $DST_DIR" + sudo -E -u swx-jenkins cp -v "${files_dir}/${pkg_folder}/${pkg_name}" "$DST_DIR" + sudo -E -u swx-jenkins cp -v "${files_dir}/${pkg_folder}/${tarball_name}" "$DST_DIR" + popd || { echo "ERROR: Failed to popd from ${release_folder}. Exit" ; exit 1; } + + echo "INFO: Release found at $DST_DIR" else - echo "do_release is set to false, skipping package release." + echo "INFO: do_release is set to false, skipping package release." fi set +x diff --git a/contrib/build_pkg.sh b/contrib/build_pkg.sh index e38436335..0acbb34d4 100755 --- a/contrib/build_pkg.sh +++ b/contrib/build_pkg.sh @@ -1,5 +1,6 @@ #!/bin/bash +opt_tarpkg=0 opt_srcpkg=0 opt_binpkg=0 opt_co="" @@ -19,6 +20,9 @@ while test "$1" != ""; do --srcpkg|-s) opt_srcpkg=1 ;; + --tarpkg|-t) + opt_tarpkg=1 + ;; --binpkg|-b) opt_binpkg=1 ;; @@ -40,6 +44,7 @@ Valid arguments: --input |-i Sources location --output |-o Packages location --srcpkg |-s Create source package +--tarpkg |-t Create release tarball with spec file at root --binpkg |-b Create binary package --checkout|-c Checkout from SCM --argument|-a Pass options into build procedure @@ -178,6 +183,37 @@ if [ $opt_binpkg -eq 1 -a "$rc" -eq 0 ]; then rc=$((rc + $?)) fi +# Create the release tarball separately after src.rpm generation +if [ $opt_tarpkg -eq 1 ]; then + echo ${pkg_label} "Creating release tarball..." + # Get version for directory name + tarball_name=$(basename ${pkg_tarball}) + tarball_root_dir=${tarball_name%.tar.gz} + + # Create a temporary directory using mktemp instead of a fixed name + tarball_tmp=$(mktemp -d -p ${pkg_dir}) >> ${pkg_log} 2>&1 + tar -xzf ${pkg_tarball} -C ${tarball_tmp} >> ${pkg_log} 2>&1 + if [ $? -ne 0 ]; then + echo "ERROR: Failed to extract tarball ${pkg_tarball}. Exit" >> ${pkg_log} + exit 1 + fi + + # Move spec file to the root directory to support rpmbuild + cp ${pkg_dir}/contrib/scripts/${pkg_spec} ${tarball_tmp}/${tarball_root_dir}/ >> ${pkg_log} 2>&1 + # Remove the duplicate spec file + rm ${tarball_tmp}/${tarball_root_dir}/contrib/scripts/${pkg_spec} >> ${pkg_log} 2>&1 + + # Create new tarball with proper structure + pushd ${tarball_tmp} >> ${pkg_log} 2>&1 + tar -czf ${pkg_outdir}/${tarball_name} ${tarball_root_dir} >> ${pkg_log} 2>&1 + popd >> ${pkg_log} 2>&1 + + echo ${pkg_label} "Release tarball created: ${pkg_outdir}/${tarball_name}" + + # Add tarball temporary directory to cleanup + pkg_cleanup="${pkg_cleanup} ${tarball_tmp}" +fi + if [ "$rc" -eq 0 ]; then echo ${pkg_label} "Cleanup ..." rm -rf ${pkg_cleanup} >> ${pkg_log} 2>&1 From caed04fd9fc8204f401d75c5bfed4d3d08cd435f Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Wed, 14 May 2025 13:27:17 +0300 Subject: [PATCH 090/150] issue: 4446285 Replace linux list with BSD list Replace linux list with BSD list due to license Signed-off-by: Bashar Abdelgafer --- src/vma/util/list.h | 670 ++++++++++-------------------------- tests/gtest/mix/mix_list.cc | 3 +- 2 files changed, 185 insertions(+), 488 deletions(-) diff --git a/src/vma/util/list.h b/src/vma/util/list.h index 1c7380cb6..a5305db4d 100644 --- a/src/vma/util/list.h +++ b/src/vma/util/list.h @@ -1,567 +1,263 @@ -#ifndef _LINUX_LIST_H -#define _LINUX_LIST_H - -/* - * Simple doubly linked list implementation. +/*- + * Copyright (c) 2010 Isilon Systems, Inc. + * Copyright (c) 2010 iX Systems, Inc. + * Copyright (c) 2010 Panasas, Inc. + * All rights reserved. * - * Some of the internal functions ("__xxx") are useful when - * manipulating whole lists rather than single entries, as - * sometimes we already know the next/prev entries and we can - * generate better code by using them directly rather than - * using the generic single-entry routines. - */ - -/* This is a modified version of Linux kernel list.h */ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice unmodified, this list of conditions, and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +#ifndef _LINUX_LIST_H_ +#define _LINUX_LIST_H_ struct list_head { - struct list_head *next, *prev; + struct list_head *next; + struct list_head *prev; }; -#define LIST_HEAD_INIT(name) { &(name), &(name) } - -#define LIST_HEAD(name) \ - struct list_head name = LIST_HEAD_INIT(name) - static inline void INIT_LIST_HEAD(struct list_head *list) { - list->next = list; - list->prev = list; + list->next = list->prev = list; } -/* - * Insert a new entry between two known consecutive entries. - * - * This is only for internal list manipulation where we know - * the prev/next entries already! - */ -#ifndef CONFIG_DEBUG_LIST -static inline void __list_add(struct list_head *new_item, - struct list_head *prev, - struct list_head *next) +static inline int list_empty(const struct list_head *head) { - next->prev = new_item; - new_item->next = next; - new_item->prev = prev; - prev->next = new_item; + return (head->next == head); } -#else -extern void __list_add(struct list_head *new_item, - struct list_head *prev, - struct list_head *next); -#endif -/** - * list_add - add a new entry - * @new_item: new entry to be added - * @head: list head to add it after - * - * Insert a new entry after the specified head. - * This is good for implementing stacks. - */ -static inline void list_add(struct list_head *new_item, struct list_head *head) +static inline void list_del(struct list_head *entry) { - __list_add(new_item, head, head->next); + entry->next->prev = entry->prev; + entry->prev->next = entry->next; } - -/** - * list_add_tail - add a new entry - * @new_item: new entry to be added - * @head: list head to add it before - * - * Insert a new entry before the specified head. - * This is useful for implementing queues. - */ -static inline void list_add_tail(struct list_head *new_item, struct list_head *head) +static inline void _list_add(struct list_head *_new, struct list_head *prev, struct list_head *next) { - __list_add(new_item, head->prev, head); + next->prev = _new; + _new->next = next; + _new->prev = prev; + prev->next = _new; } -/* - * Delete a list entry by making the prev/next entries - * point to each other. - * - * This is only for internal list manipulation where we know - * the prev/next entries already! - */ -static inline void __list_del(struct list_head * prev, struct list_head * next) +static inline void list_del_init(struct list_head *entry) { - next->prev = prev; - prev->next = next; + list_del(entry); + INIT_LIST_HEAD(entry); } -/** - * list_del - deletes entry from list. - * @entry: the element to delete from the list. - * Note: list_empty() on entry does not return true after this, the entry is - * in an undefined state. - */ -#ifndef CONFIG_DEBUG_LIST -static inline void list_del(struct list_head *entry) -{ - __list_del(entry->prev, entry->next); - entry->next = 0; - entry->prev = 0; -} +#ifdef __cplusplus +#define list_entry(ptr, type, member) \ + (reinterpret_cast((char *)(ptr) - (char *)(&(reinterpret_cast(1)->member)) + 1)) #else -extern void list_del(struct list_head *entry); +#define list_entry(ptr, type, member) container_of(ptr, type, member) #endif -/** - * list_replace - replace old entry by new one - * @old : the element to be replaced - * @new_item : the new element to insert - * - * If @old was empty, it will be overwritten. - */ -static inline void list_replace(struct list_head *old, - struct list_head *new_item) -{ - new_item->next = old->next; - new_item->next->prev = new_item; - new_item->prev = old->prev; - new_item->prev->next = new_item; -} +#define list_first_entry(ptr, type, member) list_entry((ptr)->next, type, member) + +#define list_for_each(p, head) for (p = (head)->next; p != (head); p = p->next) + +#define list_for_each_safe(p, n, head) \ + for (p = (head)->next, n = p->next; p != (head); p = n, n = p->next) + +#define list_for_each_entry(p, h, field) \ + for (p = list_entry((h)->next, typeof(*p), field); &p->field != (h); \ + p = list_entry(p->field.next, typeof(*p), field)) -static inline void list_replace_init(struct list_head *old, - struct list_head *new_item) +#define list_for_each_entry_safe(p, n, h, field) \ + for (p = list_entry((h)->next, typeof(*p), field), \ + n = list_entry(p->field.next, typeof(*p), field); \ + &p->field != (h); p = n, n = list_entry(n->field.next, typeof(*n), field)) + +#define list_for_each_entry_reverse(p, h, field) \ + for (p = list_entry((h)->prev, typeof(*p), field); &p->field != (h); \ + p = list_entry(p->field.prev, typeof(*p), field)) + +#define list_for_each_prev(p, h) for (p = (h)->prev; p != (h); p = p->prev) + +static inline void list_add(struct list_head *_new, struct list_head *head) { - list_replace(old, new_item); - INIT_LIST_HEAD(old); + _list_add(_new, head, head->next); } -/** - * list_del_init - deletes entry from list and reinitialize it. - * @entry: the element to delete from the list. - */ -static inline void list_del_init(struct list_head *entry) +static inline void list_add_tail(struct list_head *_new, struct list_head *head) { - __list_del(entry->prev, entry->next); - INIT_LIST_HEAD(entry); + _list_add(_new, head->prev, head); } -/** - * list_move - delete from one list and add as another's head - * @list: the entry to move - * @head: the head that will precede our entry - */ static inline void list_move(struct list_head *list, struct list_head *head) { - __list_del(list->prev, list->next); - list_add(list, head); + list_del(list); + list_add(list, head); } -/** - * list_move_tail - delete from one list and add as another's tail - * @list: the entry to move - * @head: the head that will follow our entry - */ -static inline void list_move_tail(struct list_head *list, - struct list_head *head) +static inline void list_move_tail(struct list_head *entry, struct list_head *head) { - __list_del(list->prev, list->next); - list_add_tail(list, head); + list_del(entry); + list_add_tail(entry, head); } -/** - * list_is_last - tests whether @list is the last entry in list @head - * @list: the entry to test - * @head: the head of the list - */ -static inline int list_is_last(const struct list_head *list, - const struct list_head *head) +static inline void _list_splice(const struct list_head *list, struct list_head *prev, + struct list_head *next) { - return list->next == head; + struct list_head *first; + struct list_head *last; + + if (list_empty(list)) { + return; + } + first = list->next; + last = list->prev; + first->prev = prev; + prev->next = first; + last->next = next; + next->prev = last; } -/** - * list_empty - tests whether a list is empty - * @head: the list to test. - */ -static inline int list_empty(const struct list_head *head) +static inline void list_splice(const struct list_head *list, struct list_head *head) { - return head->next == head; + _list_splice(list, head, head->next); } -/** - * list_empty_careful - tests whether a list is empty and not being modified - * @head: the list to test - * - * Description: - * tests whether a list is empty _and_ checks that no other CPU might be - * in the process of modifying either member (next or prev) - * - * NOTE: using list_empty_careful() without synchronization - * can only be safe if the only activity that can happen - * to the list entry is list_del_init(). Eg. it cannot be used - * if another CPU could re-list_add() it. - */ -static inline int list_empty_careful(const struct list_head *head) +static inline void list_splice_tail(struct list_head *list, struct list_head *head) { - struct list_head *next = head->next; - return (next == head) && (next == head->prev); + _list_splice(list, head->prev, head); } -/** - * list_rotate_left - rotate the list to the left - * @head: the head of the list - */ -static inline void list_rotate_left(struct list_head *head) +static inline void list_splice_init(struct list_head *list, struct list_head *head) { - struct list_head *first; - - if (!list_empty(head)) { - first = head->next; - list_move_tail(first, head); - } + _list_splice(list, head, head->next); + INIT_LIST_HEAD(list); } -/** - * list_is_singular - tests whether a list has just one entry. - * @head: the list to test. - */ -static inline int list_is_singular(const struct list_head *head) +static inline void list_splice_tail_init(struct list_head *list, struct list_head *head) { - return !list_empty(head) && (head->next == head->prev); + _list_splice(list, head->prev, head); + INIT_LIST_HEAD(list); } -static inline void __list_cut_position(struct list_head *list, - struct list_head *head, struct list_head *entry) +#undef LIST_HEAD +#define LIST_HEAD(name) struct list_head name = {&(name), &(name)} + +struct hlist_head { + struct hlist_node *first; +}; + +struct hlist_node { + struct hlist_node *next, **pprev; +}; + +#define HLIST_HEAD_INIT \ + { \ + } +#define HLIST_HEAD(name) struct hlist_head name = HLIST_HEAD_INIT +#define INIT_HLIST_HEAD(head) (head)->first = NULL +#define INIT_HLIST_NODE(node) \ + do { \ + (node)->next = NULL; \ + (node)->pprev = NULL; \ + } while (0) + +static inline int hlist_unhashed(const struct hlist_node *h) { - struct list_head *new_first = entry->next; - list->next = head->next; - list->next->prev = list; - list->prev = entry; - entry->next = list; - head->next = new_first; - new_first->prev = head; + return !h->pprev; } -/** - * list_cut_position - cut a list into two - * @list: a new list to add all removed entries - * @head: a list with entries - * @entry: an entry within head, could be the head itself - * and if so we won't cut the list - * - * This helper moves the initial part of @head, up to and - * including @entry, from @head to @list. You should - * pass on @entry an element you know is on @head. @list - * should be an empty list or a list you do not care about - * losing its data. - * - */ -static inline void list_cut_position(struct list_head *list, - struct list_head *head, struct list_head *entry) +static inline int hlist_empty(const struct hlist_head *h) { - if (list_empty(head)) - return; - if (list_is_singular(head) && - (head->next != entry && head != entry)) - return; - if (entry == head) - INIT_LIST_HEAD(list); - else - __list_cut_position(list, head, entry); + return !h->first; } -static inline void __list_splice(const struct list_head *list, - struct list_head *prev, - struct list_head *next) +static inline void hlist_del(struct hlist_node *n) { - struct list_head *first = list->next; - struct list_head *last = list->prev; - - first->prev = prev; - prev->next = first; + if (n->next) { + n->next->pprev = n->pprev; + } + *n->pprev = n->next; +} - last->next = next; - next->prev = last; +static inline void hlist_del_init(struct hlist_node *n) +{ + if (hlist_unhashed(n)) { + return; + } + hlist_del(n); + INIT_HLIST_NODE(n); } -/** - * list_splice - join two lists, this is designed for stacks - * @list: the new list to add. - * @head: the place to add it in the first list. - */ -static inline void list_splice(const struct list_head *list, - struct list_head *head) +static inline void hlist_add_head(struct hlist_node *n, struct hlist_head *h) { - if (!list_empty(list)) - __list_splice(list, head, head->next); + n->next = h->first; + if (h->first) { + h->first->pprev = &n->next; + } + h->first = n; + n->pprev = &h->first; } -/** - * list_splice_tail - join two lists, each list being a queue - * @list: the new list to add. - * @head: the place to add it in the first list. - */ -static inline void list_splice_tail(struct list_head *list, - struct list_head *head) +static inline void hlist_add_before(struct hlist_node *n, struct hlist_node *next) { - if (!list_empty(list)) - __list_splice(list, head->prev, head); + n->pprev = next->pprev; + n->next = next; + next->pprev = &n->next; + *(n->pprev) = n; } -/** - * list_splice_init - join two lists and reinitialise the emptied list. - * @list: the new list to add. - * @head: the place to add it in the first list. - * - * The list at @list is reinitialised - */ -static inline void list_splice_init(struct list_head *list, - struct list_head *head) +static inline void hlist_add_after(struct hlist_node *n, struct hlist_node *next) { - if (!list_empty(list)) { - __list_splice(list, head, head->next); - INIT_LIST_HEAD(list); - } + next->next = n->next; + n->next = next; + next->pprev = &n->next; + if (next->next) { + next->next->pprev = &next->next; + } } -/** - * list_splice_tail_init - join two lists and reinitialise the emptied list - * @list: the new list to add. - * @head: the place to add it in the first list. - * - * Each of the lists is a queue. - * The list at @list is reinitialised - */ -static inline void list_splice_tail_init(struct list_head *list, - struct list_head *head) +static inline void hlist_move_list(struct hlist_head *old, struct hlist_head *_new) { - if (!list_empty(list)) { - __list_splice(list, head->prev, head); - INIT_LIST_HEAD(list); - } + _new->first = old->first; + if (_new->first) { + _new->first->pprev = &_new->first; + } + old->first = NULL; } -/** - * list_entry - get the struct for this entry - * @ptr: the &struct list_head pointer. - * @type: the type of the struct this is embedded in. - * @member: the name of the list_struct within the struct. - */ -#ifdef __cplusplus -#define list_entry(ptr, type, member) \ - (reinterpret_cast((char *)(ptr)-(char *)(&(reinterpret_cast(1)->member))+1)) -#else -#define list_entry(ptr, type, member) \ - container_of(ptr, type, member) -#endif +#define hlist_entry(ptr, type, field) container_of(ptr, type, field) -/** - * list_first_entry - get the first element from a list - * @ptr: the list head to take the element from. - * @type: the type of the struct this is embedded in. - * @member: the name of the list_struct within the struct. - * - * Note, that list is expected to be not empty. - */ -#define list_first_entry(ptr, type, member) \ - list_entry((ptr)->next, type, member) +#define hlist_for_each(p, head) for (p = (head)->first; p; p = p->next) -/** - * list_for_each - iterate over a list - * @pos: the &struct list_head to use as a loop cursor. - * @head: the head for your list. - */ -#define list_for_each(pos, head) \ - for (pos = (head)->next; pos != (head); pos = pos->next) +#define hlist_for_each_safe(p, n, head) \ + for (p = (head)->first; p ? (n = p->next) | (tp = hlist_entry(p, typeof(*tp), field)) : NULL; \ + p = n) -/** - * __list_for_each - iterate over a list - * @pos: the &struct list_head to use as a loop cursor. - * @head: the head for your list. - * - * This variant doesn't differ from list_for_each() any more. - * We don't do prefetching in either case. - */ -#define __list_for_each(pos, head) \ - for (pos = (head)->next; pos != (head); pos = pos->next) +#define hlist_for_each_entry(tp, p, head, field) \ + for (p = (head)->first; p ? (tp = hlist_entry(p, typeof(*tp), field)) : NULL; p = p->next) -/** - * list_for_each_prev - iterate over a list backwards - * @pos: the &struct list_head to use as a loop cursor. - * @head: the head for your list. - */ -#define list_for_each_prev(pos, head) \ - for (pos = (head)->prev; pos != (head); pos = pos->prev) - -/** - * list_for_each_safe - iterate over a list safe against removal of list entry - * @pos: the &struct list_head to use as a loop cursor. - * @n: another &struct list_head to use as temporary storage - * @head: the head for your list. - */ -#define list_for_each_safe(pos, n, head) \ - for (pos = (head)->next, n = pos->next; pos != (head); \ - pos = n, n = pos->next) - -/** - * list_for_each_prev_safe - iterate over a list backwards safe against removal of list entry - * @pos: the &struct list_head to use as a loop cursor. - * @n: another &struct list_head to use as temporary storage - * @head: the head for your list. - */ -#define list_for_each_prev_safe(pos, n, head) \ - for (pos = (head)->prev, n = pos->prev; \ - pos != (head); \ - pos = n, n = pos->prev) - -/** - * list_for_each_entry - iterate over list of given type - * @pos: the type * to use as a loop cursor. - * @head: the head for your list. - * @member: the name of the list_struct within the struct. - */ -#define list_for_each_entry(pos, head, member) \ - for (pos = list_entry((head)->next, typeof(*pos), member); \ - &pos->member != (head); \ - pos = list_entry(pos->member.next, typeof(*pos), member)) - -/** - * list_for_each_entry_reverse - iterate backwards over list of given type. - * @pos: the type * to use as a loop cursor. - * @head: the head for your list. - * @member: the name of the list_struct within the struct. - */ -#define list_for_each_entry_reverse(pos, head, member) \ - for (pos = list_entry((head)->prev, typeof(*pos), member); \ - &pos->member != (head); \ - pos = list_entry(pos->member.prev, typeof(*pos), member)) - -/** - * list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue() - * @pos: the type * to use as a start point - * @head: the head of the list - * @member: the name of the list_struct within the struct. - * - * Prepares a pos entry for use as a start point in list_for_each_entry_continue(). - */ -#define list_prepare_entry(pos, head, member) \ - ((pos) ? : list_entry(head, typeof(*pos), member)) - -/** - * list_for_each_entry_continue - continue iteration over list of given type - * @pos: the type * to use as a loop cursor. - * @head: the head for your list. - * @member: the name of the list_struct within the struct. - * - * Continue to iterate over list of given type, continuing after - * the current position. - */ -#define list_for_each_entry_continue(pos, head, member) \ - for (pos = list_entry(pos->member.next, typeof(*pos), member); \ - &pos->member != (head); \ - pos = list_entry(pos->member.next, typeof(*pos), member)) - -/** - * list_for_each_entry_continue_reverse - iterate backwards from the given point - * @pos: the type * to use as a loop cursor. - * @head: the head for your list. - * @member: the name of the list_struct within the struct. - * - * Start to iterate over list of given type backwards, continuing after - * the current position. - */ -#define list_for_each_entry_continue_reverse(pos, head, member) \ - for (pos = list_entry(pos->member.prev, typeof(*pos), member); \ - &pos->member != (head); \ - pos = list_entry(pos->member.prev, typeof(*pos), member)) - -/** - * list_for_each_entry_from - iterate over list of given type from the current point - * @pos: the type * to use as a loop cursor. - * @head: the head for your list. - * @member: the name of the list_struct within the struct. - * - * Iterate over list of given type, continuing from current position. - */ -#define list_for_each_entry_from(pos, head, member) \ - for (; &pos->member != (head); \ - pos = list_entry(pos->member.next, typeof(*pos), member)) - -/** - * list_for_each_entry_safe - iterate over list of given type safe against removal of list entry - * @pos: the type * to use as a loop cursor. - * @n: another type * to use as temporary storage - * @head: the head for your list. - * @member: the name of the list_struct within the struct. - */ -#define list_for_each_entry_safe(pos, n, head, member) \ - for (pos = list_entry((head)->next, typeof(*pos), member), \ - n = list_entry(pos->member.next, typeof(*pos), member); \ - &pos->member != (head); \ - pos = n, n = list_entry(n->member.next, typeof(*n), member)) - -/** - * list_for_each_entry_safe_continue - * @pos: the type * to use as a loop cursor. - * @n: another type * to use as temporary storage - * @head: the head for your list. - * @member: the name of the list_struct within the struct. - * - * Iterate over list of given type, continuing after current point, - * safe against removal of list entry. - */ -#define list_for_each_entry_safe_continue(pos, n, head, member) \ - for (pos = list_entry(pos->member.next, typeof(*pos), member), \ - n = list_entry(pos->member.next, typeof(*pos), member); \ - &pos->member != (head); \ - pos = n, n = list_entry(n->member.next, typeof(*n), member)) - -/** - * list_for_each_entry_safe_from - * @pos: the type * to use as a loop cursor. - * @n: another type * to use as temporary storage - * @head: the head for your list. - * @member: the name of the list_struct within the struct. - * - * Iterate over list of given type from current point, safe against - * removal of list entry. - */ -#define list_for_each_entry_safe_from(pos, n, head, member) \ - for (n = list_entry(pos->member.next, typeof(*pos), member); \ - &pos->member != (head); \ - pos = n, n = list_entry(n->member.next, typeof(*n), member)) - -/** - * list_for_each_entry_safe_reverse - * @pos: the type * to use as a loop cursor. - * @n: another type * to use as temporary storage - * @head: the head for your list. - * @member: the name of the list_struct within the struct. - * - * Iterate backwards over list of given type, safe against removal - * of list entry. - */ -#define list_for_each_entry_safe_reverse(pos, n, head, member) \ - for (pos = list_entry((head)->prev, typeof(*pos), member), \ - n = list_entry(pos->member.prev, typeof(*pos), member); \ - &pos->member != (head); \ - pos = n, n = list_entry(n->member.prev, typeof(*n), member)) - -/** - * list_safe_reset_next - reset a stale list_for_each_entry_safe loop - * @pos: the loop cursor used in the list_for_each_entry_safe loop - * @n: temporary storage used in list_for_each_entry_safe - * @member: the name of the list_struct within the struct. - * - * list_safe_reset_next is not safe to use in general if the list may be - * modified concurrently (eg. the lock is dropped in the loop body). An - * exception to this is if the cursor element (pos) is pinned in the list, - * and list_safe_reset_next is called after re-taking the lock and before - * completing the current iteration of the loop body. - */ -#define list_safe_reset_next(pos, n, member) \ - n = list_entry(pos->member.next, typeof(*pos), member) - -/* - * Double linked lists with a single pointer list head. - * Mostly useful for hash tables where the two pointer list head is - * too wasteful. - * You lose the ability to access the tail in O(1). - */ +#define hlist_for_each_entry_continue(tp, p, field) \ + for (p = (p)->next; p ? (tp = hlist_entry(p, typeof(*tp), field)) : NULL; p = p->next) + +#define hlist_for_each_entry_from(tp, p, field) \ + for (; p ? (tp = hlist_entry(p, typeof(*tp), field)) : NULL; p = p->next) + +#define hlist_for_each_entry_safe(tp, p, n, head, field) \ + for (p = (head)->first; p ? (n = p->next) | (tp = hlist_entry(p, typeof(*tp), field)) : NULL; \ + p = n) -#endif /* _LINUX_LIST_H */ +#endif /* _LINUX_LIST_H_ */ diff --git a/tests/gtest/mix/mix_list.cc b/tests/gtest/mix/mix_list.cc index d3c063e4e..6275ce0f3 100644 --- a/tests/gtest/mix/mix_list.cc +++ b/tests/gtest/mix/mix_list.cc @@ -123,7 +123,8 @@ TEST_F(mix_list, ti_7) { list_add_tail(&element.item, &head); ASSERT_FALSE(list_empty(&head)); - ASSERT_TRUE(list_is_last(&element.item, &head)); + // Check if element.item is the last entry in the list (its next points to head) + ASSERT_TRUE(element.item.next == &head); } TEST_F(mix_list, ti_8) { From bef0769c24c1c649639147204f9a5830cc3bc04f Mon Sep 17 00:00:00 2001 From: Gal Noam Date: Thu, 29 May 2025 20:57:46 +0300 Subject: [PATCH 091/150] issue: 321712 ****************** VMA 9.8.72 ****************** Signed-off-by: Gal Noam --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 249f719ab..6db10231c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.8.72-1: +Date + Time 2025-05-29 +============================================================= +Fixed: + - RM #4446285 Replace linux list with BSD list + Version 9.8.71-1: Date + Time 2025-03-26 ============================================================= diff --git a/configure.ac b/configure.ac index f179c12c0..7959e1683 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 71) +define([prj_ver_revision], 72) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 7cd0cbdae..d5e22923e 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Wed Mar 26 2025 NVIDIA CORPORATION 9.8.71-1 -- Bump version to 9.8.71 +* Thu May 29 2025 NVIDIA CORPORATION 9.8.72-1 +- Bump version to 9.8.72 - Please refer to CHANGES for full changelog. From 3d9baeab428af761a8ccec4453605d844da534b5 Mon Sep 17 00:00:00 2001 From: Michael Braverman Date: Sun, 29 Jun 2025 13:01:26 +0300 Subject: [PATCH 092/150] [CI] issue: 4504772 Add SECURITY.md Following SCM security hardening requirements public repos must contain security policies Issue: HPCINFRA-3392 Signed-off-by: Michael Braverman --- SECURITY.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..4a8645b20 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,25 @@ +# Security + +NVIDIA is dedicated to the security and trust of our software products and services, including all source code repositories managed through our organization. + +If you need to report a security issue, please use the appropriate contact points outlined below. **Please do not report security vulnerabilities through GitHub/GitLab.** + +## Reporting Potential Security Vulnerability in an NVIDIA Product + +To report a potential security vulnerability in any NVIDIA product: + +- Web: [Security Vulnerability Submission Form](https://www.nvidia.com/object/submit-security-vulnerability.html) +- E-Mail: [psirt@nvidia.com](mailto:psirt@nvidia.com) + - We encourage you to use the following PGP key for secure email communication: [NVIDIA public PGP Key for communication](https://www.nvidia.com/en-us/security/pgp-key) + - Please include the following information: + - Product/Driver name and version/branch that contains the vulnerability + - Type of vulnerability (code execution, denial of service, buffer overflow, etc.) + - Instructions to reproduce the vulnerability + - Proof-of-concept or exploit code + - Potential impact of the vulnerability, including how an attacker could exploit the vulnerability + +While NVIDIA currently does not have a bug bounty program, we do offer acknowledgement when an externally reported security issue is addressed under our coordinated vulnerability disclosure policy. Please visit our [Product Security Incident Response Team (PSIRT)](https://www.nvidia.com/en-us/security/psirt-policies/) policies page for more information. + +## NVIDIA Product Security + +For all security-related concerns, please visit NVIDIA's Product Security portal at [https://www.nvidia.com/en-us/security](https://www.nvidia.com/en-us/security) From 6679874d2defcf5b0b80c9e602e0c5fadbaeeab0 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Wed, 25 Jun 2025 10:56:40 +0300 Subject: [PATCH 093/150] [CI] issue: 4377705 Create softlink for source rpm The softlink creation in the source_rpms folder was removed by commit de434e8 and its still required. Readd softlink creation in source_rpms folder for the src.rpm file Signed-off-by: NirWolfer --- .ci/do_release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/do_release.sh b/.ci/do_release.sh index bb87cc2aa..23b7f1f4e 100755 --- a/.ci/do_release.sh +++ b/.ci/do_release.sh @@ -78,6 +78,7 @@ if [ "${do_release}" = true ] ; then sudo -E -u swx-jenkins mkdir -p "$DST_DIR" sudo -E -u swx-jenkins cp -v "${files_dir}/${pkg_folder}/${pkg_name}" "$DST_DIR" sudo -E -u swx-jenkins cp -v "${files_dir}/${pkg_folder}/${tarball_name}" "$DST_DIR" + sudo -E -u swx-jenkins ln -s "${DST_DIR}/${pkg_name}" "${release_folder}/source_rpms/${pkg_name}" popd || { echo "ERROR: Failed to popd from ${release_folder}. Exit" ; exit 1; } echo "INFO: Release found at $DST_DIR" From a80ffaa94217f7af4d53fd745ff2f0d23bfd1921 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Thu, 26 Jun 2025 15:41:46 +0300 Subject: [PATCH 094/150] [CI] issue: 4568257 change blackduck scan to signature Add signature to blackduck scan Change scan location from src to root dir Signed-off-by: NirWolfer --- .ci/blackduck_source.sh | 10 +++------- .ci/dockerfiles/Dockerfile.rhel8.6 | 20 ++++++++++++++++++-- .ci/matrix_job.yaml | 3 ++- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/.ci/blackduck_source.sh b/.ci/blackduck_source.sh index 102bd952e..d287491ad 100755 --- a/.ci/blackduck_source.sh +++ b/.ci/blackduck_source.sh @@ -16,8 +16,7 @@ json=$(jq -n \ export SPRING_APPLICATION_JSON="$json" export PROJECT_NAME=LibVMA export PROJECT_VERSION="$sha1" -export PROJECT_SRC_PATH="$topdir"/src/ - +export PROJECT_SRC_PATH="$topdir"/ echo "Running BlackDuck (SRC) on $name" echo "CONFIG:" echo " NAME: ${PROJECT_NAME}" @@ -26,15 +25,12 @@ echo " SRC_PATH: ${PROJECT_SRC_PATH}" # clone BlackDuck [[ -d /tmp/blackduck ]] && rm -rf /tmp/blackduck -[[ -d ~/.ssh/ ]] || mkdir -p ~/.ssh/ -chmod 600 "${GERRIT_SSH_KEY}" -ssh-keyscan -p 12023 -H git-nbu.nvidia.com >> ~/.ssh/known_hosts -git clone -c core.sshCommand="ssh -i ${GERRIT_SSH_KEY} -l swx-jenkins2-svc" -b master --single-branch --depth=1 ssh://git-nbu.nvidia.com:12023/DevOps/Tools/blackduck /tmp/blackduck +sudo -u swx-jenkins git clone -c core.sshCommand="ssh -i ~/.ssh/id_ed25519" -b master --single-branch --depth=1 ssh://git-nbu.nvidia.com:12023/DevOps/Tools/blackduck /tmp/blackduck cd /tmp/blackduck # disable check errors set +e -timeout 3600 ./run_bd_scan.sh +timeout 3600 ./run_bd_scan.sh signature exit_code=$? # enable back set -e diff --git a/.ci/dockerfiles/Dockerfile.rhel8.6 b/.ci/dockerfiles/Dockerfile.rhel8.6 index b4226957a..9484fdb88 100644 --- a/.ci/dockerfiles/Dockerfile.rhel8.6 +++ b/.ci/dockerfiles/Dockerfile.rhel8.6 @@ -1,6 +1,6 @@ ARG HARBOR_URL=nbu-harbor.gtm.nvidia.com ARG ARCH=x86_64 -FROM $HARBOR_URL/hpcx/x86_64/rhel8.6/core:latest +FROM $HARBOR_URL/hpcx/x86_64/rhel8.6/core:latest as core ARG WEBREPO_URL=webrepo.gtm.nvidia.com RUN sed -i "s/webrepo/${WEBREPO_URL}/" /etc/yum.repos.d/* && \ @@ -15,4 +15,20 @@ RUN sed -i "s/webrepo/${WEBREPO_URL}/" /etc/yum.repos.d/* && \ RUN yum install --allowerasing -y \ java-11-openjdk jq git && \ yum clean all && \ - rm -rf /var/cache/yum + rm -rf /var/cache/yum + +FROM core as bduck +ARG _UID=6213 +ARG _GID=101 +ARG _LOGIN=swx-jenkins +ARG _HOME=/var/home/$_LOGIN +RUN echo "${_LOGIN} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ + echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ + mkdir -p ${_HOME} && \ + groupadd -f -g "$_GID" "$_LOGIN" && \ + useradd -u "$_UID" -g "$_GID" -s /bin/bash -m -d ${_HOME} "${_LOGIN}" && \ + chown -R ${_LOGIN} ${_HOME} && \ + yum install --allowerasing -y \ + jq git java-11-openjdk sudo && \ + yum clean all && \ + rm -rf /var/cache/yum diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 7f494382a..ab5ce42cd 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -22,6 +22,7 @@ volumes: - {mountPath: /auto/sw_tools/Commercial, hostPath: /auto/sw_tools/Commercial} - {mountPath: /hpc/local/commercial, hostPath: /hpc/local/commercial} - {mountPath: /hpc/local/etc/modulefiles, hostPath: /hpc/local/etc/modulefiles} + - {mountPath: /var/home/swx-jenkins, hostPath: /labhome/swx-jenkins} credentials: - {credentialsId: 'media_coverity_credentials', usernameVariable: 'VMA_COV_USER', passwordVariable: 'VMA_COV_PASSWORD'} @@ -45,7 +46,7 @@ runs_on_dockers: - {name: 'ub22.04-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu22.04/base', category: 'base', arch: 'aarch64'} # tool - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'tool', arch: 'x86_64'} - - {name: 'blackduck', file: '.ci/dockerfiles/Dockerfile.rhel8.6', category: 'tool', arch: 'x86_64', tag: '20250422', uri: 'vma/$arch/$name/bduck', build_args: '--no-cache'} + - {name: 'blackduck', file: '.ci/dockerfiles/Dockerfile.rhel8.6', category: 'tool', arch: 'x86_64', tag: '20250630', uri: 'vma/$arch/$name/bduck', build_args: '--no-cache --target bduck'} - {name: 'header-check', url: 'harbor.mellanox.com/toolbox/header_check:0.0.58', category: 'tool', arch: 'x86_64', tag: '0.0.58'} runs_on_agents: From c7f7597a4acea85760fa15928ccc8a4a7909a009 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Wed, 6 Aug 2025 16:21:06 +0300 Subject: [PATCH 095/150] [CI] issue: 4568257 Change default JNLP image The current default JNLP image used is the one from jenkins itself, which does not support retries, this causes issues on connectivity issues to the kubernetes cloud Add jnlpImage definition to the matrix files - Image is multi arch Signed-off-by: NirWolfer --- .ci/matrix_job.yaml | 9 ++++++++- .ci/pipeline/release_matrix_job.yaml | 4 ++++ .ci/redmine_matrix_job.yaml | 4 ++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index ab5ce42cd..7c004daaf 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -14,6 +14,13 @@ kubernetes: nodeSelector: 'beta.kubernetes.io/os=linux' limits: '{memory: 8Gi, cpu: 8000m}' requests: '{memory: 8Gi, cpu: 8000m}' + arch_table: + x86_64: + nodeSelector: 'kubernetes.io/arch=amd64' + jnlpImage: 'harbor.mellanox.com/toolbox/c3po-jnlp:latest' + aarch64: + nodeSelector: 'kubernetes.io/arch=arm64' + jnlpImage: 'harbor.mellanox.com/toolbox/c3po-jnlp:latest' volumes: - {mountPath: /hpc/local/bin, hostPath: /hpc/local/bin} @@ -331,4 +338,4 @@ failFast: false taskName: '${flags}/${name}/${axis_index}' -timeout_minutes: 120 +timeout_minutes: 150 diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml index 275412c5e..5f7d2a93b 100644 --- a/.ci/pipeline/release_matrix_job.yaml +++ b/.ci/pipeline/release_matrix_job.yaml @@ -11,6 +11,10 @@ kubernetes: namespace: swx-media limits: '{memory: 8Gi, cpu: 7000m}' requests: '{memory: 8Gi, cpu: 7000m}' + arch_table: + x86_64: + nodeSelector: 'kubernetes.io/arch=amd64' + jnlpImage: 'harbor.mellanox.com/toolbox/c3po-jnlp:latest' env: MAIL_FROM: jenkins@nvidia.com diff --git a/.ci/redmine_matrix_job.yaml b/.ci/redmine_matrix_job.yaml index bfc93f956..5d53fd717 100644 --- a/.ci/redmine_matrix_job.yaml +++ b/.ci/redmine_matrix_job.yaml @@ -11,6 +11,10 @@ kubernetes: nodeSelector: 'beta.kubernetes.io/os=linux' limits: '{memory: 1Gi, cpu: 1000m}' requests: '{memory: 1Gi, cpu: 1000m}' + arch_table: + x86_64: + nodeSelector: 'kubernetes.io/arch=amd64' + jnlpImage: 'harbor.mellanox.com/toolbox/c3po-jnlp:latest' failFast: false timeout_minutes: 20 From bde1da1a5b9b36bc4dee909c79573701c326f7ac Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Wed, 2 Jul 2025 13:59:22 +0300 Subject: [PATCH 096/150] issue: 4607536 Fix reading flow_tag from CQE The flow_tag field in the CQE format is 24 bits, but it was handled as if it were 32 bits. The additional 8 bits are reserved for the HW rx drop ounter. Consequently, when there were RX drops, the flow_tag was incorrect because the most significant 8 bits were not zero. Signed-off-by: Bashar Abdelgafer --- src/vma/dev/cq_mgr_mlx5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index e94773d46..d93bdd9df 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -170,7 +170,7 @@ inline void cq_mgr_mlx5::cqe64_to_mem_buff_desc(struct mlx5_cqe64 *cqe, mem_buf_ status = BS_OK; p_rx_wc_buf_desc->sz_data = ntohl(cqe->byte_cnt); p_rx_wc_buf_desc->rx.hw_raw_timestamp = ntohll(cqe->timestamp); - p_rx_wc_buf_desc->rx.flow_tag_id = vma_get_flow_tag(cqe); + p_rx_wc_buf_desc->rx.flow_tag_id = vma_get_flow_tag(cqe) & 0x00FFFFFF; p_rx_wc_buf_desc->rx.is_sw_csum_need = !(m_b_is_rx_hw_csum_on && (cqe->hds_ip_ext & MLX5_CQE_L4_OK) && (cqe->hds_ip_ext & MLX5_CQE_L3_OK)); return; From 2403a65e811a2300902f70248b9ec2990f632b22 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Thu, 3 Jul 2025 18:55:17 +0300 Subject: [PATCH 097/150] issue: 4607536 Update maximum sq size For mlx5 the maximum size for SendQueue is 2MB. Signed-off-by: Bashar Abdelgafer --- src/vma/util/sys_vars.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 210c325c6..f59327ca3 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -836,11 +836,11 @@ void mce_sys_var::get_env_params() MAX_SUPPORTED_IB_INLINE_SIZE, tx_max_inline); tx_max_inline = MAX_SUPPORTED_IB_INLINE_SIZE; } - unsigned int cx4_max_tx_wre_for_inl = (16 * 1024 * 64) / (VMA_ALIGN(VMA_ALIGN(tx_max_inline - 12, 64) + 12, 64)); - if (tx_num_wr > cx4_max_tx_wre_for_inl) { + unsigned int cx5_max_tx_wre_for_inl = (2* 16 * 1024 * 64) / (VMA_ALIGN(VMA_ALIGN(tx_max_inline - 12, 64) + 12, 64)); + if (tx_num_wr > cx5_max_tx_wre_for_inl) { vlog_printf(VLOG_WARNING,"For the given VMA_TX_MAX_INLINE [%d], VMA_TX_WRE [%d] must be smaller than %d\n", - tx_max_inline, tx_num_wr, cx4_max_tx_wre_for_inl); - tx_num_wr = cx4_max_tx_wre_for_inl; + tx_max_inline, tx_num_wr, cx5_max_tx_wre_for_inl); + tx_num_wr = cx5_max_tx_wre_for_inl; } if ((env_ptr = getenv(SYS_VAR_TX_MC_LOOPBACK)) != NULL) From e53e366b32ceecc649dee25362c46c804ef8bf5d Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Thu, 3 Jul 2025 19:15:08 +0300 Subject: [PATCH 098/150] issue: 4607536 Prevent SendQueue overflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We currently nullifys the next wqebb after sending the current wqe. When we fill the SQ up to the last wqebb, we will nullify the next wqe which may stlll no be sent by the NIC which leads to a syndrome and a broken SQ which later leads to the buffer errors. The Workaround is to artificially reduce the send queue size by one WQE to avoid nullifying a WQEBB that the NIC hasn’t yet processed. Signed-off-by: Bashar Abdelgafer --- src/vma/dev/ring_simple.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index c8208e0f8..360c13810 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -234,6 +234,9 @@ void ring_simple::create_resources() m_tx_num_wr_free = m_tx_num_wr; + // Temporary fix for rd #4213201 + m_tx_num_wr_free--; + #ifdef DEFINED_TSO memset(&m_tso, 0, sizeof(m_tso)); if (safe_mce_sys().enable_tso && (1 == validate_tso(get_if_index()))) { From 3e8b239e233962374223f1c1ecb1d9351234b0ef Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 8 Jul 2025 10:24:58 +0300 Subject: [PATCH 099/150] issue: 4607536 RTO after fast retransmission In fast retransmission, we move a single segment from the unacked list to the unsent list. But if we have RTO right after, we move all the unacked list to the unsent list, but we don't take into consideration the we might have a retransmitted segment already in the unsent list. Example: unacked: 1->2->3 unsent: 4->5->6 After fast retransmission (segments 1 and 2) reorder in LWIP: unacked: 3 unsent: 1->2->4->5->6 After RTO: unacked: ---- unsent: 3->1->2->4->5->6 Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp_out.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/vma/lwip/tcp_out.c b/src/vma/lwip/tcp_out.c index 40795e3f9..e5191008b 100644 --- a/src/vma/lwip/tcp_out.c +++ b/src/vma/lwip/tcp_out.c @@ -1873,6 +1873,23 @@ tcp_rexmit_rto(struct tcp_pcb *pcb) return; } + if (pcb->unsent != NULL && TCP_SEQ_GT(pcb->unacked->seqno, pcb->unsent->seqno)) { + // Move fast-retransmitted segments to unacked - RTO after fast retransmission + struct tcp_seg *rexmit_start = pcb->unsent; + struct tcp_seg *rexmit_end = pcb->unsent; + while (rexmit_end->next != NULL && + TCP_SEQ_GT(pcb->unacked->seqno, rexmit_end->next->seqno)) { + rexmit_end = rexmit_end->next; + } + + pcb->unsent = rexmit_end->next; + if (pcb->unsent == NULL) { + pcb->last_unsent = NULL; + } + + rexmit_end->next = pcb->unacked; + pcb->unacked = rexmit_start; + } /* Move all unacked segments to the head of the unsent queue */ for (seg = pcb->unacked; seg->next != NULL; seg = seg->next); /* concatenate unsent queue after unacked queue */ From 2e26e544723b19af2e6146276ae6e3e786523cd4 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 8 Jul 2025 12:02:08 +0300 Subject: [PATCH 100/150] issue: 4607536 Remove iterating lists to find last Remove iterating over unsent / unacked to find last in lists. Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp_out.c | 33 +++++++++------------------------ 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/src/vma/lwip/tcp_out.c b/src/vma/lwip/tcp_out.c index e5191008b..acb112c7a 100644 --- a/src/vma/lwip/tcp_out.c +++ b/src/vma/lwip/tcp_out.c @@ -177,13 +177,9 @@ tcp_send_fin(struct tcp_pcb *pcb) { /* first, try to add the fin to the last unsent segment */ if (pcb->unsent != NULL) { - struct tcp_seg *last_unsent; - for (last_unsent = pcb->unsent; last_unsent->next != NULL; - last_unsent = last_unsent->next); - - if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { + if ((TCPH_FLAGS(pcb->last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { /* no SYN/FIN/RST flag in the header, we can add the FIN flag */ - TCPH_SET_FLAG(last_unsent->tcphdr, TCP_FIN); + TCPH_SET_FLAG(pcb->last_unsent->tcphdr, TCP_FIN); pcb->flags |= TF_FIN; return ERR_OK; } @@ -500,16 +496,10 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u32_t len, u8_t apiflags) * pos records progress as data is segmented. */ - /* Find the tail of the unsent queue. */ - if (pcb->unsent != NULL) { + if (pcb->last_unsent != NULL) { u16_t space; u16_t unsent_optlen; - if (!pcb->last_unsent || pcb->last_unsent->next) { - /* @todo: this could be sped up by keeping last_unsent in the pcb */ - for (pcb->last_unsent = pcb->unsent; pcb->last_unsent->next != NULL; - pcb->last_unsent = pcb->last_unsent->next); - } /* Usable space at the end of the last unsent segment */ unsent_optlen = LWIP_TCP_OPT_LENGTH(pcb->last_unsent->flags); LWIP_ASSERT("mss_local is too small", mss_local >= pcb->last_unsent->len + unsent_optlen); @@ -586,7 +576,6 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u32_t len, u8_t apiflags) } } else { #if TCP_OVERSIZE - pcb->last_unsent = NULL; LWIP_ASSERT("unsent_oversize mismatch (pcb->unsent is NULL)", pcb->unsent_oversize == 0); #endif /* TCP_OVERSIZE */ @@ -865,9 +854,7 @@ tcp_enqueue_flags(struct tcp_pcb *pcb, u8_t flags) if (pcb->unsent == NULL) { pcb->unsent = seg; } else { - struct tcp_seg *useg; - for (useg = pcb->unsent; useg->next != NULL; useg = useg->next); - useg->next = seg; + pcb->last_unsent->next = seg; } pcb->last_unsent = seg; #if TCP_OVERSIZE @@ -1867,8 +1854,6 @@ tcp_rst(u32_t seqno, u32_t ackno, u16_t local_port, u16_t remote_port, struct tc void tcp_rexmit_rto(struct tcp_pcb *pcb) { - struct tcp_seg *seg; - if (pcb->unacked == NULL) { return; } @@ -1891,14 +1876,14 @@ tcp_rexmit_rto(struct tcp_pcb *pcb) pcb->unacked = rexmit_start; } /* Move all unacked segments to the head of the unsent queue */ - for (seg = pcb->unacked; seg->next != NULL; seg = seg->next); /* concatenate unsent queue after unacked queue */ - seg->next = pcb->unsent; - if (pcb->unsent == NULL) { + if(pcb->unsent){ + pcb->last_unacked->next = pcb->unsent; + }else{ /* If there are no unsent segments, update last_unsent to the last unacked */ - pcb->last_unsent = seg; + pcb->last_unsent = pcb->last_unacked; #if TCP_OVERSIZE && TCP_OVERSIZE_DBGCHECK - pcb->unsent_oversize = seg->oversize_left; + pcb->unsent_oversize = pcb->last_unacked->oversize_left; #endif /* TCP_OVERSIZE && TCP_OVERSIZE_DBGCHECK*/ } /* unsent queue is the concatenated queue (of unacked, unsent) */ From 91c7e75ddc81b4d8718793e987af6aed19cf647f Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 8 Jul 2025 15:25:07 +0300 Subject: [PATCH 101/150] issue: 4607536 Update last_unacked on ACK recv If all unacked queue is acked - update last_unacked to null. Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp_in.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vma/lwip/tcp_in.c b/src/vma/lwip/tcp_in.c index 73986c5ef..2de6615de 100644 --- a/src/vma/lwip/tcp_in.c +++ b/src/vma/lwip/tcp_in.c @@ -1103,6 +1103,7 @@ tcp_receive(struct tcp_pcb *pcb, tcp_in_data* in_data) /* If there's nothing left to acknowledge, stop the retransmit timer, otherwise reset it to start again */ if(pcb->unacked == NULL) { + pcb->last_unacked = NULL; if (persist) { /* start persist timer */ pcb->persist_cnt = 0; From aed5358b380f7820881ece5be30197e9456de5e1 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 8 Jul 2025 17:07:28 +0300 Subject: [PATCH 102/150] issue: 4607536 Fix last_unacked in tcp_rexmit_rto Update last_unacked to null after RTO. In this case we move all unacked queue to unsent. Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vma/lwip/tcp_out.c b/src/vma/lwip/tcp_out.c index acb112c7a..bf0a9f947 100644 --- a/src/vma/lwip/tcp_out.c +++ b/src/vma/lwip/tcp_out.c @@ -1890,7 +1890,7 @@ tcp_rexmit_rto(struct tcp_pcb *pcb) pcb->unsent = pcb->unacked; /* unacked queue is now empty */ pcb->unacked = NULL; - + pcb->last_unacked = NULL; /* increment number of retransmissions */ ++pcb->nrtx; From 7ec75130a6266e86e813c68d327754a2f04e065f Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 8 Jul 2025 17:12:45 +0300 Subject: [PATCH 103/150] issue: 4607536 Update last_unacked in tcp_rexmit In tcp_rexmit we take the first segment from unacked and put it in unsent. In case its the only segment in unacked, we need to update last_unacked. Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp_out.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vma/lwip/tcp_out.c b/src/vma/lwip/tcp_out.c index bf0a9f947..07bf3530e 100644 --- a/src/vma/lwip/tcp_out.c +++ b/src/vma/lwip/tcp_out.c @@ -1922,6 +1922,9 @@ tcp_rexmit(struct tcp_pcb *pcb) /* Keep the unsent queue sorted. */ seg = pcb->unacked; pcb->unacked = seg->next; + if(pcb->unacked == NULL){ + pcb->last_unacked = NULL; + } cur_seg = &(pcb->unsent); while (*cur_seg && From f648d13c47cacd7e88c8fbb74e5f9f30c5787500 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Tue, 8 Jul 2025 18:13:47 +0300 Subject: [PATCH 104/150] issue: 4607536 Prohibit aggregation of non sequential TCP seqno tcp_write() has an optimization to aggregate new data with the last_unsent TCP segment. However, the feature doesn't verify seqno and assumes that the last_unsent is always the most right segment in the TCP stream. TCP fast retransmission can break this rule and insert non sequential TCP segment into the unsent queue. In the corner case, such TCP segment becomes the last_unsent and the optimization feature can append data to this segment. As result, the appended data becomes misplaced in the TCP stream. This issue can lead to extra retransmissions, data corruptions, or even SQ corruption. As solution, don't allow data aggregation if the last_unsent is a retransmitted segment or not the most right segment. Note, this condition is more strict than required for the fix - it also doesn't allow adding new data to any retransmitted segments even if the seqno is sequential. This improves robustness against RFC non-compliant TCP/IP stacks which cannot handle such segments. Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp_out.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/vma/lwip/tcp_out.c b/src/vma/lwip/tcp_out.c index 07bf3530e..51e69d171 100644 --- a/src/vma/lwip/tcp_out.c +++ b/src/vma/lwip/tcp_out.c @@ -503,7 +503,16 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u32_t len, u8_t apiflags) /* Usable space at the end of the last unsent segment */ unsent_optlen = LWIP_TCP_OPT_LENGTH(pcb->last_unsent->flags); LWIP_ASSERT("mss_local is too small", mss_local >= pcb->last_unsent->len + unsent_optlen); - space = mss_local - (pcb->last_unsent->len + unsent_optlen); + + if((TCP_SEQ_GEQ(pcb->last_unsent->seqno, pcb->snd_nxt)) && + (pcb->last_unsent->seqno + pcb->last_unsent->len == pcb->snd_lbb)) { + space = mss_local - (pcb->last_unsent->len + unsent_optlen); + } else { + space = 0; +#if TCP_OVERSIZE + pcb->unsent_oversize = 0; +#endif /* TCP_OVERSIZE */ + } seg = pcb->last_unsent; #if LWIP_TSO tot_p = pbuf_clen(seg->p); From 16928f68051558a0102c3809a58c7aa53dc413a0 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Thu, 10 Jul 2025 11:58:45 +0300 Subject: [PATCH 105/150] issue: 4607536 Update last_unacked in tcp_pcb_purge After clearing pcb->unacked, last_unacked should be null. Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vma/lwip/tcp.c b/src/vma/lwip/tcp.c index 22d5c410b..69caf227e 100644 --- a/src/vma/lwip/tcp.c +++ b/src/vma/lwip/tcp.c @@ -1306,7 +1306,7 @@ tcp_pcb_purge(struct tcp_pcb *pcb) tcp_tx_segs_free(pcb, pcb->unsent); tcp_tx_segs_free(pcb, pcb->unacked); pcb->unacked = pcb->unsent = NULL; - pcb->last_unsent = NULL; + pcb->last_unacked = pcb->last_unsent = NULL; #if TCP_OVERSIZE pcb->unsent_oversize = 0; #endif /* TCP_OVERSIZE */ From a2ebddfe2c30f35797ed80a0a8558f2f83a94b96 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Thu, 10 Jul 2025 12:02:17 +0300 Subject: [PATCH 106/150] issue: 4607536 Update last_unacked in syn sent state after progressing pcb->unacked we need to check if it becomes null then we need to nullify pcb->last_unacked Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp_in.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vma/lwip/tcp_in.c b/src/vma/lwip/tcp_in.c index 2de6615de..5771da8a7 100644 --- a/src/vma/lwip/tcp_in.c +++ b/src/vma/lwip/tcp_in.c @@ -575,6 +575,7 @@ tcp_process(struct tcp_pcb *pcb, tcp_in_data* in_data) /* If there's nothing left to acknowledge, stop the retransmit timer, otherwise reset it to start again */ if(pcb->unacked == NULL) { + pcb->last_unacked = NULL; pcb->rtime = -1; } else { pcb->rtime = 0; From d36215132371b2f693503f0505ef62349cc40216 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Thu, 10 Jul 2025 12:12:04 +0300 Subject: [PATCH 107/150] issue: 4607536 Update pcb->last_unsent/last_unacked in tcp_abandon After nullifying pcb->unsent/unacked we need to nullify pcb->last_unsent/last_unacked Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vma/lwip/tcp.c b/src/vma/lwip/tcp.c index 69caf227e..3e28ceaf4 100644 --- a/src/vma/lwip/tcp.c +++ b/src/vma/lwip/tcp.c @@ -359,10 +359,12 @@ tcp_abandon(struct tcp_pcb *pcb, int reset) if (pcb->unacked != NULL) { tcp_tx_segs_free(pcb, pcb->unacked); pcb->unacked = NULL; + pcb->last_unacked = NULL; } if (pcb->unsent != NULL) { tcp_tx_segs_free(pcb, pcb->unsent); pcb->unsent = NULL; + pcb->last_unsent = NULL; } #if TCP_QUEUE_OOSEQ if (pcb->ooseq != NULL) { From 063011779f9a8be62b4b75ec786d6795f6b12c6c Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Thu, 28 Aug 2025 10:25:17 +0300 Subject: [PATCH 108/150] issue: 4607536 Fix a race condition Fixing a race condition, between Internal-Thread and a thread performing the tcp_listen_input, causing list corruption and worker crash with double free warning. And, removing some redundant params. Signed-off-by: Bashar Abdelgafer --- src/vma/lwip/tcp.c | 12 ++++++++++++ src/vma/lwip/tcp.h | 9 ++++++++- src/vma/lwip/tcp_impl.h | 8 ++++++++ src/vma/lwip/tcp_in.c | 8 +++++--- src/vma/sock/sockinfo_tcp.cpp | 26 +++++++++++++++++++++++++- src/vma/sock/sockinfo_tcp.h | 5 +++++ 6 files changed, 63 insertions(+), 5 deletions(-) diff --git a/src/vma/lwip/tcp.c b/src/vma/lwip/tcp.c index 3e28ceaf4..1151b1262 100644 --- a/src/vma/lwip/tcp.c +++ b/src/vma/lwip/tcp.c @@ -1236,6 +1236,18 @@ tcp_syn_handled(struct tcp_pcb_listen *pcb, tcp_syn_handled_fn syn_handled) pcb->syn_handled_cb = syn_handled; } +/** + * Used for specifying the function that should be when a accepted pcb is ready. + * + * @param pcb Listen pcb + * @param accepted_pcb Callback function to call when the accepted pcb is ready. + */ +void +tcp_accepted_pcb(struct tcp_pcb_listen *pcb, tcp_accepted_pcb_fn accepted_pcb) +{ + pcb->accepted_pcb = accepted_pcb; +} + /** * Used for specifying the function that should be called to clone pcb * diff --git a/src/vma/lwip/tcp.h b/src/vma/lwip/tcp.h index d35c6d0e5..5afc0a1be 100644 --- a/src/vma/lwip/tcp.h +++ b/src/vma/lwip/tcp.h @@ -129,6 +129,11 @@ typedef err_t (*tcp_syn_handled_fn)(void *arg, struct tcp_pcb *newpcb, err_t err */ typedef err_t (*tcp_clone_conn_fn)(void *arg, struct tcp_pcb **newpcb, err_t err); +/** Function prototype for tcp new-pcb callback functions. + * Called when a new pcb is ready as part of tcp_listen_input handling. + * @param newpcb The new connection pcb + */ +typedef void (*tcp_accepted_pcb_fn)(struct tcp_pcb *accepted_pcb); /** Function prototype for tcp receive callback functions. Called when data has * been received. @@ -416,7 +421,7 @@ struct tcp_pcb { #ifdef VMA_NO_TCP_PCB_LISTEN_STRUCT tcp_syn_handled_fn syn_handled_cb; tcp_clone_conn_fn clone_conn; - + tcp_accepted_pcb_fn accepted_pcb; #endif /* VMA_NO_TCP_PCB_LISTEN_STRUCT */ /* Delayed ACK control: number of quick acks */ @@ -453,6 +458,7 @@ struct tcp_pcb_listen { TCP_PCB_COMMON(struct tcp_pcb_listen); tcp_syn_handled_fn syn_handled_cb; tcp_clone_conn_fn clone_conn; + tcp_accepted_pcb_fn accepted_pcb; }; #endif /* VMA_NO_TCP_PCB_LISTEN_STRUCT */ @@ -488,6 +494,7 @@ void tcp_ip_output (struct tcp_pcb *pcb, ip_output_fn ip_ou void tcp_accept (struct tcp_pcb *pcb, tcp_accept_fn accept); void tcp_syn_handled (struct tcp_pcb_listen *pcb, tcp_syn_handled_fn syn_handled); void tcp_clone_conn (struct tcp_pcb_listen *pcb, tcp_clone_conn_fn clone_conn); +void tcp_accepted_pcb (struct tcp_pcb_listen *pcb, tcp_accepted_pcb_fn accepted_pcb); void tcp_recv (struct tcp_pcb *pcb, tcp_recv_fn recv); void tcp_sent (struct tcp_pcb *pcb, tcp_sent_fn sent); void tcp_poll (struct tcp_pcb *pcb, tcp_poll_fn poll, u8_t interval); diff --git a/src/vma/lwip/tcp_impl.h b/src/vma/lwip/tcp_impl.h index e2b584724..43657176a 100644 --- a/src/vma/lwip/tcp_impl.h +++ b/src/vma/lwip/tcp_impl.h @@ -218,6 +218,14 @@ PACK_STRUCT_END else (ret) = ERR_ARG; \ } while (0) + +#define TCP_EVENT_ACCEPTED_PCB(pcb, newpcb) \ +do { \ + if ((pcb)->accepted_pcb != NULL) \ + (pcb)->accepted_pcb((newpcb)); \ +} while (0) + + #define TCP_EVENT_SENT(pcb,space,ret) \ do { \ if((pcb)->sent != NULL) \ diff --git a/src/vma/lwip/tcp_in.c b/src/vma/lwip/tcp_in.c index 5771da8a7..3adcd9204 100644 --- a/src/vma/lwip/tcp_in.c +++ b/src/vma/lwip/tcp_in.c @@ -422,11 +422,13 @@ tcp_listen_input(struct tcp_pcb_listen *pcb, tcp_in_data* in_data) /* Send a SYN|ACK together with the MSS option. */ rc = tcp_enqueue_flags(npcb, TCP_SYN | TCP_ACK); - if (rc != ERR_OK) { + if (rc == ERR_OK) { + rc = tcp_output(npcb); + }else{ tcp_abandon(npcb, 0); - return rc; } - return tcp_output(npcb); + TCP_EVENT_ACCEPTED_PCB(pcb, npcb); + return rc; } return ERR_OK; } diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 3bf6eae7f..e2b9e1b7f 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -491,6 +491,7 @@ bool sockinfo_tcp::prepare_to_close(bool process_shutdown /* = false */) tcp_accept(&m_pcb, 0); tcp_syn_handled((struct tcp_pcb_listen*)(&m_pcb), 0); tcp_clone_conn((struct tcp_pcb_listen*)(&m_pcb), 0); + tcp_accepted_pcb((struct tcp_pcb_listen*)(&m_pcb), 0); prepare_listen_to_close(); //close pending to accept sockets } else { tcp_recv(&m_pcb, sockinfo_tcp::rx_drop_lwip_cb); @@ -2452,7 +2453,7 @@ int sockinfo_tcp::listen(int backlog) tcp_accept(&m_pcb, sockinfo_tcp::accept_lwip_cb); tcp_syn_handled((struct tcp_pcb_listen*)(&m_pcb), sockinfo_tcp::syn_received_lwip_cb); tcp_clone_conn((struct tcp_pcb_listen*)(&m_pcb), sockinfo_tcp::clone_conn_cb); - + tcp_accepted_pcb((struct tcp_pcb_listen*)(&m_pcb), sockinfo_tcp::accepted_pcb_cb); bool success = attach_as_uc_receiver(ROLE_TCP_SERVER); if (!success) { @@ -2699,6 +2700,11 @@ sockinfo_tcp *sockinfo_tcp::accept_clone() return 0; } + // This method is called from a flow which assumes that the socket is locked + // (tcp_listen_input, L3_level_tcp_input). + // Since we created a new socket and we are about to add it to the timers, + // we need to make sure it is also locked for further processing. + si->lock_tcp_con(); si->m_parent = this; si->m_sock_state = TCP_SOCK_BOUND; @@ -2943,6 +2949,15 @@ err_t sockinfo_tcp::clone_conn_cb(void *arg, struct tcp_pcb **newpcb, err_t err) return ret_val; } +void sockinfo_tcp::accepted_pcb_cb(struct tcp_pcb *accepted_pcb) +{ + // A new pcb is always locked. When this callback is called the new pcb is ready + // and all related processing is done. Now it must be unlocked. + sockinfo_tcp *accepted_sock = reinterpret_cast(accepted_pcb->my_container); + ASSERT_LOCKED(accepted_sock->m_tcp_con_lock); + accepted_sock->unlock_tcp_con(); +} + err_t sockinfo_tcp::syn_received_lwip_cb(void *arg, struct tcp_pcb *newpcb, err_t err) { sockinfo_tcp *listen_sock = (sockinfo_tcp *)((arg)); @@ -2978,6 +2993,10 @@ err_t sockinfo_tcp::syn_received_lwip_cb(void *arg, struct tcp_pcb *newpcb, err_ if (!is_new_offloaded) { new_sock->setPassthrough(); set_tcp_state(&new_sock->m_pcb, CLOSED); + // This method is called from a flow (tcp_listen_input, L3_level_tcp_input) which priorly + // called clone_conn_cb which creates a locked new socket. Before we call to close() we need + // to unlock the socket, so close() can perform as a regular close() call. + new_sock->unlock_tcp_con(); close(new_sock->get_fd()); listen_sock->m_tcp_con_lock.lock(); return ERR_ABRT; @@ -3019,6 +3038,11 @@ err_t sockinfo_tcp::syn_received_drop_lwip_cb(void *arg, struct tcp_pcb *newpcb, tcp_arg(&(new_sock->m_pcb), new_sock); new_sock->abort_connection(); } + // This method is called from a flow (tcp_listen_input, L3_level_tcp_input) which priorly called + // clone_conn_cb which creates a locked new socket. Before we call to close() we need to unlock + // the socket, so close() can perform as a regular close() call. + new_sock->unlock_tcp_con(); + close(new_sock->get_fd()); listen_sock->m_tcp_con_lock.lock(); diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index 975e160bf..db21113b9 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -308,6 +308,11 @@ class sockinfo_tcp : public sockinfo, public timer_handler static err_t clone_conn_cb(void *arg, struct tcp_pcb **newpcb, err_t err); + + // Called by L3_level_tcp_input to unlock a new pcb/socket. + // @param newpcb The new pcb. Can be nullptr. + static void accepted_pcb_cb(struct tcp_pcb *newpcb); + int accept_helper(struct sockaddr *__addr, socklen_t *__addrlen, int __flags = 0); // clone socket in accept call From cd4466cb033891f5e7d39916657e29c8051aa24c Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Thu, 28 Aug 2025 10:34:21 +0300 Subject: [PATCH 109/150] issue: 4607536 Fixing TCP hanging CLOSED sockets Fixing TCP hanging CLOSED sockets. Signed-off-by: Bashar Abdelgafer --- src/vma/sock/sockinfo_tcp.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index e2b9e1b7f..95f944752 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1236,21 +1236,6 @@ void sockinfo_tcp::err_lwip_cb(void *pcb_container, err_t err) conn->m_sock_state = TCP_SOCK_INITED; } - /* In general VMA should avoid calling unregister_timer_event() for the same timer handle twice. - * It is protected by checking m_timer_handle for NULL value that should be under lock. - * In order to save locking time a quick check is done first to ensure that indeed the specific - * timer has not been freed (avoiding the lock/unlock). - * The 2nd check is to avoid a race of the timer been freed while the lock has been taken. - */ - if (conn->m_timer_handle) { - conn->lock_tcp_con(); - if (conn->m_timer_handle) { - g_p_event_handler_manager->unregister_timer_event(conn, conn->m_timer_handle); - conn->m_timer_handle = NULL; - } - conn->unlock_tcp_con(); - } - conn->do_wakeup(); } From 0dc96e02cd226587c26767fe0350bda3f52f95b2 Mon Sep 17 00:00:00 2001 From: Gal Noam Date: Sun, 7 Sep 2025 20:59:02 +0300 Subject: [PATCH 110/150] issue: 321712 ****************** VMA 9.8.80 ****************** Signed-off-by: Gal Noam --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 6db10231c..9511dc879 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.8.80-1: +Date + Time 2025-09-07 +============================================================= +Added: + - RM #4607536 Improve VMA stability + Version 9.8.72-1: Date + Time 2025-05-29 ============================================================= diff --git a/configure.ac b/configure.ac index 7959e1683..5dae5d26f 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 72) +define([prj_ver_revision], 80) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index d5e22923e..11cf2b511 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Thu May 29 2025 NVIDIA CORPORATION 9.8.72-1 -- Bump version to 9.8.72 +* Sun Sep 7 2025 NVIDIA CORPORATION 9.8.80-1 +- Bump version to 9.8.80 - Please refer to CHANGES for full changelog. From f70f88d4ec4abce1223693a9d03a5e18e8f08038 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Tue, 21 Oct 2025 16:36:19 +0300 Subject: [PATCH 111/150] [CI] issue: 4681261 DR Weekly - do not run on master Today we have a few CI pipelines that still use nodeLabel: 'master' in their matrix file, causing some steps to run on the master node. This is a security risk and we should run only on containers, the master node will be taken down in the future not allowing this type of run. Removed weekly dr job that uses nodelabel definition, move this ability to the release pipeline Weekly DR test job now runs using the release pipeline, which doesnt use the master node (runs on containers only) Signed-off-by: NirWolfer --- .ci/pipeline/dr_weekly_jjb.yaml | 69 --------------------- .ci/pipeline/dr_weekly_matrix.yaml | 89 ---------------------------- .ci/pipeline/release_jjb.yaml | 6 +- .ci/pipeline/release_matrix_job.yaml | 10 +++- 4 files changed, 13 insertions(+), 161 deletions(-) delete mode 100644 .ci/pipeline/dr_weekly_jjb.yaml delete mode 100644 .ci/pipeline/dr_weekly_matrix.yaml diff --git a/.ci/pipeline/dr_weekly_jjb.yaml b/.ci/pipeline/dr_weekly_jjb.yaml deleted file mode 100644 index 013fa9992..000000000 --- a/.ci/pipeline/dr_weekly_jjb.yaml +++ /dev/null @@ -1,69 +0,0 @@ -- job-template: - name: "{jjb_proj}" - project-type: pipeline - folder: pdc - properties: - - github: - url: "https://github.com/Mellanox/libvma" - - build-discarder: - days-to-keep: 50 - num-to-keep: 20 - - inject: - keep-system-variables: true - properties-content: | - jjb_proj={jjb_proj} - description: Do NOT edit this job through the Web GUI ! - concurrent: false - parameters: - - string: - name: "sha1" - default: "master" - description: "Branch or sha1 to check out" - - string: - name: "release_tag" - default: "" - description: "Tag to release" - - string: - name: "release_folder" - default: "/tmp" - description: "Folder to release packages into. For NFS tests use /auto/mswg/release/vma/dr/weekly" - - string: - name: "CONF_FILE" - default: ".ci/pipeline/dr_weekly_matrix.yaml" - description: "Regex to select job config file" - - string: - name: "MAIL_TO" - # The email associated with the "Media weekly builds @ DR site" Teams group - default: "c2a304c7.NVIDIA.onmicrosoft.com@amer.teams.ms" - description: "Email address to send the report to" - triggers: - - timed: 'H 17 * * *' - pipeline-scm: - scm: - - git: - url: "{jjb_git}" - credentials-id: 'swx-jenkins_ssh_key' - branches: ['$sha1'] - shallow-clone: false - # depth: 10 - do-not-fetch-tags: false - # honor-refspec: true - refspec: "+refs/heads/*:refs/remotes/origin/* +refs/pull/*:refs/remotes/origin/pr/* +refs/tags/*:refs/remotes/origin/tags/*" - browser: githubweb - browser-url: "{jjb_git}" - submodule: - disable: false - recursive: true - tracking: true - parent-credentials: true - script-path: "{jjb_jenkinsfile}" - -- project: - name: libvma - jjb_email: 'vlogin@nvidia.com' - jjb_proj: 'libvma-dr-weekly-launcher' - jjb_git: 'git@github.com:Mellanox/libvma.git' - jjb_owner: 'Viacheslav Login' - jjb_jenkinsfile: '.ci/Jenkinsfile' - jobs: - - "{jjb_proj}" diff --git a/.ci/pipeline/dr_weekly_matrix.yaml b/.ci/pipeline/dr_weekly_matrix.yaml deleted file mode 100644 index 2e1e57670..000000000 --- a/.ci/pipeline/dr_weekly_matrix.yaml +++ /dev/null @@ -1,89 +0,0 @@ ---- -job: libvma-dr-weekly-launcher -failFast: false -timeout_minutes: 120 - -runs_on_agents: - - {nodeLabel: 'master', category: 'base'} - -env: - MAIL_FROM: jenkins@nvidia.com - -pipeline_start: - shell: action - module: groovy - run: | - if (!params.MAIL_TO.isEmpty()) { - currentBuild.displayName += "_weekly-on-${sha1}" - mail from: "${MAIL_FROM}", - mimeType: 'text/html', - to: "${MAIL_TO}", - subject: 'LibVMA weekly DR build has been started', - body: """ -

Build url: link

""" - } - -steps: - - name: Determine release_tag - agentSelector: - - "{category: 'base'}" - shell: action - module: groovy - run: | - if (params.release_tag.isEmpty()) { - env.RELEASE_TAG = sh (returnStdout: true, script: "git describe --tags --abbrev=0 2>/dev/null").trim() - } else { - env.RELEASE_TAG = "${params.release_tag}" - } - echo "Release tag for build: ${env.RELEASE_TAG}" - - - name: Check job state - shell: action - module: groovy - run: | - def job = Jenkins.instance.getItemByFullName('libvma/LibVMA-release') - if (!job.isBuildable()) { - echo "The job '${env.JOB}' is disabled. Enabling..." - job.setDisabled(false) - } - echo "The Job is enabled. Starting..." - - - name: Run Job with parameters - shell: action - module: groovy - run: | - echo "Release tag we're building on: ${env.RELEASE_TAG}" - if (env.RELEASE_TAG) { - def build = build job: 'libvma/LibVMA-release', - parameters: [ - string(name: 'release_tag', value: RELEASE_TAG), - string(name: 'release_folder', value: "${release_folder}"), - string(name: 'notification_email', value: MAIL_TO), - string(name: 'sha1', value: sha1), - ], - propagate: false - - env.LINUX_BUILD_URL = build.absoluteUrl - env.LINUX_BUILD_RES = build.result - if (!build.resultIsBetterOrEqualTo('SUCCESS')) { - currentBuild.result = 'FAILURE' - error("Weekly build failed") - } - } - -pipeline_stop: - shell: action - module: groovy - agentSelector: - - "{category: 'base'}" - run: | - if (!params.MAIL_TO.isEmpty()) { - mail from: "${MAIL_FROM}", - mimeType: 'text/html', - to: "${MAIL_TO}", - subject: "LibVMA weekly DR build has ended - ${currentBuild.currentResult}", - body: """ -

Version: ${env.RELEASE_TAG ?: "NA"}

-

Weekly DR build: ${currentBuild.currentResult}

- """ - } diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml index 51f5220d6..89c3f318f 100644 --- a/.ci/pipeline/release_jjb.yaml +++ b/.ci/pipeline/release_jjb.yaml @@ -43,13 +43,17 @@ name: "conf_file" default: ".ci/pipeline/release_matrix_job.yaml" description: "job config file. Do not change it" + - bool: + name: "do_dr_build" + default: false + description: "Build DR weekly" pipeline-scm: scm: - git: url: "{jjb_git}" credentials-id: 'swx-jenkins_ssh_key' branches: ['$sha1'] - shallow-clone: true + shallow-clone: false depth: 2 refspec: "+refs/pull/*:refs/remotes/origin/pr/*" browser: githubweb diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml index 5f7d2a93b..0890d393a 100644 --- a/.ci/pipeline/release_matrix_job.yaml +++ b/.ci/pipeline/release_matrix_job.yaml @@ -14,7 +14,7 @@ kubernetes: arch_table: x86_64: nodeSelector: 'kubernetes.io/arch=amd64' - jnlpImage: 'harbor.mellanox.com/toolbox/c3po-jnlp:latest' + jnlpImage: 'nbu-harbor.gtm.nvidia.com/toolbox/c3po-jnlp:latest' env: MAIL_FROM: jenkins@nvidia.com @@ -42,6 +42,9 @@ steps: - name: Release parallel: false run: | + if ${do_dr_build}; then + git checkout tags/${release_tag} + fi .ci/do_release.sh archiveArtifacts: pkg/build_pkg.log,pkg/packages/*.rpm @@ -49,6 +52,9 @@ pipeline_start: shell: action module: groovy run: | + if (params.do_dr_build) { + env.release_tag = sh (returnStdout: true, script: "git describe --tags --abbrev=0 2>/dev/null").trim() + } echo "Starting release process for LibVMA-${release_tag}" currentBuild.displayName += "-${release_tag}" @@ -60,7 +66,7 @@ pipeline_stop: mail from: "${MAIL_FROM}", mimeType: 'text/html', to: "${notification_email}", - subject: "Release build ended for LibVMA - ${release_tag}", + subject: "${params.do_dr_build ? 'Weekly DR' : 'Release'} build ended for LibVMA - ${release_tag}", body: """

Tag: ${release_tag}

Build url: link

From 535dca6fca89570b0f6dc870bc7c850f94d3219a Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Mon, 10 Nov 2025 12:25:38 +0000 Subject: [PATCH 112/150] issue: 4664028 Removing legacy and exp verbs Legacy and experimental verbs are more than 10 years old. No need to support them anymore. Signed-off-by: Alexander Grissik --- config/m4/verbs.m4 | 127 ++--------------- src/vma/Makefile.am | 4 - src/vma/dev/cq_mgr_mlx5.cpp | 4 - src/vma/dev/cq_mgr_mlx5.h | 2 - src/vma/dev/cq_mgr_mlx5.inl | 3 - src/vma/dev/dm_mgr.cpp | 2 - src/vma/dev/dm_mgr.h | 2 - src/vma/dev/net_device_val.cpp | 28 +--- src/vma/dev/qp_mgr_eth_direct.cpp | 4 - src/vma/dev/qp_mgr_eth_direct.h | 4 - src/vma/dev/qp_mgr_eth_mlx5.cpp | 8 +- src/vma/dev/qp_mgr_eth_mlx5.h | 5 +- src/vma/dev/ring_eth_direct.cpp | 4 - src/vma/dev/ring_simple.cpp | 5 +- src/vma/ib/base/verbs_extra.h | 221 +----------------------------- src/vma/ib/mlx5/ib_mlx5.cpp | 42 +++++- src/vma/ib/mlx5/ib_mlx5.h | 20 --- src/vma/ib/mlx5/ib_mlx5_dv.cpp | 59 -------- src/vma/ib/mlx5/ib_mlx5_dv.h | 18 --- src/vma/ib/mlx5/ib_mlx5_hw.cpp | 92 ------------- src/vma/ib/mlx5/ib_mlx5_hw.h | 68 --------- src/vma/util/sys_vars.h | 3 - src/vma/util/utils.cpp | 45 +----- src/vma/util/utils.h | 7 +- 24 files changed, 57 insertions(+), 720 deletions(-) delete mode 100644 src/vma/ib/mlx5/ib_mlx5_dv.cpp delete mode 100644 src/vma/ib/mlx5/ib_mlx5_dv.h delete mode 100644 src/vma/ib/mlx5/ib_mlx5_hw.cpp delete mode 100644 src/vma/ib/mlx5/ib_mlx5_hw.h diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index 41567f16f..b52aca102 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -47,6 +47,9 @@ AC_CHECK_HEADERS([infiniband/verbs.h], , AC_CHECK_HEADERS([rdma/rdma_cma.h], , [AC_MSG_ERROR([Unable to find the librdmacm-devel header files])]) +AC_CHECK_HEADERS([infiniband/mlx5dv.h], , + [AC_MSG_ERROR([Unable to find the libmlx5 header files])]) + AC_CHECK_LIB(ibverbs, ibv_get_device_list, [VERBS_LIBS="$VERBS_LIBS -libverbs"], AC_MSG_ERROR([ibv_get_device_list() not found.])) @@ -55,71 +58,11 @@ AC_CHECK_LIB(rdmacm, rdma_create_id, [VERBS_LIBS="$VERBS_LIBS -lrdmacm"], AC_MSG_ERROR([rdma_create_id() not found.])) -AC_SUBST([VERBS_LIBS]) - -# Save LIBS -verbs_saved_libs=$LIBS -LIBS="$LIBS $VERBS_LIBS" - - -# Check if VERBS version -# -vma_cv_verbs=0 -vma_cv_verbs_str="None" -AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -#include -]], -[[ - int access = (int)IBV_EXP_ACCESS_ALLOCATE_MR; - access = access; -]])], -[ - vma_cv_verbs=2 - vma_cv_verbs_str="Experimental" -], -[ - AC_CHECK_HEADER([infiniband/verbs.h], - [AC_CHECK_MEMBERS([struct ibv_query_device_ex_input.comp_mask], - [vma_cv_verbs=3 vma_cv_verbs_str="Upstream"], - [vma_cv_verbs=1 vma_cv_verbs_str="Legacy"], - [[#include ]] )], - [], - [AC_MSG_ERROR([Can not detect VERBS version])] - ) -]) -AC_MSG_CHECKING([for OFED Verbs version]) -AC_MSG_RESULT([$vma_cv_verbs_str]) -AC_DEFINE_UNQUOTED([DEFINED_VERBS_VERSION], [$vma_cv_verbs], [Define found Verbs version]) - - -# Check if direct hardware operations can be used instead of VERBS API -# -vma_cv_directverbs=0 -case "$vma_cv_verbs" in - 1) - ;; - 2) - AC_CHECK_HEADER([infiniband/mlx5_hw.h], - [AC_CHECK_DECL([MLX5_ETH_INLINE_HEADER_SIZE], - [vma_cv_directverbs=$vma_cv_verbs], [], [[#include ]])]) - ;; - 3) - AC_CHECK_HEADER([infiniband/mlx5dv.h], - [AC_CHECK_LIB(mlx5, - mlx5dv_init_obj, [VERBS_LIBS="$VERBS_LIBS -lmlx5" vma_cv_directverbs=$vma_cv_verbs])]) - ;; - *) - AC_MSG_ERROR([Unrecognized parameter 'vma_cv_verbs' as $vma_cv_verbs]) - ;; -esac -AC_MSG_CHECKING([for direct verbs support]) -if test "$vma_cv_directverbs" -ne 0; then - AC_DEFINE_UNQUOTED([DEFINED_DIRECT_VERBS], [$vma_cv_directverbs], [Direct VERBS support]) - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi +AC_CHECK_LIB(mlx5, + mlx5dv_init_obj, [VERBS_LIBS="$VERBS_LIBS -lmlx5"], + AC_MSG_ERROR([mlx5dv_init_obj() not found.])) +AC_SUBST([VERBS_LIBS]) # Check # @@ -137,58 +80,10 @@ CHECK_VERBS_MEMBER([struct ibv_device_attr_ex.orig_attr], [infiniband/verbs.h], CHECK_VERBS_MEMBER([struct ibv_alloc_dm_attr.length], [infiniband/verbs.h], [IBV_DM]) CHECK_VERBS_MEMBER([struct ibv_packet_pacing_caps.qp_rate_limit_min], [infiniband/verbs.h], [IBV_PACKET_PACING_CAPS]) CHECK_VERBS_MEMBER([struct ibv_qp_rate_limit_attr.max_burst_sz], [infiniband/verbs.h], [IBV_QP_SUPPORT_BURST]) +CHECK_VERBS_ATTRIBUTE([IBV_WR_TSO], [infiniband/verbs.h], [OPCODE_TSO]) -# Check -# -if test "x$vma_cv_verbs" == x2; then - CHECK_VERBS_ATTRIBUTE([IBV_EXP_CQ_MODERATION], [infiniband/verbs_exp.h], [IBV_CQ_ATTR_MODERATE]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_WR_NOP], [infiniband/verbs_exp.h], [IBV_WR_NOP]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_ACCESS_ALLOCATE_MR], [infiniband/verbs_exp.h]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_QP_INIT_ATTR_ASSOCIATED_QPN], [infiniband/verbs_exp.h], [IBV_QP_INIT_SOURCE_QPN]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_FLOW_SPEC_IB], [infiniband/verbs_exp.h], [IBV_FLOW_SPEC_IB]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_SEND_IP_CSUM], [infiniband/verbs_exp.h]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_DEVICE_ATTR_MAX_DM_SIZE], [infiniband/verbs_exp.h], [IBV_DM]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_QP_RATE_LIMIT], [infiniband/verbs_exp.h], [IBV_PACKET_PACING_CAPS]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_QP_SUPPORT_BURST], [infiniband/verbs_exp.h], [IBV_QP_SUPPORT_BURST]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_WR_TSO], [infiniband/verbs_exp.h], [OPCODE_TSO]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_DEVICE_CROSS_CHANNEL], [infiniband/verbs_exp.h], [IBV_DEVICE_CROSS_CHANNEL]) - - # - # Experimental Verbs CQ - # - AC_ARG_ENABLE([exp-cq], - AS_HELP_STRING([--disable-exp-cq], - [Disable experimental Verbs CQ (disables UDP RX HW Timestamp, RX CSUM verification offload and Multi Packet RQ)]), - [enable_exp_cq=no], - [enable_exp_cq=yes] - ) - - AS_IF([test "x$enable_exp_cq" == xyes], - [AC_DEFINE([DEFINED_IBV_EXP_CQ], 1, [Define to 1 if Experimental Verbs CQ was enabled at configure time])] - - CHECK_VERBS_ATTRIBUTE([IBV_EXP_CQ_TIMESTAMP], [infiniband/verbs_exp.h], [IBV_CQ_TIMESTAMP]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_VALUES_CLOCK_INFO], [infiniband/verbs_exp.h], [IBV_CLOCK_INFO]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_DEVICE_RX_CSUM_L4_PKT], [infiniband/verbs_exp.h]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_DEVICE_RX_CSUM_TCP_UDP_PKT], [infiniband/verbs_exp.h]) - CHECK_VERBS_ATTRIBUTE([IBV_EXP_FLOW_SPEC_ACTION_TAG], [infiniband/verbs_exp.h], [IBV_FLOW_TAG]) - ) - - AC_CHECK_FUNCS([rdma_lib_reset]) - AC_CHECK_FUNCS([ibv_exp_get_device_list]) -fi - -# Check Upstream -# -if test "x$vma_cv_verbs" == x3; then - CHECK_VERBS_ATTRIBUTE([IBV_WR_TSO], [infiniband/verbs.h], [OPCODE_TSO]) - - if test "x$vma_cv_directverbs" == x3; then - CHECK_VERBS_ATTRIBUTE([MLX5_OPCODE_NOP], [infiniband/mlx5dv.h], [IBV_WR_NOP]) - CHECK_VERBS_MEMBER([struct mlx5dv_clock_info.last_cycles], [infiniband/mlx5dv.h], [IBV_CLOCK_INFO]) - CHECK_VERBS_MEMBER([struct mlx5dv_context.num_lag_ports], [infiniband/mlx5dv.h], [ROCE_LAG]) - fi -fi +CHECK_VERBS_ATTRIBUTE([MLX5_OPCODE_NOP], [infiniband/mlx5dv.h], [IBV_WR_NOP]) +CHECK_VERBS_MEMBER([struct mlx5dv_clock_info.last_cycles], [infiniband/mlx5dv.h], [IBV_CLOCK_INFO]) +CHECK_VERBS_MEMBER([struct mlx5dv_context.num_lag_ports], [infiniband/mlx5dv.h], [ROCE_LAG]) -# Restore LIBS -LIBS=$verbs_saved_libs ]) diff --git a/src/vma/Makefile.am b/src/vma/Makefile.am index d2963700b..af3e9ce8d 100644 --- a/src/vma/Makefile.am +++ b/src/vma/Makefile.am @@ -100,8 +100,6 @@ libvma_la_SOURCES := \ \ ib/base/verbs_extra.cpp \ ib/mlx5/ib_mlx5.cpp \ - ib/mlx5/ib_mlx5_hw.cpp \ - ib/mlx5/ib_mlx5_dv.cpp \ \ iomux/epfd_info.cpp \ iomux/epoll_wait_call.cpp \ @@ -205,8 +203,6 @@ libvma_la_SOURCES := \ \ ib/base/verbs_extra.h \ ib/mlx5/ib_mlx5.h \ - ib/mlx5/ib_mlx5_hw.h \ - ib/mlx5/ib_mlx5_dv.h \ \ infra/sender.h \ infra/sender_info_dst.h \ diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index d93bdd9df..cf06faf15 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -6,8 +6,6 @@ #include "cq_mgr_mlx5.h" -#if defined(DEFINED_DIRECT_VERBS) - #include #include "cq_mgr.inl" #include "cq_mgr_mlx5.inl" @@ -825,5 +823,3 @@ int cq_mgr_mlx5::poll_and_process_error_element_rx(struct mlx5_cqe64 *cqe, void* return 1; } - -#endif /* DEFINED_DIRECT_VERBS */ diff --git a/src/vma/dev/cq_mgr_mlx5.h b/src/vma/dev/cq_mgr_mlx5.h index 26486b7ad..2d724d029 100644 --- a/src/vma/dev/cq_mgr_mlx5.h +++ b/src/vma/dev/cq_mgr_mlx5.h @@ -11,7 +11,6 @@ #include "cq_mgr.h" #include "qp_mgr_eth_mlx5.h" -#if defined(DEFINED_DIRECT_VERBS) class qp_mgr_eth_mlx5; /* Get CQE opcode. */ @@ -66,5 +65,4 @@ class cq_mgr_mlx5: public cq_mgr }; }; -#endif /* DEFINED_DIRECT_VERBS */ #endif //CQ_MGR_MLX5_H diff --git a/src/vma/dev/cq_mgr_mlx5.inl b/src/vma/dev/cq_mgr_mlx5.inl index f49d6442e..1f362f574 100644 --- a/src/vma/dev/cq_mgr_mlx5.inl +++ b/src/vma/dev/cq_mgr_mlx5.inl @@ -10,8 +10,6 @@ #include "dev/cq_mgr_mlx5.h" -#if defined(DEFINED_DIRECT_VERBS) - /**/ /** inlining functions can only help if they are implemented before their usage **/ /**/ @@ -32,5 +30,4 @@ inline struct mlx5_cqe64* cq_mgr_mlx5::check_cqe(void) return NULL; } -#endif /* DEFINED_DIRECT_VERBS */ #endif//CQ_MGR_MLX5_INL_H diff --git a/src/vma/dev/dm_mgr.cpp b/src/vma/dev/dm_mgr.cpp index 473946893..03b7508ea 100644 --- a/src/vma/dev/dm_mgr.cpp +++ b/src/vma/dev/dm_mgr.cpp @@ -9,7 +9,6 @@ #include "vma/proto/mem_buf_desc.h" #include "vma/dev/ib_ctx_handler.h" -#if defined(DEFINED_DIRECT_VERBS) #if defined(DEFINED_IBV_DM) #define DM_MEMORY_MASK_8 7 @@ -241,4 +240,3 @@ void dm_mgr::release_data(mem_buf_desc_t* buff) } #endif /* DEFINED_IBV_DM */ -#endif /* DEFINED_DIRECT_VERBS */ diff --git a/src/vma/dev/dm_mgr.h b/src/vma/dev/dm_mgr.h index 5ec4513f2..ba604e3b7 100644 --- a/src/vma/dev/dm_mgr.h +++ b/src/vma/dev/dm_mgr.h @@ -13,7 +13,6 @@ class mem_buf_desc_t; class ib_ctx_handler; -#if defined(DEFINED_DIRECT_VERBS) #if defined(DEFINED_IBV_DM) #define DM_COMPLETION_THRESHOLD 8192 @@ -51,5 +50,4 @@ class dm_mgr { }; #endif /* DEFINED_IBV_DM */ -#endif /* DEFINED_DIRECT_VERBS */ #endif /* DM_MGR_H */ diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index cb801469d..3dd955e59 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1533,11 +1533,8 @@ bool net_device_val::verify_bond_ipoib_or_eth_qp_creation() */ sys_image_guid_map_t::iterator guid_iter; for (guid_iter = m_sys_image_guid_map.begin(); guid_iter != m_sys_image_guid_map.end(); guid_iter++) { - char bond_roce_lag_path[256] = {0}; - if (guid_iter->second.size() > 1 && - check_bond_roce_lag_exist(bond_roce_lag_path, sizeof(bond_roce_lag_path), guid_iter->second.front().c_str()) && - check_bond_roce_lag_exist(bond_roce_lag_path, sizeof(bond_roce_lag_path), guid_iter->second.back().c_str())) { - print_roce_lag_warnings(get_ifname_link(), bond_roce_lag_path, guid_iter->second.front().c_str(), guid_iter->second.back().c_str()); + if (guid_iter->second.size() > 1) { + print_roce_lag_warnings(get_ifname_link(), guid_iter->second.front().c_str(), guid_iter->second.back().c_str()); } } #endif /* DEFINED_ROCE_LAG */ @@ -1615,7 +1612,6 @@ bool net_device_val::verify_enable_ipoib(const char* interface_name) bool net_device_val::verify_qp_creation(const char* ifname, enum ibv_qp_type qp_type) { bool success = false; - char bond_roce_lag_path[256] = {0}; struct ibv_cq* cq = NULL; struct ibv_comp_channel *channel = NULL; struct ibv_qp* qp = NULL; @@ -1643,12 +1639,7 @@ bool net_device_val::verify_qp_creation(const char* ifname, enum ibv_qp_type qp_ if (!p_ib_ctx) { nd_logdbg("Cant find ib_ctx for interface %s", base_ifname); if (qp_type == IBV_QPT_RAW_PACKET && m_bond != NO_BOND) { - if (check_bond_roce_lag_exist(bond_roce_lag_path, sizeof(bond_roce_lag_path), ifname)) { - print_roce_lag_warnings(get_ifname_link(), bond_roce_lag_path); - } else if ((p_ib_ctx = g_p_ib_ctx_handler_collection->get_ib_ctx(get_ifname_link())) - && strstr(p_ib_ctx->get_ibname(), "bond")) { - print_roce_lag_warnings(get_ifname_link()); - } + print_roce_lag_warnings(get_ifname_link()); } goto release_resources; } else if (port_num > p_ib_ctx->get_ibv_device_attr()->phys_port_cnt) { @@ -1711,19 +1702,6 @@ bool net_device_val::verify_qp_creation(const char* ifname, enum ibv_qp_type qp_ nd_logdbg("QP creation failed on interface %s (errno=%d %s), Traffic will not be offloaded", ifname, errno, strerror(errno)); qp_failure: int err = errno; //verify_raw_qp_privliges can overwrite errno so keep it before the call -#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 2) - if (validate_raw_qp_privliges() == 0) { - // MLNX_OFED raw_qp_privliges file exist with bad value - vlog_printf(VLOG_WARNING,"*******************************************************************************************************\n"); - vlog_printf(VLOG_WARNING,"* Interface %s will not be offloaded.\n", ifname); - vlog_printf(VLOG_WARNING,"* Working in this mode might causes VMA malfunction over Ethernet/InfiniBand interfaces\n"); - vlog_printf(VLOG_WARNING,"* WARNING: the following steps will restart your network interface!\n"); - vlog_printf(VLOG_WARNING,"* 1. \"echo options ib_uverbs disable_raw_qp_enforcement=1 > /etc/modprobe.d/ib_uverbs.conf\"\n"); - vlog_printf(VLOG_WARNING,"* 2. Restart openibd or rdma service depending on your system configuration\n"); - vlog_printf(VLOG_WARNING,"* Read the RAW_PACKET QP root access enforcement section in the VMA's User Manual for more information\n"); - vlog_printf(VLOG_WARNING,"******************************************************************************************************\n"); - } else -#endif /* DEFINED_VERBS_VERSION */ if (validate_user_has_cap_net_raw_privliges() == 0 || err == EPERM) { vlog_printf(VLOG_WARNING,"*******************************************************************************************************\n"); vlog_printf(VLOG_WARNING,"* Interface %s will not be offloaded.\n", ifname); diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index 09d94444d..93b21e088 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -9,8 +9,6 @@ #include "cq_mgr_mlx5.h" #include "ring_simple.h" -#if defined(DEFINED_DIRECT_VERBS) - #undef MODULE_NAME #define MODULE_NAME "qp_mgr_direct" #define qp_logpanic __log_info_panic @@ -117,5 +115,3 @@ qp_mgr_eth_direct::~qp_mgr_eth_direct() delete m_p_cq_mgr_rx; m_p_cq_mgr_rx = NULL; } - -#endif /* DEFINED_DIRECT_VERBS */ diff --git a/src/vma/dev/qp_mgr_eth_direct.h b/src/vma/dev/qp_mgr_eth_direct.h index e5c269579..0a622d996 100644 --- a/src/vma/dev/qp_mgr_eth_direct.h +++ b/src/vma/dev/qp_mgr_eth_direct.h @@ -8,8 +8,6 @@ #include "qp_mgr_eth_mlx5.h" -#if defined(DEFINED_DIRECT_VERBS) - class qp_mgr_eth_direct: public qp_mgr_eth_mlx5 { public: @@ -25,6 +23,4 @@ class qp_mgr_eth_direct: public qp_mgr_eth_mlx5 virtual int prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr); }; -#endif /* DEFINED_DIRECT_VERBS */ - #endif /* SRC_VMA_DEV_QP_MGR_ETH_DIRECT_H_ */ diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index c5c6714fc..eed177c90 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -5,8 +5,6 @@ */ #include "qp_mgr_eth_mlx5.h" -#if defined(DEFINED_DIRECT_VERBS) - #include #include "cq_mgr_mlx5.h" #include "vma/util/utils.h" @@ -66,7 +64,7 @@ static bool is_bf(struct ibv_context *ib_ctx) env = getenv("MLX5_SHUT_UP_BF"); if (!env || !strcmp(env, "0")) { -#if defined(DEFINED_DIRECT_VERBS) && (DEFINED_DIRECT_VERBS == 3) && defined(MLX5DV_UAR_ALLOC_TYPE_BF) +#if defined(MLX5DV_UAR_ALLOC_TYPE_BF) struct mlx5dv_devx_uar *uar = mlx5dv_devx_alloc_uar(ib_ctx, MLX5DV_UAR_ALLOC_TYPE_BF); if (uar) { mlx5dv_devx_free_uar(uar); @@ -88,7 +86,7 @@ static bool is_bf(struct ibv_context *ib_ctx) (void)munmap(addr, page_size); return true; } -#endif /* DEFINED_DIRECT_VERBS */ +#endif /* MLX5DV_UAR_ALLOC_TYPE_BF */ } return false; } @@ -880,5 +878,3 @@ void qp_mgr_eth_mlx5::trigger_completion_for_all_sent_packets() send_to_wire(&send_wr, (vma_wr_tx_packet_attr)(VMA_TX_PACKET_L3_CSUM|VMA_TX_PACKET_L4_CSUM), true); } } - -#endif /* DEFINED_DIRECT_VERBS */ diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index e316db379..111062527 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -12,9 +12,6 @@ #include "vma/util/sg_array.h" #include "vma/dev/dm_mgr.h" -#if defined(DEFINED_DIRECT_VERBS) - - struct mlx5_wqe64 { union { struct mlx5_wqe_ctrl_seg ctrl; @@ -75,5 +72,5 @@ friend class cq_mgr_mlx5; dm_mgr m_dm_mgr; bool m_dm_enabled; }; -#endif //defined(DEFINED_DIRECT_VERBS) + #endif //QP_MGR_ETH_MLX5_H diff --git a/src/vma/dev/ring_eth_direct.cpp b/src/vma/dev/ring_eth_direct.cpp index 4692a54c9..a65a238cf 100644 --- a/src/vma/dev/ring_eth_direct.cpp +++ b/src/vma/dev/ring_eth_direct.cpp @@ -27,12 +27,8 @@ ring_eth_direct::ring_eth_direct(int if_index, qp_mgr* ring_eth_direct::create_qp_mgr(struct qp_mgr_desc *desc) { -#if defined(DEFINED_DIRECT_VERBS) return new qp_mgr_eth_direct(desc, get_tx_num_wr(), m_partition); -#endif - NOT_IN_USE(desc); - return NULL; } void ring_eth_direct::init_tx_buffers(uint32_t count) diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index 360c13810..e77c6078e 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -10,9 +10,7 @@ #include "vma/util/valgrind.h" #include "vma/util/sg_array.h" #include "vma/sock/fd_collection.h" -#if defined(DEFINED_DIRECT_VERBS) #include "vma/dev/qp_mgr_eth_mlx5.h" -#endif #undef MODULE_NAME #define MODULE_NAME "ring_simple" @@ -61,12 +59,11 @@ inline void ring_simple::send_status_handler(int ret, vma_ibv_send_wr* p_send_wq qp_mgr* ring_eth::create_qp_mgr(struct qp_mgr_desc *desc) { -#if defined(DEFINED_DIRECT_VERBS) if (qp_mgr::is_lib_mlx5(((ib_ctx_handler*)desc->slave->p_ib_ctx)->get_ibname())) { return new qp_mgr_eth_mlx5(desc, get_tx_num_wr(), m_partition); } -#endif + return new qp_mgr_eth(desc, get_tx_num_wr(), m_partition); } diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index 31c756529..a3d0022f1 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -12,15 +12,10 @@ #include #include #include "vma/util/vtypes.h" -#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 2) -#include -#endif #include #include #include -#if defined(DEFINED_DIRECT_VERBS) #include "vma/ib/mlx5/ib_mlx5.h" -#endif /* DEFINED_DIRECT_VERBS */ #ifndef DEFINED_IBV_WC_WITH_VLAN //#warning probaly you are trying to compile on OFED which doesnt support VLAN for RAW QP. @@ -86,12 +81,6 @@ int priv_ibv_query_flow_tag_supported(struct ibv_qp *qp, uint8_t port_num); int priv_ibv_create_flow_supported(struct ibv_qp *qp, uint8_t port_num); int priv_ibv_query_burst_supported(struct ibv_qp *qp, uint8_t port_num); -/* DEFINED_VERBS_VERSION: - * 1 - Legacy Verbs API - * 2 - Experimental Verbs API - * 3 - Upstream Verbs API - */ -#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 1 || DEFINED_VERBS_VERSION == 3) //ibv_create_qp #ifdef DEFINED_IBV_QP_INIT_SOURCE_QPN #define vma_ibv_create_qp(pd, attr) ibv_create_qp_ex((pd)->context, attr) @@ -284,210 +273,6 @@ typedef vma_ibv_qp_attr vma_ibv_rate_limit_attr; #endif // DEFINED_IBV_PACKET_PACING_CAPS -#else /* DEFINED_VERBS_VERSION */ - -//ibv_create_qp -#define vma_ibv_create_qp(pd, attr) ibv_exp_create_qp((pd)->context, attr) -typedef struct ibv_exp_qp_init_attr vma_ibv_qp_init_attr; -#define vma_ibv_qp_init_attr_comp_mask(_pd, _attr) { (_attr).pd = _pd; (_attr).comp_mask |= IBV_EXP_QP_INIT_ATTR_PD; } - -#ifdef DEFINED_IBV_QP_INIT_SOURCE_QPN -#define vma_ibv_qp_create_flags(attr) (attr).exp_create_flags -#define vma_ibv_qp_source_qpn(attr) (attr).associated_qpn -#define VMA_IBV_QP_INIT_QPN_CREATE_FLAGS 0 -#define VMA_IBV_QP_INIT_QPN_MASK IBV_EXP_QP_INIT_ATTR_ASSOCIATED_QPN -#endif - -//ibv_query_device -#define vma_ibv_query_device(context, attr) ibv_exp_query_device(context, attr) -typedef struct ibv_exp_device_attr vma_ibv_device_attr; -typedef vma_ibv_device_attr vma_ibv_device_attr_ex; -#define vma_get_device_orig_attr(device_attr) device_attr -#define vma_ibv_device_attr_comp_mask(attr) { (attr)->comp_mask = IBV_EXP_DEVICE_ATTR_RESERVED - 1; } - -#ifdef DEFINED_IBV_EXP_DEVICE_RX_CSUM_L4_PKT -#define vma_is_rx_hw_csum_supported(attr) (((attr)->exp_device_cap_flags & IBV_EXP_DEVICE_RX_CSUM_L3_PKT) \ - && ((attr)->exp_device_cap_flags & IBV_EXP_DEVICE_RX_CSUM_L4_PKT)) -#else -#ifdef DEFINED_IBV_EXP_DEVICE_RX_CSUM_TCP_UDP_PKT -#define vma_is_rx_hw_csum_supported(attr) (((attr)->exp_device_cap_flags & IBV_EXP_DEVICE_RX_CSUM_IP_PKT) \ - && ((attr)->exp_device_cap_flags & IBV_EXP_DEVICE_RX_CSUM_TCP_UDP_PKT)) -#else -#define vma_is_rx_hw_csum_supported(attr) 0 -#endif -#endif -//ibv_modify_qp -#define vma_ibv_modify_qp(qp, attr, mask) ibv_exp_modify_qp(qp, attr, mask) -typedef struct ibv_exp_qp_attr vma_ibv_qp_attr; - -//ibv_exp_poll_cq -#ifdef DEFINED_IBV_EXP_CQ -#define vma_ibv_poll_cq(cq, num, wc) ibv_exp_poll_cq(cq, num, wc, sizeof(struct ibv_exp_wc)) -typedef struct ibv_exp_wc vma_ibv_wc; -#define vma_wc_flags(wc) (wc).exp_wc_flags -#define vma_wc_opcode(wc) (wc).exp_opcode -#define VMA_IBV_WC_RECV IBV_EXP_WC_RECV - -//experimental cq -typedef struct ibv_exp_cq_init_attr vma_ibv_cq_init_attr; -#define vma_ibv_create_cq(context, cqe, cq_context, channel, comp_vector, attr) ibv_exp_create_cq(context, cqe, cq_context, channel, comp_vector, attr) -#else -//ibv_poll_cq -#define vma_ibv_poll_cq(cq, num, wc) ibv_poll_cq(cq, num, wc) -typedef struct ibv_wc vma_ibv_wc; -#define vma_wc_flags(wc) (wc).wc_flags -#define vma_wc_opcode(wc) (wc).opcode -#define VMA_IBV_WC_RECV IBV_WC_RECV - -//verbs cq -typedef int vma_ibv_cq_init_attr; -#define vma_ibv_create_cq(context, cqe, cq_context, channel, comp_vector, attr) ibv_create_cq(context, cqe, cq_context, channel, comp_vector) -#endif - -#ifdef DEFINED_IBV_EXP_DEVICE_RX_CSUM_L4_PKT -#define vma_wc_rx_hw_csum_ok(wc) ((vma_wc_flags(wc) & IBV_EXP_L3_RX_CSUM_OK) && (vma_wc_flags(wc) & IBV_EXP_L4_RX_CSUM_OK)) -#else -#ifdef DEFINED_IBV_EXP_DEVICE_RX_CSUM_TCP_UDP_PKT -#define vma_wc_rx_hw_csum_ok(wc) ((vma_wc_flags(wc) & IBV_EXP_WC_RX_IP_CSUM_OK) && (vma_wc_flags(wc) & IBV_EXP_WC_RX_TCP_UDP_CSUM_OK)) -#else -#define vma_wc_rx_hw_csum_ok(wc) (1) -#endif -#endif - -//rx hw timestamp -#ifdef DEFINED_IBV_CQ_TIMESTAMP -#define VMA_IBV_WC_WITH_TIMESTAMP IBV_EXP_WC_WITH_TIMESTAMP -#define vma_wc_timestamp(wc) (wc).timestamp -#define VMA_IBV_DEVICE_ATTR_HCA_CORE_CLOCK IBV_EXP_DEVICE_ATTR_WITH_HCA_CORE_CLOCK -#define VMA_IBV_VALUES_MASK_RAW_CLOCK 0 -#define vma_ibv_query_values(ctx, values) ibv_exp_query_values(ctx, IBV_EXP_VALUES_HW_CLOCK, values) -#define vma_get_ts_val(values) values.hwclock -typedef struct ibv_exp_values vma_ts_values; -#define vma_ibv_cq_init_ts_attr(attr) { (attr)->flags |= IBV_EXP_CQ_TIMESTAMP; (attr)->comp_mask |= IBV_EXP_CQ_INIT_ATTR_FLAGS; } -#else -#define VMA_IBV_WC_WITH_TIMESTAMP 0 -#define vma_wc_timestamp(wc) 0 -#define vma_ibv_cq_init_ts_attr(attr) { NOT_IN_USE(attr); } -#endif - -#ifdef DEFINED_IBV_CQ_ATTR_MODERATE -typedef struct ibv_exp_cq_attr vma_ibv_cq_attr; -#define vma_ibv_modify_cq(cq, cq_attr, mask) ibv_exp_modify_cq(cq, cq_attr,mask) -#define vma_cq_attr_mask(cq_attr) (cq_attr).comp_mask -#define vma_cq_attr_moderation(cq_attr) (cq_attr).moderation -#define VMA_IBV_CQ_MODERATION IBV_EXP_CQ_ATTR_MODERATION -#endif - -//ibv_post_send -#define VMA_IBV_SEND_SIGNALED IBV_EXP_SEND_SIGNALED -#define VMA_IBV_SEND_INLINE IBV_EXP_SEND_INLINE -#ifdef DEFINED_IBV_EXP_SEND_IP_CSUM - #define VMA_IBV_SEND_IP_CSUM (IBV_EXP_SEND_IP_CSUM) -#else - #define DEFINED_SW_CSUM -#endif -#define vma_ibv_send_flags ibv_exp_send_flags -#define vma_send_wr_send_flags(wr) (wr).exp_send_flags -#define VMA_IBV_WR_SEND IBV_EXP_WR_SEND -#define vma_ibv_wr_opcode ibv_exp_wr_opcode -#define vma_send_wr_opcode(wr) (wr).exp_opcode - -#ifdef DEFINED_TSO - #define VMA_IBV_WR_TSO (vma_ibv_wr_opcode)IBV_EXP_WR_TSO - #define vma_check_dev_attr_tso(_attr) ((_attr)->comp_mask & IBV_EXP_DEVICE_ATTR_TSO_CAPS) - #define vma_get_tso_caps(_attr) (((vma_ibv_device_attr_ex *)(_attr))->tso_caps) - #define vma_ibv_qp_init_attr_tso(_attr, _max_tso_header) \ - do { \ - _attr.comp_mask |= IBV_EXP_QP_INIT_ATTR_MAX_TSO_HEADER; \ - _attr.max_tso_header = _max_tso_header; \ - } while (0) - typedef struct ibv_exp_tso_caps vma_ibv_tso_caps; -#else - #define VMA_IBV_WR_TSO (vma_ibv_wr_opcode)VMA_IBV_WR_SEND - #define vma_check_dev_attr_tso(_attr) 0 - #define vma_ibv_qp_init_attr_tso(_attr, _max_tso_header) ((void)0) -#endif /* DEFINED_TSO */ - -// Dummy send -#ifdef DEFINED_IBV_WR_NOP -#define vma_is_nop_supported(device_attr) ((device_attr)->exp_device_cap_flags & IBV_EXP_DEVICE_NOP) -#define VMA_IBV_WR_NOP IBV_EXP_WR_NOP -#else -#define vma_is_nop_supported(device_attr) 0 -#define VMA_IBV_WR_NOP (vma_ibv_wr_opcode)(0) // Use 0 as "default" opcode when NOP is not defined. -#endif - -#define vma_ibv_post_send(qp, wr, bad_wr) ibv_exp_post_send(qp, wr, bad_wr) -typedef struct ibv_exp_send_wr vma_ibv_send_wr; -//ibv_reg_mr -#define VMA_IBV_ACCESS_LOCAL_WRITE IBV_EXP_ACCESS_LOCAL_WRITE -#ifdef DEFINED_IBV_EXP_ACCESS_ALLOCATE_MR -#define VMA_IBV_ACCESS_ALLOCATE_MR IBV_EXP_ACCESS_ALLOCATE_MR -#endif -//flow steering -#define VMA_IBV_FLOW_ATTR_NORMAL IBV_EXP_FLOW_ATTR_NORMAL -#define VMA_IBV_FLOW_ATTR_FLAGS_ALLOW_LOOP_BACK IBV_EXP_FLOW_ATTR_FLAGS_ALLOW_LOOP_BACK -#ifdef DEFINED_IBV_FLOW_SPEC_IB -#define VMA_IBV_FLOW_SPEC_IB IBV_EXP_FLOW_SPEC_IB -#endif -#define VMA_IBV_FLOW_SPEC_ETH IBV_EXP_FLOW_SPEC_ETH -#define VMA_IBV_FLOW_SPEC_IPV4 IBV_EXP_FLOW_SPEC_IPV4 -#define VMA_IBV_FLOW_SPEC_TCP IBV_EXP_FLOW_SPEC_TCP -#define VMA_IBV_FLOW_SPEC_UDP IBV_EXP_FLOW_SPEC_UDP -#define vma_ibv_create_flow(qp, flow) ibv_exp_create_flow(qp, flow) -#define vma_ibv_destroy_flow(flow_id) ibv_exp_destroy_flow(flow_id) -typedef struct ibv_exp_flow vma_ibv_flow; -typedef struct ibv_exp_flow_attr vma_ibv_flow_attr; -typedef struct ibv_exp_flow_spec_ib vma_ibv_flow_spec_ib; -typedef struct ibv_exp_flow_spec_eth vma_ibv_flow_spec_eth; -typedef struct ibv_exp_flow_spec_ipv4 vma_ibv_flow_spec_ipv4; -typedef struct ibv_exp_flow_spec_tcp_udp vma_ibv_flow_spec_tcp_udp; - -//Flow tag -#ifdef DEFINED_IBV_FLOW_TAG -#define VMA_IBV_FLOW_SPEC_ACTION_TAG IBV_EXP_FLOW_SPEC_ACTION_TAG -#define vma_get_flow_tag(cqe) ntohl((uint32_t)(cqe->sop_drop_qpn)) -typedef struct ibv_exp_flow_spec_action_tag vma_ibv_flow_spec_action_tag; -#else -#define vma_get_flow_tag(cqe) 0 -typedef struct ibv_exp_flow_spec_action_tag_dummy {} vma_ibv_flow_spec_action_tag; -#endif //DEFINED_IBV_FLOW_TAG - -// Clock info -#ifdef DEFINED_IBV_CLOCK_INFO -typedef struct ibv_exp_values vma_ibv_clock_info; -#define vma_ibv_convert_ts_to_ns(info, hw_ts) ibv_exp_cqe_ts_to_ns(&((info)->clock_info), hw_ts) -#define vma_ibv_query_clock_info(ctx, clock_info) ibv_exp_query_values(ctx, IBV_EXP_VALUES_CLOCK_INFO, clock_info) -#endif //DEFINED_IBV_CLOCK_INFO - -// ibv_dm -#ifdef DEFINED_IBV_DM -#define vma_ibv_alloc_dm(ctx, attr) ibv_exp_alloc_dm(ctx, attr) -#define vma_ibv_free_dm(dm) ibv_exp_free_dm(dm) -#define vma_ibv_reg_dm_mr(mr) ibv_exp_reg_mr(mr) -#define vma_ibv_memcpy_dm(dm, attr) ibv_exp_memcpy_dm(dm, attr) -#define vma_ibv_init_memcpy_dm(attr, src, head, size) { attr.memcpy_dir = IBV_EXP_DM_CPY_TO_DEVICE; attr.host_addr = src; attr.dm_offset = head; attr.length = size; } -#define vma_ibv_init_dm_mr(in_mr, ctx_pd, size, allocated_dm) { in_mr.pd = ctx_pd; in_mr.comp_mask = IBV_EXP_REG_MR_DM; in_mr.length = size; in_mr.dm = allocated_dm; } -typedef struct ibv_exp_alloc_dm_attr vma_ibv_alloc_dm_attr; -typedef struct ibv_exp_memcpy_dm_attr vma_ibv_memcpy_dm_attr; -typedef struct ibv_exp_dm vma_ibv_dm; -typedef struct ibv_exp_reg_mr_in vma_ibv_reg_mr_in; -#endif - -#ifdef DEFINED_IBV_PACKET_PACING_CAPS -#define VMA_IBV_QP_RATE_LIMIT IBV_EXP_QP_RATE_LIMIT -#define vma_is_pacing_caps_supported(attr) ((attr)->comp_mask & IBV_EXP_DEVICE_ATTR_PACKET_PACING_CAPS) -typedef vma_ibv_qp_attr vma_ibv_rate_limit_attr; -#define vma_ibv_modify_qp_rate_limit(qp, attr, mask) vma_ibv_modify_qp(qp, attr, mask) -#define vma_ibv_init_qps_attr(qp_attr) { qp_attr.qp_state = IBV_QPS_RTS; } -#endif // DEFINED_IBV_PACKET_PACING_CAPS - -#ifdef DEFINED_IBV_QP_SUPPORT_BURST -#define vma_ibv_init_burst_attr(qp_attr, rate_limit) { qp_attr.burst_info.max_burst_sz = rate_limit.max_burst_sz; qp_attr.burst_info.typical_pkt_sz = rate_limit.typical_pkt_sz; qp_attr.comp_mask |= IBV_EXP_QP_ATTR_BURST_INFO; } -#endif // DEFINED_IBV_QP_SUPPORT_BURST - -#endif /* DEFINED_VERBS_VERSION */ - // ibv_dm #ifdef DEFINED_IBV_DM #define vma_ibv_dm_size(attr) ((attr)->max_dm_size) @@ -495,11 +280,7 @@ typedef vma_ibv_qp_attr vma_ibv_rate_limit_attr; #define vma_ibv_dm_size(attr) (0) #endif -#if defined(HAVE_IBV_EXP_GET_DEVICE_LIST) -#define vma_ibv_get_device_list(num) ibv_exp_get_device_list(num) -#else -#define vma_ibv_get_device_list(num) ibv_get_device_list(num) -#endif +#define vma_ibv_get_device_list(num) ibv_get_device_list(num) typedef enum { RL_RATE = 1<<0, diff --git a/src/vma/ib/mlx5/ib_mlx5.cpp b/src/vma/ib/mlx5/ib_mlx5.cpp index 30c301dba..386d38d9e 100644 --- a/src/vma/ib/mlx5/ib_mlx5.cpp +++ b/src/vma/ib/mlx5/ib_mlx5.cpp @@ -8,13 +8,10 @@ #include "config.h" #endif #include "util/valgrind.h" -#if defined(DEFINED_DIRECT_VERBS) - #include "vma/util/valgrind.h" #include "vma/util/utils.h" #include "vma/ib/mlx5/ib_mlx5.h" - int vma_ib_mlx5_get_qp(struct ibv_qp *qp, vma_ib_mlx5_qp_t *mlx5_qp, uint32_t flags) { int ret = 0; @@ -29,7 +26,7 @@ int vma_ib_mlx5_get_qp(struct ibv_qp *qp, vma_ib_mlx5_qp_t *mlx5_qp, uint32_t fl obj.qp.in = qp; obj.qp.out = &dqp; - ret = vma_ib_mlx5dv_init_obj(&obj, MLX5DV_OBJ_QP); + ret = mlx5dv_init_obj(&obj, MLX5DV_OBJ_QP); if (ret != 0) { goto out; } @@ -90,7 +87,7 @@ int vma_ib_mlx5_get_cq(struct ibv_cq *cq, vma_ib_mlx5_cq_t *mlx5_cq) obj.cq.in = cq; obj.cq.out = &dcq; - ret = vma_ib_mlx5dv_init_obj(&obj, MLX5DV_OBJ_CQ); + ret = mlx5dv_init_obj(&obj, MLX5DV_OBJ_CQ); if (ret != 0) { return ret; } @@ -186,4 +183,37 @@ int vma_ib_mlx5_post_recv(vma_ib_mlx5_qp_t *mlx5_qp, return err; } -#endif /* DEFINED_DIRECT_VERBS */ +int vma_ib_mlx5_req_notify_cq(vma_ib_mlx5_cq_t *mlx5_cq, int solicited) +{ + uint64_t doorbell; + uint32_t sn; + uint32_t ci; + uint32_t cmd; + + sn = mlx5_cq->cq_sn & 3; + ci = mlx5_cq->cq_ci & 0xffffff; + cmd = solicited ? MLX5_CQ_DB_REQ_NOT_SOL : MLX5_CQ_DB_REQ_NOT; + + doorbell = sn << 28 | cmd | ci; + doorbell <<= 32; + doorbell |= mlx5_cq->cq_num; + + mlx5_cq->dbrec[VMA_IB_MLX5_CQ_ARM_DB] = htonl(sn << 28 | cmd | ci); + + /* + * Make sure that the doorbell record in host memory is + * written before ringing the doorbell via PCI WC MMIO. + */ + wmb(); + + *(uint64_t *)((uint8_t *)mlx5_cq->uar + MLX5_CQ_DOORBELL) = htonll(doorbell); + + wc_wmb(); + + return 0; +} + +void vma_ib_mlx5_get_cq_event(vma_ib_mlx5_cq_t *mlx5_cq, int count) +{ + mlx5_cq->cq_sn += count; +} diff --git a/src/vma/ib/mlx5/ib_mlx5.h b/src/vma/ib/mlx5/ib_mlx5.h index 8f22af5df..80e14804b 100644 --- a/src/vma/ib/mlx5/ib_mlx5.h +++ b/src/vma/ib/mlx5/ib_mlx5.h @@ -7,22 +7,10 @@ #ifndef SRC_VMA_IB_MLX5_H_ #define SRC_VMA_IB_MLX5_H_ -#if defined(DEFINED_DIRECT_VERBS) - #include - -#if (DEFINED_DIRECT_VERBS == 2) -#include -#include "vma/ib/mlx5/ib_mlx5_hw.h" -#elif (DEFINED_DIRECT_VERBS == 3) extern "C" { #include } -#include "vma/ib/mlx5/ib_mlx5_dv.h" -#else -#error "Unsupported Direct VERBS parameter" -#endif - #include #include @@ -34,12 +22,6 @@ extern "C" { * inside this layer */ - -/** - * Get internal verbs information. - */ -int vma_ib_mlx5dv_init_obj(struct mlx5dv_obj *obj, uint64_t type); - enum { VMA_IB_MLX5_QP_FLAGS_USE_UNDERLAY = 0x01 }; @@ -98,6 +80,4 @@ int vma_ib_mlx5_get_cq(struct ibv_cq *cq, vma_ib_mlx5_cq_t *mlx5_cq); int vma_ib_mlx5_req_notify_cq(vma_ib_mlx5_cq_t *mlx5_cq, int solicited); void vma_ib_mlx5_get_cq_event(vma_ib_mlx5_cq_t *mlx5_cq, int count); -#endif /* DEFINED_DIRECT_VERBS */ - #endif /* SRC_VMA_IB_MLX5_H_ */ diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.cpp b/src/vma/ib/mlx5/ib_mlx5_dv.cpp deleted file mode 100644 index 059399e7d..000000000 --- a/src/vma/ib/mlx5/ib_mlx5_dv.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#if defined(DEFINED_DIRECT_VERBS) && (DEFINED_DIRECT_VERBS == 3) - -#include "vma/ib/mlx5/ib_mlx5.h" - -int vma_ib_mlx5dv_init_obj(struct mlx5dv_obj *obj, uint64_t type) -{ - int ret = 0; - - ret = mlx5dv_init_obj(obj, type); - - return ret; -} - -int vma_ib_mlx5_req_notify_cq(vma_ib_mlx5_cq_t *mlx5_cq, int solicited) -{ - uint64_t doorbell; - uint32_t sn; - uint32_t ci; - uint32_t cmd; - - sn = mlx5_cq->cq_sn & 3; - ci = mlx5_cq->cq_ci & 0xffffff; - cmd = solicited ? MLX5_CQ_DB_REQ_NOT_SOL : MLX5_CQ_DB_REQ_NOT; - - doorbell = sn << 28 | cmd | ci; - doorbell <<= 32; - doorbell |= mlx5_cq->cq_num; - - mlx5_cq->dbrec[VMA_IB_MLX5_CQ_ARM_DB] = htonl(sn << 28 | cmd | ci); - - /* - * Make sure that the doorbell record in host memory is - * written before ringing the doorbell via PCI WC MMIO. - */ - wmb(); - - *(uint64_t *)((uint8_t *)mlx5_cq->uar + MLX5_CQ_DOORBELL) = htonll(doorbell); - - wc_wmb(); - - return 0; -} - -void vma_ib_mlx5_get_cq_event(vma_ib_mlx5_cq_t *mlx5_cq, int count) -{ - mlx5_cq->cq_sn += count; -} - -#endif /* (DEFINED_DIRECT_VERBS == 3) */ diff --git a/src/vma/ib/mlx5/ib_mlx5_dv.h b/src/vma/ib/mlx5/ib_mlx5_dv.h deleted file mode 100644 index 7a602f0a9..000000000 --- a/src/vma/ib/mlx5/ib_mlx5_dv.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - -#ifndef SRC_VMA_IB_MLX5_DV_H_ -#define SRC_VMA_IB_MLX5_DV_H_ - -#ifndef SRC_VMA_IB_MLX5_H_ -#error "Use instead." -#endif - -#if defined(DEFINED_DIRECT_VERBS) && (DEFINED_DIRECT_VERBS == 3) - -#endif /* (DEFINED_DIRECT_VERBS == 3) */ - -#endif /* SRC_VMA_IB_MLX5_DV_H_ */ diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.cpp b/src/vma/ib/mlx5/ib_mlx5_hw.cpp deleted file mode 100644 index d86ee33db..000000000 --- a/src/vma/ib/mlx5/ib_mlx5_hw.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif -#include "util/valgrind.h" -#if defined(DEFINED_DIRECT_VERBS) && (DEFINED_DIRECT_VERBS == 2) - -#include "vma/ib/mlx5/ib_mlx5.h" - -static int vma_ib_mlx5dv_get_qp(struct ibv_qp *qp, struct mlx5dv_qp *mlx5_qp); -static int vma_ib_mlx5dv_get_cq(struct ibv_cq *cq, struct mlx5dv_cq *mlx5_cq); - - -int vma_ib_mlx5dv_init_obj(struct mlx5dv_obj *obj, uint64_t obj_type) -{ - int ret = 0; - - if (obj_type & MLX5DV_OBJ_QP) { - ret = vma_ib_mlx5dv_get_qp(obj->qp.in, obj->qp.out); - } - - if (!ret && (obj_type & MLX5DV_OBJ_CQ)) { - ret = vma_ib_mlx5dv_get_cq(obj->cq.in, obj->cq.out); - } - - return ret; -} - -static int vma_ib_mlx5dv_get_qp(struct ibv_qp *qp, struct mlx5dv_qp *mlx5_qp) -{ - int ret = 0; - struct ibv_mlx5_qp_info ibv_qp_info; - struct mlx5_qp *mqp = to_mqp(qp); - - ret = ibv_mlx5_exp_get_qp_info(qp, &ibv_qp_info); - if (ret != 0) { - return ret; - } - VALGRIND_MAKE_MEM_DEFINED(&ibv_qp_info, sizeof(ibv_qp_info)); - mlx5_qp->dbrec = ibv_qp_info.dbrec; - mlx5_qp->sq.buf = (mqp->sq_buf_size ? - (void *)((uintptr_t)mqp->sq_buf.buf) : /* IBV_QPT_RAW_PACKET or Underly QP */ - (void *)((uintptr_t)mqp->buf.buf + mqp->sq.offset)); - mlx5_qp->sq.wqe_cnt = ibv_qp_info.sq.wqe_cnt; - mlx5_qp->sq.stride = ibv_qp_info.sq.stride; - mlx5_qp->rq.buf = ibv_qp_info.rq.buf; - mlx5_qp->rq.wqe_cnt = ibv_qp_info.rq.wqe_cnt; - mlx5_qp->rq.stride = ibv_qp_info.rq.stride; - mlx5_qp->bf.reg = ibv_qp_info.bf.reg; - mlx5_qp->bf.size = ibv_qp_info.bf.size; - - return ret; -} - -static int vma_ib_mlx5dv_get_cq(struct ibv_cq *cq, struct mlx5dv_cq *mlx5_cq) -{ - int ret = 0; - struct ibv_mlx5_cq_info ibv_cq_info; - - ret = ibv_mlx5_exp_get_cq_info(cq, &ibv_cq_info); - if (ret != 0) { - return ret; - } - VALGRIND_MAKE_MEM_DEFINED(&ibv_cq_info, sizeof(ibv_cq_info)); - mlx5_cq->buf = ibv_cq_info.buf; - mlx5_cq->dbrec = ibv_cq_info.dbrec; - mlx5_cq->cqe_cnt = ibv_cq_info.cqe_cnt; - mlx5_cq->cqe_size = ibv_cq_info.cqe_size; - mlx5_cq->cq_uar = NULL; - mlx5_cq->cqn = ibv_cq_info.cqn; - - return ret; -} - -int vma_ib_mlx5_req_notify_cq(vma_ib_mlx5_cq_t *mlx5_cq, int solicited) -{ - struct mlx5_cq *mcq = to_mcq(mlx5_cq->cq); - mcq->cons_index = mlx5_cq->cq_ci; - return ibv_req_notify_cq(mlx5_cq->cq, solicited); -} - -void vma_ib_mlx5_get_cq_event(vma_ib_mlx5_cq_t *, int) -{ - // no need in operation with cq_sn as far as it is managed by driver code for now -} - -#endif /* (DEFINED_DIRECT_VERBS == 2) */ diff --git a/src/vma/ib/mlx5/ib_mlx5_hw.h b/src/vma/ib/mlx5/ib_mlx5_hw.h deleted file mode 100644 index b34a9829b..000000000 --- a/src/vma/ib/mlx5/ib_mlx5_hw.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - -#ifndef SRC_VMA_IB_MLX5_HW_H_ -#define SRC_VMA_IB_MLX5_HW_H_ - -#ifndef SRC_VMA_IB_MLX5_H_ -#error "Use instead." -#endif - -#if defined(DEFINED_DIRECT_VERBS) && (DEFINED_DIRECT_VERBS == 2) - -#include - -/* This structures duplicate mlx5dv.h (rdma-core upstream) - * to use upstream specific approach as a basis - */ -struct mlx5dv_qp { - volatile uint32_t *dbrec; - struct { - void *buf; - uint32_t wqe_cnt; - uint32_t stride; - } sq; - struct { - void *buf; - uint32_t wqe_cnt; - uint32_t stride; - } rq; - struct { - void *reg; - uint32_t size; - } bf; - uint64_t comp_mask; -}; - -struct mlx5dv_cq { - void *buf; - volatile uint32_t *dbrec; - uint32_t cqe_cnt; - uint32_t cqe_size; - void *cq_uar; - uint32_t cqn; - uint64_t comp_mask; -}; - -struct mlx5dv_obj { - struct { - struct ibv_qp *in; - struct mlx5dv_qp *out; - } qp; - struct { - struct ibv_cq *in; - struct mlx5dv_cq *out; - } cq; -}; - -enum mlx5dv_obj_type { - MLX5DV_OBJ_QP = 1 << 0, - MLX5DV_OBJ_CQ = 1 << 1, -}; - -#endif /* (DEFINED_DIRECT_VERBS == 2) */ - -#endif /* SRC_VMA_IB_MLX5_HW_H_ */ diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 1814533e1..fef646ae4 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -702,9 +702,6 @@ extern mce_sys_var & safe_mce_sys(); #define L2_ADDR_FILE_FMT "/sys/class/net/%.*s/address" #define L2_BR_ADDR_FILE_FMT "/sys/class/net/%.*s/broadcast" #define OPER_STATE_PARAM_FILE "/sys/class/net/%s/operstate" -#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 2) -#define RAW_QP_PRIVLIGES_PARAM_FILE "/sys/module/ib_uverbs/parameters/disable_raw_qp_enforcement" -#endif /* DEFINED_VERBS_VERSION */ #define FLOW_STEERING_MGM_ENTRY_SIZE_PARAM_FILE "/sys/module/mlx4_core/parameters/log_num_mgm_entry_size" #define VIRTUAL_DEVICE_FOLDER "/sys/devices/virtual/net/%s/" #define BOND_DEVICE_FILE "/proc/net/bonding/%s" diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 4c31db0a1..715f721af 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -145,7 +145,7 @@ int get_base_interface_name(const char *if_name, char *base_ifname, size_t sz_ba return 0; } -void print_roce_lag_warnings(char* interface, char* disable_path /* = NULL */, const char* port1 /* = NULL */, const char* port2 /* = NULL */) +void print_roce_lag_warnings(char* interface, const char* port1 /* = NULL */, const char* port2 /* = NULL */) { vlog_printf(VLOG_WARNING,"******************************************************************************************************\n"); @@ -158,11 +158,6 @@ void print_roce_lag_warnings(char* interface, char* disable_path /* = NULL */, c } vlog_printf(VLOG_WARNING,"* Please refer to VMA Release Notes for more info\n"); - - if (disable_path) { - vlog_printf(VLOG_WARNING,"* In order to disable RoCE LAG please use:\n"); - vlog_printf(VLOG_WARNING,"* echo 0 > %s\n", disable_path); - } vlog_printf(VLOG_WARNING,"******************************************************************************************************\n"); } @@ -866,26 +861,6 @@ bool get_bond_active_slave_name(IN const char* bond_name, OUT char* active_slave return true; } -bool check_bond_roce_lag_exist(OUT char* bond_roce_lag_path, int sz, IN const char* slave_name) -{ -#if defined(DEFINED_DIRECT_VERBS) && defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 3) - NOT_IN_USE(bond_roce_lag_path); - NOT_IN_USE(sz); - NOT_IN_USE(slave_name); - return true; -#else - char sys_res[1024] = {0}; - snprintf(bond_roce_lag_path, sz, BONDING_ROCE_LAG_FILE, slave_name); - if (priv_read_file(bond_roce_lag_path, sys_res, 1024, VLOG_FUNC) > 0) { - if (strtol(sys_res, NULL,10) > 0 && errno != ERANGE) { - return true; - } - } -#endif - - return false; -} - bool get_netvsc_slave(IN const char* ifname, OUT char* slave_name, OUT unsigned int &slave_flags) { char netvsc_path[256]; @@ -1005,7 +980,6 @@ bool check_device_name_ib_name(const char* ifname, const char* ibname) } } -#if (defined(DEFINED_DIRECT_VERBS) && defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 3)) /* Case #2: * When device is a slave interface * For example: ens4f1(bondX) -> mlx5_bond_X @@ -1034,7 +1008,6 @@ bool check_device_name_ib_name(const char* ifname, const char* ibname) } } } -#endif return false; } @@ -1089,22 +1062,6 @@ int validate_ipoib_prop(const char* ifname, unsigned int ifflags, } } -#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 2) -//NOTE RAW_QP_PRIVLIGES_PARAM_FILE does not exist on upstream drivers -int validate_raw_qp_privliges() -{ - // RAW_QP_PRIVLIGES_PARAM_FILE: "/sys/module/ib_uverbs/parameters/disable_raw_qp_enforcement" - char raw_qp_privliges_value = 0; - if (priv_read_file((const char*)RAW_QP_PRIVLIGES_PARAM_FILE, &raw_qp_privliges_value, 1, VLOG_DEBUG) <= 0) { - return -1; - } - if (raw_qp_privliges_value != '1') { - return 0; - } - return 1; -} -#endif /* DEFINED_VERBS_VERSION */ - bool validate_user_has_cap_net_raw_privliges() { #ifdef HAVE_SYS_CAPABILITY_H diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index ee9d1c1de..d8e7de82d 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -232,13 +232,12 @@ size_t get_vlan_base_name_from_ifname(const char* ifname, char* base_ifname, siz size_t get_local_ll_addr(const char* ifname, unsigned char* addr, int addr_len, bool is_broadcast); /* Print warning while RoCE Lag is enabled */ -void print_roce_lag_warnings(char* interface, char* disable_path = NULL, const char* port1 = NULL, const char* port2 = NULL); +void print_roce_lag_warnings(char* interface, const char* port1 = NULL, const char* port2 = NULL); bool check_bond_device_exist(const char* ifname); bool get_bond_active_slave_name(IN const char* bond_name, OUT char* active_slave_name, IN int sz); bool get_bond_slave_state(IN const char* slave_name, OUT char* curr_state, IN int sz); bool get_bond_slaves_name_list(IN const char* bond_name, OUT char* slaves_list, IN int sz); -bool check_bond_roce_lag_exist(OUT char* bond_roce_lag_path, int sz, IN const char* slave_name); bool check_device_exist(const char* ifname, const char *path); bool check_device_name_ib_name(const char* ifname, const char* ibname); bool check_netvsc_device_exist(const char* ifname); @@ -249,10 +248,6 @@ int validate_ipoib_prop(const char* ifname, unsigned int ifflags, const char prop_file[], const char *expected_val, int val_size, char *filename, char* base_ifname); -#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 2) -int validate_raw_qp_privliges(); -#endif /* DEFINED_VERBS_VERSION */ - bool validate_user_has_cap_net_raw_privliges(); size_t default_huge_page_size(void); From 086269d6529c65f0ec8d534269261ba501b70378 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Mon, 10 Nov 2025 13:41:46 +0000 Subject: [PATCH 113/150] issue: 4664028 Removing legacy defines After removing legacy and exp verbs there is no need anymore for precompiler defines for ibv methods and structures which were unifying different verbs methods and structs. Signed-off-by: Alexander Grissik --- src/vma/dev/allocator.cpp | 12 +- src/vma/dev/buffer_pool.cpp | 2 +- src/vma/dev/cq_mgr.cpp | 44 ++----- src/vma/dev/cq_mgr.h | 9 +- src/vma/dev/cq_mgr_mlx5.cpp | 14 +-- src/vma/dev/cq_mgr_mlx5.h | 2 +- src/vma/dev/dm_mgr.cpp | 8 +- src/vma/dev/dm_mgr.h | 2 +- src/vma/dev/ib_ctx_handler.cpp | 8 +- src/vma/dev/ib_ctx_handler.h | 2 +- src/vma/dev/ib_ctx_handler_collection.cpp | 4 +- src/vma/dev/net_device_table_mgr.cpp | 2 +- src/vma/dev/net_device_val.cpp | 5 +- src/vma/dev/qp_mgr.cpp | 18 +-- src/vma/dev/qp_mgr.h | 4 +- src/vma/dev/qp_mgr_eth_mlx5.cpp | 22 ++-- src/vma/dev/qp_mgr_eth_mlx5.h | 6 +- src/vma/dev/rfs.cpp | 4 +- src/vma/dev/rfs.h | 46 +++---- src/vma/dev/rfs_uc.cpp | 8 +- src/vma/dev/ring.h | 6 +- src/vma/dev/ring_bond.cpp | 6 +- src/vma/dev/ring_bond.h | 6 +- src/vma/dev/ring_eth_direct.cpp | 2 +- src/vma/dev/ring_simple.cpp | 10 +- src/vma/dev/ring_simple.h | 10 +- src/vma/dev/ring_slave.h | 2 +- src/vma/dev/ring_tap.cpp | 8 +- src/vma/dev/ring_tap.h | 10 +- src/vma/dev/time_converter.cpp | 10 +- src/vma/dev/time_converter_ib_ctx.cpp | 6 +- src/vma/dev/time_converter_ptp.cpp | 10 +- src/vma/dev/time_converter_ptp.h | 2 +- src/vma/dev/wqe_send_handler.cpp | 8 +- src/vma/dev/wqe_send_handler.h | 22 ++-- src/vma/dev/wqe_send_ib_handler.cpp | 8 +- src/vma/dev/wqe_send_ib_handler.h | 8 +- src/vma/event/event_handler_manager.cpp | 4 +- src/vma/ib/base/verbs_extra.cpp | 56 ++++----- src/vma/ib/base/verbs_extra.h | 142 +++++----------------- src/vma/ib/mlx5/ib_mlx5.h | 8 +- src/vma/proto/dst_entry.h | 12 +- src/vma/proto/dst_entry_tcp.cpp | 2 +- src/vma/proto/dst_entry_tcp.h | 4 +- src/vma/proto/igmp_handler.h | 2 +- src/vma/proto/neighbour.cpp | 2 +- src/vma/proto/neighbour.h | 2 +- src/vma/util/sys_vars.h | 2 +- 48 files changed, 246 insertions(+), 346 deletions(-) diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index 65abbb9fe..fa82d8041 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -88,7 +88,7 @@ vma_allocator::~vma_allocator() void* vma_allocator::alloc_and_reg_mr(size_t size, ib_ctx_handler *p_ib_ctx_h, void *ptr /* NULL */) { - uint64_t access = VMA_IBV_ACCESS_LOCAL_WRITE; + uint64_t access = IBV_ACCESS_LOCAL_WRITE; if (ptr) { m_mem_alloc_type = ALLOC_TYPE_REGISTER_MEMORY; @@ -124,9 +124,9 @@ void* vma_allocator::alloc_and_reg_mr(size_t size, ib_ctx_handler *p_ib_ctx_h, v } // fallthrough case ALLOC_TYPE_CONTIG: -#ifdef VMA_IBV_ACCESS_ALLOCATE_MR +#ifdef DEFINED_IBV_ACCESS_ALLOCATE_MR if (mce_sys_var::HYPER_MSHV != safe_mce_sys().hypervisor) { - register_memory(size, p_ib_ctx_h, (access | VMA_IBV_ACCESS_ALLOCATE_MR)); + register_memory(size, p_ib_ctx_h, (access | IBV_ACCESS_ALLOCATE_MR)); __log_info_dbg("Contiguous pages allocation passed successfully"); m_mem_alloc_type = ALLOC_TYPE_CONTIG; break; @@ -319,11 +319,11 @@ void vma_allocator::register_memory(size_t size, ib_ctx_handler *p_ib_ctx_h, m_data_block = p_ib_ctx_h->get_mem_reg(lkey)->addr; } errno = 0; //ibv_reg_mr() set errno=12 despite successful returning -#ifdef VMA_IBV_ACCESS_ALLOCATE_MR - if ((access & VMA_IBV_ACCESS_ALLOCATE_MR) != 0) { // contig pages mode +#ifdef DEFINED_IBV_ACCESS_ALLOCATE_MR + if ((access & IBV_ACCESS_ALLOCATE_MR) != 0) { // contig pages mode // When using 'IBV_ACCESS_ALLOCATE_MR', ibv_reg_mr will return a pointer that its 'addr' field will hold the address of the allocated memory. // Second registration and above is done using 'IBV_ACCESS_LOCAL_WRITE' and the 'addr' we received from the first registration. - access &= ~VMA_IBV_ACCESS_ALLOCATE_MR; + access &= ~IBV_ACCESS_ALLOCATE_MR; } #endif __log_info_dbg("Registered memory on dev: %s addr=%p length=%lu", diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index 5e8ec06fd..256c38f17 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -120,7 +120,7 @@ void buffer_pool::free_bpool_resources() void buffer_pool::register_memory(ib_ctx_handler *p_ib_ctx_h) { - m_allocator.register_memory(m_size, p_ib_ctx_h, VMA_IBV_ACCESS_LOCAL_WRITE); + m_allocator.register_memory(m_size, p_ib_ctx_h, IBV_ACCESS_LOCAL_WRITE); } void buffer_pool::print_val_tbl() diff --git a/src/vma/dev/cq_mgr.cpp b/src/vma/dev/cq_mgr.cpp index 388c452bb..c11ef630e 100644 --- a/src/vma/dev/cq_mgr.cpp +++ b/src/vma/dev/cq_mgr.cpp @@ -93,13 +93,8 @@ cq_mgr::cq_mgr(ring_simple* p_ring, ib_ctx_handler* p_ib_ctx_handler, int cq_siz void cq_mgr::configure(int cq_size) { - vma_ibv_cq_init_attr attr; - memset(&attr, 0, sizeof(attr)); - - prep_ibv_cq(attr); - - m_p_ibv_cq = vma_ibv_create_cq(m_p_ib_ctx_handler->get_ibv_context(), - cq_size - 1, (void *)this, m_comp_event_channel, 0, &attr); + m_p_ibv_cq = ibv_create_cq(m_p_ib_ctx_handler->get_ibv_context(), + cq_size - 1, (void *)this, m_comp_event_channel, 0); BULLSEYE_EXCLUDE_BLOCK_START if (!m_p_ibv_cq) { throw_vma_exception("ibv_create_cq failed"); @@ -132,13 +127,6 @@ void cq_mgr::configure(int cq_size) cq_logdbg("Created CQ as %s with fd[%d] and of size %d elements (ibv_cq_hndl=%p)", (m_b_is_rx?"Rx":"Tx"), get_channel_fd(), cq_size, m_p_ibv_cq); } -void cq_mgr::prep_ibv_cq(vma_ibv_cq_init_attr& attr) const -{ - if (m_p_ib_ctx_handler->get_ctx_time_converter_status()) { - vma_ibv_cq_init_ts_attr(&attr); - } -} - uint32_t cq_mgr::clean_cq() { uint32_t ret_total = 0; @@ -146,7 +134,7 @@ uint32_t cq_mgr::clean_cq() uint64_t cq_poll_sn = 0; mem_buf_desc_t* buff = NULL; /* coverity[stack_use_local_overflow] */ - vma_ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; + ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; while ((ret = poll(wce, MCE_MAX_CQ_POLL_BATCH, &cq_poll_sn)) > 0) { for (int i = 0; i < ret; i++) { if (m_b_is_rx) { @@ -304,7 +292,7 @@ void cq_mgr::return_extra_buffers() m_p_cq_stat->n_buffer_pool_len = m_rx_pool.size(); } -int cq_mgr::poll(vma_ibv_wc* p_wce, int num_entries, uint64_t* p_cq_poll_sn) +int cq_mgr::poll(ibv_wc* p_wce, int num_entries, uint64_t* p_cq_poll_sn) { // Assume locked!!! cq_logfuncall(""); @@ -320,7 +308,7 @@ int cq_mgr::poll(vma_ibv_wc* p_wce, int num_entries, uint64_t* p_cq_poll_sn) #ifdef RDTSC_MEASURE_RX_VMA_TCP_IDLE_POLL RDTSC_TAKE_END(g_rdtsc_instr_info_arr[RDTSC_FLOW_RX_VMA_TCP_IDLE_POLL]); #endif //RDTSC_MEASURE_RX_VMA_TCP_IDLE_POLL - int ret = vma_ibv_poll_cq(m_p_ibv_cq, num_entries, p_wce); + int ret = ibv_poll_cq(m_p_ibv_cq, num_entries, p_wce); if (ret <= 0) { #ifdef RDTSC_MEASURE_RX_VERBS_IDLE_POLL RDTSC_TAKE_END(g_rdtsc_instr_info_arr[RDTSC_FLOW_RX_VERBS_IDLE_POLL]); @@ -377,7 +365,7 @@ int cq_mgr::poll(vma_ibv_wc* p_wce, int num_entries, uint64_t* p_cq_poll_sn) return ret; } -void cq_mgr::process_cq_element_log_helper(mem_buf_desc_t* p_mem_buf_desc, vma_ibv_wc* p_wce) +void cq_mgr::process_cq_element_log_helper(mem_buf_desc_t* p_mem_buf_desc, ibv_wc* p_wce) { BULLSEYE_EXCLUDE_BLOCK_START // wce with bad status value @@ -402,7 +390,7 @@ void cq_mgr::process_cq_element_log_helper(mem_buf_desc_t* p_mem_buf_desc, vma_i cq_logfunc("wce error status '%s' [%d] (wr_id=%p, qp_num=%x)", priv_ibv_wc_status_str(p_wce->status), p_wce->status, p_wce->wr_id, p_wce->qp_num); } -mem_buf_desc_t* cq_mgr::process_cq_element_tx(vma_ibv_wc* p_wce) +mem_buf_desc_t* cq_mgr::process_cq_element_tx(ibv_wc* p_wce) { // Assume locked!!! cq_logfuncall(""); @@ -436,7 +424,7 @@ mem_buf_desc_t* cq_mgr::process_cq_element_tx(vma_ibv_wc* p_wce) return p_mem_buf_desc; } -mem_buf_desc_t* cq_mgr::process_cq_element_rx(vma_ibv_wc* p_wce) +mem_buf_desc_t* cq_mgr::process_cq_element_rx(ibv_wc* p_wce) { // Assume locked!!! cq_logfuncall(""); @@ -482,7 +470,7 @@ mem_buf_desc_t* cq_mgr::process_cq_element_rx(vma_ibv_wc* p_wce) p_mem_buf_desc->rx.is_sw_csum_need = !(m_b_is_rx_hw_csum_on && vma_wc_rx_hw_csum_ok(*p_wce)); - if (likely(vma_wc_opcode(*p_wce) & VMA_IBV_WC_RECV)) { + if (likely(vma_wc_opcode(*p_wce) & IBV_WC_RECV)) { // Save recevied total bytes p_mem_buf_desc->sz_data = p_wce->byte_len; @@ -491,12 +479,6 @@ mem_buf_desc_t* cq_mgr::process_cq_element_rx(vma_ibv_wc* p_wce) p_mem_buf_desc->rx.context = this; p_mem_buf_desc->rx.socketxtreme_polled = false; - //this is not a deadcode if timestamping is defined in verbs API - // coverity[dead_error_condition] - if (vma_wc_flags(*p_wce) & VMA_IBV_WC_WITH_TIMESTAMP) { - p_mem_buf_desc->rx.hw_raw_timestamp = vma_wc_timestamp(*p_wce); - } - VALGRIND_MAKE_MEM_DEFINED(p_mem_buf_desc->p_buffer, p_mem_buf_desc->sz_data); prefetch_range((uint8_t*)p_mem_buf_desc->p_buffer + m_sz_transport_header, @@ -616,7 +598,7 @@ int cq_mgr::poll_and_process_element_rx(uint64_t* p_cq_poll_sn, void* pv_fd_read cq_logfuncall(""); /* coverity[stack_use_local_overflow] */ - vma_ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; + ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; int ret; uint32_t ret_rx_processed = process_recv_queue(pv_fd_ready_array); @@ -638,7 +620,7 @@ int cq_mgr::poll_and_process_element_rx(uint64_t* p_cq_poll_sn, void* pv_fd_read for (int i = 0; i < ret; i++) { mem_buf_desc_t *buff = process_cq_element_rx((&wce[i])); if (buff) { - if (vma_wc_opcode(wce[i]) & VMA_IBV_WC_RECV) { + if (vma_wc_opcode(wce[i]) & IBV_WC_RECV) { if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || !compensate_qp_poll_success(buff)) { process_recv_buffer(buff, pv_fd_ready_array); @@ -661,7 +643,7 @@ int cq_mgr::poll_and_process_element_tx(uint64_t* p_cq_poll_sn) cq_logfuncall(""); /* coverity[stack_use_local_overflow] */ - vma_ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; + ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; int ret = poll(wce, m_n_sysvar_cq_poll_batch_max, p_cq_poll_sn); if (ret > 0) { m_n_wce_counter += ret; @@ -772,7 +754,7 @@ int cq_mgr::drain_and_proccess(uintptr_t* p_recycle_buffers_last_wr_id /*=NULL*/ (p_recycle_buffers_last_wr_id)) { /* coverity[stack_use_local_overflow] */ - vma_ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; + ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; int ret = poll(wce, MCE_MAX_CQ_POLL_BATCH, &cq_poll_sn); if (ret <= 0) { m_b_was_drained = true; diff --git a/src/vma/dev/cq_mgr.h b/src/vma/dev/cq_mgr.h index c6015445e..badd44706 100644 --- a/src/vma/dev/cq_mgr.h +++ b/src/vma/dev/cq_mgr.h @@ -148,7 +148,7 @@ class cq_mgr * @p_cq_poll_sn global unique wce id that maps last wce polled * @return Number of successfully polled wce */ - virtual int poll(vma_ibv_wc* p_wce, int num_entries, uint64_t* p_cq_poll_sn); + virtual int poll(ibv_wc* p_wce, int num_entries, uint64_t* p_cq_poll_sn); void compensate_qp_poll_failed(); inline void process_recv_buffer(mem_buf_desc_t* buff, void* pv_fd_ready_array = NULL); @@ -157,8 +157,8 @@ class cq_mgr * and deliver them to their owner for further processing (sockinfo on Tx path and ib_conn_mgr on Rx path) * - for Tx wce the data buffers will be released to the associated ring before the mem_buf_desc are returned */ - mem_buf_desc_t* process_cq_element_tx(vma_ibv_wc* p_wce); - mem_buf_desc_t* process_cq_element_rx(vma_ibv_wc* p_wce); + mem_buf_desc_t* process_cq_element_tx(ibv_wc* p_wce); + mem_buf_desc_t* process_cq_element_rx(ibv_wc* p_wce); void reclaim_recv_buffer_helper(mem_buf_desc_t* buff); // Returns true if the given buffer was used, @@ -166,7 +166,6 @@ class cq_mgr bool compensate_qp_poll_success(mem_buf_desc_t* buff); inline uint32_t process_recv_queue(void* pv_fd_ready_array = NULL); - virtual void prep_ibv_cq(vma_ibv_cq_init_attr &attr) const; //returns list of buffers to the owner. void process_tx_buffer_list(mem_buf_desc_t* p_mem_buf_desc); @@ -225,7 +224,7 @@ class cq_mgr //Finds and sets the vma if to which the buff is addressed (according to qpn). inline void find_buff_dest_vma_if_ctx(mem_buf_desc_t * buff); - void process_cq_element_log_helper(mem_buf_desc_t* p_mem_buf_desc, vma_ibv_wc* p_wce); + void process_cq_element_log_helper(mem_buf_desc_t* p_mem_buf_desc, ibv_wc* p_wce); virtual int req_notify_cq() { return ibv_req_notify_cq(m_p_ibv_cq, 0); diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index cf06faf15..dea8609f6 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -60,7 +60,7 @@ uint32_t cq_mgr_mlx5::clean_cq() } else {//Tx int ret = 0; /* coverity[stack_use_local_overflow] */ - vma_ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; + ibv_wc wce[MCE_MAX_CQ_POLL_BATCH]; while ((ret = cq_mgr::poll(wce, MCE_MAX_CQ_POLL_BATCH, &cq_poll_sn)) > 0) { for (int i = 0; i < ret; i++) { buff = process_cq_element_tx(&wce[i]); @@ -265,7 +265,7 @@ int cq_mgr_mlx5::drain_and_proccess(uintptr_t* p_recycle_buffers_last_wr_id /*=N for (int i = 0; i < ret; i++) { uint32_t wqe_sz = 0; mlx5_cqe64 *cqe = cqe_arr[i]; - vma_ibv_wc wce; + ibv_wc wce; uint16_t wqe_ctr = ntohs(cqe->wqe_counter); if (m_b_is_rx) { @@ -599,7 +599,7 @@ int cq_mgr_mlx5::poll_and_process_element_rx(mem_buf_desc_t **p_desc_lst) } -inline void cq_mgr_mlx5::cqe64_to_vma_wc(struct mlx5_cqe64 *cqe, vma_ibv_wc *wc) +inline void cq_mgr_mlx5::cqe64_to_vma_wc(struct mlx5_cqe64 *cqe, ibv_wc *wc) { struct mlx5_err_cqe* ecqe = (struct mlx5_err_cqe *)cqe; @@ -610,7 +610,7 @@ inline void cq_mgr_mlx5::cqe64_to_vma_wc(struct mlx5_cqe64 *cqe, vma_ibv_wc *wc) case MLX5_CQE_RESP_SEND: case MLX5_CQE_RESP_SEND_IMM: case MLX5_CQE_RESP_SEND_INV: - vma_wc_opcode(*wc) = VMA_IBV_WC_RECV; + vma_wc_opcode(*wc) = IBV_WC_RECV; wc->byte_len = ntohl(cqe->byte_cnt); wc->status = IBV_WC_SUCCESS; return; @@ -678,7 +678,7 @@ int cq_mgr_mlx5::poll_and_process_error_element_tx(struct mlx5_cqe64 *cqe, uint6 uint16_t wqe_ctr = ntohs(cqe->wqe_counter); int index = wqe_ctr & (m_qp->m_tx_num_wr - 1); mem_buf_desc_t* buff = NULL; - vma_ibv_wc wce; + ibv_wc wce; // spoil the global sn if we have packets ready union __attribute__((packed)) { @@ -801,7 +801,7 @@ bool cq_mgr_mlx5::fill_cq_hw_descriptors(struct hw_cq_data &data) int cq_mgr_mlx5::poll_and_process_error_element_rx(struct mlx5_cqe64 *cqe, void* pv_fd_ready_array) { - vma_ibv_wc wce; + ibv_wc wce; memset(&wce, 0, sizeof(wce)); wce.wr_id = (uintptr_t)m_rx_hot_buffer; @@ -812,7 +812,7 @@ int cq_mgr_mlx5::poll_and_process_error_element_rx(struct mlx5_cqe64 *cqe, void* m_rx_hot_buffer = cq_mgr::process_cq_element_rx(&wce); if (m_rx_hot_buffer) { - if (vma_wc_opcode(wce) & VMA_IBV_WC_RECV) { + if (vma_wc_opcode(wce) & IBV_WC_RECV) { if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || !compensate_qp_poll_success(m_rx_hot_buffer)) { process_recv_buffer(m_rx_hot_buffer, pv_fd_ready_array); diff --git a/src/vma/dev/cq_mgr_mlx5.h b/src/vma/dev/cq_mgr_mlx5.h index 2d724d029..d435cef47 100644 --- a/src/vma/dev/cq_mgr_mlx5.h +++ b/src/vma/dev/cq_mgr_mlx5.h @@ -56,7 +56,7 @@ class cq_mgr_mlx5: public cq_mgr inline struct mlx5_cqe64* get_cqe64(struct mlx5_cqe64 **cqe_err = NULL); inline void cqe64_to_mem_buff_desc(struct mlx5_cqe64 *cqe, mem_buf_desc_t* p_rx_wc_buf_desc, enum buff_status_e& status); - void cqe64_to_vma_wc(struct mlx5_cqe64 *cqe, vma_ibv_wc *wc); + void cqe64_to_vma_wc(struct mlx5_cqe64 *cqe, ibv_wc *wc); inline struct mlx5_cqe64* check_error_completion(struct mlx5_cqe64 *cqe, uint32_t *ci, uint8_t op_own); inline void update_global_sn(uint64_t& cq_poll_sn, uint32_t rettotal); diff --git a/src/vma/dev/dm_mgr.cpp b/src/vma/dev/dm_mgr.cpp index 03b7508ea..269a35573 100644 --- a/src/vma/dev/dm_mgr.cpp +++ b/src/vma/dev/dm_mgr.cpp @@ -40,7 +40,7 @@ dm_mgr::dm_mgr() : bool dm_mgr::allocate_resources(ib_ctx_handler* ib_ctx, ring_stats_t* ring_stats) { size_t allocation_size = DM_ALIGN_SIZE(safe_mce_sys().ring_dev_mem_tx, DM_MEMORY_MASK_64); - vma_ibv_alloc_dm_attr dm_attr; + ibv_alloc_dm_attr dm_attr; vma_ibv_reg_mr_in mr_in; m_p_ring_stat = ring_stats; if (!allocation_size) { @@ -56,7 +56,7 @@ bool dm_mgr::allocate_resources(ib_ctx_handler* ib_ctx, ring_stats_t* ring_stats // Allocate on device memory buffer memset(&dm_attr, 0, sizeof(dm_attr)); dm_attr.length = allocation_size; - m_p_ibv_dm = vma_ibv_alloc_dm(ib_ctx->get_ibv_context(), &dm_attr); + m_p_ibv_dm = ibv_alloc_dm(ib_ctx->get_ibv_context(), &dm_attr); if (!m_p_ibv_dm) { // Memory allocation can fail if we have already allocated the maximum possible. VLOG_PRINTF_ONCE_THEN_DEBUG(VLOG_WARNING, "**************************************************************\n"); @@ -74,7 +74,7 @@ bool dm_mgr::allocate_resources(ib_ctx_handler* ib_ctx, ring_stats_t* ring_stats // Register On Device Memory MR m_p_dm_mr = vma_ibv_reg_dm_mr(&mr_in); if (!m_p_dm_mr) { - vma_ibv_free_dm(m_p_ibv_dm); + ibv_free_dm(m_p_ibv_dm); m_p_ibv_dm = NULL; dm_logerr("ibv_free_dm error - dm_mr registration failed, %d %m", errno); return false; @@ -104,7 +104,7 @@ void dm_mgr::release_resources() } if (m_p_ibv_dm) { - if (vma_ibv_free_dm(m_p_ibv_dm)) { + if (ibv_free_dm(m_p_ibv_dm)) { dm_logerr("ibv_free_dm failed %d %m", errno); } else { dm_logdbg("ibv_free_dm success"); diff --git a/src/vma/dev/dm_mgr.h b/src/vma/dev/dm_mgr.h index ba604e3b7..d500bbc1c 100644 --- a/src/vma/dev/dm_mgr.h +++ b/src/vma/dev/dm_mgr.h @@ -30,7 +30,7 @@ class dm_mgr { private: struct ibv_mr *m_p_dm_mr; - vma_ibv_dm *m_p_ibv_dm; + ibv_dm *m_p_ibv_dm; ring_stats_t *m_p_ring_stat; size_t m_allocation; // Size of device memory buffer (bytes) size_t m_used; // Next available index inside the buffer diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 3d3e4f8b3..59603f82a 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -74,7 +74,7 @@ ib_ctx_handler::ib_ctx_handler(struct ib_ctx_handler_desc *desc) : ibch_logpanic("ibv device %p attr allocation failure (ibv context %p) (errno=%d %m)", m_p_ibv_device, m_p_ibv_context, errno); } - vma_ibv_device_attr_comp_mask(m_p_ibv_device_attr); + IF_VERBS_FAILURE(vma_ibv_query_device(m_p_ibv_context, m_p_ibv_device_attr)) { ibch_logerr("ibv_query_device failed on ibv device %p (ibv context %p) (errno=%d %m)", m_p_ibv_device, m_p_ibv_context, errno); @@ -212,14 +212,14 @@ void ib_ctx_handler::set_ctx_time_converter_status(ts_conversion_mode_t conversi ibch_logwarn("ptp is not supported for mlx4 devices, reverting to mode TS_CONVERSION_MODE_SYNC (ibv context %p)", m_p_ibv_context); } else { - vma_ibv_clock_info clock_info; + mlx5dv_clock_info clock_info; memset(&clock_info, 0, sizeof(clock_info)); - int ret = vma_ibv_query_clock_info(m_p_ibv_context, &clock_info); + int ret = mlx5dv_get_clock_info(m_p_ibv_context, &clock_info); if (ret == 0) { m_p_ctx_time_converter = new time_converter_ptp(m_p_ibv_context); } else { m_p_ctx_time_converter = new time_converter_ib_ctx(m_p_ibv_context, TS_CONVERSION_MODE_SYNC, m_p_ibv_device_attr->hca_core_clock); - ibch_logwarn("vma_ibv_query_clock_info failure for clock_info, reverting to mode TS_CONVERSION_MODE_SYNC (ibv context %p) (ret %d)", + ibch_logwarn("mlx5dv_get_clock_info failure for clock_info, reverting to mode TS_CONVERSION_MODE_SYNC (ibv context %p) (ret %d)", m_p_ibv_context, ret); } } diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index b66384e8e..2152f816d 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -47,7 +47,7 @@ class ib_ctx_handler : public event_handler_ibverbs ibv_device* get_ibv_device() { return m_p_ibv_device; } inline char* get_ibname() { return (m_p_ibv_device ? m_p_ibv_device->name : (char *)""); } struct ibv_context* get_ibv_context() { return m_p_ibv_context; } - vma_ibv_device_attr* get_ibv_device_attr() { return vma_get_device_orig_attr(m_p_ibv_device_attr); } + ibv_device_attr* get_ibv_device_attr() { return vma_get_device_orig_attr(m_p_ibv_device_attr); } #ifdef DEFINED_TSO vma_ibv_device_attr_ex* get_ibv_device_attr_ex() { return m_p_ibv_device_attr; } #endif /* DEFINED_TSO */ diff --git a/src/vma/dev/ib_ctx_handler_collection.cpp b/src/vma/dev/ib_ctx_handler_collection.cpp index e70c3e298..1f2317ed7 100644 --- a/src/vma/dev/ib_ctx_handler_collection.cpp +++ b/src/vma/dev/ib_ctx_handler_collection.cpp @@ -99,11 +99,11 @@ void ib_ctx_handler_collection::update_tbl(const char *ifa_name) ibchc_logdbg("Checking for offload capable IB devices..."); - dev_list = vma_ibv_get_device_list(&num_devices); + dev_list = ibv_get_device_list(&num_devices); BULLSEYE_EXCLUDE_BLOCK_START if (!dev_list) { - ibchc_logerr("Failure in vma_ibv_get_device_list() (error=%d %m)", errno); + ibchc_logerr("Failure in ibv_get_device_list() (error=%d %m)", errno); ibchc_logerr("Please check rdma configuration"); throw_vma_exception("No IB capable devices found!"); } diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index 198fbcaa1..550370d8d 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -82,7 +82,7 @@ net_device_table_mgr::net_device_table_mgr() : if (m_net_device_map_index.empty()) { int num_devices = 0; struct ibv_device **dev_list = NULL; - dev_list = vma_ibv_get_device_list(&num_devices); + dev_list = ibv_get_device_list(&num_devices); if (dev_list && num_devices == 0) { ibv_free_device_list(dev_list); ndtm_logdbg("net_device_map is empty %d", num_devices); diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index 3dd955e59..aab75e807 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1619,9 +1619,6 @@ bool net_device_val::verify_qp_creation(const char* ifname, enum ibv_qp_type qp_ vma_ibv_qp_init_attr qp_init_attr; memset(&qp_init_attr, 0, sizeof(qp_init_attr)); - vma_ibv_cq_init_attr attr; - memset(&attr, 0, sizeof(attr)); - qp_init_attr.cap.max_send_wr = MCE_DEFAULT_TX_NUM_WRE; qp_init_attr.cap.max_recv_wr = MCE_DEFAULT_RX_NUM_WRE; qp_init_attr.cap.max_inline_data = MCE_DEFAULT_TX_MAX_INLINE; @@ -1662,7 +1659,7 @@ bool net_device_val::verify_qp_creation(const char* ifname, enum ibv_qp_type qp_ goto release_resources; } VALGRIND_MAKE_MEM_DEFINED(channel, sizeof(ibv_comp_channel)); - cq = vma_ibv_create_cq(p_ib_ctx->get_ibv_context(), safe_mce_sys().tx_num_wr, (void*)this, channel, 0, &attr); + cq = ibv_create_cq(p_ib_ctx->get_ibv_context(), safe_mce_sys().tx_num_wr, (void*)this, channel, 0); if (!cq) { nd_logdbg("cq creation failed for interface %s (errno=%d %s)", ifname, errno, strerror(errno)); goto release_resources; diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index e7c1312c1..ce49974d4 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -422,7 +422,7 @@ void qp_mgr::release_tx_buffers() void qp_mgr::trigger_completion_for_all_sent_packets() { - vma_ibv_send_wr send_wr; + ibv_send_wr send_wr; ibv_sge sge[1]; // Handle releasing of Tx buffers @@ -488,7 +488,7 @@ void qp_mgr::trigger_completion_for_all_sent_packets() send_wr.sg_list = sge; send_wr.num_sge = 1; send_wr.next = NULL; - vma_send_wr_opcode(send_wr) = VMA_IBV_WR_SEND; + vma_send_wr_opcode(send_wr) = IBV_WR_SEND; qp_logdbg("IBV_SEND_SIGNALED"); // Close the Tx unsignaled send list @@ -567,18 +567,18 @@ void qp_mgr::post_recv_buffers(descq_t* p_buffers, size_t count) } } -inline int qp_mgr::send_to_wire(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp) +inline int qp_mgr::send_to_wire(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp) { NOT_IN_USE(attr); int ret = 0; - vma_ibv_send_wr *bad_wr = NULL; + ibv_send_wr *bad_wr = NULL; if (request_comp) { - vma_send_wr_send_flags(*p_send_wqe) = (vma_ibv_send_flags)(vma_send_wr_send_flags(*p_send_wqe) | VMA_IBV_SEND_SIGNALED); + vma_send_wr_send_flags(*p_send_wqe) = (ibv_send_flags)(vma_send_wr_send_flags(*p_send_wqe) | IBV_SEND_SIGNALED); } - IF_VERBS_FAILURE(vma_ibv_post_send(m_qp, p_send_wqe, &bad_wr)) { - qp_logerr("failed post_send%s (errno=%d %m)\n", ((vma_send_wr_send_flags(*p_send_wqe) & VMA_IBV_SEND_INLINE)?"(+inline)":""), errno); + IF_VERBS_FAILURE(ibv_post_send(m_qp, p_send_wqe, &bad_wr)) { + qp_logerr("failed post_send%s (errno=%d %m)\n", ((vma_send_wr_send_flags(*p_send_wqe) & IBV_SEND_INLINE)?"(+inline)":""), errno); if (bad_wr) { qp_logerr("bad_wr info: wr_id=%#lx, send_flags=%#lx, addr=%#lx, length=%d, lkey=%#x, max_inline_data=%d", bad_wr->wr_id, (unsigned long)vma_send_wr_send_flags(*bad_wr), bad_wr->sg_list[0].addr, bad_wr->sg_list[0].length, bad_wr->sg_list[0].lkey, get_max_inline_data()); @@ -587,12 +587,12 @@ inline int qp_mgr::send_to_wire(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_at } ENDIF_VERBS_FAILURE; // Clear the SINGAL request - vma_send_wr_send_flags(*p_send_wqe) = (vma_ibv_send_flags)(vma_send_wr_send_flags(*p_send_wqe) & ~VMA_IBV_SEND_SIGNALED); + vma_send_wr_send_flags(*p_send_wqe) = (ibv_send_flags)(vma_send_wr_send_flags(*p_send_wqe) & ~IBV_SEND_SIGNALED); return ret; } -int qp_mgr::send(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) +int qp_mgr::send(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { mem_buf_desc_t* p_mem_buf_desc = (mem_buf_desc_t *)p_send_wqe->wr_id; diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index b6081ceff..c95c3f25b 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -73,7 +73,7 @@ friend class cq_mgr_mp; virtual void post_recv_buffer(mem_buf_desc_t* p_mem_buf_desc); // Post for receive single mem_buf_desc void post_recv_buffers(descq_t* p_buffers, size_t count); // Post for receive a list of mem_buf_desc - int send(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); + int send(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); #ifdef DEFINED_TSO inline uint32_t get_max_inline_data() const { @@ -160,7 +160,7 @@ friend class cq_mgr_mp; cq_mgr* handle_cq_initialization(uint32_t *num_wr, struct ibv_comp_channel* comp_event_channel, bool is_rx); - virtual int send_to_wire(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp); + virtual int send_to_wire(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp); virtual bool is_completion_need() { return !m_n_unsignaled_count; }; virtual bool is_rq_empty() const { return false; } }; diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index eed177c90..e462af344 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -91,12 +91,12 @@ static bool is_bf(struct ibv_context *ib_ctx) return false; } -//! Maps vma_ibv_wr_opcode to real MLX5 opcode. +//! Maps ibv_wr_opcode to real MLX5 opcode. // -static inline uint32_t get_mlx5_opcode(vma_ibv_wr_opcode verbs_opcode) +static inline uint32_t get_mlx5_opcode(ibv_wr_opcode verbs_opcode) { switch (verbs_opcode) { - case VMA_IBV_WR_SEND: + case IBV_WR_SEND: return MLX5_OPCODE_SEND; #ifdef DEFINED_TSO case VMA_IBV_WR_TSO: @@ -436,7 +436,7 @@ inline int qp_mgr_eth_mlx5::fill_ptr_segment(sg_array &sga, struct mlx5_wqe_data //! Fill WQE dynamically, based on amount of free WQEBB in SQ #ifdef DEFINED_TSO -inline int qp_mgr_eth_mlx5::fill_wqe(vma_ibv_send_wr *pswr) +inline int qp_mgr_eth_mlx5::fill_wqe(ibv_send_wr *pswr) { // control segment is mostly filled by preset after previous packet // we always inline ETH header @@ -533,7 +533,7 @@ inline int qp_mgr_eth_mlx5::fill_wqe(vma_ibv_send_wr *pswr) // data is bigger than max to inline we inlined only ETH header + uint from IP (18 bytes) // the rest will be in data pointer segment // adding data seg with pointer if there still data to transfer - if (vma_send_wr_opcode(*pswr) == VMA_IBV_WR_SEND ) { + if (vma_send_wr_opcode(*pswr) == IBV_WR_SEND ) { uint8_t* data_addr = sga.get_data(&inline_len); // data for inlining in ETH header qp_logfunc("wqe_hot:%p num_sge: %d data_addr: %p data_len: %d max_inline_len: %d inline_len$ %d", @@ -563,7 +563,7 @@ inline int qp_mgr_eth_mlx5::fill_wqe(vma_ibv_send_wr *pswr) return 1; } #else -inline int qp_mgr_eth_mlx5::fill_wqe(vma_ibv_send_wr *pswr) +inline int qp_mgr_eth_mlx5::fill_wqe(ibv_send_wr *pswr) { // control segment is mostly filled by preset after previous packet // we always inline ETH header @@ -676,7 +676,7 @@ inline int qp_mgr_eth_mlx5::fill_wqe(vma_ibv_send_wr *pswr) #ifdef DEFINED_TSO //! Filling wqe for LSO -int qp_mgr_eth_mlx5::fill_wqe_lso(vma_ibv_send_wr* pswr) +int qp_mgr_eth_mlx5::fill_wqe_lso(ibv_send_wr* pswr) { struct mlx5_wqe_eth_seg* eth_seg = (struct mlx5_wqe_eth_seg*)((uint8_t*)m_sq_wqe_hot + sizeof(struct mlx5_wqe_ctrl_seg)); struct mlx5_wqe_data_seg* dp_seg = NULL; @@ -746,7 +746,7 @@ int qp_mgr_eth_mlx5::fill_wqe_lso(vma_ibv_send_wr* pswr) //! Send one RAW packet by MLX5 BlueFlame // #ifdef DEFINED_TSO -int qp_mgr_eth_mlx5::send_to_wire(vma_ibv_send_wr *p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp) +int qp_mgr_eth_mlx5::send_to_wire(ibv_send_wr *p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp) { struct mlx5_wqe_ctrl_seg *ctrl = NULL; struct mlx5_wqe_eth_seg *eseg = NULL; @@ -791,7 +791,7 @@ int qp_mgr_eth_mlx5::send_to_wire(vma_ibv_send_wr *p_send_wqe, vma_wr_tx_packet_ return 0; } #else -int qp_mgr_eth_mlx5::send_to_wire(vma_ibv_send_wr *p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp) +int qp_mgr_eth_mlx5::send_to_wire(ibv_send_wr *p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp) { // Set current WQE's ethernet segment checksum flags struct mlx5_wqe_eth_seg* eth_seg = (struct mlx5_wqe_eth_seg*)((uint8_t*)m_sq_wqe_hot+sizeof(struct mlx5_wqe_ctrl_seg)); @@ -854,7 +854,7 @@ void qp_mgr_eth_mlx5::trigger_completion_for_all_sent_packets() // Prepare send wr for (does not care if it is UD/IB or RAW/ETH) // UD requires AH+qkey, RAW requires minimal payload instead of MAC header. - vma_ibv_send_wr send_wr; + ibv_send_wr send_wr; memset(&send_wr, 0, sizeof(send_wr)); send_wr.wr_id = (uintptr_t)p_mem_buf_desc; @@ -862,7 +862,7 @@ void qp_mgr_eth_mlx5::trigger_completion_for_all_sent_packets() send_wr.sg_list = sge; send_wr.num_sge = 1; send_wr.next = NULL; - vma_send_wr_opcode(send_wr) = VMA_IBV_WR_SEND; + vma_send_wr_opcode(send_wr) = IBV_WR_SEND; // Close the Tx unsignaled send list set_unsignaled_count(); diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index 111062527..9d78f5c18 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -48,10 +48,10 @@ friend class cq_mgr_mlx5; virtual void dm_release_data(mem_buf_desc_t* buff) { m_dm_mgr.release_data(buff); } inline void set_signal_in_next_send_wqe(); - int send_to_wire(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp); - inline int fill_wqe(vma_ibv_send_wr* p_send_wqe); + int send_to_wire(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp); + inline int fill_wqe(ibv_send_wr* p_send_wqe); #ifdef DEFINED_TSO - int fill_wqe_lso(vma_ibv_send_wr* pswr); + int fill_wqe_lso(ibv_send_wr* pswr); inline void ring_doorbell(uint64_t* wqe, int db_method, int num_wqebb, int num_wqebb_top = 0); #else inline void ring_doorbell(uint64_t* wqe, int num_wqebb, int num_wqebb_top = 0); diff --git a/src/vma/dev/rfs.cpp b/src/vma/dev/rfs.cpp index 48588c916..054d12d76 100644 --- a/src/vma/dev/rfs.cpp +++ b/src/vma/dev/rfs.cpp @@ -248,7 +248,7 @@ bool rfs::create_ibv_flow() { for (size_t i = 0; i < m_attach_flow_data_vector.size(); i++) { attach_flow_data_t* iter = m_attach_flow_data_vector[i]; - iter->ibv_flow = vma_ibv_create_flow(iter->p_qp_mgr->get_ibv_qp(), &(iter->ibv_flow_attr)); + iter->ibv_flow = ibv_create_flow(iter->p_qp_mgr->get_ibv_qp(), &(iter->ibv_flow_attr)); if (!iter->ibv_flow) { rfs_logerr("Create of QP flow ID (tag: %d) failed with flow %s (errno=%d - %m)", m_flow_tag_id, m_flow_tuple.to_str(), errno); //TODO ALEXR - Add info about QP, spec, priority into log msg @@ -269,7 +269,7 @@ bool rfs::destroy_ibv_flow() rfs_logdbg("Destroy of QP flow ID failed - QP flow ID that was not created. This is OK for MC same ip diff port scenario."); //TODO ALEXR - Add info about QP, spec, priority into log msg } if (iter->ibv_flow) { - IF_VERBS_FAILURE_EX(vma_ibv_destroy_flow(iter->ibv_flow), EIO) { + IF_VERBS_FAILURE_EX(ibv_destroy_flow(iter->ibv_flow), EIO) { rfs_logerr("Destroy of QP flow ID failed"); //TODO ALEXR - Add info about QP, spec, priority into log msg } ENDIF_VERBS_FAILURE; } diff --git a/src/vma/dev/rfs.h b/src/vma/dev/rfs.h index adacb898a..2084509c7 100644 --- a/src/vma/dev/rfs.h +++ b/src/vma/dev/rfs.h @@ -37,16 +37,16 @@ typedef struct attach_flow_data_eth_ipv4_tcp_udp_t { qp_mgr* p_qp_mgr; struct ibv_flow_attr_eth_ipv4_tcp_udp { vma_ibv_flow_attr attr; - vma_ibv_flow_spec_eth eth; - vma_ibv_flow_spec_ipv4 ipv4; - vma_ibv_flow_spec_tcp_udp tcp_udp; + ibv_flow_spec_eth eth; + ibv_flow_spec_ipv4 ipv4; + ibv_flow_spec_tcp_udp tcp_udp; vma_ibv_flow_spec_action_tag flow_tag; // must be the last as struct can be used without it ibv_flow_attr_eth_ipv4_tcp_udp(uint8_t port) { memset(this, 0, sizeof(*this)); attr.size = sizeof(struct ibv_flow_attr_eth_ipv4_tcp_udp) - sizeof(flow_tag); attr.num_of_specs = 3; - attr.type = VMA_IBV_FLOW_ATTR_NORMAL; + attr.type = IBV_FLOW_ATTR_NORMAL; attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later attr.port = port; } @@ -67,15 +67,15 @@ typedef struct attach_flow_data_ib_v2_t { struct ibv_flow * ibv_flow; qp_mgr* p_qp_mgr; struct ibv_flow_attr_ib_v2 { - vma_ibv_flow_attr attr; - vma_ibv_flow_spec_ipv4 ipv4; - vma_ibv_flow_spec_tcp_udp tcp_udp; + vma_ibv_flow_attr attr; + ibv_flow_spec_ipv4 ipv4; + ibv_flow_spec_tcp_udp tcp_udp; ibv_flow_attr_ib_v2(uint8_t port) { memset(this, 0, sizeof(*this)); attr.size = sizeof(struct ibv_flow_attr_ib_v2); attr.num_of_specs = 2; - attr.type = VMA_IBV_FLOW_ATTR_NORMAL; + attr.type = IBV_FLOW_ATTR_NORMAL; attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later attr.port = port; } @@ -92,14 +92,14 @@ typedef struct attach_flow_data_ib_v1_t { struct ibv_flow * ibv_flow; qp_mgr* p_qp_mgr; struct ibv_flow_attr_ib_v1 { - vma_ibv_flow_attr attr; - vma_ibv_flow_spec_ib ib; + vma_ibv_flow_attr attr; + ibv_flow_spec_ib ib; ibv_flow_attr_ib_v1(uint8_t port) { memset(this, 0, sizeof(*this)); attr.size = sizeof(struct ibv_flow_attr_ib_v1); attr.num_of_specs = 1; - attr.type = VMA_IBV_FLOW_ATTR_NORMAL; + attr.type = IBV_FLOW_ATTR_NORMAL; attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later attr.port = port; } @@ -119,15 +119,15 @@ typedef struct attach_flow_data_ib_ipv4_tcp_udp_v2_t { qp_mgr* p_qp_mgr; struct ibv_flow_attr_ib_ipv4_tcp_udp_v2 { - vma_ibv_flow_attr attr; - vma_ibv_flow_spec_ipv4 ipv4; - vma_ibv_flow_spec_tcp_udp tcp_udp; + vma_ibv_flow_attr attr; + ibv_flow_spec_ipv4 ipv4; + ibv_flow_spec_tcp_udp tcp_udp; ibv_flow_attr_ib_ipv4_tcp_udp_v2(uint8_t port) { memset(this, 0, sizeof(*this)); attr.size = sizeof(struct ibv_flow_attr_ib_ipv4_tcp_udp_v2); attr.num_of_specs = 2; - attr.type = VMA_IBV_FLOW_ATTR_NORMAL; + attr.type = IBV_FLOW_ATTR_NORMAL; attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later attr.port = port; } @@ -144,16 +144,16 @@ typedef struct attach_flow_data_ib_ipv4_tcp_udp_v1_t { qp_mgr* p_qp_mgr; struct ibv_flow_attr_ib_ipv4_tcp_udp_v1 { - vma_ibv_flow_attr attr; - vma_ibv_flow_spec_ib ib; - vma_ibv_flow_spec_ipv4 ipv4; - vma_ibv_flow_spec_tcp_udp tcp_udp; + vma_ibv_flow_attr attr; + ibv_flow_spec_ib ib; + ibv_flow_spec_ipv4 ipv4; + ibv_flow_spec_tcp_udp tcp_udp; ibv_flow_attr_ib_ipv4_tcp_udp_v1(uint8_t port) { memset(this, 0, sizeof(*this)); attr.size = sizeof(struct ibv_flow_attr_ib_ipv4_tcp_udp_v1); attr.num_of_specs = 3; - attr.type = VMA_IBV_FLOW_ATTR_NORMAL; + attr.type = IBV_FLOW_ATTR_NORMAL; attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later attr.port = port; } @@ -166,9 +166,9 @@ typedef struct attach_flow_data_ib_ipv4_tcp_udp_v1_t { #endif /* DEFINED_IBV_FLOW_SPEC_IB */ typedef struct attach_flow_data_t { - vma_ibv_flow * ibv_flow; - qp_mgr* p_qp_mgr; - vma_ibv_flow_attr ibv_flow_attr; + vma_ibv_flow* ibv_flow; + qp_mgr* p_qp_mgr; + vma_ibv_flow_attr ibv_flow_attr; } attach_flow_data_t; typedef std::vector attach_flow_data_vector_t; diff --git a/src/vma/dev/rfs_uc.cpp b/src/vma/dev/rfs_uc.cpp index 708115251..eca46c54f 100644 --- a/src/vma/dev/rfs_uc.cpp +++ b/src/vma/dev/rfs_uc.cpp @@ -43,10 +43,10 @@ bool rfs_uc::prepare_flow_spec() * the ring will not be deleted as we increased refcnt. * if one of these assumptions change, we must lock. */ - attach_flow_data_t* p_attach_flow_data = NULL; - vma_ibv_flow_spec_ipv4* p_ipv4 = NULL; - vma_ibv_flow_spec_tcp_udp* p_tcp_udp = NULL; - vma_ibv_flow_spec_action_tag* p_flow_tag = NULL; + attach_flow_data_t* p_attach_flow_data = NULL; + ibv_flow_spec_ipv4* p_ipv4 = NULL; + ibv_flow_spec_tcp_udp* p_tcp_udp = NULL; + vma_ibv_flow_spec_action_tag* p_flow_tag = NULL; attach_flow_data_eth_ipv4_tcp_udp_t* attach_flow_data_eth = NULL; diff --git a/src/vma/dev/ring.h b/src/vma/dev/ring.h index aa0a511d7..9db398878 100644 --- a/src/vma/dev/ring.h +++ b/src/vma/dev/ring.h @@ -62,14 +62,14 @@ class ring // Get/Release memory buffer descriptor with a linked data memory buffer virtual mem_buf_desc_t* mem_buf_tx_get(ring_user_id_t id, bool b_block, int n_num_mem_bufs = 1) = 0; virtual int mem_buf_tx_release(mem_buf_desc_t* p_mem_buf_desc_list, bool b_accounting, bool trylock = false) = 0; - virtual void send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) = 0; - virtual void send_lwip_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) = 0; + virtual void send_ring_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) = 0; + virtual void send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) = 0; // Funcs taken from cq_mgr.h virtual int get_num_resources() const = 0; virtual int* get_rx_channel_fds(size_t &length) const { length = 1; return m_p_n_rx_channel_fds; }; virtual int get_tx_channel_fd() const { return -1; }; - virtual bool get_hw_dummy_send_support(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe) = 0; + virtual bool get_hw_dummy_send_support(ring_user_id_t id, ibv_send_wr* p_send_wqe) = 0; virtual int request_notification(cq_type_t cq_type, uint64_t poll_sn) = 0; virtual bool reclaim_recv_buffers(descq_t *rx_reuse) = 0; virtual bool reclaim_recv_buffers(mem_buf_desc_t* rx_reuse_lst) = 0; diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index 61e67fddd..dc7fe2c26 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -356,7 +356,7 @@ void ring_bond::mem_buf_desc_return_single_to_owner_tx(mem_buf_desc_t* p_mem_buf p_mem_buf_desc->p_desc_owner->mem_buf_desc_return_single_to_owner_tx(p_mem_buf_desc); } -void ring_bond::send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) +void ring_bond::send_ring_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { mem_buf_desc_t* p_mem_buf_desc = (mem_buf_desc_t*)(p_send_wqe->wr_id); @@ -375,7 +375,7 @@ void ring_bond::send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, } } -void ring_bond::send_lwip_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) +void ring_bond::send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { mem_buf_desc_t* p_mem_buf_desc = (mem_buf_desc_t*)(p_send_wqe->wr_id); @@ -393,7 +393,7 @@ void ring_bond::send_lwip_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, } } -bool ring_bond::get_hw_dummy_send_support(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe) +bool ring_bond::get_hw_dummy_send_support(ring_user_id_t id, ibv_send_wr* p_send_wqe) { mem_buf_desc_t* p_mem_buf_desc = (mem_buf_desc_t*)(p_send_wqe->wr_id); diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index 28b82522e..be33ad449 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -42,13 +42,13 @@ class ring_bond : public ring { virtual mem_buf_desc_t* mem_buf_tx_get(ring_user_id_t id, bool b_block, int n_num_mem_bufs = 1); virtual int mem_buf_tx_release(mem_buf_desc_t* p_mem_buf_desc_list, bool b_accounting, bool trylock = false); virtual void inc_tx_retransmissions_stats(ring_user_id_t id); - virtual void send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); - virtual void send_lwip_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); + virtual void send_ring_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); + virtual void send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); virtual void mem_buf_desc_return_single_to_owner_tx(mem_buf_desc_t* p_mem_buf_desc); virtual bool is_member(ring_slave* rng); virtual bool is_active_member(ring_slave* rng, ring_user_id_t id); virtual ring_user_id_t generate_id(const address_t src_mac, const address_t dst_mac, uint16_t eth_proto, uint16_t encap_proto, uint32_t src_ip, uint32_t dst_ip, uint16_t src_port, uint16_t dst_port); - virtual bool get_hw_dummy_send_support(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe); + virtual bool get_hw_dummy_send_support(ring_user_id_t id, ibv_send_wr* p_send_wqe); virtual int modify_ratelimit(struct vma_rate_limit_t &rate_limit); virtual uint32_t get_max_inline_data(); #ifdef DEFINED_TSO diff --git a/src/vma/dev/ring_eth_direct.cpp b/src/vma/dev/ring_eth_direct.cpp index a65a238cf..1aba6f2e9 100644 --- a/src/vma/dev/ring_eth_direct.cpp +++ b/src/vma/dev/ring_eth_direct.cpp @@ -77,7 +77,7 @@ int ring_eth_direct::reg_mr(void *addr, size_t length, uint32_t &lkey) it->second.second++; return 0; } - lkey = m_p_ib_ctx->mem_reg(addr, length, VMA_IBV_ACCESS_LOCAL_WRITE); + lkey = m_p_ib_ctx->mem_reg(addr, length, IBV_ACCESS_LOCAL_WRITE); if (lkey == (uint32_t)-1) { ring_logdbg("failed registering MR"); return -1; diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index e77c6078e..bc40b8d09 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -34,7 +34,7 @@ /** inlining functions can only help if they are implemented before their usage **/ /**/ -inline void ring_simple::send_status_handler(int ret, vma_ibv_send_wr* p_send_wqe) +inline void ring_simple::send_status_handler(int ret, ibv_send_wr* p_send_wqe) { BULLSEYE_EXCLUDE_BLOCK_START if (unlikely(ret)) { @@ -605,7 +605,7 @@ int ring_simple::mem_buf_tx_release(mem_buf_desc_t* p_mem_buf_desc_list, bool b_ } /* note that this function is inline, so keep it above the functions using it */ -inline int ring_simple::send_buffer(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) +inline int ring_simple::send_buffer(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { //Note: this is debatable logic as it count of WQEs waiting completion but //our SQ is cyclic buffer so in reality only last WQE is still being sent @@ -627,7 +627,7 @@ inline int ring_simple::send_buffer(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packe return ret; } -bool ring_simple::get_hw_dummy_send_support(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe) +bool ring_simple::get_hw_dummy_send_support(ring_user_id_t id, ibv_send_wr* p_send_wqe) { NOT_IN_USE(id); NOT_IN_USE(p_send_wqe); @@ -635,7 +635,7 @@ bool ring_simple::get_hw_dummy_send_support(ring_user_id_t id, vma_ibv_send_wr* return m_p_qp_mgr->get_hw_dummy_send_support(); } -void ring_simple::send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) +void ring_simple::send_ring_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { NOT_IN_USE(id); @@ -657,7 +657,7 @@ void ring_simple::send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wq send_status_handler(ret, p_send_wqe); } -void ring_simple::send_lwip_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) +void ring_simple::send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { NOT_IN_USE(id); diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index b7ffd2b1e..36b4992d7 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -51,16 +51,16 @@ class ring_simple : public ring_slave void mem_buf_desc_completion_with_error_rx(mem_buf_desc_t* p_rx_wc_buf_desc); // Assume locked... void mem_buf_desc_return_to_owner_tx(mem_buf_desc_t* p_mem_buf_desc); void mem_buf_desc_return_to_owner_rx(mem_buf_desc_t* p_mem_buf_desc, void* pv_fd_ready_array = NULL); - inline int send_buffer(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); + inline int send_buffer(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); virtual bool is_up(); void start_active_qp_mgr(); void stop_active_qp_mgr(); virtual mem_buf_desc_t* mem_buf_tx_get(ring_user_id_t id, bool b_block, int n_num_mem_bufs = 1); virtual int mem_buf_tx_release(mem_buf_desc_t* p_mem_buf_desc_list, bool b_accounting, bool trylock = false); - virtual void send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); - virtual void send_lwip_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); + virtual void send_ring_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); + virtual void send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); virtual void mem_buf_desc_return_single_to_owner_tx(mem_buf_desc_t* p_mem_buf_desc); - virtual bool get_hw_dummy_send_support(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe); + virtual bool get_hw_dummy_send_support(ring_user_id_t id, ibv_send_wr* p_send_wqe); inline void convert_hw_time_to_system_time(uint64_t hwtime, struct timespec* systime) { m_p_ib_ctx->convert_hw_time_to_system_time(hwtime, systime); } inline uint32_t get_qpn() const { return (m_p_l2_addr ? ((IPoIB_addr *)m_p_l2_addr)->get_qpn() : 0); } virtual uint32_t get_underly_qpn() { return m_p_qp_mgr->get_underly_qpn(); } @@ -161,7 +161,7 @@ class ring_simple : public ring_slave bool active; } m_socketxtreme; - inline void send_status_handler(int ret, vma_ibv_send_wr* p_send_wqe); + inline void send_status_handler(int ret, ibv_send_wr* p_send_wqe); inline mem_buf_desc_t* get_tx_buffers(uint32_t n_num_mem_bufs); inline int put_tx_buffers(mem_buf_desc_t* buff_list); inline int put_tx_single_buffer(mem_buf_desc_t* buff); diff --git a/src/vma/dev/ring_slave.h b/src/vma/dev/ring_slave.h index 6804be7ad..7ab683abd 100644 --- a/src/vma/dev/ring_slave.h +++ b/src/vma/dev/ring_slave.h @@ -77,7 +77,7 @@ typedef hash_map flow_spec_4t_map_t; struct counter_and_ibv_flows { int counter; - std::vector ibv_flows; + std::vector ibv_flows; }; // rule key based on ip and port diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index 4987499c0..ad5fee3d0 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -319,7 +319,7 @@ bool ring_tap::reclaim_recv_buffers(mem_buf_desc_t *buff) return false; } -void ring_tap::send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) +void ring_tap::send_ring_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { NOT_IN_USE(id); compute_tx_checksum((mem_buf_desc_t*)(p_send_wqe->wr_id), attr & VMA_TX_PACKET_L3_CSUM, attr & VMA_TX_PACKET_L4_CSUM); @@ -329,7 +329,7 @@ void ring_tap::send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, send_status_handler(ret, p_send_wqe); } -void ring_tap::send_lwip_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) +void ring_tap::send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { NOT_IN_USE(id); compute_tx_checksum((mem_buf_desc_t*)(p_send_wqe->wr_id), attr & VMA_TX_PACKET_L3_CSUM, attr & VMA_TX_PACKET_L4_CSUM); @@ -551,7 +551,7 @@ int ring_tap::mem_buf_tx_release(mem_buf_desc_t* buff_list, bool b_accounting, b return count; } -int ring_tap::send_buffer(vma_ibv_send_wr* wr, vma_wr_tx_packet_attr attr) +int ring_tap::send_buffer(ibv_send_wr* wr, vma_wr_tx_packet_attr attr) { int ret = 0; iovec iovec[wr->num_sge]; @@ -570,7 +570,7 @@ int ring_tap::send_buffer(vma_ibv_send_wr* wr, vma_wr_tx_packet_attr attr) return ret; } -void ring_tap::send_status_handler(int ret, vma_ibv_send_wr* p_send_wqe) +void ring_tap::send_status_handler(int ret, ibv_send_wr* p_send_wqe) { // Pay attention that there is a difference in return values in ring_simple and ring_tap // Non positive value of ret means that we are on error flow (unlike for ring_simple). diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index 7c00df454..72b722824 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -25,12 +25,12 @@ class ring_tap : public ring_slave virtual bool reclaim_recv_buffers(descq_t *rx_reuse); virtual bool reclaim_recv_buffers(mem_buf_desc_t *buff); virtual int reclaim_recv_single_buffer(mem_buf_desc_t* rx_reuse) { NOT_IN_USE(rx_reuse); return -1; } - virtual void send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); - virtual void send_lwip_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); + virtual void send_ring_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); + virtual void send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); virtual void mem_buf_desc_return_single_to_owner_tx(mem_buf_desc_t* p_mem_buf_desc); virtual mem_buf_desc_t* mem_buf_tx_get(ring_user_id_t id, bool b_block, int n_num_mem_bufs = 1); virtual int mem_buf_tx_release(mem_buf_desc_t* p_mem_buf_desc_list, bool b_accounting, bool trylock = false); - virtual bool get_hw_dummy_send_support(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe) { NOT_IN_USE(id); NOT_IN_USE(p_send_wqe); return false; } + virtual bool get_hw_dummy_send_support(ring_user_id_t id, ibv_send_wr* p_send_wqe) { NOT_IN_USE(id); NOT_IN_USE(p_send_wqe); return false; } virtual int request_notification(cq_type_t cq_type, uint64_t poll_sn) { NOT_IN_USE(cq_type); NOT_IN_USE(poll_sn); return 0; } virtual void adapt_cq_moderation() {} @@ -63,8 +63,8 @@ class ring_tap : public ring_slave int prepare_flow_message(vma_msg_flow& data, msg_flow_t flow_action); int process_element_rx(void* pv_fd_ready_array); bool request_more_rx_buffers(); - int send_buffer(vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); - void send_status_handler(int ret, vma_ibv_send_wr* p_send_wqe); + int send_buffer(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); + void send_status_handler(int ret, ibv_send_wr* p_send_wqe); void tap_create(net_device_val* p_ndev); void tap_destroy(); diff --git a/src/vma/dev/time_converter.cpp b/src/vma/dev/time_converter.cpp index 4176074f3..3eefa56fd 100644 --- a/src/vma/dev/time_converter.cpp +++ b/src/vma/dev/time_converter.cpp @@ -38,7 +38,7 @@ uint32_t time_converter::get_single_converter_status(struct ibv_context* ctx) { // Checking if ibv_exp_query_device() is valid vma_ibv_device_attr_ex device_attr; memset(&device_attr, 0, sizeof(device_attr)); - device_attr.comp_mask = VMA_IBV_DEVICE_ATTR_HCA_CORE_CLOCK; + device_attr.comp_mask = 0; if ((rval = vma_ibv_query_device(ctx ,&device_attr)) || !device_attr.hca_core_clock) { ibchtc_logdbg("time_converter::get_single_converter_status :Error in querying hca core clock " @@ -48,12 +48,12 @@ uint32_t time_converter::get_single_converter_status(struct ibv_context* ctx) { } // Checking if ibv_exp_query_values() is valid - vma_ts_values queried_values; + ibv_values_ex queried_values; memset(&queried_values, 0, sizeof(queried_values)); - queried_values.comp_mask = VMA_IBV_VALUES_MASK_RAW_CLOCK; - if ((rval = vma_ibv_query_values(ctx, &queried_values)) || !vma_get_ts_val(queried_values)) { + queried_values.comp_mask = IBV_VALUES_MASK_RAW_CLOCK; + if ((rval = ibv_query_rt_values_ex(ctx, &queried_values)) || !vma_get_ts_val(queried_values)) { ibchtc_logdbg("time_converter::get_single_converter_status :Error in querying hw clock, can't convert" - " hw time to system time (vma_ibv_query_values() return value=%d ) (ibv context %p) (errno=%d %m)\n", rval, ctx, errno); + " hw time to system time (ibv_query_rt_values_ex() return value=%d ) (ibv context %p) (errno=%d %m)\n", rval, ctx, errno); } else { dev_status |= VMA_QUERY_VALUES_SUPPORTED; } diff --git a/src/vma/dev/time_converter_ib_ctx.cpp b/src/vma/dev/time_converter_ib_ctx.cpp index 34af53662..b9254912f 100644 --- a/src/vma/dev/time_converter_ib_ctx.cpp +++ b/src/vma/dev/time_converter_ib_ctx.cpp @@ -73,15 +73,15 @@ uint64_t time_converter_ib_ctx::get_hca_core_clock(){ #ifdef DEFINED_IBV_CQ_TIMESTAMP bool time_converter_ib_ctx::sync_clocks(struct timespec* st, uint64_t* hw_clock){ struct timespec st1, st2, diff, st_min = TIMESPEC_INITIALIZER; - vma_ts_values queried_values; + ibv_values_ex queried_values; int64_t interval, best_interval = 0; uint64_t hw_clock_min = 0; memset(&queried_values, 0, sizeof(queried_values)); - queried_values.comp_mask = VMA_IBV_VALUES_MASK_RAW_CLOCK; + queried_values.comp_mask = IBV_VALUES_MASK_RAW_CLOCK; for (int i = 0 ; i < 10 ; i++) { clock_gettime(CLOCK_REALTIME, &st1); - if (vma_ibv_query_values(m_p_ibv_context, &queried_values) || !vma_get_ts_val(queried_values)) { + if (ibv_query_rt_values_ex(m_p_ibv_context, &queried_values) || !vma_get_ts_val(queried_values)) { return false; } diff --git a/src/vma/dev/time_converter_ptp.cpp b/src/vma/dev/time_converter_ptp.cpp index 0bc345e54..316799e45 100644 --- a/src/vma/dev/time_converter_ptp.cpp +++ b/src/vma/dev/time_converter_ptp.cpp @@ -34,8 +34,8 @@ time_converter_ptp::time_converter_ptp(struct ibv_context* ctx) : { for (size_t i=0; i < ARRAY_SIZE(m_clock_values); i++) { memset(&m_clock_values[i], 0, sizeof(m_clock_values[i])); - if (vma_ibv_query_clock_info(m_p_ibv_context, &m_clock_values[i])) { - ibchtc_logerr("vma_ibv_query_clock_info failure for clock_info, (ibv context %p)", m_p_ibv_context); + if (mlx5dv_get_clock_info(m_p_ibv_context, &m_clock_values[i])) { + ibchtc_logerr("mlx5dv_get_clock_info failure for clock_info, (ibv context %p)", m_p_ibv_context); } } @@ -52,15 +52,15 @@ void time_converter_ptp::handle_timer_expired(void* user_data) { } int ret = 0; - ret = vma_ibv_query_clock_info(m_p_ibv_context, &m_clock_values[1 - m_clock_values_id]); + ret = mlx5dv_get_clock_info(m_p_ibv_context, &m_clock_values[1 - m_clock_values_id]); if (ret) - ibchtc_logerr("vma_ibv_query_clock_info failure for clock_info, (ibv context %p) (return value=%d)", m_p_ibv_context, ret); + ibchtc_logerr("mlx5dv_get_clock_info failure for clock_info, (ibv context %p) (return value=%d)", m_p_ibv_context, ret); m_clock_values_id = 1 - m_clock_values_id; } void time_converter_ptp::convert_hw_time_to_system_time(uint64_t hwtime, struct timespec* systime) { - uint64_t sync_hw_clock = vma_ibv_convert_ts_to_ns(&m_clock_values[m_clock_values_id], hwtime); + uint64_t sync_hw_clock = mlx5dv_ts_to_ns(&m_clock_values[m_clock_values_id], hwtime); systime->tv_sec = sync_hw_clock / NSEC_PER_SEC; systime->tv_nsec = sync_hw_clock % NSEC_PER_SEC; diff --git a/src/vma/dev/time_converter_ptp.h b/src/vma/dev/time_converter_ptp.h index 07e45eefc..7a8a4be48 100644 --- a/src/vma/dev/time_converter_ptp.h +++ b/src/vma/dev/time_converter_ptp.h @@ -27,7 +27,7 @@ class time_converter_ptp : public time_converter private: struct ibv_context* m_p_ibv_context; - vma_ibv_clock_info m_clock_values[2]; + mlx5dv_clock_info m_clock_values[2]; int m_clock_values_id; }; diff --git a/src/vma/dev/wqe_send_handler.cpp b/src/vma/dev/wqe_send_handler.cpp index 140c8db92..6a3fdb27b 100644 --- a/src/vma/dev/wqe_send_handler.cpp +++ b/src/vma/dev/wqe_send_handler.cpp @@ -15,24 +15,24 @@ wqe_send_handler::~wqe_send_handler() { } -void wqe_send_handler::init_inline_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge) +void wqe_send_handler::init_inline_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge) { init_not_inline_wqe(wqe_to_init, sge_list, num_sge); enable_inline(wqe_to_init); } -void wqe_send_handler::init_not_inline_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge) +void wqe_send_handler::init_not_inline_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge) { init_wqe(wqe_to_init, sge_list, num_sge); enable_hw_csum(wqe_to_init); } -void wqe_send_handler::init_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge) +void wqe_send_handler::init_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge) { memset(&wqe_to_init, 0, sizeof(wqe_to_init)); wqe_to_init.num_sge = num_sge; - vma_send_wr_opcode(wqe_to_init) = VMA_IBV_WR_SEND; + vma_send_wr_opcode(wqe_to_init) = IBV_WR_SEND; wqe_to_init.next = NULL; wqe_to_init.sg_list = sge_list; wqe_to_init.wr_id = 0; diff --git a/src/vma/dev/wqe_send_handler.h b/src/vma/dev/wqe_send_handler.h index 833500b68..f43e2b42d 100644 --- a/src/vma/dev/wqe_send_handler.h +++ b/src/vma/dev/wqe_send_handler.h @@ -16,26 +16,26 @@ class wqe_send_handler: public tostr wqe_send_handler(); virtual ~wqe_send_handler(); - void init_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge); - void init_inline_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge); - void init_not_inline_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge); + void init_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge); + void init_inline_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge); + void init_not_inline_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge); - inline vma_ibv_wr_opcode set_opcode(vma_ibv_send_wr &wqe, vma_ibv_wr_opcode opcode) { - vma_ibv_wr_opcode last_opcode = vma_send_wr_opcode(wqe); + inline ibv_wr_opcode set_opcode(ibv_send_wr &wqe, ibv_wr_opcode opcode) { + ibv_wr_opcode last_opcode = vma_send_wr_opcode(wqe); vma_send_wr_opcode(wqe) = opcode; return last_opcode; } #ifndef DEFINED_SW_CSUM - inline void enable_hw_csum (vma_ibv_send_wr &send_wqe) { vma_send_wr_send_flags(send_wqe) |= VMA_IBV_SEND_IP_CSUM; } - inline void disable_hw_csum (vma_ibv_send_wr &send_wqe) { vma_send_wr_send_flags(send_wqe) &= ~VMA_IBV_SEND_IP_CSUM; } + inline void enable_hw_csum (ibv_send_wr &send_wqe) { vma_send_wr_send_flags(send_wqe) |= IBV_SEND_IP_CSUM; } + inline void disable_hw_csum (ibv_send_wr &send_wqe) { vma_send_wr_send_flags(send_wqe) &= ~IBV_SEND_IP_CSUM; } #else - inline void enable_hw_csum (vma_ibv_send_wr &) {} - inline void disable_hw_csum (vma_ibv_send_wr &) {} + inline void enable_hw_csum (ibv_send_wr &) {} + inline void disable_hw_csum (ibv_send_wr &) {} #endif #ifdef DEFINED_TSO - inline void enable_tso(vma_ibv_send_wr &wr, void *hdr, uint16_t hdr_sz, uint16_t mss) { + inline void enable_tso(ibv_send_wr &wr, void *hdr, uint16_t hdr_sz, uint16_t mss) { vma_send_wr_opcode(wr) = VMA_IBV_WR_TSO; wr.tso.hdr = hdr; wr.tso.hdr_sz = hdr_sz; @@ -43,7 +43,7 @@ class wqe_send_handler: public tostr } #endif /* DEFINED_TSO */ - inline void enable_inline (vma_ibv_send_wr &send_wqe) { vma_send_wr_send_flags(send_wqe) |= VMA_IBV_SEND_INLINE; } + inline void enable_inline (ibv_send_wr &send_wqe) { vma_send_wr_send_flags(send_wqe) |= IBV_SEND_INLINE; } }; #endif /* IB_WQE_TEMPLATE_H */ diff --git a/src/vma/dev/wqe_send_ib_handler.cpp b/src/vma/dev/wqe_send_ib_handler.cpp index bf9425f47..925e90b23 100644 --- a/src/vma/dev/wqe_send_ib_handler.cpp +++ b/src/vma/dev/wqe_send_ib_handler.cpp @@ -14,28 +14,28 @@ wqe_send_ib_handler::~wqe_send_ib_handler() { } -void wqe_send_ib_handler::init_path_record(vma_ibv_send_wr &wqe_to_init, struct ibv_ah *ah, uint32_t rem_qkey, uint32_t rem_qpn) +void wqe_send_ib_handler::init_path_record(ibv_send_wr &wqe_to_init, struct ibv_ah *ah, uint32_t rem_qkey, uint32_t rem_qpn) { wqe_to_init.wr.ud.ah = ah; wqe_to_init.wr.ud.remote_qkey = rem_qkey; wqe_to_init.wr.ud.remote_qpn = rem_qpn; } -void wqe_send_ib_handler::init_ib_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, +void wqe_send_ib_handler::init_ib_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey) { wqe_send_handler::init_wqe(wqe_to_init, sge_list, num_sge); init_path_record(wqe_to_init, ah, rem_qkey, rem_qpn); } -void wqe_send_ib_handler::init_inline_ib_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, +void wqe_send_ib_handler::init_inline_ib_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey) { wqe_send_handler::init_inline_wqe(wqe_to_init, sge_list, num_sge); init_path_record(wqe_to_init, ah, rem_qkey, rem_qpn); } -void wqe_send_ib_handler::init_not_inline_ib_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, +void wqe_send_ib_handler::init_not_inline_ib_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey) { wqe_send_handler::init_not_inline_wqe(wqe_to_init, sge_list, num_sge); diff --git a/src/vma/dev/wqe_send_ib_handler.h b/src/vma/dev/wqe_send_ib_handler.h index f599b7bd8..34fbfd024 100644 --- a/src/vma/dev/wqe_send_ib_handler.h +++ b/src/vma/dev/wqe_send_ib_handler.h @@ -16,12 +16,12 @@ class wqe_send_ib_handler: public wqe_send_handler wqe_send_ib_handler(); virtual ~wqe_send_ib_handler(); - void init_ib_wqe(vma_ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey); - void init_inline_ib_wqe(vma_ibv_send_wr & wqe_to_init, struct ibv_sge *sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey); - void init_not_inline_ib_wqe(vma_ibv_send_wr & wqe_to_init, struct ibv_sge *sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey); + void init_ib_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey); + void init_inline_ib_wqe(ibv_send_wr & wqe_to_init, struct ibv_sge *sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey); + void init_not_inline_ib_wqe(ibv_send_wr & wqe_to_init, struct ibv_sge *sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey); private: - void init_path_record(vma_ibv_send_wr & wqe_to_init, struct ibv_ah *ah, uint32_t rem_qkey, uint32_t rem_qpn); + void init_path_record(ibv_send_wr & wqe_to_init, struct ibv_ah *ah, uint32_t rem_qkey, uint32_t rem_qpn); }; #endif /* WQE_TEMPLATE_SEND_IB_H_ */ diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index 20f6adc75..9082009ad 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -797,7 +797,7 @@ void event_handler_manager::process_rdma_cm_event(event_handler_map_t::iterator // Ack rdma_cm event (free) rdma_ack_cm_event(p_tmp_cm_event); - evh_logdbg("[%d] Received rdma_cm event %s (%d)", cma_channel->fd, priv_rdma_cm_event_type_str(cma_event.event), cma_event.event); + evh_logdbg("[%d] Received rdma_cm event %s (%d)", cma_channel->fd, rdma_event_str(cma_event.event), cma_event.event); void* cma_id = (void*)cma_event.id; if (cma_event.listen_id) // we assume that cma_listen_id != NULL in case of connect request @@ -819,7 +819,7 @@ void event_handler_manager::process_rdma_cm_event(event_handler_map_t::iterator } } - evh_logdbg("[%d] Completed rdma_cm event %s (%d)", cma_channel->fd, priv_rdma_cm_event_type_str(cma_event.event), cma_event.event); + evh_logdbg("[%d] Completed rdma_cm event %s (%d)", cma_channel->fd, rdma_event_str(cma_event.event), cma_event.event); } diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index 29095fdc0..8cba4546a 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -95,11 +95,11 @@ int priv_ibv_find_pkey_index(struct ibv_context *verbs, uint8_t port_num, uint16 int priv_ibv_modify_qp_to_err(struct ibv_qp *qp) { - vma_ibv_qp_attr qp_attr; + ibv_qp_attr qp_attr; memset(&qp_attr, 0, sizeof(qp_attr)); qp_attr.qp_state = IBV_QPS_ERR; BULLSEYE_EXCLUDE_BLOCK_START - IF_VERBS_FAILURE_EX(vma_ibv_modify_qp(qp, &qp_attr, IBV_QP_STATE), EIO) { + IF_VERBS_FAILURE_EX(ibv_modify_qp(qp, &qp_attr, IBV_QP_STATE), EIO) { return -1; } ENDIF_VERBS_FAILURE; BULLSEYE_EXCLUDE_BLOCK_END @@ -109,11 +109,11 @@ int priv_ibv_modify_qp_to_err(struct ibv_qp *qp) int priv_ibv_modify_qp_to_reset(struct ibv_qp *qp) { - vma_ibv_qp_attr qp_attr; + ibv_qp_attr qp_attr; memset(&qp_attr, 0, sizeof(qp_attr)); qp_attr.qp_state = IBV_QPS_RESET; BULLSEYE_EXCLUDE_BLOCK_START - IF_VERBS_FAILURE(vma_ibv_modify_qp(qp, &qp_attr, IBV_QP_STATE)) { + IF_VERBS_FAILURE(ibv_modify_qp(qp, &qp_attr, IBV_QP_STATE)) { return -1; } ENDIF_VERBS_FAILURE; BULLSEYE_EXCLUDE_BLOCK_END @@ -122,7 +122,7 @@ int priv_ibv_modify_qp_to_reset(struct ibv_qp *qp) int priv_ibv_modify_qp_from_err_to_init_raw(struct ibv_qp *qp, uint8_t port_num) { - vma_ibv_qp_attr qp_attr; + ibv_qp_attr qp_attr; if (qp->qp_type != IBV_QPT_RAW_PACKET) return -1; @@ -137,7 +137,7 @@ int priv_ibv_modify_qp_from_err_to_init_raw(struct ibv_qp *qp, uint8_t port_num) qp_attr.qp_state = IBV_QPS_INIT; qp_attr.port_num = port_num; BULLSEYE_EXCLUDE_BLOCK_START - IF_VERBS_FAILURE(vma_ibv_modify_qp(qp, &qp_attr, (ibv_qp_attr_mask)(IBV_QP_STATE | IBV_QP_PORT))) { + IF_VERBS_FAILURE(ibv_modify_qp(qp, &qp_attr, (ibv_qp_attr_mask)(IBV_QP_STATE | IBV_QP_PORT))) { return -3; } ENDIF_VERBS_FAILURE; BULLSEYE_EXCLUDE_BLOCK_END @@ -147,7 +147,7 @@ int priv_ibv_modify_qp_from_err_to_init_raw(struct ibv_qp *qp, uint8_t port_num) int priv_ibv_modify_qp_from_err_to_init_ud(struct ibv_qp *qp, uint8_t port_num, uint16_t pkey_index, uint32_t underly_qpn) { - vma_ibv_qp_attr qp_attr; + ibv_qp_attr qp_attr; ibv_qp_attr_mask qp_attr_mask = (ibv_qp_attr_mask)IBV_QP_STATE; if (qp->qp_type != IBV_QPT_UD) @@ -169,7 +169,7 @@ int priv_ibv_modify_qp_from_err_to_init_ud(struct ibv_qp *qp, uint8_t port_num, } BULLSEYE_EXCLUDE_BLOCK_START - IF_VERBS_FAILURE(vma_ibv_modify_qp(qp, &qp_attr, qp_attr_mask)) { + IF_VERBS_FAILURE(ibv_modify_qp(qp, &qp_attr, qp_attr_mask)) { return -3; } ENDIF_VERBS_FAILURE; BULLSEYE_EXCLUDE_BLOCK_END @@ -179,7 +179,7 @@ int priv_ibv_modify_qp_from_err_to_init_ud(struct ibv_qp *qp, uint8_t port_num, int priv_ibv_modify_qp_from_init_to_rts(struct ibv_qp *qp, uint32_t underly_qpn) { - vma_ibv_qp_attr qp_attr; + ibv_qp_attr qp_attr; ibv_qp_attr_mask qp_attr_mask = (ibv_qp_attr_mask)IBV_QP_STATE; if (priv_ibv_query_qp_state(qp) != IBV_QPS_INIT) { @@ -189,7 +189,7 @@ int priv_ibv_modify_qp_from_init_to_rts(struct ibv_qp *qp, uint32_t underly_qpn) memset(&qp_attr, 0, sizeof(qp_attr)); qp_attr.qp_state = IBV_QPS_RTR; BULLSEYE_EXCLUDE_BLOCK_START - IF_VERBS_FAILURE(vma_ibv_modify_qp(qp, &qp_attr, qp_attr_mask)) { + IF_VERBS_FAILURE(ibv_modify_qp(qp, &qp_attr, qp_attr_mask)) { return -2; } ENDIF_VERBS_FAILURE; BULLSEYE_EXCLUDE_BLOCK_END @@ -202,7 +202,7 @@ int priv_ibv_modify_qp_from_init_to_rts(struct ibv_qp *qp, uint32_t underly_qpn) } BULLSEYE_EXCLUDE_BLOCK_START - IF_VERBS_FAILURE(vma_ibv_modify_qp(qp, &qp_attr, qp_attr_mask)) { + IF_VERBS_FAILURE(ibv_modify_qp(qp, &qp_attr, qp_attr_mask)) { return -3; } ENDIF_VERBS_FAILURE; BULLSEYE_EXCLUDE_BLOCK_END @@ -254,10 +254,10 @@ int priv_ibv_query_flow_tag_supported(struct ibv_qp *qp, uint8_t port_num) // Create struct { - vma_ibv_flow_attr attr; - vma_ibv_flow_spec_eth eth; - vma_ibv_flow_spec_ipv4 ipv4; - vma_ibv_flow_spec_tcp_udp tcp_udp; + ibv_flow_attr attr; + ibv_flow_spec_eth eth; + ibv_flow_spec_ipv4 ipv4; + ibv_flow_spec_tcp_udp tcp_udp; vma_ibv_flow_spec_action_tag flow_tag; } ft_attr; @@ -265,7 +265,7 @@ int priv_ibv_query_flow_tag_supported(struct ibv_qp *qp, uint8_t port_num) memset(&ft_attr, 0, sizeof(ft_attr)); ft_attr.attr.size = sizeof(ft_attr); ft_attr.attr.num_of_specs = 4; - ft_attr.attr.type = VMA_IBV_FLOW_ATTR_NORMAL; + ft_attr.attr.type = IBV_FLOW_ATTR_NORMAL; ft_attr.attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later ft_attr.attr.port = port_num; @@ -282,10 +282,10 @@ int priv_ibv_query_flow_tag_supported(struct ibv_qp *qp, uint8_t port_num) ibv_flow_spec_flow_tag_set(&ft_attr.flow_tag, FLOW_TAG_MASK-1); // enable flow tag // Create flow - vma_ibv_flow *ibv_flow = vma_ibv_create_flow(qp, &ft_attr.attr); + ibv_flow *ibv_flow = ibv_create_flow(qp, &ft_attr.attr); if (ibv_flow) { res = 0; - vma_ibv_destroy_flow(ibv_flow); + ibv_destroy_flow(ibv_flow); } #endif // DEFINED_IBV_FLOW_TAG @@ -297,16 +297,16 @@ int priv_ibv_create_flow_supported(struct ibv_qp *qp, uint8_t port_num) int res = -1; struct { - vma_ibv_flow_attr attr; - vma_ibv_flow_spec_ipv4 ipv4; - vma_ibv_flow_spec_tcp_udp tcp_udp; + ibv_flow_attr attr; + ibv_flow_spec_ipv4 ipv4; + ibv_flow_spec_tcp_udp tcp_udp; } cf_attr; // Initialize memset(&cf_attr, 0, sizeof(cf_attr)); cf_attr.attr.size = sizeof(cf_attr); cf_attr.attr.num_of_specs = 2; - cf_attr.attr.type = VMA_IBV_FLOW_ATTR_NORMAL; + cf_attr.attr.type = IBV_FLOW_ATTR_NORMAL; cf_attr.attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later cf_attr.attr.port = port_num; @@ -314,10 +314,10 @@ int priv_ibv_create_flow_supported(struct ibv_qp *qp, uint8_t port_num) ibv_flow_spec_tcp_udp_set(&cf_attr.tcp_udp, true, 0, 0); // L4 filter // Create flow - vma_ibv_flow *ibv_flow = vma_ibv_create_flow(qp, &cf_attr.attr); + ibv_flow *ibv_flow = ibv_create_flow(qp, &cf_attr.attr); if (ibv_flow) { res = 0; - vma_ibv_destroy_flow(ibv_flow); + ibv_destroy_flow(ibv_flow); } return res; @@ -349,7 +349,7 @@ int priv_ibv_modify_qp_ratelimit(struct ibv_qp *qp, struct vma_rate_limit_t &rat if (rate_limit.rate && (rl_changes & RL_RATE)) { qp_attr.rate_limit = rate_limit.rate; - attr_mask |= VMA_IBV_QP_RATE_LIMIT; + attr_mask |= IBV_QP_RATE_LIMIT; } #ifdef DEFINED_IBV_QP_SUPPORT_BURST if (rate_limit.max_burst_sz && rate_limit.typical_pkt_sz && (rl_changes & (RL_BURST_SIZE | RL_PKT_SIZE))) { @@ -381,15 +381,15 @@ int priv_ibv_modify_qp_ratelimit(struct ibv_qp *qp, struct vma_rate_limit_t &rat void priv_ibv_modify_cq_moderation(struct ibv_cq* cq, uint32_t period, uint32_t count) { #ifdef DEFINED_IBV_CQ_ATTR_MODERATE - vma_ibv_cq_attr cq_attr; + ibv_modify_cq_attr cq_attr; memset(&cq_attr, 0, sizeof(cq_attr)); - vma_cq_attr_mask(cq_attr) = VMA_IBV_CQ_MODERATION; + vma_cq_attr_mask(cq_attr) = IBV_CQ_ATTR_MODERATE; vma_cq_attr_moderation(cq_attr).cq_count = count; vma_cq_attr_moderation(cq_attr).cq_period = period; vlog_printf(VLOG_FUNC, "modify cq moderation, period=%d, count=%d\n", period, count); - IF_VERBS_FAILURE_EX(vma_ibv_modify_cq(cq, &cq_attr, VMA_IBV_CQ_MODERATION), EIO) { + IF_VERBS_FAILURE_EX(ibv_modify_cq(cq, &cq_attr), EIO) { vlog_printf(VLOG_DEBUG, "Failure modifying cq moderation (errno=%d %m)\n", errno); } ENDIF_VERBS_FAILURE; #else diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index a3d0022f1..01188f305 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -17,12 +17,6 @@ #include #include "vma/ib/mlx5/ib_mlx5.h" -#ifndef DEFINED_IBV_WC_WITH_VLAN -//#warning probaly you are trying to compile on OFED which doesnt support VLAN for RAW QP. -//#error when you see this then you need to manually open the below comment and to comment the current and the previous lines. -//#define IBV_WC_WITH_VLAN 1 << 3 -#endif - // Wrapper for all IBVERBS & RDMA_CM API to normalize the return code and errno value // With these marco all ibverbs & rdma_cm failures are caugth and errno is updated // Without this marco ibverbs & rdma_cm returns sometimes with -1 and sometimes with -errno @@ -48,9 +42,6 @@ const char* priv_ibv_wc_status_str(enum ibv_wc_status status); // See - IB Arch Spec - 11.6.3 ASYNCHRONOUS EVENTS const char* priv_ibv_event_desc_str(enum ibv_event_type type); -#define priv_rdma_cm_event_type_str(__rdma_cm_ev_t__) \ - rdma_event_str(__rdma_cm_ev_t__) - // Find pkey_index from the ibv_context + port_num + pkey int priv_ibv_find_pkey_index(struct ibv_context *verbs, uint8_t port_num, uint16_t pkey, uint16_t *pkey_index); @@ -87,8 +78,6 @@ int priv_ibv_query_burst_supported(struct ibv_qp *qp, uint8_t port_num); typedef struct ibv_qp_init_attr_ex vma_ibv_qp_init_attr; #define vma_ibv_qp_create_flags(attr) (attr).create_flags #define vma_ibv_qp_source_qpn(attr) (attr).source_qpn -#define VMA_IBV_QP_INIT_QPN_CREATE_FLAGS IBV_QP_CREATE_SOURCE_QPN -#define VMA_IBV_QP_INIT_QPN_MASK IBV_QP_INIT_ATTR_CREATE_FLAGS #define vma_ibv_qp_init_attr_comp_mask(_pd, _attr) { (_attr).pd = _pd; (_attr).comp_mask |= IBV_QP_INIT_ATTR_PD; } #else #define vma_ibv_create_qp(pd, attr) ibv_create_qp(pd, attr) @@ -97,28 +86,20 @@ typedef struct ibv_qp_init_attr vma_ibv_qp_init_attr; #endif //ibv_query_device -#define vma_ibv_device_attr_comp_mask(attr) NOT_IN_USE(attr) -typedef struct ibv_device_attr vma_ibv_device_attr; - #ifdef DEFINED_IBV_DEVICE_ATTR_EX #define vma_ibv_query_device(context, attr) ibv_query_device_ex(context, NULL, attr) typedef struct ibv_device_attr_ex vma_ibv_device_attr_ex; #define vma_get_device_orig_attr(device_attr) &device_attr->orig_attr #else #define vma_ibv_query_device(context, attr) ibv_query_device(context, attr) -typedef vma_ibv_device_attr vma_ibv_device_attr_ex; +typedef ibv_device_attr vma_ibv_device_attr_ex; #define vma_get_device_orig_attr(device_attr) device_attr #endif -//ibv_modify_qp -#define vma_ibv_modify_qp(qp, attr, mask) ibv_modify_qp(qp, attr, mask) -typedef struct ibv_qp_attr vma_ibv_qp_attr; //ibv_poll_cq -#define vma_ibv_poll_cq(cq, num, wc) ibv_poll_cq(cq, num, wc) -typedef struct ibv_wc vma_ibv_wc; #define vma_wc_flags(wc) (wc).wc_flags #define vma_wc_opcode(wc) (wc).opcode -#define VMA_IBV_WC_RECV IBV_WC_RECV + //csum offload #ifdef DEFINED_IBV_DEVICE_RAW_IP_CSUM #define vma_is_rx_hw_csum_supported(attr) ((attr)->device_cap_flags & (IBV_DEVICE_RAW_IP_CSUM | IBV_DEVICE_UD_IP_CSUM)) @@ -128,38 +109,20 @@ typedef struct ibv_wc vma_ibv_wc; #define vma_wc_rx_hw_csum_ok(wc) (1) #endif -typedef int vma_ibv_cq_init_attr; -#define vma_ibv_create_cq(context, cqe, cq_context, channel, comp_vector, attr) ibv_create_cq(context, cqe, cq_context, channel, comp_vector) - -//rx hw timestamp -#define VMA_IBV_WC_WITH_TIMESTAMP 0 -#define vma_wc_timestamp(wc) 0 -#define vma_ibv_cq_init_ts_attr(attr) { NOT_IN_USE(attr); } - #ifdef DEFINED_IBV_CQ_TIMESTAMP -#define VMA_IBV_DEVICE_ATTR_HCA_CORE_CLOCK 0 -#define VMA_IBV_VALUES_MASK_RAW_CLOCK IBV_VALUES_MASK_RAW_CLOCK -#define vma_ibv_query_values(ctx, values) ibv_query_rt_values_ex(ctx, values) #define vma_get_ts_val(values) values.raw_clock.tv_nsec -typedef struct ibv_values_ex vma_ts_values; #endif //ibv_post_send -#define VMA_IBV_SEND_SIGNALED IBV_SEND_SIGNALED -#define VMA_IBV_SEND_INLINE IBV_SEND_INLINE -#ifdef DEFINED_IBV_SEND_IP_CSUM - #define VMA_IBV_SEND_IP_CSUM (IBV_SEND_IP_CSUM) -#else +#ifndef DEFINED_IBV_SEND_IP_CSUM #define DEFINED_SW_CSUM #endif -#define vma_ibv_send_flags ibv_send_flags + #define vma_send_wr_send_flags(wr) (wr).send_flags -#define VMA_IBV_WR_SEND IBV_WR_SEND -#define vma_ibv_wr_opcode ibv_wr_opcode #define vma_send_wr_opcode(wr) (wr).opcode #ifdef DEFINED_TSO - #define VMA_IBV_WR_TSO (vma_ibv_wr_opcode)IBV_WR_TSO + #define VMA_IBV_WR_TSO (ibv_wr_opcode)IBV_WR_TSO #define vma_check_dev_attr_tso(_attr) 1 #define vma_get_tso_caps(_attr) (((vma_ibv_device_attr_ex *)(_attr))->tso_caps) #define vma_ibv_qp_init_attr_tso(_attr, _max_tso_header) \ @@ -169,7 +132,7 @@ typedef struct ibv_values_ex vma_ts_values; } while (0) typedef struct ibv_tso_caps vma_ibv_tso_caps; #else - #define VMA_IBV_WR_TSO (vma_ibv_wr_opcode)VMA_IBV_WR_SEND + #define VMA_IBV_WR_TSO (ibv_wr_opcode)IBV_WR_SEND #define vma_check_dev_attr_tso(_attr) 0 #define vma_ibv_qp_init_attr_tso(_attr, _max_tso_header) ((void)0) #endif /* DEFINED_TSO */ @@ -177,41 +140,17 @@ typedef struct ibv_values_ex vma_ts_values; // Dummy send #ifdef DEFINED_IBV_WR_NOP #define vma_is_nop_supported(device_attr) 1 -#define VMA_IBV_WR_NOP (vma_ibv_wr_opcode)MLX5_OPCODE_NOP +#define VMA_IBV_WR_NOP (ibv_wr_opcode)MLX5_OPCODE_NOP #else #define vma_is_nop_supported(device_attr) 0 -#define VMA_IBV_WR_NOP (vma_ibv_wr_opcode)(0) // Use 0 as "default" opcode when NOP is not defined. +#define VMA_IBV_WR_NOP (ibv_wr_opcode)(0) // Use 0 as "default" opcode when NOP is not defined. #endif -#define vma_ibv_post_send(qp, wr, bad_wr) ibv_post_send(qp, wr, bad_wr) -typedef struct ibv_send_wr vma_ibv_send_wr; -//ibv_reg_mr -#define VMA_IBV_ACCESS_LOCAL_WRITE IBV_ACCESS_LOCAL_WRITE -#ifdef DEFINED_IBV_ACCESS_ALLOCATE_MR -#define VMA_IBV_ACCESS_ALLOCATE_MR IBV_ACCESS_ALLOCATE_MR -#endif -//flow steering -#define VMA_IBV_FLOW_ATTR_NORMAL IBV_FLOW_ATTR_NORMAL -#define VMA_IBV_FLOW_ATTR_FLAGS_ALLOW_LOOP_BACK IBV_FLOW_ATTR_FLAGS_ALLOW_LOOP_BACK -#ifdef DEFINED_IBV_FLOW_SPEC_IB -#define VMA_IBV_FLOW_SPEC_IB IBV_FLOW_SPEC_IB -#endif -#define VMA_IBV_FLOW_SPEC_ETH IBV_FLOW_SPEC_ETH -#define VMA_IBV_FLOW_SPEC_IPV4 IBV_FLOW_SPEC_IPV4 -#define VMA_IBV_FLOW_SPEC_TCP IBV_FLOW_SPEC_TCP -#define VMA_IBV_FLOW_SPEC_UDP IBV_FLOW_SPEC_UDP -#define vma_ibv_create_flow(qp, flow) ibv_create_flow(qp, flow) -#define vma_ibv_destroy_flow(flow_id) ibv_destroy_flow(flow_id) -typedef struct ibv_flow vma_ibv_flow; -typedef struct ibv_flow_attr vma_ibv_flow_attr; -typedef struct ibv_flow_spec_ib vma_ibv_flow_spec_ib; -typedef struct ibv_flow_spec_eth vma_ibv_flow_spec_eth; -typedef struct ibv_flow_spec_ipv4 vma_ibv_flow_spec_ipv4; -typedef struct ibv_flow_spec_tcp_udp vma_ibv_flow_spec_tcp_udp; +typedef struct ibv_flow vma_ibv_flow; +typedef struct ibv_flow_attr vma_ibv_flow_attr; // Flow tag #ifdef DEFINED_IBV_FLOW_TAG -#define VMA_IBV_FLOW_SPEC_ACTION_TAG IBV_FLOW_SPEC_ACTION_TAG typedef struct ibv_flow_spec_action_tag vma_ibv_flow_spec_action_tag; #define vma_get_flow_tag(cqe) ntohl((uint32_t)(cqe->sop_drop_qpn)) #else @@ -220,30 +159,16 @@ typedef struct ibv_flow_spec_action_tag_dummy {} vma_ibv_flow_spec_action_tag; #endif // DEFINED_IBV_FLOW_TAG #ifdef DEFINED_IBV_CQ_ATTR_MODERATE -typedef struct ibv_modify_cq_attr vma_ibv_cq_attr; -#define vma_ibv_modify_cq(cq, cq_attr, mask) ibv_modify_cq(cq, cq_attr) #define vma_cq_attr_mask(cq_attr) (cq_attr).attr_mask #define vma_cq_attr_moderation(cq_attr) (cq_attr).moderate -#define VMA_IBV_CQ_MODERATION IBV_CQ_ATTR_MODERATE #endif -// Clock info -#ifdef DEFINED_IBV_CLOCK_INFO -typedef struct mlx5dv_clock_info vma_ibv_clock_info; -#define vma_ibv_query_clock_info(ctx, clock_info) mlx5dv_get_clock_info(ctx, clock_info) -#define vma_ibv_convert_ts_to_ns(clock_info, hw_ts) mlx5dv_ts_to_ns(clock_info, hw_ts) -#endif //DEFINED_IBV_CLOCK_INFO - // ibv_dm #ifdef DEFINED_IBV_DM -#define vma_ibv_alloc_dm(ctx, attr) ibv_alloc_dm(ctx, attr) -#define vma_ibv_free_dm(dm) ibv_free_dm(dm) #define vma_ibv_reg_dm_mr(mr) ibv_reg_dm_mr((mr)->pd, (mr)->dm, 0, (mr)->length, IBV_ACCESS_LOCAL_WRITE | IBV_ACCESS_ZERO_BASED) #define vma_ibv_memcpy_dm(dm, attr) ibv_memcpy_to_dm(dm, (attr)->dm_offset, (attr)->host_addr, (attr)->length) #define vma_ibv_init_memcpy_dm(attr, src, head, size) { attr.host_addr = src; attr.dm_offset = head; attr.length = size; } #define vma_ibv_init_dm_mr(in_mr, ctx_pd, size, allocated_dm) { in_mr.pd = ctx_pd; in_mr.length = size; in_mr.dm = allocated_dm; } -typedef struct ibv_alloc_dm_attr vma_ibv_alloc_dm_attr; -typedef struct ibv_dm vma_ibv_dm; typedef struct { void * host_addr; uint64_t dm_offset; @@ -251,13 +176,12 @@ typedef struct { } vma_ibv_memcpy_dm_attr; typedef struct { struct ibv_pd *pd; - size_t length; - vma_ibv_dm *dm; + size_t length; + ibv_dm *dm; } vma_ibv_reg_mr_in; #endif #ifdef DEFINED_IBV_PACKET_PACING_CAPS -#define VMA_IBV_QP_RATE_LIMIT IBV_QP_RATE_LIMIT #define vma_is_pacing_caps_supported(attr) (attr->packet_pacing_caps.qp_rate_limit_min) #ifdef DEFINED_IBV_QP_SUPPORT_BURST @@ -266,8 +190,8 @@ typedef struct ibv_qp_rate_limit_attr vma_ibv_rate_limit_attr; #define vma_ibv_modify_qp_rate_limit(qp, attr, mask) ibv_modify_qp_rate_limit(qp, attr) #define vma_ibv_init_qps_attr(qp_attr) { NOT_IN_USE(qp_attr); } #else -typedef vma_ibv_qp_attr vma_ibv_rate_limit_attr; -#define vma_ibv_modify_qp_rate_limit(qp, attr, mask) vma_ibv_modify_qp(qp, attr, mask) +typedef ibv_qp_attr vma_ibv_rate_limit_attr; +#define vma_ibv_modify_qp_rate_limit(qp, attr, mask) ibv_modify_qp(qp, attr, mask) #define vma_ibv_init_qps_attr(qp_attr) { qp_attr.qp_state = IBV_QPS_RTS; } #endif // DEFINED_IBV_QP_SUPPORT_BURST @@ -280,8 +204,6 @@ typedef vma_ibv_qp_attr vma_ibv_rate_limit_attr; #define vma_ibv_dm_size(attr) (0) #endif -#define vma_ibv_get_device_list(num) ibv_get_device_list(num) - typedef enum { RL_RATE = 1<<0, RL_BURST_SIZE = 1<<1, @@ -291,10 +213,10 @@ typedef enum { int vma_rdma_lib_reset(); #ifdef DEFINED_IBV_FLOW_SPEC_IB -static inline void ibv_flow_spec_ib_set_by_dst_gid(vma_ibv_flow_spec_ib* ib, uint8_t* dst_gid) +static inline void ibv_flow_spec_ib_set_by_dst_gid(ibv_flow_spec_ib* ib, uint8_t* dst_gid) { - ib->type = VMA_IBV_FLOW_SPEC_IB; - ib->size = sizeof(vma_ibv_flow_spec_ib); + ib->type = IBV_FLOW_SPEC_IB; + ib->size = sizeof(ibv_flow_spec_ib); if (dst_gid) { memcpy(ib->val.dst_gid, dst_gid, 16); @@ -302,19 +224,19 @@ static inline void ibv_flow_spec_ib_set_by_dst_gid(vma_ibv_flow_spec_ib* ib, uin } } -static inline void ibv_flow_spec_ib_set_by_dst_qpn(vma_ibv_flow_spec_ib* ib, uint32_t dst_qpn) +static inline void ibv_flow_spec_ib_set_by_dst_qpn(ibv_flow_spec_ib* ib, uint32_t dst_qpn) { - ib->type = VMA_IBV_FLOW_SPEC_IB; - ib->size = sizeof(vma_ibv_flow_spec_ib); + ib->type = IBV_FLOW_SPEC_IB; + ib->size = sizeof(ibv_flow_spec_ib); ib->val.qpn = dst_qpn; ib->mask.qpn = FS_MASK_ON_32; } #endif -static inline void ibv_flow_spec_eth_set(vma_ibv_flow_spec_eth* eth, uint8_t* dst_mac, uint16_t vlan_tag) +static inline void ibv_flow_spec_eth_set(ibv_flow_spec_eth* eth, uint8_t* dst_mac, uint16_t vlan_tag) { - eth->type = VMA_IBV_FLOW_SPEC_ETH; - eth->size = sizeof(vma_ibv_flow_spec_eth); + eth->type = IBV_FLOW_SPEC_ETH; + eth->size = sizeof(ibv_flow_spec_eth); eth->val.ether_type = ntohs(ETH_P_IP); eth->mask.ether_type = FS_MASK_ON_16; memcpy(eth->val.dst_mac, dst_mac, ETH_ALEN); @@ -323,20 +245,20 @@ static inline void ibv_flow_spec_eth_set(vma_ibv_flow_spec_eth* eth, uint8_t* ds eth->mask.vlan_tag = eth->val.vlan_tag ? htons(VLAN_VID_MASK) : 0; //we do not support vlan options } -static inline void ibv_flow_spec_ipv4_set(vma_ibv_flow_spec_ipv4* ipv4, uint32_t dst_ip, uint32_t src_ip) +static inline void ibv_flow_spec_ipv4_set(ibv_flow_spec_ipv4* ipv4, uint32_t dst_ip, uint32_t src_ip) { - ipv4->type = VMA_IBV_FLOW_SPEC_IPV4; - ipv4->size = sizeof(vma_ibv_flow_spec_ipv4); + ipv4->type = IBV_FLOW_SPEC_IPV4; + ipv4->size = sizeof(ibv_flow_spec_ipv4); ipv4->val.src_ip = src_ip; if (ipv4->val.src_ip) ipv4->mask.src_ip = FS_MASK_ON_32; ipv4->val.dst_ip = dst_ip; if (ipv4->val.dst_ip) ipv4->mask.dst_ip = FS_MASK_ON_32; } -static inline void ibv_flow_spec_tcp_udp_set(vma_ibv_flow_spec_tcp_udp* tcp_udp, bool is_tcp, uint16_t dst_port, uint16_t src_port) +static inline void ibv_flow_spec_tcp_udp_set(ibv_flow_spec_tcp_udp* tcp_udp, bool is_tcp, uint16_t dst_port, uint16_t src_port) { - tcp_udp->type = is_tcp ? VMA_IBV_FLOW_SPEC_TCP : VMA_IBV_FLOW_SPEC_UDP; - tcp_udp->size = sizeof(vma_ibv_flow_spec_tcp_udp); + tcp_udp->type = is_tcp ? IBV_FLOW_SPEC_TCP : IBV_FLOW_SPEC_UDP; + tcp_udp->size = sizeof(ibv_flow_spec_tcp_udp); tcp_udp->val.src_port = src_port; if(tcp_udp->val.src_port) tcp_udp->mask.src_port = FS_MASK_ON_16; tcp_udp->val.dst_port = dst_port; @@ -349,7 +271,7 @@ static inline void ibv_flow_spec_flow_tag_set(vma_ibv_flow_spec_action_tag* flow if (flow_tag == NULL) return; #ifdef DEFINED_IBV_FLOW_TAG - flow_tag->type = VMA_IBV_FLOW_SPEC_ACTION_TAG; + flow_tag->type = IBV_FLOW_SPEC_ACTION_TAG; flow_tag->size = sizeof(vma_ibv_flow_spec_action_tag); flow_tag->tag_id = tag_id; #endif //DEFINED_IBV_FLOW_TAG @@ -363,8 +285,8 @@ static inline void ibv_source_qpn_set(vma_ibv_qp_init_attr& qp_init_attr, uint32 #ifdef DEFINED_IBV_QP_INIT_SOURCE_QPN if (source_qpn) { - qp_init_attr.comp_mask |= VMA_IBV_QP_INIT_QPN_MASK; - vma_ibv_qp_create_flags(qp_init_attr) |= VMA_IBV_QP_INIT_QPN_CREATE_FLAGS; + qp_init_attr.comp_mask |= IBV_QP_INIT_ATTR_CREATE_FLAGS; + vma_ibv_qp_create_flags(qp_init_attr) |= IBV_QP_CREATE_SOURCE_QPN; vma_ibv_qp_source_qpn(qp_init_attr) = source_qpn; } #endif /* DEFINED_IBV_QP_INIT_SOURCE_QPN */ diff --git a/src/vma/ib/mlx5/ib_mlx5.h b/src/vma/ib/mlx5/ib_mlx5.h index 80e14804b..63cac3630 100644 --- a/src/vma/ib/mlx5/ib_mlx5.h +++ b/src/vma/ib/mlx5/ib_mlx5.h @@ -32,7 +32,7 @@ enum { }; /* Queue pair */ -typedef struct vma_ib_mlx5_qp { +struct vma_ib_mlx5_qp_t { struct ibv_qp *qp; uint32_t qpn; uint32_t flags; @@ -57,10 +57,10 @@ typedef struct vma_ib_mlx5_qp { uint32_t size; uint32_t offset; } bf; -} vma_ib_mlx5_qp_t; +}; /* Completion queue */ -typedef struct vma_ib_mlx5_cq { +struct vma_ib_mlx5_cq_t { struct ibv_cq *cq; void *cq_buf; unsigned cq_num; @@ -71,7 +71,7 @@ typedef struct vma_ib_mlx5_cq { unsigned cqe_size_log; volatile uint32_t *dbrec; void *uar; -} vma_ib_mlx5_cq_t; +}; int vma_ib_mlx5_get_qp(struct ibv_qp *qp, vma_ib_mlx5_qp_t *mlx5_qp, uint32_t flags = 0); int vma_ib_mlx5_post_recv(vma_ib_mlx5_qp_t *mlx5_qp, struct ibv_recv_wr *wr, struct ibv_recv_wr **bad_wr); diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index 2a889d28d..4abbdeeed 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -95,9 +95,9 @@ class dst_entry : public cache_observer, public tostr, public neigh_observer in_addr_t m_pkt_src_ip; // source IP address copied into IP header lock_mutex_recursive m_slow_path_lock; lock_mutex m_tx_migration_lock; - vma_ibv_send_wr m_inline_send_wqe; - vma_ibv_send_wr m_not_inline_send_wqe; - vma_ibv_send_wr m_fragmented_send_wqe; + ibv_send_wr m_inline_send_wqe; + ibv_send_wr m_not_inline_send_wqe; + ibv_send_wr m_fragmented_send_wqe; wqe_send_handler* m_p_send_wqe_handler; ibv_sge *m_sge; route_entry* m_p_rt_entry; @@ -119,7 +119,7 @@ class dst_entry : public cache_observer, public tostr, public neigh_observer uint8_t m_pcp; bool m_b_is_initialized; - vma_ibv_send_wr* m_p_send_wqe; + ibv_send_wr* m_p_send_wqe; uint32_t m_max_inline; ring_user_id_t m_id; uint16_t m_max_ip_payload_size; @@ -153,11 +153,11 @@ class dst_entry : public cache_observer, public tostr, public neigh_observer void do_ring_migration(lock_base& socket_lock, resource_allocation_key &old_key); inline void set_tx_buff_list_pending(bool is_pending = true) {m_b_tx_mem_buf_desc_list_pending = is_pending;} int get_priority_by_tc_class(uint32_t tc_clas); - inline void send_ring_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) + inline void send_ring_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { if (unlikely(is_set(attr, VMA_TX_PACKET_DUMMY))) { if (m_p_ring->get_hw_dummy_send_support(id, p_send_wqe)) { - vma_ibv_wr_opcode last_opcode = m_p_send_wqe_handler->set_opcode(*p_send_wqe, VMA_IBV_WR_NOP); + ibv_wr_opcode last_opcode = m_p_send_wqe_handler->set_opcode(*p_send_wqe, VMA_IBV_WR_NOP); m_p_ring->send_ring_buffer(id, p_send_wqe, attr); m_p_send_wqe_handler->set_opcode(*p_send_wqe, last_opcode); } else { diff --git a/src/vma/proto/dst_entry_tcp.cpp b/src/vma/proto/dst_entry_tcp.cpp index d2851628e..e7a0e9ce7 100644 --- a/src/vma/proto/dst_entry_tcp.cpp +++ b/src/vma/proto/dst_entry_tcp.cpp @@ -70,7 +70,7 @@ ssize_t dst_entry_tcp::fast_send(const iovec* p_iov, const ssize_t sz_iov, vma_s (is_set(attr.flags, (vma_wr_tx_packet_attr)(VMA_TX_PACKET_TSO)) || (sz_iov == 1 && !is_set(attr.flags, (vma_wr_tx_packet_attr)(VMA_TX_PACKET_REXMIT)))))) { size_t total_packet_len = 0; - vma_ibv_send_wr send_wqe; + ibv_send_wr send_wqe; wqe_send_handler send_wqe_h; /* iov_base is a pointer to TCP header and data diff --git a/src/vma/proto/dst_entry_tcp.h b/src/vma/proto/dst_entry_tcp.h index c49b9386d..5ebfd3f86 100644 --- a/src/vma/proto/dst_entry_tcp.h +++ b/src/vma/proto/dst_entry_tcp.h @@ -51,11 +51,11 @@ class dst_entry_tcp : public dst_entry private: const uint32_t m_n_sysvar_tx_bufs_batch_tcp; - inline void send_lwip_buffer(ring_user_id_t id, vma_ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) + inline void send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr) { if (unlikely(is_set(attr, VMA_TX_PACKET_DUMMY))) { if (m_p_ring->get_hw_dummy_send_support(id, p_send_wqe)) { - vma_ibv_wr_opcode last_opcode = m_p_send_wqe_handler->set_opcode(*p_send_wqe, VMA_IBV_WR_NOP); + ibv_wr_opcode last_opcode = m_p_send_wqe_handler->set_opcode(*p_send_wqe, VMA_IBV_WR_NOP); m_p_ring->send_lwip_buffer(id, p_send_wqe, attr); m_p_send_wqe_handler->set_opcode(*p_send_wqe, last_opcode); } diff --git a/src/vma/proto/igmp_handler.h b/src/vma/proto/igmp_handler.h index 021b9081a..dc2690154 100644 --- a/src/vma/proto/igmp_handler.h +++ b/src/vma/proto/igmp_handler.h @@ -59,7 +59,7 @@ class igmp_handler : public timer_handler, public lock_mutex, public cleanable_o ring* m_p_ring; header m_header; ibv_sge m_sge; - vma_ibv_send_wr m_p_send_igmp_wqe; + ibv_send_wr m_p_send_igmp_wqe; uint8_t m_igmp_code; ring_user_id_t m_id; diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index 081ecd2bd..8f239dc96 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -816,7 +816,7 @@ neigh_entry::event_t neigh_entry::rdma_event_mapping(struct rdma_cm_event* p_rdm return EV_UNHANDLED; } BULLSEYE_EXCLUDE_BLOCK_END - neigh_logdbg("Got event %s (%d)", priv_rdma_cm_event_type_str(p_rdma_cm_event->event), p_rdma_cm_event->event); + neigh_logdbg("Got event %s (%d)", rdma_event_str(p_rdma_cm_event->event), p_rdma_cm_event->event); switch (p_rdma_cm_event->event) { diff --git a/src/vma/proto/neighbour.h b/src/vma/proto/neighbour.h index 5a8350d21..a329e364b 100644 --- a/src/vma/proto/neighbour.h +++ b/src/vma/proto/neighbour.h @@ -254,7 +254,7 @@ class neigh_entry : public cache_entry_subject, public e uint32_t m_arp_counter; net_device_val* m_p_dev; ring* m_p_ring; - vma_ibv_send_wr m_send_wqe; + ibv_send_wr m_send_wqe; ibv_sge m_sge; bool m_is_loopback; diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index fef646ae4..95c0924f8 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -635,7 +635,7 @@ extern mce_sys_var & safe_mce_sys(); #define MCE_DEFAULT_WAIT_AFTER_JOIN_MSEC (0) #define MCE_DEFAULT_THREAD_MODE (THREAD_MODE_MULTI) #define MCE_DEFAULT_BUFFER_BATCHING_MODE (BUFFER_BATCHING_WITH_RECLAIM) -#ifndef VMA_IBV_ACCESS_ALLOCATE_MR +#ifndef DEFINED_IBV_ACCESS_ALLOCATE_MR #define MCE_DEFAULT_MEM_ALLOC_TYPE (ALLOC_TYPE_HUGEPAGES) #else #define MCE_DEFAULT_MEM_ALLOC_TYPE (ALLOC_TYPE_CONTIG) From 5e448e29bcf47bc328915052336daa90926513d1 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Tue, 4 Nov 2025 12:30:28 +0000 Subject: [PATCH 114/150] issue: 4664028 Removing TSO Removing TSO (TCP Segmentation offload) compilation flavor. Signed-off-by: Alexander Grissik --- .ci/matrix_job.yaml | 1 - README | 17 -- config/m4/verbs.m4 | 1 - configure.ac | 14 -- contrib/build_pkg.sh | 4 +- contrib/jenkins_tests/rpm.sh | 2 +- contrib/test_jenkins.sh | 6 +- src/vma/dev/ib_ctx_handler.h | 3 - src/vma/dev/qp_mgr.cpp | 107 +------- src/vma/dev/qp_mgr.h | 22 +- src/vma/dev/qp_mgr_eth_mlx5.cpp | 295 ---------------------- src/vma/dev/qp_mgr_eth_mlx5.h | 5 - src/vma/dev/ring.h | 10 +- src/vma/dev/ring_bond.cpp | 34 --- src/vma/dev/ring_bond.h | 12 +- src/vma/dev/ring_simple.cpp | 51 +--- src/vma/dev/ring_simple.h | 23 +- src/vma/dev/ring_tap.cpp | 5 +- src/vma/dev/ring_tap.h | 9 +- src/vma/dev/wqe_send_handler.h | 9 - src/vma/ib/base/verbs_extra.h | 16 -- src/vma/lwip/opt.h | 22 +- src/vma/lwip/tcp.h | 29 --- src/vma/lwip/tcp_impl.h | 6 - src/vma/lwip/tcp_in.c | 169 ------------- src/vma/lwip/tcp_out.c | 416 +------------------------------- src/vma/main.cpp | 20 -- src/vma/proto/dst_entry.cpp | 12 +- src/vma/proto/dst_entry.h | 13 +- src/vma/proto/dst_entry_tcp.cpp | 174 ------------- src/vma/proto/dst_entry_tcp.h | 7 - src/vma/proto/dst_entry_udp.cpp | 62 ----- src/vma/proto/dst_entry_udp.h | 7 - src/vma/proto/neighbour.cpp | 6 - src/vma/proto/vma_lwip.h | 2 - src/vma/sock/sockinfo_tcp.cpp | 99 -------- src/vma/sock/sockinfo_tcp.h | 7 +- src/vma/sock/sockinfo_udp.cpp | 17 -- src/vma/util/sys_vars.cpp | 28 --- src/vma/util/sys_vars.h | 18 -- src/vma/util/utils.cpp | 32 --- src/vma/util/utils.h | 8 - 42 files changed, 29 insertions(+), 1771 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 7c004daaf..241b9d1d1 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -63,7 +63,6 @@ matrix: axes: flags: - default - - extra arch: - x86_64 - aarch64 diff --git a/README b/README index 858413854..5bc5a4419 100644 --- a/README +++ b/README @@ -115,7 +115,6 @@ Example: VMA DETAILS: TCP max syn rate 0 (no limit) [VMA_TCP_MAX_SYN_RATE] VMA DETAILS: Tx Mem Segs TCP 1000000 [VMA_TX_SEGS_TCP] VMA DETAILS: Tx Mem Bufs 200000 [VMA_TX_BUFS] - VMA DETAILS: Tx Mem Buf size 0 [VMA_TX_BUF_SIZE] VMA DETAILS: Tx QP WRE 2048 [VMA_TX_WRE] VMA DETAILS: Tx QP WRE Batching 64 [VMA_TX_WRE_BATCHING] VMA DETAILS: Tx Max QP INLINE 204 [VMA_TX_MAX_INLINE] @@ -264,7 +263,6 @@ latency VMA_RX_WRE = 256 (default: 16000) VMA_RX_WRE_BATCHING = 4 (default: 64) VMA_RX_POLL = -1 (default: 100000) - VMA_TSO = Disable (default: Enable) VMA_RX_PREFETCH_BYTES_BEFORE_POLL = 256 (default: 0) VMA_GRO_STREAMS_MAX = 0 (default: 32) VMA_SELECT_POLL = -1 (default: 100000) @@ -354,11 +352,6 @@ VMA_TX_BUFS Number of global Tx data buffer elements allocation. Default value is 200000 -VMA_TX_BUF_SIZE -Size of Tx data buffer elements allocation. -Can not be less then MTU (Maximum Transfer Unit) and greater than 0xFF00. -Default value is calculated basing on VMA_MTU and VMA_MSS. - VMA_TX_WRE Number of Work Request Elements allocated in all transmit QP's. The number of QP's can change according to the number of network offloaded @@ -491,16 +484,6 @@ Value range is -1, 0 to 100,000,000 Where value of -1 is used for infinite polling Default value is 100000 -VMA_TSO -With Segmentation Offload, or TCP Large Send, TCP can pass a buffer to be -transmitted that is bigger than the maximum transmission unit (MTU) supported -by the medium. Intelligent adapters implement large sends by using the -prototype TCP and IP headers of the incoming send buffer to carve out segments -of required size. Copying the prototype header and options, then calculating -the sequence number and checksum fields creates TCP segment headers. -Expected benefits: Throughput increase and CPU unload. -Default value is 1 (Enable) - VMA_RX_POLL_INIT VMA maps all UDP sockets as potential offloaded capable. Only after the ADD_MEMBERSHIP does the offload start to work and the CQ polling kicks in VMA. diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index b52aca102..5533d68c8 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -80,7 +80,6 @@ CHECK_VERBS_MEMBER([struct ibv_device_attr_ex.orig_attr], [infiniband/verbs.h], CHECK_VERBS_MEMBER([struct ibv_alloc_dm_attr.length], [infiniband/verbs.h], [IBV_DM]) CHECK_VERBS_MEMBER([struct ibv_packet_pacing_caps.qp_rate_limit_min], [infiniband/verbs.h], [IBV_PACKET_PACING_CAPS]) CHECK_VERBS_MEMBER([struct ibv_qp_rate_limit_attr.max_burst_sz], [infiniband/verbs.h], [IBV_QP_SUPPORT_BURST]) -CHECK_VERBS_ATTRIBUTE([IBV_WR_TSO], [infiniband/verbs.h], [OPCODE_TSO]) CHECK_VERBS_ATTRIBUTE([MLX5_OPCODE_NOP], [infiniband/mlx5dv.h], [IBV_WR_NOP]) CHECK_VERBS_MEMBER([struct mlx5dv_clock_info.last_cycles], [infiniband/mlx5dv.h], [IBV_CLOCK_INFO]) diff --git a/configure.ac b/configure.ac index 5dae5d26f..392de756d 100644 --- a/configure.ac +++ b/configure.ac @@ -255,20 +255,6 @@ else AC_MSG_RESULT([no]) fi -# Control TSO usage -# -AC_ARG_ENABLE([tso], - AS_HELP_STRING([--enable-tso], - [Enable TSO availability (default=no)])) -AC_MSG_CHECKING( - [for tso support]) -if test "x$enable_tso" = xyes -a "x$vma_cv_attribute_ex_OPCODE_TSO" = xyes; then - AC_DEFINE_UNQUOTED([DEFINED_TSO], [1], [Define to 1 to use TSO]) - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - AC_MSG_CHECKING([for md5 version of VMA statistics is]) STATS_PROTOCOL_VER=`md5sum ${srcdir}/src/vma/util/vma_stats.h | awk '{ print $1}'` AC_DEFINE_UNQUOTED(STATS_PROTOCOL_VER, "${STATS_PROTOCOL_VER}", [Stats Protocol Version]) diff --git a/contrib/build_pkg.sh b/contrib/build_pkg.sh index 0acbb34d4..8b95beba8 100755 --- a/contrib/build_pkg.sh +++ b/contrib/build_pkg.sh @@ -54,9 +54,9 @@ contrib/build_pkg.sh -s * Prepare source package directly from github using tag or branch contrib/build_pkg.sh -s -i /tmp/libvma-9.0.2 -c 9.0.2 * Pass none default configuration options -contrib/build_pkg.sh -b -s -a "configure_options=--enable-tso" +contrib/build_pkg.sh -b -s -a "configure_options=--enable-debug" * Create release -env PRJ_RELEASE=1 contrib/build_pkg.sh -b -s -a "configure_options=--enable-tso" +env PRJ_RELEASE=1 contrib/build_pkg.sh -b -s -a "configure_options=--enable-debug" EOF exit 1 ;; diff --git a/contrib/jenkins_tests/rpm.sh b/contrib/jenkins_tests/rpm.sh index 78d7b3149..27d7a6763 100755 --- a/contrib/jenkins_tests/rpm.sh +++ b/contrib/jenkins_tests/rpm.sh @@ -84,7 +84,7 @@ if [ $opt_binrpm -eq 1 ]; then fi if [ $opt_checkpkg -eq 1 ]; then - test_exec="env RPM_BUILD_NCPUS=${NPROC} PRJ_RELEASE=1 ${WORKSPACE}/contrib/build_pkg.sh -b -s -a \"configure_options=$jenkins_test_custom_configure\" -i ${WORKSPACE} -o ${rpm_dir}/dist-pkg" + test_exec="env RPM_BUILD_NCPUS=${NPROC} PRJ_RELEASE=1 ${WORKSPACE}/contrib/build_pkg.sh -b -s -i ${WORKSPACE} -o ${rpm_dir}/dist-pkg" do_check_result "$test_exec" "$test_id" "checkpkg" "$rpm_tap" "${rpm_dir}/rpm-${test_id}" test_id=$((test_id+1)) fi diff --git a/contrib/test_jenkins.sh b/contrib/test_jenkins.sh index 21a444ab7..51abbdd86 100755 --- a/contrib/test_jenkins.sh +++ b/contrib/test_jenkins.sh @@ -97,11 +97,7 @@ do_check_env TARGET=${TARGET:=all} i=0 if [ "$TARGET" == "all" -o "$TARGET" == "default" ]; then - target_list[$i]="default: --disable-tso" - i=$((i+1)) -fi -if [ "$TARGET" == "all" -o "$TARGET" == "extra" ]; then - target_list[$i]="extra: --enable-tso" + target_list[$i]="default: " i=$((i+1)) fi diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index 2152f816d..44c60f073 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -48,9 +48,6 @@ class ib_ctx_handler : public event_handler_ibverbs inline char* get_ibname() { return (m_p_ibv_device ? m_p_ibv_device->name : (char *)""); } struct ibv_context* get_ibv_context() { return m_p_ibv_context; } ibv_device_attr* get_ibv_device_attr() { return vma_get_device_orig_attr(m_p_ibv_device_attr); } -#ifdef DEFINED_TSO - vma_ibv_device_attr_ex* get_ibv_device_attr_ex() { return m_p_ibv_device_attr; } -#endif /* DEFINED_TSO */ uint32_t mem_reg(void *addr, size_t length, uint64_t access); void mem_dereg(uint32_t lkey); struct ibv_mr* get_mem_reg(uint32_t lkey); diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index ce49974d4..e16c8963d 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -60,16 +60,7 @@ qp_mgr::qp_mgr(struct qp_mgr_desc *desc, const uint32_t tx_num_wr): ,m_n_ip_id_base(0) ,m_n_ip_id_offset(0) { -#ifdef DEFINED_TSO - memset(&m_qp_cap, 0, sizeof(m_qp_cap)); - m_qp_cap.max_inline_data = safe_mce_sys().tx_max_inline; - m_qp_cap.max_send_sge = (m_p_ring->is_tso() ? - m_p_ib_ctx_handler->get_ibv_device_attr()->max_sge : MCE_DEFAULT_TX_NUM_SGE); - m_qp_cap.max_recv_sge = (m_p_ring->is_socketxtreme()) ? 1 : MCE_DEFAULT_RX_NUM_SGE; -#else m_max_inline_data = 0; -#endif /* DEFINED_TSO */ - m_ibv_rx_sg_array = new ibv_sge[m_n_sysvar_rx_num_wr_to_post_recv]; m_ibv_rx_wr_array = new ibv_recv_wr[m_n_sysvar_rx_num_wr_to_post_recv]; @@ -188,78 +179,6 @@ int qp_mgr::configure(struct qp_mgr_desc *desc) vma_ibv_qp_init_attr qp_init_attr; memset(&qp_init_attr, 0, sizeof(qp_init_attr)); -#ifdef DEFINED_TSO - // TODO: m_tx_num_wr and m_rx_num_wr should be part of m_qp_cap - // and assigned as a result of ibv_query_qp() - m_qp_cap.max_send_wr = m_tx_num_wr; - m_qp_cap.max_recv_wr = m_rx_num_wr; - - memcpy(&qp_init_attr.cap, &m_qp_cap, sizeof(qp_init_attr.cap)); - qp_init_attr.recv_cq = m_p_cq_mgr_rx->get_ibv_cq_hndl(); - qp_init_attr.send_cq = m_p_cq_mgr_tx->get_ibv_cq_hndl(); - qp_init_attr.sq_sig_all = 0; - - // In case of enabled TSO we need to take into account amount of SGE together with header inline - // Per PRM maximum of CTRL + ETH + ETH_HEADER_INLINE+DATA_PTR*NUM_SGE+MAX_INLINE+INLINE_SIZE - // MLX5 return 32678 WQEBBs at max so minimal number - int max_wqe_sz = 16+14+m_p_ring->m_tso.max_header_sz+16*qp_init_attr.cap.max_send_sge+qp_init_attr.cap.max_inline_data+4; - int num_wr = 32678*64/max_wqe_sz; - qp_logdbg("calculated max_wqe_sz=%d num_wr=%d", max_wqe_sz, num_wr); - if (num_wr < (signed)m_tx_num_wr) { - qp_init_attr.cap.max_send_wr = num_wr; // force min for create_qp or you will have error of memory allocation - } - - qp_logdbg("Requested QP parameters: " - "wre: tx = %d rx = %d " - "sge: tx = %d rx = %d " - "inline: %d", - qp_init_attr.cap.max_send_wr, qp_init_attr.cap.max_recv_wr, - qp_init_attr.cap.max_send_sge, qp_init_attr.cap.max_recv_sge, - qp_init_attr.cap.max_inline_data); - - // Create the QP - if (prepare_ibv_qp(qp_init_attr)) { - return -1; - } - - qp_logdbg("Configured QP parameters: " - "wre: tx = %d rx = %d " - "sge: tx = %d rx = %d " - "inline: %d", - qp_init_attr.cap.max_send_wr, qp_init_attr.cap.max_recv_wr, - qp_init_attr.cap.max_send_sge, qp_init_attr.cap.max_recv_sge, - qp_init_attr.cap.max_inline_data); - - /* Check initial parameters with actual */ - enum ibv_qp_attr_mask attr_mask = IBV_QP_CAP; - struct ibv_qp_attr tmp_ibv_qp_attr; - struct ibv_qp_init_attr tmp_ibv_qp_init_attr; - IF_VERBS_FAILURE(ibv_query_qp(m_qp, &tmp_ibv_qp_attr, attr_mask, - &tmp_ibv_qp_init_attr)) { - qp_logerr("ibv_query_qp failed (errno=%d %m)", errno); - return -1; - } ENDIF_VERBS_FAILURE; - m_qp_cap.max_send_wr = min(tmp_ibv_qp_attr.cap.max_send_wr, m_qp_cap.max_send_wr); - m_qp_cap.max_recv_wr = min(tmp_ibv_qp_attr.cap.max_recv_wr, m_qp_cap.max_recv_wr); - m_qp_cap.max_send_sge = min(tmp_ibv_qp_attr.cap.max_send_sge, m_qp_cap.max_send_sge); - m_qp_cap.max_recv_sge = min(tmp_ibv_qp_attr.cap.max_recv_sge, m_qp_cap.max_recv_sge); - m_qp_cap.max_inline_data = min(tmp_ibv_qp_attr.cap.max_inline_data, m_qp_cap.max_inline_data); - - if ( m_qp_cap.max_send_wr < m_tx_num_wr ) { - qp_logwarn("Amount of requested TX_WRE %d lowered to %d", m_tx_num_wr, m_qp_cap.max_send_wr); - m_tx_num_wr = m_qp_cap.max_send_wr; - m_p_ring->set_tx_num_wr( m_tx_num_wr ); - } - - qp_logdbg("Used QP (num=%d) " - "wre: tx = %d rx = %d " - "sge: tx = %d rx = %d " - "inline: %d", - m_qp->qp_num, - m_qp_cap.max_send_wr, m_qp_cap.max_recv_wr, - m_qp_cap.max_send_sge, m_qp_cap.max_recv_sge, - m_qp_cap.max_inline_data); -#else // Check device capabilities for max SG elements uint32_t tx_max_inline = safe_mce_sys().tx_max_inline; uint32_t rx_num_sge = (m_p_ring->is_socketxtreme() ? 1 : MCE_DEFAULT_RX_NUM_SGE); @@ -282,7 +201,6 @@ int qp_mgr::configure(struct qp_mgr_desc *desc) qp_logdbg("Created QP (num=%d) with %d tx wre and inline=%d and %d rx " "wre and %d sge", m_qp->qp_num, m_tx_num_wr, m_max_inline_data, m_rx_num_wr, rx_num_sge); -#endif /* DEFINED_TSO */ #if defined(DEFINED_ROCE_LAG) if (desc->slave && desc->slave->lag_tx_port_affinity > 0) { @@ -680,13 +598,6 @@ int qp_mgr_eth::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) qp_init_attr.qp_type = IBV_QPT_RAW_PACKET; vma_ibv_qp_init_attr_comp_mask(m_p_ib_ctx_handler->get_ibv_pd(), qp_init_attr); -#ifdef DEFINED_TSO - if (m_p_ring->is_tso()) { - vma_ibv_qp_init_attr_tso(qp_init_attr, m_p_ring->get_max_header_sz()); - qp_logdbg("create qp with max_tso_header = %d", m_p_ring->get_max_header_sz()); - } -#endif /* DEFINED_TSO */ - m_qp = vma_ibv_create_qp(m_p_ib_ctx_handler->get_ibv_pd(), &qp_init_attr); BULLSEYE_EXCLUDE_BLOCK_START @@ -701,8 +612,6 @@ int qp_mgr_eth::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) } BULLSEYE_EXCLUDE_BLOCK_END -#ifdef DEFINED_TSO -#else enum ibv_qp_attr_mask attr_mask = IBV_QP_CAP; struct ibv_qp_attr tmp_ibv_qp_attr; struct ibv_qp_init_attr tmp_ibv_qp_init_attr; @@ -711,8 +620,10 @@ int qp_mgr_eth::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) qp_logerr("ibv_query_qp failed (errno=%d %m)", errno); return -1; } ENDIF_VERBS_FAILURE; + uint32_t tx_max_inline = safe_mce_sys().tx_max_inline; m_max_inline_data = min(tmp_ibv_qp_attr.cap.max_inline_data, tx_max_inline); + qp_logdbg("requested max inline = %d QP, actual max inline = %d, " "VMA max inline set to %d, max_send_wr=%d, max_recv_wr=%d, " "max_recv_sge=%d, max_send_sge=%d", @@ -720,7 +631,7 @@ int qp_mgr_eth::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) m_max_inline_data, tmp_ibv_qp_attr.cap.max_send_wr, tmp_ibv_qp_attr.cap.max_recv_wr, tmp_ibv_qp_attr.cap.max_recv_sge, tmp_ibv_qp_attr.cap.max_send_sge); -#endif /* DEFINED_TSO */ + return 0; } @@ -750,13 +661,6 @@ int qp_mgr_ib::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) qp_init_attr.qp_type = IBV_QPT_UD; vma_ibv_qp_init_attr_comp_mask(m_p_ib_ctx_handler->get_ibv_pd(), qp_init_attr); -#ifdef DEFINED_TSO - if (m_p_ring->is_tso()) { - vma_ibv_qp_init_attr_tso(qp_init_attr, m_p_ring->get_max_header_sz()); - qp_logdbg("create qp with max_tso_header = %d", m_p_ring->get_max_header_sz()); - } -#endif /* DEFINED_TSO */ - if (m_underly_qpn) { ibv_source_qpn_set(qp_init_attr, m_underly_qpn); qp_logdbg("create qp using underly qpn = 0x%X", m_underly_qpn); @@ -781,8 +685,6 @@ int qp_mgr_ib::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) } BULLSEYE_EXCLUDE_BLOCK_END -#ifdef DEFINED_TSO -#else enum ibv_qp_attr_mask attr_mask = IBV_QP_CAP; struct ibv_qp_attr tmp_ibv_qp_attr; struct ibv_qp_init_attr tmp_ibv_qp_init_attr; @@ -791,8 +693,10 @@ int qp_mgr_ib::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) qp_logerr("ibv_query_qp failed (errno=%d %m)", errno); return -1; } ENDIF_VERBS_FAILURE; + uint32_t tx_max_inline = safe_mce_sys().tx_max_inline; m_max_inline_data = min(tmp_ibv_qp_attr.cap.max_inline_data, tx_max_inline); + qp_logdbg("requested max inline = %d QP, actual max inline = %d, " "VMA max inline set to %d, max_send_wr=%d, max_recv_wr=%d, " "max_recv_sge=%d, max_send_sge=%d", @@ -800,7 +704,6 @@ int qp_mgr_ib::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) m_max_inline_data, tmp_ibv_qp_attr.cap.max_send_wr, tmp_ibv_qp_attr.cap.max_recv_wr, tmp_ibv_qp_attr.cap.max_recv_sge, tmp_ibv_qp_attr.cap.max_send_sge); -#endif /* DEFINED_TSO */ return 0; } diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index c95c3f25b..26758304b 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -74,17 +74,7 @@ friend class cq_mgr_mp; virtual void post_recv_buffer(mem_buf_desc_t* p_mem_buf_desc); // Post for receive single mem_buf_desc void post_recv_buffers(descq_t* p_buffers, size_t count); // Post for receive a list of mem_buf_desc int send(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr); - -#ifdef DEFINED_TSO - inline uint32_t get_max_inline_data() const { - return m_qp_cap.max_inline_data; - } - inline uint32_t get_max_send_sge() const { - return m_qp_cap.max_send_sge; - } -#else uint32_t get_max_inline_data() const {return m_max_inline_data; } -#endif /* DEFINED_TSO */ int get_port_num() const { return m_port_num; } virtual uint16_t get_partiton() const { return 0; }; virtual uint32_t get_underly_qpn() const { return 0; }; @@ -107,29 +97,20 @@ friend class cq_mgr_mp; static inline bool is_lib_mlx5(const char* device_name) {return strstr(device_name, "mlx5");} virtual void dm_release_data(mem_buf_desc_t* buff) { NOT_IN_USE(buff); } virtual bool fill_hw_descriptors(vma_mlx_hw_device_data &data) {NOT_IN_USE(data);return false;}; + protected: struct ibv_qp* m_qp; uint64_t* m_rq_wqe_idx_to_wrid; - ring_simple* m_p_ring; uint8_t m_port_num; ib_ctx_handler* m_p_ib_ctx_handler; - -#ifdef DEFINED_TSO - struct ibv_qp_cap m_qp_cap; -#else uint32_t m_max_inline_data; -#endif /* DEFINED_TSO */ uint32_t m_max_qp_wr; - cq_mgr* m_p_cq_mgr_rx; cq_mgr* m_p_cq_mgr_tx; - uint32_t m_rx_num_wr; uint32_t m_tx_num_wr; - bool m_hw_dummy_send_support; - uint32_t m_n_sysvar_rx_num_wr_to_post_recv; const uint32_t m_n_sysvar_tx_num_wr_to_signal; const uint32_t m_n_sysvar_rx_prefetch_bytes_before_poll; @@ -143,7 +124,6 @@ friend class cq_mgr_mp; // send wr uint32_t m_n_unsignaled_count; mem_buf_desc_t* m_p_last_tx_mem_buf_desc; // Remembered so we can list several mem_buf_desc_t on a single notification request - mem_buf_desc_t* m_p_prev_rx_desc_pushed; // generating packet IDs diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index e462af344..d20b37103 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -98,10 +98,6 @@ static inline uint32_t get_mlx5_opcode(ibv_wr_opcode verbs_opcode) switch (verbs_opcode) { case IBV_WR_SEND: return MLX5_OPCODE_SEND; -#ifdef DEFINED_TSO - case VMA_IBV_WR_TSO: - return MLX5_OPCODE_TSO; -#endif /* DEFINED_TSO */ case VMA_IBV_WR_NOP: return MLX5_OPCODE_NOP; default: @@ -157,11 +153,7 @@ void qp_mgr_eth_mlx5::init_sq() * the 4 bytes used for stating the inline data size * - 3 WQEBB are fully availabie for data inlining */ -#ifdef DEFINED_TSO - m_qp_cap.max_inline_data = OCTOWORD - 4 + 3 * WQEBB; -#else m_max_inline_data = OCTOWORD-4 + 3*WQEBB; -#endif /* DEFINED_TSO */ if (m_sq_wqe_idx_to_wrid == NULL) { m_sq_wqe_idx_to_wrid = (uint64_t*)mmap(NULL, m_tx_num_wr * sizeof(*m_sq_wqe_idx_to_wrid), @@ -308,46 +300,6 @@ inline void qp_mgr_eth_mlx5::set_signal_in_next_send_wqe() wqe->ctrl.data[2] = htonl(8); } -#ifdef DEFINED_TSO -inline void qp_mgr_eth_mlx5::ring_doorbell(uint64_t* wqe, int db_method, int num_wqebb, int num_wqebb_top) -{ - uint64_t* dst = (uint64_t*)((uint8_t*)m_mlx5_qp.bf.reg + m_mlx5_qp.bf.offset); - uint64_t* src = wqe; - - m_sq_wqe_counter = (m_sq_wqe_counter + num_wqebb + num_wqebb_top) & 0xFFFF; - - // Make sure that descriptors are written before - // updating doorbell record and ringing the doorbell - wmb(); - *m_mlx5_qp.sq.dbrec = htonl(m_sq_wqe_counter); - - // This wc_wmb ensures ordering between DB record and BF copy */ - wc_wmb(); - if (likely(db_method == MLX5_DB_METHOD_BF)) { - /* Copying src to BlueFlame register buffer by Write Combining cnt WQEBBs - * Avoid using memcpy() to copy to BlueFlame page, since memcpy() - * implementations may use move-string-buffer assembler instructions, - * which do not guarantee order of copying. - */ - while (num_wqebb--) { - COPY_64B_NT(dst, src); - } - src = (uint64_t*)m_sq_wqes; - while (num_wqebb_top--) { - COPY_64B_NT(dst, src); - } - } else { - *dst = *src; - } - - /* Use wc_wmb() to ensure write combining buffers are flushed out - * of the running CPU. - * sfence instruction affects only the WC buffers of the CPU that executes it - */ - wc_wmb(); - m_mlx5_qp.bf.offset ^= m_mlx5_qp.bf.size; -} -#else inline void qp_mgr_eth_mlx5::ring_doorbell(uint64_t* wqe, int num_wqebb, int num_wqebb_top) { uint64_t* dst = (uint64_t*)((uint8_t*)m_mlx5_qp.bf.reg + m_mlx5_qp.bf.offset); @@ -386,7 +338,6 @@ inline void qp_mgr_eth_mlx5::ring_doorbell(uint64_t* wqe, int num_wqebb, int num wc_wmb(); m_mlx5_qp.bf.offset ^= m_mlx5_qp.bf.size; } -#endif /* DEFINED_TSO */ inline int qp_mgr_eth_mlx5::fill_inl_segment(sg_array &sga, uint8_t *cur_seg, uint8_t* data_addr, int max_inline_len, int inline_len) @@ -435,134 +386,6 @@ inline int qp_mgr_eth_mlx5::fill_ptr_segment(sg_array &sga, struct mlx5_wqe_data } //! Fill WQE dynamically, based on amount of free WQEBB in SQ -#ifdef DEFINED_TSO -inline int qp_mgr_eth_mlx5::fill_wqe(ibv_send_wr *pswr) -{ - // control segment is mostly filled by preset after previous packet - // we always inline ETH header - sg_array sga(pswr->sg_list, pswr->num_sge); - uint8_t* cur_seg = (uint8_t*)m_sq_wqe_hot + sizeof(struct mlx5_wqe_ctrl_seg); - int inline_len = MLX5_ETH_INLINE_HEADER_SIZE; - int data_len = sga.length(); - int wqe_size = sizeof(struct mlx5_wqe_ctrl_seg) / OCTOWORD; - int max_inline_len = get_max_inline_data(); - - // assume packet is full inline - if (likely(data_len <= max_inline_len)) { - uint8_t* data_addr = sga.get_data(&inline_len); // data for inlining in ETH header - data_len -= inline_len; - qp_logfunc("wqe_hot:%p num_sge: %d data_addr: %p data_len: %d max_inline_len: %d inline_len: %d", - m_sq_wqe_hot, pswr->num_sge, data_addr, data_len, max_inline_len, inline_len); - - // Fill Ethernet segment with header inline, static data - // were populated in preset after previous packet send - memcpy(cur_seg+offsetof(struct mlx5_wqe_eth_seg, inline_hdr_start), data_addr, MLX5_ETH_INLINE_HEADER_SIZE); - cur_seg += sizeof(struct mlx5_wqe_eth_seg); - wqe_size += sizeof(struct mlx5_wqe_eth_seg)/OCTOWORD; - - max_inline_len = data_len; - // Filling inline data segment - // size of BlueFlame buffer is 4*WQEBBs, 3*OCTOWORDS of the first - // was allocated for control and ethernet segment so we have 3*WQEBB+16-4 - int rest_space = std::min((int)(m_sq_wqes_end-cur_seg-4), (3*WQEBB+OCTOWORD-4)); - // Filling till the end of inline WQE segment or - // to end of WQEs - if (likely(max_inline_len <= rest_space)) { - inline_len = max_inline_len; - qp_logfunc("data_addr:%p cur_seg: %p rest_space: %d inline_len: %d wqe_size: %d", - data_addr, cur_seg, rest_space, inline_len, wqe_size); - //bypass inline size and fill inline data segment - data_addr = sga.get_data(&inline_len); - inline_len = fill_inl_segment(sga, cur_seg+4, data_addr, max_inline_len, inline_len); - - // store inline data size and mark the data as inlined - *(uint32_t*)((uint8_t*)m_sq_wqe_hot+sizeof(struct mlx5_wqe_ctrl_seg)+sizeof(struct mlx5_wqe_eth_seg)) - = htonl(0x80000000|inline_len); - rest_space = align_to_octoword_up(inline_len+4); // align to OCTOWORDs - wqe_size += rest_space/OCTOWORD; - //assert((data_len-inline_len)==0); - // configuring control - m_sq_wqe_hot->ctrl.data[1] = htonl((m_mlx5_qp.qpn << 8) | wqe_size); - rest_space = align_to_WQEBB_up(wqe_size)/4; - qp_logfunc("data_len: %d inline_len: %d wqe_size: %d wqebbs: %d", - data_len-inline_len, inline_len, wqe_size, rest_space); - ring_doorbell((uint64_t *)m_sq_wqe_hot, m_db_method, rest_space); - return rest_space; - } else { - // wrap around case, first filling till the end of m_sq_wqes - int wrap_up_size = max_inline_len-rest_space; - inline_len = rest_space; - qp_logfunc("WRAP_UP_SIZE: %d data_addr:%p cur_seg: %p rest_space: %d inline_len: %d wqe_size: %d", - wrap_up_size, data_addr, cur_seg, rest_space, inline_len, wqe_size); - - data_addr = sga.get_data(&inline_len); - inline_len = fill_inl_segment(sga, cur_seg+4, data_addr, rest_space, inline_len); - data_len -= inline_len; - rest_space = align_to_octoword_up(inline_len+4); - wqe_size += rest_space/OCTOWORD; - rest_space = align_to_WQEBB_up(rest_space/OCTOWORD)/4;// size of 1st chunk at the end - - qp_logfunc("END chunk data_addr: %p data_len: %d inline_len: %d wqe_size: %d wqebbs: %d", - data_addr, data_len, inline_len, wqe_size, rest_space); - // Wrap around - // - cur_seg = (uint8_t*)m_sq_wqes; - data_addr = sga.get_data(&wrap_up_size); - - wrap_up_size = fill_inl_segment(sga, cur_seg, data_addr, data_len, wrap_up_size); - inline_len += wrap_up_size; - max_inline_len = align_to_octoword_up(wrap_up_size); - wqe_size += max_inline_len/OCTOWORD; - max_inline_len = align_to_WQEBB_up(max_inline_len/OCTOWORD)/4; - // store inline data size - *(uint32_t*)((uint8_t* )m_sq_wqe_hot+sizeof(struct mlx5_wqe_ctrl_seg)+sizeof(struct mlx5_wqe_eth_seg)) - = htonl(0x80000000|inline_len); - qp_logfunc("BEGIN_CHUNK data_addr: %p data_len: %d wqe_size: %d inline_len: %d end_wqebbs: %d wqebbs: %d", - data_addr, data_len-wrap_up_size, wqe_size, inline_len+wrap_up_size, rest_space, max_inline_len); - //assert((data_len-wrap_up_size)==0); - // configuring control - m_sq_wqe_hot->ctrl.data[1] = htonl((m_mlx5_qp.qpn << 8) | wqe_size); - - dbg_dump_wqe((uint32_t*)m_sq_wqe_hot, rest_space*4*16); - dbg_dump_wqe((uint32_t*)m_sq_wqes, max_inline_len*4*16); - - ring_doorbell((uint64_t*)m_sq_wqe_hot, m_db_method, rest_space, max_inline_len); - return rest_space+max_inline_len; - } - } else { - // data is bigger than max to inline we inlined only ETH header + uint from IP (18 bytes) - // the rest will be in data pointer segment - // adding data seg with pointer if there still data to transfer - if (vma_send_wr_opcode(*pswr) == IBV_WR_SEND ) { - uint8_t* data_addr = sga.get_data(&inline_len); // data for inlining in ETH header - - qp_logfunc("wqe_hot:%p num_sge: %d data_addr: %p data_len: %d max_inline_len: %d inline_len$ %d", - m_sq_wqe_hot, pswr->num_sge, data_addr, data_len, max_inline_len, inline_len); - - // Fill Ethernet segment with header inline, static data - // were populated in preset after previous packet send - memcpy(cur_seg+offsetof(struct mlx5_wqe_eth_seg, inline_hdr_start), data_addr, MLX5_ETH_INLINE_HEADER_SIZE); - data_addr += MLX5_ETH_INLINE_HEADER_SIZE; - data_len -= MLX5_ETH_INLINE_HEADER_SIZE; - cur_seg += sizeof(struct mlx5_wqe_eth_seg); - wqe_size += sizeof(struct mlx5_wqe_eth_seg)/OCTOWORD; - inline_len = fill_ptr_segment(sga, (struct mlx5_wqe_data_seg*)cur_seg, data_addr, data_len, (mem_buf_desc_t *)pswr->wr_id); - wqe_size += inline_len/OCTOWORD; - qp_logfunc("data_addr: %p data_len: %d rest_space: %d wqe_size: %d", - data_addr, data_len, inline_len, wqe_size); - // configuring control - m_sq_wqe_hot->ctrl.data[1] = htonl((m_mlx5_qp.qpn << 8) | wqe_size); - inline_len = align_to_WQEBB_up(wqe_size)/4; - ring_doorbell((uint64_t*)m_sq_wqe_hot, m_db_method, inline_len); - } else { - // We supporting also VMA_IBV_WR_SEND_TSO, it is the case - wqe_size = fill_wqe_lso(pswr); - return wqe_size; - } - } - return 1; -} -#else inline int qp_mgr_eth_mlx5::fill_wqe(ibv_send_wr *pswr) { // control segment is mostly filled by preset after previous packet @@ -672,125 +495,8 @@ inline int qp_mgr_eth_mlx5::fill_wqe(ibv_send_wr *pswr) } return 1; } -#endif /* DEFINED_TSO */ - -#ifdef DEFINED_TSO -//! Filling wqe for LSO -int qp_mgr_eth_mlx5::fill_wqe_lso(ibv_send_wr* pswr) -{ - struct mlx5_wqe_eth_seg* eth_seg = (struct mlx5_wqe_eth_seg*)((uint8_t*)m_sq_wqe_hot + sizeof(struct mlx5_wqe_ctrl_seg)); - struct mlx5_wqe_data_seg* dp_seg = NULL; - uint8_t* cur_seg = (uint8_t*)eth_seg; - uint8_t* p_hdr = (uint8_t*)pswr->tso.hdr; - int wqe_size = sizeof(struct mlx5_wqe_ctrl_seg) / OCTOWORD; - // For TSO we fully inline headers in Ethernet segment - // - int inline_len = pswr->tso.hdr_sz; - int max_inline_len = align_to_octoword_up(sizeof(struct mlx5_wqe_eth_seg) + inline_len - MLX5_ETH_INLINE_HEADER_SIZE); - eth_seg->mss = htons(pswr->tso.mss); - eth_seg->inline_hdr_sz = htons(inline_len); - int rest = (int)(m_sq_wqes_end - (uint8_t*)eth_seg); - int bottom_hdr_sz = 0; - int i = 0; - - if (likely(max_inline_len < rest)) { - // Fill Ethernet segment with full header inline - memcpy(cur_seg+offsetof(struct mlx5_wqe_eth_seg, inline_hdr_start), p_hdr, inline_len); - cur_seg += max_inline_len; - } else { - // wrap around SQ on inline ethernet header - bottom_hdr_sz = rest - offsetof(struct mlx5_wqe_eth_seg, inline_hdr_start); - memcpy(cur_seg + offsetof(struct mlx5_wqe_eth_seg, inline_hdr_start), p_hdr, bottom_hdr_sz); - memcpy(m_sq_wqes, p_hdr + bottom_hdr_sz, inline_len - bottom_hdr_sz); - max_inline_len = align_to_octoword_up(inline_len - bottom_hdr_sz); - cur_seg = (uint8_t*)m_sq_wqes + max_inline_len; - wqe_size += rest / OCTOWORD; - bottom_hdr_sz = align_to_WQEBB_up(wqe_size) / 4; - } - wqe_size += max_inline_len / OCTOWORD; - qp_logfunc("TSO: num_sge: %d max_inline_len: %d inline_len: %d rest: %d", - pswr->num_sge, max_inline_len, inline_len, rest); - // Filling data pointer segments with payload by scatter-gather list elements - dp_seg = (struct mlx5_wqe_data_seg*)cur_seg; - for (i = 0; i < pswr->num_sge; i++) { - if (unlikely((uintptr_t)dp_seg >= (uintptr_t)m_sq_wqes_end)) { - dp_seg = (struct mlx5_wqe_data_seg *)m_sq_wqes; - bottom_hdr_sz = align_to_WQEBB_up(wqe_size)/4; - } - dp_seg->addr = htonll((uint64_t)pswr->sg_list[i].addr); - dp_seg->lkey = htonl(pswr->sg_list[i].lkey); - dp_seg->byte_count = htonl(pswr->sg_list[i].length); - - qp_logfunc("DATA_SEG: addr:%llx len: %d lkey: %x dp_seg: %p wqe_size: %d", - pswr->sg_list[i].addr, pswr->sg_list[i].length, dp_seg->lkey, dp_seg, wqe_size); - - dp_seg ++; - wqe_size += sizeof(struct mlx5_wqe_data_seg)/OCTOWORD; - } - inline_len = align_to_WQEBB_up(wqe_size) / 4; - m_sq_wqe_hot->ctrl.data[1] = htonl((m_mlx5_qp.qpn << 8) | wqe_size); - // sending by BlueFlame or DoorBell covering wrap around - if (likely(inline_len <= 4)) { - if (likely(bottom_hdr_sz == 0)) { - ring_doorbell((uint64_t*)m_sq_wqe_hot, MLX5_DB_METHOD_DB, inline_len); - } else { - ring_doorbell((uint64_t*)m_sq_wqe_hot, MLX5_DB_METHOD_DB, bottom_hdr_sz, inline_len - bottom_hdr_sz); - } - } else { - ring_doorbell((uint64_t*)m_sq_wqe_hot, MLX5_DB_METHOD_DB, inline_len); - } - return wqe_size; -} -#endif /* DEFINED_TSO */ //! Send one RAW packet by MLX5 BlueFlame -// -#ifdef DEFINED_TSO -int qp_mgr_eth_mlx5::send_to_wire(ibv_send_wr *p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp) -{ - struct mlx5_wqe_ctrl_seg *ctrl = NULL; - struct mlx5_wqe_eth_seg *eseg = NULL; - - ctrl = (struct mlx5_wqe_ctrl_seg *)m_sq_wqe_hot; - eseg = (struct mlx5_wqe_eth_seg *)((uint8_t *)m_sq_wqe_hot + sizeof(*ctrl)); - - /* Configure ctrl segment - * qpn_ds or ctrl.data[1] is set inside fill_wqe() - */ - ctrl->opmod_idx_opcode = htonl(((m_sq_wqe_counter & 0xffff) << 8) | (get_mlx5_opcode(vma_send_wr_opcode(*p_send_wqe)) & 0xff)); - m_sq_wqe_hot->ctrl.data[2] = 0; - ctrl->fm_ce_se = (request_comp ? (uint8_t)MLX5_WQE_CTRL_CQ_UPDATE : 0); - ctrl->imm = 0; - - /* Configure eth segment - * reset rsvd0, cs_flags, rsvd1, mss and rsvd2 fields - * checksum flags are set here - */ - *((uint64_t *)eseg) = 0; - eseg->rsvd2 = 0; - eseg->cs_flags = (uint8_t)(attr & (VMA_TX_PACKET_L3_CSUM | VMA_TX_PACKET_L4_CSUM) & 0xff); - - /* Complete WQE */ - fill_wqe(p_send_wqe); - - /* Store buffer descriptor */ - m_sq_wqe_idx_to_wrid[m_sq_wqe_hot_index] = (uintptr_t)p_send_wqe->wr_id; - - /* Preparing next WQE and index */ - m_sq_wqe_hot = &(*m_sq_wqes)[m_sq_wqe_counter & (m_tx_num_wr - 1)]; - qp_logfunc("m_sq_wqe_hot: %p m_sq_wqe_hot_index: %d wqe_counter: %d new_hot_index: %d wr_id: %llx", - m_sq_wqe_hot, m_sq_wqe_hot_index, m_sq_wqe_counter, (m_sq_wqe_counter&(m_tx_num_wr-1)), p_send_wqe->wr_id); - m_sq_wqe_hot_index = m_sq_wqe_counter & (m_tx_num_wr - 1); - - memset((void*)m_sq_wqe_hot, 0, sizeof(struct mlx5_wqe64)); - - /* Fill Ethernet segment with header inline */ - eseg = (struct mlx5_wqe_eth_seg*)((uint8_t*)m_sq_wqe_hot + sizeof(struct mlx5_wqe_ctrl_seg)); - eseg->inline_hdr_sz = htons(MLX5_ETH_INLINE_HEADER_SIZE); - - return 0; -} -#else int qp_mgr_eth_mlx5::send_to_wire(ibv_send_wr *p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp) { // Set current WQE's ethernet segment checksum flags @@ -817,7 +523,6 @@ int qp_mgr_eth_mlx5::send_to_wire(ibv_send_wr *p_send_wqe, vma_wr_tx_packet_attr return 0; } -#endif /* DEFINED_TSO */ //! Handle releasing of Tx buffers // Single post send with SIGNAL of a dummy packet diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index 9d78f5c18..2b08aeb7e 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -50,12 +50,7 @@ friend class cq_mgr_mlx5; inline void set_signal_in_next_send_wqe(); int send_to_wire(ibv_send_wr* p_send_wqe, vma_wr_tx_packet_attr attr, bool request_comp); inline int fill_wqe(ibv_send_wr* p_send_wqe); -#ifdef DEFINED_TSO - int fill_wqe_lso(ibv_send_wr* pswr); - inline void ring_doorbell(uint64_t* wqe, int db_method, int num_wqebb, int num_wqebb_top = 0); -#else inline void ring_doorbell(uint64_t* wqe, int num_wqebb, int num_wqebb_top = 0); -#endif /* DEFINED_TSO */ inline int fill_inl_segment(sg_array &sga, uint8_t *cur_seg, uint8_t* data_addr, int max_inline_len, int inline_len); inline int fill_ptr_segment(sg_array &sga, struct mlx5_wqe_data_seg* dp_seg, uint8_t* data_addr, int data_len, mem_buf_desc_t* buffer); diff --git a/src/vma/dev/ring.h b/src/vma/dev/ring.h index 9db398878..2efbcaada 100644 --- a/src/vma/dev/ring.h +++ b/src/vma/dev/ring.h @@ -86,14 +86,8 @@ class ring ring_user_id_t generate_id() { return 0; }; virtual ring_user_id_t generate_id(const address_t src_mac, const address_t dst_mac, uint16_t eth_proto, uint16_t encap_proto, uint32_t src_ip, uint32_t dst_ip, uint16_t src_port, uint16_t dst_port) = 0; virtual int modify_ratelimit(struct vma_rate_limit_t &rate_limit) = 0; - virtual uint32_t get_max_inline_data() = 0; -#ifdef DEFINED_TSO - virtual uint32_t get_max_send_sge(void) = 0; - virtual uint32_t get_max_payload_sz(void) = 0; - virtual uint16_t get_max_header_sz(void) = 0; - virtual uint32_t get_tx_lkey(ring_user_id_t id) = 0; - virtual bool is_tso(void) = 0; -#endif /* DEFINED_TSO */ + virtual uint32_t get_max_inline_data() = 0; + virtual int reg_mr(void *addr, size_t length, uint32_t &lkey) { NOT_IN_USE(addr); NOT_IN_USE(length); NOT_IN_USE(lkey); return -1;}; virtual int dereg_mr(void *addr, size_t length) { NOT_IN_USE(addr);NOT_IN_USE(length); return -1;}; diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index dc7fe2c26..b574f5bae 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -41,9 +41,6 @@ ring_bond::ring_bond(int if_index) : m_type = p_ndev->get_is_bond(); m_xmit_hash_policy = p_ndev->get_bond_xmit_hash_policy(); m_max_inline_data = 0; -#ifdef DEFINED_TSO - m_max_send_sge = 0; -#endif /* DEFINED_TSO */ print_val(); } @@ -577,21 +574,12 @@ void ring_bond::update_cap(ring_slave *slave) { if (NULL == slave) { m_max_inline_data = (uint32_t)(-1); -#ifdef DEFINED_TSO - m_max_send_sge = (uint32_t)(-1); -#endif /* DEFINED_TSO */ return ; } m_max_inline_data = (m_max_inline_data == (uint32_t)(-1) ? slave->get_max_inline_data() : min(m_max_inline_data, slave->get_max_inline_data())); - -#ifdef DEFINED_TSO - m_max_send_sge = (m_max_send_sge == (uint32_t)(-1) ? - slave->get_max_send_sge() : - min(m_max_send_sge, slave->get_max_send_sge())); -#endif /* DEFINED_TSO */ } void ring_bond::devide_buffers_helper(descq_t *rx_reuse, descq_t* buffer_per_ring) @@ -824,28 +812,6 @@ uint32_t ring_bond::get_max_inline_data() return m_max_inline_data; } -#ifdef DEFINED_TSO -uint32_t ring_bond::get_max_send_sge(void) -{ - return m_max_send_sge; -} - -uint32_t ring_bond::get_max_payload_sz(void) -{ - return 0; -} - -uint16_t ring_bond::get_max_header_sz(void) -{ - return 0; -} - -bool ring_bond::is_tso(void) -{ - return false; -} -#endif /* DEFINED_TSO */ - int ring_bond::socketxtreme_poll(struct vma_completion_t *, unsigned int, int) { return 0; diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index be33ad449..ecaea9c87 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -50,14 +50,7 @@ class ring_bond : public ring { virtual ring_user_id_t generate_id(const address_t src_mac, const address_t dst_mac, uint16_t eth_proto, uint16_t encap_proto, uint32_t src_ip, uint32_t dst_ip, uint16_t src_port, uint16_t dst_port); virtual bool get_hw_dummy_send_support(ring_user_id_t id, ibv_send_wr* p_send_wqe); virtual int modify_ratelimit(struct vma_rate_limit_t &rate_limit); - virtual uint32_t get_max_inline_data(); -#ifdef DEFINED_TSO - virtual uint32_t get_max_send_sge(void); - virtual uint32_t get_max_payload_sz(void); - virtual uint16_t get_max_header_sz(void); - virtual uint32_t get_tx_lkey(ring_user_id_t id) { return m_xmit_rings[id]->get_tx_lkey(id); } - virtual bool is_tso(void); -#endif /* DEFINED_TSO */ + virtual uint32_t get_max_inline_data(); int socketxtreme_poll(struct vma_completion_t *vma_completions, unsigned int ncompletions, int flags); virtual void slave_create(int if_index) = 0; virtual void slave_destroy(int if_index); @@ -95,9 +88,6 @@ class ring_bond : public ring { std::vector m_rx_flows; uint32_t m_max_inline_data; -#ifdef DEFINED_TSO - uint32_t m_max_send_sge; -#endif /* DEFINED_TSO */ private: void devide_buffers_helper(descq_t *rx_reuse, descq_t *buffer_per_ring); diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index bc40b8d09..b716a0bcb 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -110,9 +110,6 @@ ring_simple::ring_simple(int if_index, ring* parent, ring_type_t type): m_mtu = p_ndev->get_mtu(); memset(&m_cq_moderation_info, 0, sizeof(m_cq_moderation_info)); -#ifdef DEFINED_TSO - memset(&m_tso, 0, sizeof(m_tso)); -#endif /* DEFINED_TSO */ m_socketxtreme.active = safe_mce_sys().enable_socketxtreme; INIT_LIST_HEAD(&m_socketxtreme.ec_list); @@ -234,24 +231,6 @@ void ring_simple::create_resources() // Temporary fix for rd #4213201 m_tx_num_wr_free--; -#ifdef DEFINED_TSO - memset(&m_tso, 0, sizeof(m_tso)); - if (safe_mce_sys().enable_tso && (1 == validate_tso(get_if_index()))) { - if (vma_check_dev_attr_tso(m_p_ib_ctx->get_ibv_device_attr())) { - const vma_ibv_tso_caps *caps = &vma_get_tso_caps(m_p_ib_ctx->get_ibv_device_attr_ex()); - if (ibv_is_qpt_supported(caps->supported_qpts, IBV_QPT_RAW_PACKET) || - ibv_is_qpt_supported(caps->supported_qpts, IBV_QPT_UD)) { - m_tso.max_payload_sz = caps->max_tso; - /* ETH(14) + IP(20) + TCP(20) + TCP OPTIONS(40) */ - m_tso.max_header_sz = 94; - } - } - } - ring_logdbg("ring attributes: m_tso = %d", is_tso()); - ring_logdbg("ring attributes: m_tso:max_payload_sz = %d", get_max_payload_sz()); - ring_logdbg("ring attributes: m_tso:max_header_sz = %d", get_max_header_sz()); -#endif /* DEFINED_TSO */ - m_flow_tag_enabled = m_p_ib_ctx->get_flow_tag_capability(); ring_logdbg("ring attributes: m_flow_tag_enabled = %d", m_flow_tag_enabled); @@ -649,10 +628,8 @@ void ring_simple::send_ring_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, v } auto_unlocker lock(m_lock_ring_tx); -#ifdef DEFINED_TSO -#else p_send_wqe->sg_list[0].lkey = m_tx_lkey; -#endif /* DEFINED_TSO */ + int ret = send_buffer(p_send_wqe, attr); send_status_handler(ret, p_send_wqe); } @@ -667,12 +644,10 @@ void ring_simple::send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, v #endif auto_unlocker lock(m_lock_ring_tx); -#ifdef DEFINED_TSO -#else p_send_wqe->sg_list[0].lkey = m_tx_lkey; mem_buf_desc_t* p_mem_buf_desc = (mem_buf_desc_t*)(p_send_wqe->wr_id); p_mem_buf_desc->lwip_pbuf.pbuf.ref++; -#endif /* DEFINED_TSO */ + int ret = send_buffer(p_send_wqe, attr); send_status_handler(ret, p_send_wqe); } @@ -1042,25 +1017,3 @@ uint32_t ring_simple::get_max_inline_data() { return m_p_qp_mgr->get_max_inline_data(); } - -#ifdef DEFINED_TSO -uint32_t ring_simple::get_max_send_sge(void) -{ - return m_p_qp_mgr->get_max_send_sge(); -} - -uint32_t ring_simple::get_max_payload_sz(void) -{ - return m_tso.max_payload_sz; -} - -uint16_t ring_simple::get_max_header_sz(void) -{ - return m_tso.max_header_sz; -} - -bool ring_simple::is_tso(void) -{ - return (m_tso.max_payload_sz && m_tso.max_header_sz); -} -#endif /* DEFINED_TSO */ diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index 36b4992d7..f5c3a4788 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -66,14 +66,7 @@ class ring_simple : public ring_slave virtual uint32_t get_underly_qpn() { return m_p_qp_mgr->get_underly_qpn(); } virtual int modify_ratelimit(struct vma_rate_limit_t &rate_limit); virtual int get_tx_channel_fd() const { return m_p_tx_comp_event_channel ? m_p_tx_comp_event_channel->fd : -1; }; - virtual uint32_t get_max_inline_data(); -#ifdef DEFINED_TSO - virtual uint32_t get_max_send_sge(void); - virtual uint32_t get_max_payload_sz(void); - virtual uint16_t get_max_header_sz(void); - virtual uint32_t get_tx_lkey(ring_user_id_t id) { NOT_IN_USE(id); return m_tx_lkey; } - virtual bool is_tso(void); -#endif /* DEFINED_TSO */ + virtual uint32_t get_max_inline_data(); struct ibv_comp_channel* get_tx_comp_event_channel() { return m_p_tx_comp_event_channel; } int get_ring_descriptors(vma_mlx_hw_device_data &data); @@ -94,9 +87,7 @@ class ring_simple : public ring_slave void create_resources(); virtual void init_tx_buffers(uint32_t count); virtual void inc_cq_moderation_stats(size_t sz_data); -#ifdef DEFINED_TSO - void set_tx_num_wr(int32_t num_wr) { m_tx_num_wr = m_tx_num_wr_free = num_wr; } -#endif /* DEFINED_TSO */ + uint32_t get_tx_num_wr() { return m_tx_num_wr; } uint32_t get_mtu() { return m_mtu; } @@ -183,16 +174,6 @@ class ring_simple : public ring_slave struct ibv_comp_channel* m_p_tx_comp_event_channel; L2_address* m_p_l2_addr; uint32_t m_mtu; - -#ifdef DEFINED_TSO - struct { - /* Maximum length of TCP payload for TSO */ - uint32_t max_payload_sz; - - /* Maximum length of header for TSO */ - uint16_t max_header_sz; - } m_tso; -#endif /* DEFINED_TSO */ }; class ring_eth : public ring_simple diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index ad5fee3d0..e708a1f6a 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -335,11 +335,10 @@ void ring_tap::send_lwip_buffer(ring_user_id_t id, ibv_send_wr* p_send_wqe, vma_ compute_tx_checksum((mem_buf_desc_t*)(p_send_wqe->wr_id), attr & VMA_TX_PACKET_L3_CSUM, attr & VMA_TX_PACKET_L4_CSUM); auto_unlocker lock(m_lock_ring_tx); -#ifdef DEFINED_TSO -#else + mem_buf_desc_t* p_mem_buf_desc = (mem_buf_desc_t*)(p_send_wqe->wr_id); p_mem_buf_desc->lwip_pbuf.pbuf.ref++; -#endif /* DEFINED_TSO */ + int ret = send_buffer(p_send_wqe, attr); send_status_handler(ret, p_send_wqe); } diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index 72b722824..fbdb95eb6 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -44,14 +44,7 @@ class ring_tap : public ring_slave virtual int modify_ratelimit(struct vma_rate_limit_t &rate_limit) { NOT_IN_USE(rate_limit); return 0; } void inc_cq_moderation_stats(size_t sz_data) { NOT_IN_USE(sz_data); } virtual uint32_t get_underly_qpn() { return -1; } - virtual uint32_t get_max_inline_data() { return 0; } -#ifdef DEFINED_TSO - virtual uint32_t get_max_send_sge(void) { return 1; } - virtual uint32_t get_max_payload_sz(void) { return 0; } - virtual uint16_t get_max_header_sz(void) { return 0; } - virtual uint32_t get_tx_lkey(ring_user_id_t id) { NOT_IN_USE(id); return 0; } - virtual bool is_tso(void) { return false; } -#endif /* DEFINED_TSO */ + virtual uint32_t get_max_inline_data() { return 0; } inline void set_tap_data_available() { m_tap_data_available = true; } inline void set_vf_ring(ring_slave *p_ring) { m_vf_ring = p_ring; } diff --git a/src/vma/dev/wqe_send_handler.h b/src/vma/dev/wqe_send_handler.h index f43e2b42d..00fb4aea1 100644 --- a/src/vma/dev/wqe_send_handler.h +++ b/src/vma/dev/wqe_send_handler.h @@ -34,15 +34,6 @@ class wqe_send_handler: public tostr inline void disable_hw_csum (ibv_send_wr &) {} #endif -#ifdef DEFINED_TSO - inline void enable_tso(ibv_send_wr &wr, void *hdr, uint16_t hdr_sz, uint16_t mss) { - vma_send_wr_opcode(wr) = VMA_IBV_WR_TSO; - wr.tso.hdr = hdr; - wr.tso.hdr_sz = hdr_sz; - wr.tso.mss = mss; - } -#endif /* DEFINED_TSO */ - inline void enable_inline (ibv_send_wr &send_wqe) { vma_send_wr_send_flags(send_wqe) |= IBV_SEND_INLINE; } }; diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index 01188f305..b4e8ab3fe 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -121,22 +121,6 @@ typedef ibv_device_attr vma_ibv_device_attr_ex; #define vma_send_wr_send_flags(wr) (wr).send_flags #define vma_send_wr_opcode(wr) (wr).opcode -#ifdef DEFINED_TSO - #define VMA_IBV_WR_TSO (ibv_wr_opcode)IBV_WR_TSO - #define vma_check_dev_attr_tso(_attr) 1 - #define vma_get_tso_caps(_attr) (((vma_ibv_device_attr_ex *)(_attr))->tso_caps) - #define vma_ibv_qp_init_attr_tso(_attr, _max_tso_header) \ - do { \ - _attr.comp_mask |= IBV_QP_INIT_ATTR_MAX_TSO_HEADER; \ - _attr.max_tso_header = _max_tso_header; \ - } while (0) - typedef struct ibv_tso_caps vma_ibv_tso_caps; -#else - #define VMA_IBV_WR_TSO (ibv_wr_opcode)IBV_WR_SEND - #define vma_check_dev_attr_tso(_attr) 0 - #define vma_ibv_qp_init_attr_tso(_attr, _max_tso_header) ((void)0) -#endif /* DEFINED_TSO */ - // Dummy send #ifdef DEFINED_IBV_WR_NOP #define vma_is_nop_supported(device_attr) 1 diff --git a/src/vma/lwip/opt.h b/src/vma/lwip/opt.h index 3d2b5f928..79726d0b7 100644 --- a/src/vma/lwip/opt.h +++ b/src/vma/lwip/opt.h @@ -297,7 +297,6 @@ //#define TCP_OUTPUT_DEBUG LWIP_DBG_ON //#define TCP_RST_DEBUG LWIP_DBG_ON //#define TCP_QLEN_DEBUG LWIP_DBG_ON -//#define TCP_TSO_DEBUG LWIP_DBG_ON #endif /* @@ -847,17 +846,6 @@ #define LWIP_CHECKSUM_ON_COPY 0 #endif -/** - * LWIP_TSO: Enable Large Segment Offload capability. - */ -#ifndef LWIP_TSO -#ifdef DEFINED_TSO -#define LWIP_TSO 1 -#else -#define LWIP_TSO 0 -#endif /* DEFINED_TSO */ -#endif - /* Define platform endianness */ #ifndef BYTE_ORDER #define BYTE_ORDER LITTLE_ENDIAN @@ -1049,16 +1037,8 @@ typedef unsigned long mem_ptr_t; #define TCP_QLEN_DEBUG LWIP_DBG_OFF #endif -/** - * TCP_TSO_DEBUG: Enable debugging for TSO. - */ -#ifndef TCP_TSO_DEBUG -#define TCP_TSO_DEBUG LWIP_DBG_OFF -#endif - #define LWIP_DEBUG_ENABLE PBUF_DEBUG | TCP_DEBUG | TCP_INPUT_DEBUG | TCP_FR_DEBUG | TCP_RTO_DEBUG \ - | TCP_CWND_DEBUG | TCP_WND_DEBUG | TCP_OUTPUT_DEBUG | TCP_RST_DEBUG | TCP_QLEN_DEBUG \ - | TCP_TSO_DEBUG + | TCP_CWND_DEBUG | TCP_WND_DEBUG | TCP_OUTPUT_DEBUG | TCP_RST_DEBUG | TCP_QLEN_DEBUG #if LWIP_DEBUG_ENABLE diff --git a/src/vma/lwip/tcp.h b/src/vma/lwip/tcp.h index 5afc0a1be..cf823c105 100644 --- a/src/vma/lwip/tcp.h +++ b/src/vma/lwip/tcp.h @@ -53,11 +53,7 @@ void register_sys_now(sys_now_fn fn); extern u16_t lwip_tcp_mss; #if LWIP_3RD_PARTY_L3 -#if LWIP_TSO -typedef err_t (*ip_output_fn)(struct pbuf *p, void* p_conn, u16_t flags); -#else typedef err_t (*ip_output_fn)(struct pbuf *p, void* p_conn, int is_rexmit, u8_t is_dummy); -#endif /* LWIP_TSO */ void register_ip_output(ip_output_fn fn); typedef ssize_t (*sys_readv_fn)(int __fd, const struct iovec *iov, int iovcnt); @@ -426,23 +422,6 @@ struct tcp_pcb { /* Delayed ACK control: number of quick acks */ u8_t quickack; - -#if LWIP_TSO - /* TSO description */ - struct { - /* Maximum length of memory buffer */ - u32_t max_buf_sz; - - /* Maximum length of TCP payload for TSO */ - u32_t max_payload_sz; - - /* Maximum length of header for TSO */ - u16_t max_header_sz; - - /* Maximum number of SGE */ - u32_t max_send_sge; - } tso; -#endif /* LWIP_TSO */ }; typedef u16_t (*ip_route_mtu_fn)(struct tcp_pcb *pcb); @@ -506,13 +485,6 @@ void tcp_err (struct tcp_pcb *pcb, tcp_err_fn err); #define tcp_nagle_disable(pcb) ((pcb)->flags |= TF_NODELAY) #define tcp_nagle_enable(pcb) ((pcb)->flags &= ~TF_NODELAY) #define tcp_nagle_disabled(pcb) (((pcb)->flags & TF_NODELAY) != 0) - -#if LWIP_TSO -#define tcp_tso(pcb) ((pcb)->tso.max_payload_sz) -#else -#define tcp_tso(pcb) (0) -#endif /* LWIP_TSO */ - #define tcp_accepted(pcb) LWIP_ASSERT("get_tcp_state(pcb) == LISTEN (called for wrong pcb?)", \ get_tcp_state(pcb) == LISTEN) @@ -533,7 +505,6 @@ err_t tcp_shutdown(struct tcp_pcb *pcb, int shut_rx, int shut_tx); #define TCP_WRITE_FLAG_MORE 0x02 #define TCP_WRITE_REXMIT 0x08 #define TCP_WRITE_DUMMY 0x10 -#define TCP_WRITE_TSO 0x20 #define TCP_WRITE_FILE 0x40 err_t tcp_write (struct tcp_pcb *pcb, const void *dataptr, u32_t len, diff --git a/src/vma/lwip/tcp_impl.h b/src/vma/lwip/tcp_impl.h index 43657176a..64467c561 100644 --- a/src/vma/lwip/tcp_impl.h +++ b/src/vma/lwip/tcp_impl.h @@ -287,14 +287,9 @@ do { struct tcp_seg { struct tcp_seg *next; /* used when putting segements on a queue */ struct pbuf *p; /* buffer containing data + TCP header */ -#if LWIP_TSO - u32_t seqno; - u32_t len; /* the TCP length of this segment should allow >64K size */ -#else void *dataptr; /* pointer to the TCP data in the pbuf */ u32_t seqno; u16_t len; /* the TCP length of this segment should allow >64K size */ -#endif /* LWIP_TSO */ #if TCP_OVERSIZE_DBGCHECK u16_t oversize_left; /* Extra bytes available at the end of the last @@ -312,7 +307,6 @@ struct tcp_seg { checksummed into 'chksum' */ #define TF_SEG_OPTS_WNDSCALE (u8_t)0x08U /* Include window scaling option */ #define TF_SEG_OPTS_DUMMY_MSG (u8_t)TCP_WRITE_DUMMY /* Include dummy send option */ -#define TF_SEG_OPTS_TSO (u8_t)TCP_WRITE_TSO /* Use TSO send mode */ struct tcp_hdr *tcphdr; /* the TCP header */ }; diff --git a/src/vma/lwip/tcp_in.c b/src/vma/lwip/tcp_in.c index 3adcd9204..0da290bd6 100644 --- a/src/vma/lwip/tcp_in.c +++ b/src/vma/lwip/tcp_in.c @@ -160,10 +160,7 @@ L3_level_tcp_input(struct pbuf *p, struct tcp_pcb* pcb) /* Set up a tcp_seg structure. */ in_data.inseg.next = NULL; in_data.inseg.len = p->tot_len; -#if LWIP_TSO -#else in_data.inseg.dataptr = p->payload; -#endif /* LWIP_TSO */ in_data.inseg.p = p; in_data.inseg.tcphdr = in_data.tcphdr; in_data.inseg.flags = 0; @@ -741,11 +738,7 @@ tcp_oos_insert_segment(struct tcp_pcb *pcb, struct tcp_seg *cseg, struct tcp_seg if (next && TCP_SEQ_GT(in_data->seqno + cseg->len, next->tcphdr->seqno)) { /* We need to trim the incoming segment. */ -#if LWIP_TSO - cseg->len = (u32_t)(next->tcphdr->seqno - in_data->seqno); -#else cseg->len = (u16_t)(next->tcphdr->seqno - in_data->seqno); -#endif /* LWIP_TSO */ pbuf_realloc(cseg->p, cseg->len); } } @@ -753,136 +746,6 @@ tcp_oos_insert_segment(struct tcp_pcb *pcb, struct tcp_seg *cseg, struct tcp_seg } #endif /* TCP_QUEUE_OOSEQ */ -#if LWIP_TSO -/** - * Called by tcp_output() to shrink TCP segment to lastackno. - * This call should process retransmitted TSO segment. - * - * @param pcb the tcp_pcb for the TCP connection used to send the segment - * @param seg the tcp_seg to send - * @param ackqno current ackqno - * @return number of freed pbufs - */ -static u32_t -tcp_shrink_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t ackno) -{ - struct pbuf *cur_p; - struct pbuf *p; - u32_t len; - u32_t count = 0; - u8_t optflags = 0; - u8_t optlen; - - if ((NULL == seg) || (NULL == seg->p) || - !(TCP_SEQ_GT(ackno, seg->seqno) && TCP_SEQ_LT(ackno, seg->seqno + TCP_TCPLEN(seg)))) { - return count; - } - -#if LWIP_TCP_TIMESTAMPS - if ((pcb->flags & TF_TIMESTAMP)) { - optflags |= TF_SEG_OPTS_TS; - } -#endif /* LWIP_TCP_TIMESTAMPS */ - - optlen = LWIP_TCP_OPT_LENGTH(optflags); - - /* Just shrink first pbuf */ - if (TCP_SEQ_GT((seg->seqno + seg->p->len - optlen - TCP_HLEN), ackno)) { - len = ackno - seg->seqno; - if (optlen > 0) { - /* tcp_output_segment() relies on aligned options area */ - len &= 0xfffffffc; - } - - seg->len -= len; - seg->seqno += len; - seg->tcphdr->seqno = htonl(seg->seqno); - p = seg->p; - p->tot_len -= len; - p->len -= len; - p->payload = (u8_t *)p->payload + len; - MEMMOVE(p->payload, seg->tcphdr, TCP_HLEN); - seg->tcphdr = p->payload; - return count; - } - - cur_p = seg->p->next; - - if (cur_p) { - /* Process more than first pbuf */ - len = seg->p->len - TCP_HLEN - optlen; - seg->len -= len; - seg->seqno += len; - seg->tcphdr->seqno = htonl(seg->seqno); - seg->p->tot_len -= len; - seg->p->len = TCP_HLEN + optlen; - } - - while (cur_p) { - if (TCP_SEQ_GT((seg->seqno + cur_p->len), ackno)) { - break; - } else { - seg->len -= cur_p->len; - seg->seqno += cur_p->len; - seg->tcphdr->seqno = htonl(seg->seqno); - seg->p->tot_len -= cur_p->len; - seg->p->next = cur_p->next; - - p = cur_p; - cur_p = p->next; - p->next = NULL; - - if (p->type == PBUF_RAM) { - external_tcp_tx_pbuf_free(pcb, p); - } else { - pbuf_free(p); - } - count++; - } - } - - if (cur_p) { - len = ackno - seg->seqno; - if (optlen > 0) { - /* tcp_output_segment() relies on aligned options area */ - len &= 0xfffffffc; - } - - seg->len -= len; - seg->seqno += len; - seg->tcphdr->seqno = htonl(seg->seqno); - cur_p->tot_len -= len - optlen; - cur_p->len -= len - optlen; - cur_p->payload = (u8_t *)cur_p->payload + ((s32_t)len - (s32_t)optlen); - - /* Add space for TCP header */ - cur_p->tot_len += TCP_HLEN; - cur_p->len += TCP_HLEN; - cur_p->payload = (u8_t *)cur_p->payload - TCP_HLEN; - MEMCPY(cur_p->payload, seg->tcphdr, TCP_HLEN); - seg->tcphdr = cur_p->payload; - - p = seg->p; - seg->p = cur_p; - - if (p->type == PBUF_RAM) { - external_tcp_tx_pbuf_free(pcb, p); - } else { - pbuf_free(p); - } - count++; - } - -#if TCP_TSO_DEBUG - LWIP_DEBUGF(TCP_TSO_DEBUG | LWIP_DBG_TRACE, - ("tcp_shrink: count: %-5d unsent %s\n", - count, _dump_seg(pcb->unsent))); -#endif /* TCP_TSO_DEBUG */ - - return count; -} -#endif /* LWIP_TSO */ - /** * Called by tcp_process. Checks if the given segment is an ACK for outstanding * data, and if so frees the memory of the buffered data. Next, is places the @@ -1065,25 +928,8 @@ tcp_receive(struct tcp_pcb *pcb, tcp_in_data* in_data) /* Remove segment from the unacknowledged list if the incoming ACK acknowlegdes them. */ -#if LWIP_TSO - while (pcb->unacked != NULL) { - - /* The purpose of this processing is to avoid to send again - * data from TSO segment that is partially acknowledged. - * This TSO segment was not released in tcp_receive() because - * input data processing releases whole acknowledged segment only. - */ - if (pcb->unacked->flags & TF_SEG_OPTS_TSO) { - pcb->snd_queuelen -= tcp_shrink_segment(pcb, pcb->unacked, in_data->ackno); - } - - if (!(TCP_SEQ_LEQ(pcb->unacked->seqno + TCP_TCPLEN(pcb->unacked), in_data->ackno))) { - break; - } -#else while (pcb->unacked != NULL && TCP_SEQ_LEQ(pcb->unacked->seqno + TCP_TCPLEN(pcb->unacked), in_data->ackno)) { -#endif /* LWIP_TSO */ LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: removing %"U32_F":%"U32_F" from pcb->unacked\n", ntohl(pcb->unacked->tcphdr->seqno), ntohl(pcb->unacked->tcphdr->seqno) + @@ -1274,10 +1120,7 @@ tcp_receive(struct tcp_pcb *pcb, tcp_in_data* in_data) LWIP_ASSERT("pbuf_header failed", 0); } } -#if LWIP_TSO -#else in_data->inseg.dataptr = p->payload; -#endif /* LWIP_TSO */ in_data->inseg.len -= pcb->rcv_nxt - in_data->seqno; in_data->inseg.tcphdr->seqno = in_data->seqno = pcb->rcv_nxt; } @@ -1362,11 +1205,7 @@ tcp_receive(struct tcp_pcb *pcb, tcp_in_data* in_data) TCP_SEQ_GT(in_data->seqno + in_data->tcplen, next->tcphdr->seqno)) { /* inseg cannot have FIN here (already processed above) */ -#if LWIP_TSO - in_data->inseg.len = (u32_t)(next->tcphdr->seqno - in_data->seqno); -#else in_data->inseg.len = (u16_t)(next->tcphdr->seqno - in_data->seqno); -#endif /* LWIP_TSO */ if (TCPH_FLAGS(in_data->inseg.tcphdr) & TCP_SYN) { in_data->inseg.len -= 1; } @@ -1530,11 +1369,7 @@ tcp_receive(struct tcp_pcb *pcb, tcp_in_data* in_data) if (cseg != NULL) { if (TCP_SEQ_GT(prev->tcphdr->seqno + prev->len, in_data->seqno)) { /* We need to trim the prev segment. */ -#if LWIP_TSO - prev->len = (u32_t)(in_data->seqno - prev->tcphdr->seqno); -#else prev->len = (u16_t)(in_data->seqno - prev->tcphdr->seqno); -#endif /* LWIP_TSO */ pbuf_realloc(prev->p, prev->len); } prev->next = cseg; @@ -1556,11 +1391,7 @@ tcp_receive(struct tcp_pcb *pcb, tcp_in_data* in_data) if (next->next != NULL) { if (TCP_SEQ_GT(next->tcphdr->seqno + next->len, in_data->seqno)) { /* We need to trim the last segment. */ -#if LWIP_TSO - next->len = (u32_t)(in_data->seqno - next->tcphdr->seqno); -#else next->len = (u16_t)(in_data->seqno - next->tcphdr->seqno); -#endif /* LWIP_TSO */ pbuf_realloc(next->p, next->len); } /* check if the remote side overruns our receive window */ diff --git a/src/vma/lwip/tcp_out.c b/src/vma/lwip/tcp_out.c index 51e69d171..dfcd9390a 100644 --- a/src/vma/lwip/tcp_out.c +++ b/src/vma/lwip/tcp_out.c @@ -241,10 +241,7 @@ tcp_create_segment(struct tcp_pcb *pcb, struct pbuf *p, u8_t flags, u32_t seqno, seg->flags = optflags; seg->p = p; -#if LWIP_TSO -#else seg->dataptr = p->payload; -#endif /* LWIP_TSO */ seg->len = p->tot_len - optlen; seg->seqno = seqno; @@ -364,32 +361,6 @@ tcp_write_checks(struct tcp_pcb *pcb, u32_t len) return ERR_OK; } -#if LWIP_TSO -static inline u16_t tcp_xmit_size_goal(struct tcp_pcb *pcb, int use_max) -{ - u16_t size = pcb->mss; - -#if LWIP_TCP_TIMESTAMPS - if ((pcb->flags & TF_TIMESTAMP)) { - /* ensure that segments can hold at least one data byte... */ - size = LWIP_MAX(size, LWIP_TCP_OPT_LEN_TS + 1); - } -#endif /* LWIP_TCP_TIMESTAMPS */ - -#if LWIP_TSO - if (use_max && tcp_tso(pcb) && pcb->tso.max_buf_sz) { - /* use maximum buffer size in case TSO */ - size = LWIP_MAX(size, pcb->tso.max_buf_sz); - } -#endif /* LWIP_TSO */ - - /* don't allocate segments bigger than half the maximum window we ever received */ - size = LWIP_MIN(size, (pcb->snd_wnd_max >> 1)); - - return size; -} -#endif /* LWIP_TSO */ - /** * Write data for sending (but does not send it immediately). * @@ -428,9 +399,6 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u32_t len, u8_t apiflags) #endif /* TCP_CHECKSUM_ON_COPY */ err_t err; u16_t mss_local = 0; -#if LWIP_TSO - int tot_p = 0; -#endif /* LWIP_TSO */ const int piov_max_size = 512; const int piov_max_len = 65536; struct iovec piov[piov_max_size]; @@ -452,23 +420,16 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u32_t len, u8_t apiflags) } queuelen = pcb->snd_queuelen; -#if LWIP_TSO - mss_local = tcp_xmit_size_goal(pcb, 1); -#else mss_local = LWIP_MIN(pcb->mss, pcb->snd_wnd_max/2); mss_local = mss_local ? mss_local : pcb->mss; -#endif /* LWIP_TSO */ optflags |= (apiflags & TCP_WRITE_DUMMY ? TF_SEG_OPTS_DUMMY_MSG : 0); #if LWIP_TCP_TIMESTAMPS if ((pcb->flags & TF_TIMESTAMP)) { optflags |= TF_SEG_OPTS_TS; -#if LWIP_TSO -#else /* ensure that segments can hold at least one data byte... */ mss_local = LWIP_MAX(mss_local, LWIP_TCP_OPT_LEN_TS + 1); -#endif /* LWIP_TSO */ } #endif /* LWIP_TCP_TIMESTAMPS */ @@ -514,9 +475,6 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u32_t len, u8_t apiflags) #endif /* TCP_OVERSIZE */ } seg = pcb->last_unsent; -#if LWIP_TSO - tot_p = pbuf_clen(seg->p); -#endif /* LWIP_TSO */ /* * Phase 1: Copy data directly into an oversized pbuf. @@ -553,13 +511,7 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u32_t len, u8_t apiflags) * (len==0). The new pbuf is kept in concat_p and pbuf_cat'ed at * the end. */ -#if LWIP_TSO - if (!(apiflags & TCP_WRITE_FILE) && (pos < len) && (space > 0) && (pcb->last_unsent->len > 0) && - (tot_p < (int)pcb->tso.max_send_sge)) { -#else if (!(apiflags & TCP_WRITE_FILE) && (pos < len) && (space > 0) && (pcb->last_unsent->len > 0)) { -#endif /* LWIP_TSO */ - u16_t seglen = space < len - pos ? space : len - pos; /* Create a pbuf with a copy or reference to seglen bytes. We @@ -749,8 +701,7 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u32_t len, u8_t apiflags) TCPH_SET_FLAG(seg->tcphdr, TCP_PSH); } - LWIP_DEBUGF(TCP_TSO_DEBUG | LWIP_DBG_TRACE, - ("tcp_write: mss: %-5d unsent %s\n", mss_local, _dump_seg(pcb->unsent))); + LWIP_DEBUGF(LWIP_DBG_TRACE, ("tcp_write: mss: %-5d unsent %s\n", mss_local, _dump_seg(pcb->unsent))); return ERR_OK; memerr: @@ -949,11 +900,7 @@ tcp_send_empty_ack(struct tcp_pcb *pcb) opts += 3; } #endif -#if LWIP_TSO - pcb->ip_output(p, pcb, 0); -#else pcb->ip_output(p, pcb, 0, 0); -#endif /* LWIP_TSO */ tcp_tx_pbuf_free(pcb, p); (void)opts; /* Fix warning -Wunused-but-set-variable */ @@ -972,303 +919,6 @@ static void tcp_seg_move_flags(struct tcp_seg *from, struct tcp_seg *to, u8_t fl } } -#if LWIP_TSO -/** - * Called by tcp_output() to actually join few following TCP segments - * in one to send a TCP segment over IP using Large Segment Offload method. - * - * @param pcb the tcp_pcb for the TCP connection used to send the segment - * @param seg the tcp_seg to send - * @param wnd current wnd - * @return pbuf with p->payload being the tcp_hdr - */ -static void -tcp_tso_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t wnd) -{ - struct tcp_seg *cur_seg = seg; - u32_t max_payload_sz = LWIP_MIN(pcb->tso.max_payload_sz, (wnd - (seg->seqno - pcb->lastack))); - u32_t tot_len = 0; - u8_t flags = seg->flags; - int tot_p = 0; - - /* Ignore retransmitted segments and special segments - */ - if (TCP_SEQ_LT(seg->seqno, pcb->snd_nxt) || - (seg->flags & (TF_SEG_OPTS_TSO | TF_SEG_OPTS_DUMMY_MSG)) || - ((TCPH_FLAGS(seg->tcphdr) & (~(TCP_ACK | TCP_PSH))) != 0)) { - goto err; - } - - while (cur_seg && cur_seg->next && - (cur_seg->flags == flags) && - ((TCPH_FLAGS(cur_seg->tcphdr) & (~(TCP_ACK | TCP_PSH))) == 0)) { - - tot_len += cur_seg->len; - if (tot_len > max_payload_sz) { - goto err; - } - - tot_p += pbuf_clen(cur_seg->p); - if (tot_p > (int)pcb->tso.max_send_sge) { - goto err; - } - - if (seg != cur_seg) { - /* Update the original segment with current segment details */ - seg->next = cur_seg->next; - seg->len += cur_seg->len; - - /* Update the first pbuf of current segment */ - cur_seg->p->payload = (u8_t *)cur_seg->tcphdr + LWIP_TCP_HDRLEN(cur_seg->tcphdr); - cur_seg->p->len = cur_seg->len - (cur_seg->p->tot_len - cur_seg->p->len); - cur_seg->p->tot_len = cur_seg->len; - - /* Concatenate two pbufs (each may be a pbuf chain) and - * update tot_len values for all pbuf in the chain - */ - pbuf_cat(seg->p, cur_seg->p); - - /* Free joined segment w/o releasing pbuf - * tcp_seg_free() and tcp_segs_free() release pbuf chain. - * Note, this code doesn't join the last unsent segment and thus - * pcb->last_unsent is left unchanged. Otherwise, we would have - * to update the last_unsent pointer to keep it valid. - */ - external_tcp_seg_free(pcb, cur_seg); - } - cur_seg = seg->next; - } - -err: - - /* All segments that greater than MSS must be processed as TSO segments - * For example it can be actual for segments with large (more than MSS) buffer size - */ - if (seg->len > pcb->mss) { - seg->flags |= TF_SEG_OPTS_TSO; - } - -#if TCP_TSO_DEBUG - LWIP_DEBUGF(TCP_TSO_DEBUG | LWIP_DBG_TRACE, - ("tcp_join: max: %-5d unsent %s\n", - max_payload_sz, _dump_seg(pcb->unsent))); -#endif /* TCP_TSO_DEBUG */ - - return; -} - -static struct tcp_seg * -tcp_split_one_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t lentosend, u8_t optflags, u8_t optlen) -{ - struct tcp_seg *cur_seg = NULL; - struct tcp_seg *new_seg = NULL; - struct tcp_seg *result = NULL; - struct pbuf *cur_p = NULL; - u16_t max_length = 0; - u16_t oversize = 0; - - cur_seg = seg; - max_length = cur_seg->p->len; - while ((cur_seg->p->len == cur_seg->p->tot_len) && (cur_seg->len > lentosend)) { - - u32_t lentoqueue = cur_seg->len - lentosend; - - /* Allocate memory for p_buf and fill in fields. */ - if (NULL == (cur_p = tcp_pbuf_prealloc(lentoqueue + optlen, max_length, &oversize, pcb, 0, 0))) { - LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 2, ("tcp_split_one_segment: could not allocate memory for pbuf copy size %"U16_F"\n", (lentoqueue + optlen))); - goto out; - } - - /* Do prefetch to avoid no memory issue during segment creation with - * predefined pbuf. It allows to avoid releasing pbuf during failure processing. - */ - if (!pcb->seg_alloc) { - if (NULL == (pcb->seg_alloc = tcp_create_segment(pcb, NULL, 0, 0, 0))) { - LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 2, ("tcp_split_one_segment: could not allocate memory for segment\n")); - tcp_tx_pbuf_free(pcb, cur_p); - goto out; - } - } - - /* Copy the data from the original buffer */ - TCP_DATA_COPY2((char *)cur_p->payload + optlen, (u8_t *)cur_seg->tcphdr + LWIP_TCP_HDRLEN(cur_seg->tcphdr) + lentosend, lentoqueue , &chksum, &chksum_swapped); - - /* Update new buffer */ - cur_p->tot_len = cur_seg->p->tot_len - lentosend - TCP_HLEN ; - cur_p->next = cur_seg->p->next; - - /* Fill in tcp_seg (allocation was done before). - * Do not expect NULL but it is possible as far as pbuf_header(p, TCP_HLEN) can return NULL inside tcp_create_segment() - */ - if (NULL == (new_seg = tcp_create_segment(pcb, cur_p, 0, cur_seg->seqno + lentosend, optflags))) { - LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 2, ("tcp_split_one_segment: could not allocate memory for segment\n")); - goto out; - } - - /* New segment update */ - new_seg->next = cur_seg->next; - new_seg->flags = cur_seg->flags; - - /* Update original buffer */ - cur_seg->p->next = NULL; - cur_seg->p->len = cur_seg->p->len - lentoqueue; - cur_seg->p->tot_len = cur_seg->p->len; - - /* Original segment update */ - cur_seg->next = new_seg; - cur_seg->len = cur_seg->p->len - (TCP_HLEN + optlen); - - cur_seg = new_seg; - - /* Update number of buffer to be send */ - pcb->snd_queuelen++; - } - - result = seg; - -out: - if (cur_seg->len > pcb->mss) { - cur_seg->flags |= TF_SEG_OPTS_TSO; - } - if (pcb->last_unsent == seg) { - /* We have split the last unsent segment, update last_unsent */ - pcb->last_unsent = cur_seg; -#if TCP_OVERSIZE - pcb->unsent_oversize = result ? oversize : 0; -#endif /* TCP_OVERSIZE */ - } - tcp_seg_move_flags(seg, cur_seg, TCP_FIN | TCP_RST); - return result; -} - - /** - * Called by tcp_output() to process TCP segment with ref > 1. - * This call should process retransmitted TSO segment. - * - * @param pcb the tcp_pcb for the TCP connection used to send the segment - * @param seg the tcp_seg to send - * @param wnd current window size - * @return current segment to proceed - */ -__attribute__((unused)) static struct tcp_seg * -tcp_rexmit_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t wnd) -{ - struct tcp_seg *cur_seg = NULL; - struct tcp_seg *new_seg = NULL; - struct pbuf *cur_p = NULL; - u16_t mss_local = 0; - u8_t optflags = 0; - u8_t optlen = 0; - - LWIP_ASSERT("tcp_rexmit_segment: sanity check", (seg && seg->p)); - - mss_local = tcp_xmit_size_goal(pcb, 0); - - /* TCP_SEQ_LT(seg->seqno, pcb->snd_nxt) can be used as - * retransmission attribute but according current design - * checking this condition is needless. - * Following check makes a decision to retransmit TSO segment as is or - * convert one into a sequence of none TSO segments - * Keep TSO segment w/o change in case: - * 1. current TSO segment was sent and send operation - * was completed - * 2. current wnd is enough to send this segment as is - */ - if ((seg->p->ref == 1) && ((seg->len + seg->seqno - pcb->lastack) <= wnd)) { - if (seg->len <= mss_local) { - seg->flags &= (~TF_SEG_OPTS_TSO); - } - return seg; - } - -#if LWIP_TCP_TIMESTAMPS - if ((pcb->flags & TF_TIMESTAMP)) { - optflags |= TF_SEG_OPTS_TS; - } -#endif /* LWIP_TCP_TIMESTAMPS */ - - optlen += LWIP_TCP_OPT_LENGTH(optflags); - - cur_seg = seg; - cur_seg->flags &= (~TF_SEG_OPTS_TSO); - cur_p = cur_seg->p->next; - while (cur_p) { - /* Do prefetch to avoid no memory issue during segment creation with - * predefined pbuf. It allows to avoid releasing pbuf inside tcp_create_segment() - * during failure processing. - */ - if (!pcb->seg_alloc) { - if (NULL == (pcb->seg_alloc = tcp_create_segment(pcb, NULL, 0, 0, 0))) { - LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 2, ("tcp_split_segment: could not allocate memory for segment\n")); - return seg; - } - } - - cur_p->len += optlen; - cur_p->tot_len += optlen; - cur_p->payload = (u8_t *)cur_p->payload - optlen; - - /* Fill in tcp_seg (allocation was done before). - * Do not expect NULL but it is possible as far as pbuf_header(p, TCP_HLEN) can return NULL inside tcp_create_segment() - */ - if (NULL == (new_seg = tcp_create_segment(pcb, cur_p, 0, cur_seg->seqno + cur_seg->p->len - TCP_HLEN - optlen, optflags))) { - LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 2, ("tcp_split_one_segment: could not allocate memory for segment\n")); - if (cur_seg->len > pcb->mss) { - cur_seg->flags |= TF_SEG_OPTS_TSO; - } - cur_p->len -= optlen; - cur_p->tot_len -= optlen; - cur_p->payload = (u8_t *)cur_p->payload + optlen; - return seg; - } - - /* New segment update */ - new_seg->next = cur_seg->next; - new_seg->flags = cur_seg->flags; - - /* Original segment update */ - cur_seg->next = new_seg; - cur_seg->len = cur_seg->p->len - TCP_HLEN - optlen; - cur_seg->p->tot_len = cur_seg->p->len; - cur_seg->p->next = NULL; - - if (pcb->last_unsent == cur_seg) { - /* We have split the last unsent segment, update last_unsent */ - pcb->last_unsent = new_seg; -#if TCP_OVERSIZE - pcb->unsent_oversize = 0; -#endif /* TCP_OVERSIZE */ - } - - tcp_seg_move_flags(cur_seg, new_seg, TCP_FIN | TCP_RST); - - if (NULL == tcp_split_one_segment(pcb, cur_seg, mss_local, optflags, optlen)) { - LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 2, ("tcp_split_one_segment: could not allocate memory for segment\n")); - if (new_seg->len > pcb->mss) { - new_seg->flags |= TF_SEG_OPTS_TSO; - } - return seg; - } - cur_seg = new_seg; - - cur_p = cur_seg->p->next; - } - - if (NULL == tcp_split_one_segment(pcb, cur_seg, mss_local, optflags, optlen)) { - LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 2, ("tcp_split_one_segment: could not allocate memory for segment\n")); - return seg; - } - -#if TCP_TSO_DEBUG - LWIP_DEBUGF(TCP_TSO_DEBUG | LWIP_DBG_TRACE, - ("tcp_rexmit: cwnd: %-5d unsent %s\n", - pcb->cwnd, _dump_seg(pcb->unsent))); -#endif /* TCP_TSO_DEBUG */ - - return seg; -} -#endif /* LWIP_TSO */ - void tcp_split_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t wnd) { @@ -1288,9 +938,6 @@ tcp_split_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t wnd) lentosend = (wnd - (seg->seqno - pcb->lastack)); -#if LWIP_TSO - mss_local = tcp_xmit_size_goal(pcb, 0); -#else /* don't allocate segments bigger than half the maximum window we ever received */ mss_local = LWIP_MIN(pcb->mss, pcb->snd_wnd_max / 2); mss_local = mss_local ? mss_local : pcb->mss; @@ -1301,7 +948,6 @@ tcp_split_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t wnd) mss_local = LWIP_MAX(mss_local, LWIP_TCP_OPT_LEN_TS + 1); } #endif /* LWIP_TCP_TIMESTAMPS */ -#endif /* LWIP_TSO */ #if LWIP_TCP_TIMESTAMPS if ((pcb->flags & TF_TIMESTAMP)) { @@ -1318,11 +964,7 @@ tcp_split_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t wnd) } /* Copy the data from the original buffer */ -#if LWIP_TSO - TCP_DATA_COPY2((char *)p->payload + optlen, (u8_t *)seg->tcphdr + LWIP_TCP_HDRLEN(seg->tcphdr) + lentosend, lentoqueue , &chksum, &chksum_swapped); -#else TCP_DATA_COPY2((char *)p->payload + optlen, (u8_t *)seg->dataptr + lentosend, lentoqueue , &chksum, &chksum_swapped); -#endif /* LWIP_TSO */ /* Update new buffer */ p->tot_len = seg->p->tot_len - lentosend - TCP_HLEN ; @@ -1419,12 +1061,6 @@ tcp_split_segment(struct tcp_pcb *pcb, struct tcp_seg *seg, u32_t wnd) tcp_seg_move_flags(seg, newseg, TCP_FIN | TCP_RST); -#if TCP_TSO_DEBUG - LWIP_DEBUGF(TCP_TSO_DEBUG | LWIP_DBG_TRACE, - ("tcp_split: max: %-5d unsent %s\n", - lentosend, _dump_seg(pcb->unsent))); -#endif /* TCP_TSO_DEBUG */ - return; } @@ -1527,25 +1163,8 @@ tcp_output(struct tcp_pcb *pcb) ntohl(seg->tcphdr->seqno), pcb->lastack)); } #endif /* TCP_CWND_DEBUG */ -#if TCP_TSO_DEBUG - if (seg) { - LWIP_DEBUGF(TCP_TSO_DEBUG | LWIP_DBG_TRACE, - ("tcp_output: wnd: %-5d unsent %s\n", - wnd, _dump_seg(pcb->unsent))); - } -#endif /* TCP_TSO_DEBUG */ while (seg) { -#if LWIP_TSO - /* TSO segment can be in unsent queue only in case of retransmission. - * Clear TSO flag, tcp_split_segment() and tcp_tso_segment() will handle - * all scenarios further. - */ - if (seg->flags & TF_SEG_OPTS_TSO) { - seg->flags &= ~TF_SEG_OPTS_TSO; - } -#endif /* LWIP_TSO */ - /* Split the segment in case of a small window */ if ((NULL == pcb->unacked) && (wnd) && ((seg->len + seg->seqno - pcb->lastack) > wnd)) { LWIP_ASSERT("tcp_output: no window for dummy packet", !LWIP_IS_DUMMY_SEGMENT(seg)); @@ -1578,15 +1197,6 @@ tcp_output(struct tcp_pcb *pcb) } } -#if LWIP_TSO - /* Use TSO send operation in case TSO is enabled - * and current segment is not retransmitted - */ - if (tcp_tso(pcb)) { - tcp_tso_segment(pcb, seg, wnd); - } -#endif /* LWIP_TSO */ - #if TCP_CWND_DEBUG LWIP_DEBUGF(TCP_CWND_DEBUG, ("tcp_output: snd_wnd %"U32_F", cwnd %"U16_F", wnd %"U32_F", effwnd %"U32_F", seq %"U32_F", ack %"U32_F", i %"S16_F"\n", pcb->snd_wnd, pcb->cwnd, wnd, @@ -1780,15 +1390,7 @@ tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb) TCP_STATS_INC(tcp.xmit); -#if LWIP_TSO - u16_t flags = 0; - flags |= seg->flags & TF_SEG_OPTS_DUMMY_MSG; - flags |= seg->flags & TF_SEG_OPTS_TSO; - flags |= (TCP_SEQ_LT(seg->seqno, pcb->snd_nxt) ? TCP_WRITE_REXMIT : 0); - pcb->ip_output(seg->p, pcb, flags); -#else pcb->ip_output(seg->p, pcb, seg->seqno < pcb->snd_nxt, LWIP_IS_DUMMY_SEGMENT(seg)); -#endif /* LWIP_TSO */ } /** @@ -1843,11 +1445,7 @@ tcp_rst(u32_t seqno, u32_t ackno, u16_t local_port, u16_t remote_port, struct tc TCP_STATS_INC(tcp.xmit); /* Send output with hardcoded TTL since we have no access to the pcb */ -#if LWIP_TSO - if(pcb) pcb->ip_output(p, pcb, 0); -#else if(pcb) pcb->ip_output(p, pcb, 0, 0); -#endif /* LWIP_TSO */ /* external_ip_output(p, NULL, local_ip, remote_ip, TCP_TTL, 0, IP_PROTO_TCP) */; tcp_tx_pbuf_free(pcb, p); LWIP_DEBUGF(TCP_RST_DEBUG, ("tcp_rst: seqno %"U32_F" ackno %"U32_F".\n", seqno, ackno)); @@ -2053,11 +1651,7 @@ tcp_keepalive(struct tcp_pcb *pcb) TCP_STATS_INC(tcp.xmit); /* Send output to IP */ -#if LWIP_TSO - pcb->ip_output(p, pcb, 0); -#else pcb->ip_output(p, pcb, 0, 0); -#endif /* LWIP_TSO */ tcp_tx_pbuf_free(pcb, p); @@ -2147,11 +1741,7 @@ tcp_zero_window_probe(struct tcp_pcb *pcb) TCPH_FLAGS_SET(tcphdr, TCP_ACK | TCP_FIN); } else { /* Data segment, copy in one byte from the head of the unacked queue */ -#if LWIP_TSO - *((char *)p->payload + TCP_HLEN + optlen) = *(char *)((u8_t *)seg->tcphdr + LWIP_TCP_HDRLEN(seg->tcphdr)); -#else *((char *)p->payload + TCP_HLEN + optlen) = *(char *)seg->dataptr; -#endif /* LWIP_TSO */ } /* The byte may be acknowledged without the window being opened. */ @@ -2167,11 +1757,7 @@ tcp_zero_window_probe(struct tcp_pcb *pcb) TCP_STATS_INC(tcp.xmit); /* Send output to IP */ -#if LWIP_TSO - pcb->ip_output(p, pcb, 0); -#else pcb->ip_output(p, pcb, 0, 0); -#endif /* LWIP_TSO */ tcp_tx_pbuf_free(pcb, p); diff --git a/src/vma/main.cpp b/src/vma/main.cpp index c2356c866..c082722d1 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -406,9 +406,6 @@ void print_vma_global_settings() VLOG_PARAM_NUMBER("Tx Mem Segs TCP", safe_mce_sys().tx_num_segs_tcp, MCE_DEFAULT_TX_NUM_SEGS_TCP, SYS_VAR_TX_NUM_SEGS_TCP); VLOG_PARAM_NUMBER("Tx Mem Bufs", safe_mce_sys().tx_num_bufs, MCE_DEFAULT_TX_NUM_BUFS, SYS_VAR_TX_NUM_BUFS); -#ifdef DEFINED_TSO - VLOG_PARAM_NUMBER("Tx Mem Buf size", safe_mce_sys().tx_buf_size, MCE_DEFAULT_TX_BUF_SIZE, SYS_VAR_TX_BUF_SIZE); -#endif /* DEFINED_TSO */ VLOG_PARAM_NUMBER("Tx QP WRE", safe_mce_sys().tx_num_wr, MCE_DEFAULT_TX_NUM_WRE, SYS_VAR_TX_NUM_WRE); VLOG_PARAM_NUMBER("Tx QP WRE Batching", safe_mce_sys().tx_num_wr_to_signal, MCE_DEFAULT_TX_NUM_WRE_TO_SIGNAL, SYS_VAR_TX_NUM_WRE_TO_SIGNAL); VLOG_PARAM_NUMBER("Tx Max QP INLINE", safe_mce_sys().tx_max_inline, MCE_DEFAULT_TX_MAX_INLINE, SYS_VAR_TX_MAX_INLINE); @@ -525,9 +522,6 @@ void print_vma_global_settings() VLOG_PARAM_STRING("IPOIB support", safe_mce_sys().enable_ipoib, MCE_DEFAULT_IPOIB_FLAG, SYS_VAR_IPOIB, safe_mce_sys().enable_ipoib ? "Enabled " : "Disabled"); VLOG_PARAM_STRING("SocketXtreme mode", safe_mce_sys().enable_socketxtreme, MCE_DEFAULT_SOCKETXTREME, SYS_VAR_SOCKETXTREME, safe_mce_sys().enable_socketxtreme ? "Enabled " : "Disabled"); -#ifdef DEFINED_TSO - VLOG_PARAM_STRING("TSO support", safe_mce_sys().enable_tso, MCE_DEFAULT_TSO, SYS_VAR_TSO, safe_mce_sys().enable_tso ? "Enabled " : "Disabled"); -#endif /* DEFINED_TSO */ VLOG_PARAM_STRING("BF (Blue Flame)", safe_mce_sys().handle_bf, MCE_DEFAULT_BF_FLAG, SYS_VAR_BF, safe_mce_sys().handle_bf ? "Enabled " : "Disabled"); VLOG_PARAM_STRING("fork() support", safe_mce_sys().handle_fork, MCE_DEFAULT_FORK_SUPPORT, SYS_VAR_FORK, safe_mce_sys().handle_fork ? "Enabled " : "Disabled"); VLOG_PARAM_STRING("close on dup2()", safe_mce_sys().close_on_dup2, MCE_DEFAULT_CLOSE_ON_DUP2, SYS_VAR_CLOSE_ON_DUP2, safe_mce_sys().close_on_dup2 ? "Enabled " : "Disabled"); @@ -682,25 +676,11 @@ static void do_global_ctors_helper() (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_RX ? safe_mce_sys().m_ioctl.user_alloc.memfree : NULL))); g_buffer_pool_rx->set_RX_TX_for_stats(true); -#ifdef DEFINED_TSO - safe_mce_sys().tx_buf_size = MIN((int)safe_mce_sys().tx_buf_size, (int)0xFF00); - if (safe_mce_sys().tx_buf_size <= get_lwip_tcp_mss(g_p_net_device_table_mgr->get_max_mtu(), safe_mce_sys().lwip_mss)) { - safe_mce_sys().tx_buf_size = 0; - } - NEW_CTOR(g_buffer_pool_tx, buffer_pool(safe_mce_sys().tx_num_bufs, - TX_BUF_SIZE(safe_mce_sys().tx_buf_size ? - safe_mce_sys().tx_buf_size : - get_lwip_tcp_mss(g_p_net_device_table_mgr->get_max_mtu(), safe_mce_sys().lwip_mss)), - buffer_pool::free_tx_lwip_pbuf_custom, - (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_TX ? safe_mce_sys().m_ioctl.user_alloc.memalloc : NULL), - (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_TX ? safe_mce_sys().m_ioctl.user_alloc.memfree : NULL))); -#else NEW_CTOR(g_buffer_pool_tx, buffer_pool(safe_mce_sys().tx_num_bufs, TX_BUF_SIZE(get_lwip_tcp_mss(g_p_net_device_table_mgr->get_max_mtu(), safe_mce_sys().lwip_mss)), buffer_pool::free_tx_lwip_pbuf_custom, (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_TX ? safe_mce_sys().m_ioctl.user_alloc.memalloc : NULL), (safe_mce_sys().m_ioctl.user_alloc.flags & VMA_IOCTL_USER_ALLOC_FLAG_TX ? safe_mce_sys().m_ioctl.user_alloc.memfree : NULL))); -#endif /* DEFINED_TSO */ g_buffer_pool_tx->set_RX_TX_for_stats(false); NEW_CTOR(g_tcp_seg_pool, tcp_seg_pool(safe_mce_sys().tx_num_segs_tcp)); diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index 49490a5f9..30cc96de6 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -289,11 +289,9 @@ bool dst_entry::resolve_ring() delete[] m_sge; m_sge = NULL; } -#ifdef DEFINED_TSO - m_sge = new (nothrow) struct ibv_sge [m_p_ring->get_max_send_sge()]; -#else + m_sge = new (nothrow) struct ibv_sge [2]; -#endif /* DEFINED_TSO */ + if (!m_sge) { dst_logpanic("%s Failed to allocate send SGE", to_str().c_str()); } @@ -616,11 +614,9 @@ void dst_entry::do_ring_migration(lock_base& socket_lock, resource_allocation_ke delete[] m_sge; m_sge = NULL; } -#ifdef DEFINED_TSO - m_sge = new (nothrow) struct ibv_sge [m_p_ring->get_max_send_sge()]; -#else + m_sge = new (nothrow) struct ibv_sge [2]; -#endif /* DEFINED_TSO */ + if (!m_sge) { dst_logpanic("%s Failed to allocate send SGE", to_str().c_str()); } diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index 4abbdeeed..0e5f8cc6c 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -36,11 +36,6 @@ struct socket_data { uint32_t pcp; }; -typedef struct { - vma_wr_tx_packet_attr flags; - uint16_t mss; -} vma_send_attr; - class dst_entry : public cache_observer, public tostr, public neigh_observer { @@ -51,15 +46,9 @@ class dst_entry : public cache_observer, public tostr, public neigh_observer virtual void notify_cb(); virtual bool prepare_to_send(struct vma_rate_limit_t &rate_limit, bool skip_rules=false, bool is_connect=false); -#ifdef DEFINED_TSO - virtual ssize_t fast_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr) = 0; - virtual ssize_t slow_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr, - struct vma_rate_limit_t &rate_limit, int flags = 0, - socket_fd_api* sock = 0, tx_call_t call_type = TX_UNDEF) = 0; -#else + virtual ssize_t slow_send(const iovec* p_iov, size_t sz_iov, bool is_dummy, struct vma_rate_limit_t &rate_limit, bool b_blocked = true, bool is_rexmit = false, int flags = 0, socket_fd_api* sock = 0, tx_call_t call_type = TX_UNDEF) = 0 ; virtual ssize_t fast_send(const iovec* p_iov, const ssize_t sz_iov, bool is_dummy, bool b_blocked = true, bool is_rexmit = false) = 0; -#endif /* DEFINED_TSO */ bool try_migrate_ring(lock_base& socket_lock); diff --git a/src/vma/proto/dst_entry_tcp.cpp b/src/vma/proto/dst_entry_tcp.cpp index e7a0e9ce7..d8bd9f5a6 100644 --- a/src/vma/proto/dst_entry_tcp.cpp +++ b/src/vma/proto/dst_entry_tcp.cpp @@ -40,179 +40,6 @@ transport_t dst_entry_tcp::get_transport(sockaddr_in to) return TRANS_VMA; } -#ifdef DEFINED_TSO -ssize_t dst_entry_tcp::fast_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr) -{ - int ret = 0; - tx_packet_template_t* p_pkt; - tcp_iovec* p_tcp_iov = NULL; - size_t hdr_alignment_diff = 0; - - /* The header is aligned for fast copy but we need to maintain this diff - * in order to get the real header pointer easily - */ - hdr_alignment_diff = m_header.m_aligned_l2_l3_len - m_header.m_total_hdr_len; - - p_tcp_iov = (tcp_iovec*)p_iov; - - attr.flags = (vma_wr_tx_packet_attr)(attr.flags | VMA_TX_PACKET_L3_CSUM | VMA_TX_PACKET_L4_CSUM); - - /* Supported scenarios: - * 1. Standard: - * Use lwip memory buffer (zero copy) in case iov consists of single buffer with single TCP packet. - * 2. Large send offload: - * Use lwip sequence of memory buffers (zero copy) in case attribute is set as TSO and no retransmission. - * Size of iov can be one or more. - * 3. Simple: - * Use intermediate buffers for data send - */ - if (likely(m_p_ring->is_active_member(p_tcp_iov->p_desc->p_desc_owner, m_id) && - (is_set(attr.flags, (vma_wr_tx_packet_attr)(VMA_TX_PACKET_TSO)) || - (sz_iov == 1 && !is_set(attr.flags, (vma_wr_tx_packet_attr)(VMA_TX_PACKET_REXMIT)))))) { - size_t total_packet_len = 0; - ibv_send_wr send_wqe; - wqe_send_handler send_wqe_h; - - /* iov_base is a pointer to TCP header and data - * so p_pkt should point to L2 - */ - p_pkt = (tx_packet_template_t*)((uint8_t*)p_tcp_iov[0].iovec.iov_base - m_header.m_aligned_l2_l3_len); - - /* iov_len is a size of TCP header and data - * m_total_hdr_len is a size of L2/L3 header - */ - total_packet_len = p_tcp_iov[0].iovec.iov_len + m_header.m_total_hdr_len; - - /* copy just L2/L3 headers to p_pkt */ - m_header.copy_l2_ip_hdr(p_pkt); - - /* L3(Total Length) field means nothing in case TSO usage and can be set as zero but - * setting this field to actual value allows to do valid call for scenario - * when payload size less or equal to mss - */ - p_pkt->hdr.m_ip_hdr.tot_len = (htons)(p_tcp_iov[0].iovec.iov_len + m_header.m_ip_header_len); - - if ((total_packet_len < m_max_inline) && (1 == sz_iov)) { - m_p_send_wqe = &m_inline_send_wqe; - m_sge[0].addr = (uintptr_t)((uint8_t*)p_pkt + hdr_alignment_diff); - m_sge[0].length = total_packet_len; - } else if (is_set(attr.flags, (vma_wr_tx_packet_attr)(VMA_TX_PACKET_TSO))) { - /* update send work request. do not expect noninlined scenario */ - send_wqe_h.init_not_inline_wqe(send_wqe, m_sge, sz_iov); - send_wqe_h.enable_tso(send_wqe, - (void *)((uint8_t*)p_pkt + hdr_alignment_diff), - m_header.m_total_hdr_len + p_pkt->hdr.m_tcp_hdr.doff * 4, - attr.mss); - m_p_send_wqe = &send_wqe; - m_sge[0].addr = (uintptr_t)((uint8_t *)&p_pkt->hdr.m_tcp_hdr + p_pkt->hdr.m_tcp_hdr.doff * 4); - m_sge[0].length = p_tcp_iov[0].iovec.iov_len - p_pkt->hdr.m_tcp_hdr.doff * 4; - } else { - m_p_send_wqe = &m_not_inline_send_wqe; - m_sge[0].addr = (uintptr_t)((uint8_t*)p_pkt + hdr_alignment_diff); - m_sge[0].length = total_packet_len; - } - - /* save pointers to ip and tcp headers for software checksum calculation */ - p_tcp_iov[0].p_desc->tx.p_ip_h = &p_pkt->hdr.m_ip_hdr; - p_tcp_iov[0].p_desc->tx.p_tcp_h =(struct tcphdr*)((uint8_t*)(&(p_pkt->hdr.m_ip_hdr)) + sizeof(p_pkt->hdr.m_ip_hdr)); - p_tcp_iov[0].p_desc->lwip_pbuf.pbuf.ref++; - - /* set wr_id as a pointer to memory descriptor */ - m_p_send_wqe->wr_id = (uintptr_t)p_tcp_iov[0].p_desc; - - /* Update scatter gather element list - * ref counter is incremented for the first memory descriptor only because it is needed - * for processing send wr completion (tx batching mode) - */ - m_sge[0].lkey = m_p_ring->get_tx_lkey(m_id); - for (int i = 1; i < sz_iov; ++i) { - m_sge[i].addr = (uintptr_t)p_tcp_iov[i].iovec.iov_base; - m_sge[i].length = p_tcp_iov[i].iovec.iov_len; - m_sge[i].lkey = m_sge[0].lkey; - } - - send_lwip_buffer(m_id, m_p_send_wqe, attr.flags); - - } else { // We don'nt support inline in this case, since we believe that this a very rare case - mem_buf_desc_t *p_mem_buf_desc; - size_t total_packet_len = 0; - - p_mem_buf_desc = get_buffer(is_set(attr.flags, VMA_TX_PACKET_BLOCK)); - if (p_mem_buf_desc == NULL) { - ret = -1; - goto out; - } - - m_header.copy_l2_ip_hdr((tx_packet_template_t*)p_mem_buf_desc->p_buffer); - - // Actually this is not the real packet len we will subtract the alignment diff at the end of the copy - total_packet_len = m_header.m_aligned_l2_l3_len; - - for (int i = 0; i < sz_iov; ++i) { - memcpy(p_mem_buf_desc->p_buffer + total_packet_len, p_tcp_iov[i].iovec.iov_base, p_tcp_iov[i].iovec.iov_len); - total_packet_len += p_tcp_iov[i].iovec.iov_len; - } - - m_sge[0].addr = (uintptr_t)(p_mem_buf_desc->p_buffer + hdr_alignment_diff); - m_sge[0].length = total_packet_len - hdr_alignment_diff; - m_sge[0].lkey = m_p_ring->get_tx_lkey(m_id); - - p_pkt = (tx_packet_template_t*)((uint8_t*)p_mem_buf_desc->p_buffer); - p_pkt->hdr.m_ip_hdr.tot_len = (htons)(m_sge[0].length - m_header.m_transport_header_len); - - p_mem_buf_desc->tx.p_ip_h = &p_pkt->hdr.m_ip_hdr; - p_mem_buf_desc->tx.p_tcp_h = (struct tcphdr*)((uint8_t*)(&(p_pkt->hdr.m_ip_hdr))+sizeof(p_pkt->hdr.m_ip_hdr)); - - m_p_send_wqe = &m_not_inline_send_wqe; - m_p_send_wqe->wr_id = (uintptr_t)p_mem_buf_desc; - - send_ring_buffer(m_id, m_p_send_wqe, attr.flags); - - } - - if (unlikely(m_p_tx_mem_buf_desc_list == NULL)) { - m_p_tx_mem_buf_desc_list = m_p_ring->mem_buf_tx_get(m_id, - is_set(attr.flags, VMA_TX_PACKET_BLOCK), m_n_sysvar_tx_bufs_batch_tcp); - } - -out: - if (unlikely(is_set(attr.flags, VMA_TX_PACKET_REXMIT))) { - m_p_ring->inc_tx_retransmissions_stats(m_id); - } - - return ret; -} - -ssize_t dst_entry_tcp::slow_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr, - struct vma_rate_limit_t &rate_limit, int flags /*= 0*/, - socket_fd_api* sock /*= 0*/, tx_call_t call_type /*= 0*/) -{ - ssize_t ret_val = -1; - - NOT_IN_USE(sock); - NOT_IN_USE(call_type); - NOT_IN_USE(flags); - - m_slow_path_lock.lock(); - - prepare_to_send(rate_limit, true); - - if (m_b_is_offloaded) { - if (!is_valid()) { // That means that the neigh is not resolved yet - //there is a copy inside so we should not update any ref-counts - ret_val = pass_buff_to_neigh(p_iov, sz_iov); - } - else { - ret_val = fast_send(p_iov, sz_iov, attr); - } - } - else { - dst_tcp_logdbg("Dst_entry is not offloaded, bug?"); - } - m_slow_path_lock.unlock(); - return ret_val; -} -#else ssize_t dst_entry_tcp::fast_send(const iovec* p_iov, const ssize_t sz_iov, bool is_dummy, bool b_blocked /*= true*/, bool is_rexmit /*= false*/) { int ret = 0; @@ -350,7 +177,6 @@ ssize_t dst_entry_tcp::slow_send(const iovec* p_iov, size_t sz_iov, bool is_dumm m_slow_path_lock.unlock(); return ret_val; } -#endif /* DEFINED_TSO */ ssize_t dst_entry_tcp::slow_send_neigh( const iovec* p_iov, size_t sz_iov, struct vma_rate_limit_t &rate_limit) { diff --git a/src/vma/proto/dst_entry_tcp.h b/src/vma/proto/dst_entry_tcp.h index 5ebfd3f86..c99ae4b0b 100644 --- a/src/vma/proto/dst_entry_tcp.h +++ b/src/vma/proto/dst_entry_tcp.h @@ -24,15 +24,8 @@ class dst_entry_tcp : public dst_entry socket_data &data, resource_allocation_key &ring_alloc_logic); virtual ~dst_entry_tcp(); -#ifdef DEFINED_TSO - ssize_t fast_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr); - ssize_t slow_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr, - struct vma_rate_limit_t &rate_limit, int flags = 0, - socket_fd_api* sock = 0, tx_call_t call_type = TX_UNDEF); -#else virtual ssize_t fast_send(const iovec* p_iov, const ssize_t sz_iov, bool is_dummy, bool b_blocked = true, bool is_rexmit = false); ssize_t slow_send(const iovec* p_iov, size_t sz_iov, bool is_dummy, struct vma_rate_limit_t &rate_limit, bool b_blocked = true, bool is_rexmit = false, int flags = 0, socket_fd_api* sock = 0, tx_call_t call_type = TX_UNDEF); -#endif /* DEFINED_TSO */ ssize_t slow_send_neigh(const iovec* p_iov, size_t sz_iov, struct vma_rate_limit_t &rate_limit); mem_buf_desc_t* get_buffer(bool b_blocked = false); diff --git a/src/vma/proto/dst_entry_udp.cpp b/src/vma/proto/dst_entry_udp.cpp index d8098f1fa..14d573fff 100644 --- a/src/vma/proto/dst_entry_udp.cpp +++ b/src/vma/proto/dst_entry_udp.cpp @@ -93,9 +93,6 @@ inline ssize_t dst_entry_udp::fast_send_not_fragmented(const iovec* p_iov, const //so we just need to update the payload addr + len m_sge[1].length = p_iov[0].iov_len; m_sge[1].addr = (uintptr_t)p_iov[0].iov_base; -#ifdef DEFINED_TSO - m_sge[1].lkey = m_p_ring->get_tx_lkey(m_id); -#endif /* DEFINED_TSO */ } else { m_p_send_wqe = &m_not_inline_send_wqe; @@ -121,9 +118,6 @@ inline ssize_t dst_entry_udp::fast_send_not_fragmented(const iovec* p_iov, const // Update the payload addr + len m_sge[1].length = sz_data_payload + hdr_len; m_sge[1].addr = (uintptr_t)(p_mem_buf_desc->p_buffer + (uint8_t)m_header.m_transport_header_tx_offset); -#ifdef DEFINED_TSO - m_sge[1].lkey = m_p_ring->get_tx_lkey(m_id); -#endif /* DEFINED_TSO */ // Calc payload start point (after the udp header if present else just after ip header) uint8_t* p_payload = p_mem_buf_desc->p_buffer + m_header.m_transport_header_tx_offset + hdr_len; @@ -248,9 +242,6 @@ ssize_t dst_entry_udp::fast_send_fragmented(const iovec* p_iov, const ssize_t sz m_sge[1].addr = (uintptr_t)(p_mem_buf_desc->p_buffer + (uint8_t)m_header.m_transport_header_tx_offset); m_sge[1].length = sz_user_data_to_copy + hdr_len; -#ifdef DEFINED_TSO - m_sge[1].lkey = m_p_ring->get_tx_lkey(m_id); -#endif /* DEFINED_TSO */ m_p_send_wqe->wr_id = (uintptr_t)p_mem_buf_desc; dst_udp_logfunc("%s packet_sz=%d, payload_sz=%d, ip_offset=%d id=%d", m_header.to_str().c_str(), @@ -277,55 +268,6 @@ ssize_t dst_entry_udp::fast_send_fragmented(const iovec* p_iov, const ssize_t sz return sz_data_payload; } -#ifdef DEFINED_TSO -ssize_t dst_entry_udp::fast_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr) -{ - ssize_t sz_data_payload = check_payload_size(p_iov, sz_iov); - if (unlikely(0 > sz_data_payload)) { // The errno is set inside check_payload_size. - return -1; - } - - // Calc udp payload size - size_t sz_udp_payload = sz_data_payload + sizeof(struct udphdr); - if (sz_udp_payload <= (size_t)m_max_udp_payload_size) { - attr.flags = (vma_wr_tx_packet_attr)(attr.flags | VMA_TX_PACKET_L3_CSUM | VMA_TX_PACKET_L4_CSUM); - return fast_send_not_fragmented(p_iov, sz_iov, attr.flags, sz_udp_payload, sz_data_payload); - } else { - attr.flags = (vma_wr_tx_packet_attr)(attr.flags | VMA_TX_PACKET_L3_CSUM); - return fast_send_fragmented(p_iov, sz_iov, attr.flags, sz_udp_payload, sz_data_payload); - } -} - -ssize_t dst_entry_udp::slow_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr, - struct vma_rate_limit_t &rate_limit, int flags /*= 0*/, - socket_fd_api* sock /*= 0*/, tx_call_t call_type /*= 0*/) -{ - ssize_t ret_val = 0; - - dst_udp_logdbg("In slow send"); - - prepare_to_send(rate_limit, false); - - if (m_b_force_os || !m_b_is_offloaded) { - struct sockaddr_in to_saddr; - to_saddr.sin_port = m_dst_port; - to_saddr.sin_addr.s_addr = m_dst_ip.get_in_addr(); - to_saddr.sin_family = AF_INET; - dst_udp_logdbg("Calling to tx_os"); - ret_val = sock->tx_os(call_type, p_iov, sz_iov, flags, (const struct sockaddr*)&to_saddr, sizeof(struct sockaddr_in)); - } - else { - if (!is_valid()) { // That means that the neigh is not resolved yet - ret_val = pass_buff_to_neigh(p_iov, sz_iov); - } - else { - ret_val = fast_send(p_iov, sz_iov, attr); - } - } - - return ret_val; -} -#else ssize_t dst_entry_udp::fast_send(const iovec* p_iov, const ssize_t sz_iov, bool is_dummy, bool b_blocked /*=true*/, bool is_rexmit /*=false*/) { @@ -378,15 +320,11 @@ ssize_t dst_entry_udp::slow_send(const iovec* p_iov, size_t sz_iov, bool is_dumm return ret_val; } -#endif /* DEFINED_TSO */ void dst_entry_udp::init_sge() { m_sge[0].length = m_header.m_total_hdr_len; m_sge[0].addr = m_header.m_actual_hdr_addr; -#ifdef DEFINED_TSO - m_sge[0].lkey = m_p_ring->get_tx_lkey(m_id); -#endif /* DEFINED_TSO */ } ssize_t dst_entry_udp::check_payload_size(const iovec* p_iov, ssize_t sz_iov) diff --git a/src/vma/proto/dst_entry_udp.h b/src/vma/proto/dst_entry_udp.h index c8a0637af..3bd674a52 100644 --- a/src/vma/proto/dst_entry_udp.h +++ b/src/vma/proto/dst_entry_udp.h @@ -17,15 +17,8 @@ class dst_entry_udp : public dst_entry socket_data &sock_data, resource_allocation_key &ring_alloc_logic); virtual ~dst_entry_udp(); -#ifdef DEFINED_TSO - ssize_t fast_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr); - ssize_t slow_send(const iovec* p_iov, const ssize_t sz_iov, vma_send_attr attr, - struct vma_rate_limit_t &rate_limit, int flags = 0, - socket_fd_api* sock = 0, tx_call_t call_type = TX_UNDEF); -#else virtual ssize_t slow_send(const iovec* p_iov, size_t sz_iov, bool is_dummy, struct vma_rate_limit_t &rate_limit, bool b_blocked = true, bool is_rexmit = false, int flags = 0, socket_fd_api* sock = 0, tx_call_t call_type = TX_UNDEF); virtual ssize_t fast_send(const iovec* p_iov, const ssize_t sz_iov, bool is_dummy, bool b_blocked = true, bool is_rexmit = false); -#endif /* DEFINED_TSO */ protected: virtual transport_t get_transport(sockaddr_in to); diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index 8f239dc96..018f407b6 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -487,9 +487,6 @@ bool neigh_entry::post_send_udp(neigh_send_data *n_send_data) m_sge.addr = (uintptr_t)(p_mem_buf_desc->p_buffer + (uint8_t)h->m_transport_header_tx_offset); m_sge.length = sz_user_data_to_copy + hdr_len; -#ifdef DEFINED_TSO - m_sge.lkey = m_p_ring->get_tx_lkey(m_id); -#endif /* DEFINED_TSO */ m_send_wqe.wr_id = (uintptr_t)p_mem_buf_desc; neigh_logdbg("%s packet_sz=%d, payload_sz=%zd, ip_offset=%d id=%d", h->to_str().c_str(), @@ -555,9 +552,6 @@ bool neigh_entry::post_send_tcp(neigh_send_data *p_data) size_t hdr_alignment_diff = h->m_aligned_l2_l3_len - h->m_total_hdr_len; m_sge.addr = (uintptr_t)((uint8_t*)p_pkt + hdr_alignment_diff); m_sge.length = total_packet_len; -#ifdef DEFINED_TSO - m_sge.lkey = m_p_ring->get_tx_lkey(m_id); -#endif /* DEFINED_TSO */ /* for DEBUG */ if ((uint8_t*)m_sge.addr < p_mem_buf_desc->p_buffer) { diff --git a/src/vma/proto/vma_lwip.h b/src/vma/proto/vma_lwip.h index b6db254a1..369aa4261 100644 --- a/src/vma/proto/vma_lwip.h +++ b/src/vma/proto/vma_lwip.h @@ -21,8 +21,6 @@ typedef enum vma_wr_tx_packet_attr { VMA_TX_PACKET_REXMIT = TCP_WRITE_REXMIT, /* 0x08 */ /* nop send operation. */ VMA_TX_PACKET_DUMMY = TCP_WRITE_DUMMY, /* 0x10 */ - /* large segment offload operation. */ - VMA_TX_PACKET_TSO = TCP_WRITE_TSO, /* 0x20 */ /* sendfile operation. */ VMA_TX_FILE = TCP_WRITE_FILE, /* 0x40 */ diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 95f944752..b3136a574 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -605,19 +605,6 @@ bool sockinfo_tcp::prepare_dst_to_send(bool is_accepted_socket /* = false */) } else { ret_val = m_p_connected_dst_entry->prepare_to_send(m_so_ratelimit, false, true); } - -#ifdef DEFINED_TSO - if (ret_val) { - /* dst_entry has resolved tx ring, - * so it is a time to provide TSO information to PCB - */ - m_pcb.tso.max_buf_sz = std::min(safe_mce_sys().tx_buf_size, - m_p_connected_dst_entry->get_ring()->get_max_payload_sz()); - m_pcb.tso.max_payload_sz = m_p_connected_dst_entry->get_ring()->get_max_payload_sz(); - m_pcb.tso.max_header_sz = m_p_connected_dst_entry->get_ring()->get_max_header_sz(); - m_pcb.tso.max_send_sge = m_p_connected_dst_entry->get_ring()->get_max_send_sge(); - } -#endif /* DEFINED_TSO */ } return ret_val; } @@ -956,91 +943,6 @@ ssize_t sockinfo_tcp::tx(vma_tx_call_attr_t &tx_arg) return ret; } -#ifdef DEFINED_TSO -err_t sockinfo_tcp::ip_output(struct pbuf *p, void* v_p_conn, uint16_t flags) -{ - sockinfo_tcp *p_si_tcp = (sockinfo_tcp *)(((struct tcp_pcb*)v_p_conn)->my_container); - dst_entry *p_dst = p_si_tcp->m_p_connected_dst_entry; - int max_count = p_si_tcp->m_pcb.tso.max_send_sge; - tcp_iovec lwip_iovec[max_count]; - vma_send_attr attr = {(vma_wr_tx_packet_attr)0, 0}; - int count = 0; - - /* maximum number of sge can not exceed this value */ - while (p && (count < max_count)) { - lwip_iovec[count].iovec.iov_base = p->payload; - lwip_iovec[count].iovec.iov_len = p->len; - lwip_iovec[count].p_desc = (mem_buf_desc_t*)p; - p = p->next; - count++; - } - - /* Sanity check */ - if (unlikely(p)) { - vlog_printf(VLOG_ERROR, "Number of buffers in request exceed %d, so silently dropped.", max_count); - return ERR_OK; - } - - attr.flags = (vma_wr_tx_packet_attr)flags; - attr.mss = p_si_tcp->m_pcb.mss; - if (likely((p_dst->is_valid()))) { - p_dst->fast_send((struct iovec *)lwip_iovec, count, attr); - } else { - p_dst->slow_send((struct iovec *)lwip_iovec, count, attr, p_si_tcp->m_so_ratelimit); - } - - if (p_dst->try_migrate_ring(p_si_tcp->m_tcp_con_lock)) { - p_si_tcp->m_p_socket_stats->counters.n_tx_migrations++; - } - - if (is_set(attr.flags, VMA_TX_PACKET_REXMIT)) { - p_si_tcp->m_p_socket_stats->counters.n_tx_retransmits++; - } - - return ERR_OK; -} - -err_t sockinfo_tcp::ip_output_syn_ack(struct pbuf *p, void* v_p_conn, uint16_t flags) -{ - iovec iovec[64]; - struct iovec* p_iovec = iovec; - tcp_iovec tcp_iovec_temp; //currently we pass p_desc only for 1 size iovec, since for bigger size we allocate new buffers - sockinfo_tcp *p_si_tcp = (sockinfo_tcp *)(((struct tcp_pcb*)v_p_conn)->my_container); - dst_entry *p_dst = p_si_tcp->m_p_connected_dst_entry; - int count = 1; - vma_wr_tx_packet_attr attr; - - //ASSERT_NOT_LOCKED(p_si_tcp->m_tcp_con_lock); - - if (likely(!p->next)) { // We should hit this case 99% of cases - tcp_iovec_temp.iovec.iov_base = p->payload; - tcp_iovec_temp.iovec.iov_len = p->len; - tcp_iovec_temp.p_desc = (mem_buf_desc_t*)p; - __log_dbg("p_desc=%p,p->len=%d ", p, p->len); - p_iovec = (struct iovec*)&tcp_iovec_temp; - } else { - for (count = 0; count < 64 && p; ++count) { - iovec[count].iov_base = p->payload; - iovec[count].iov_len = p->len; - p = p->next; - } - - // We don't expect pbuf chain at all - if (p) { - vlog_printf(VLOG_ERROR, "pbuf chain size > 64!!! silently dropped."); - return ERR_OK; - } - } - - attr = (vma_wr_tx_packet_attr)flags; - if (is_set(attr, VMA_TX_PACKET_REXMIT)) - p_si_tcp->m_p_socket_stats->counters.n_tx_retransmits++; - - ((dst_entry_tcp*)p_dst)->slow_send_neigh(p_iovec, count, p_si_tcp->m_so_ratelimit); - - return ERR_OK; -} -#else err_t sockinfo_tcp::ip_output(struct pbuf *p, void* v_p_conn, int is_rexmit, uint8_t is_dummy) { iovec iovec[64]; @@ -1126,7 +1028,6 @@ err_t sockinfo_tcp::ip_output_syn_ack(struct pbuf *p, void* v_p_conn, int is_rex return ERR_OK; } -#endif /* DEFINED_TSO */ /*static*/void sockinfo_tcp::tcp_state_observer(void* pcb_container, enum tcp_state new_state) { diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index db21113b9..3fb004f7f 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -142,13 +142,10 @@ class sockinfo_tcp : public sockinfo, public timer_handler ssize_t tx(vma_tx_call_attr_t &tx_arg); ssize_t rx(const rx_call_t call_type, iovec *p_iov, ssize_t sz_iov, int *p_flags, sockaddr *__from = NULL, socklen_t *__fromlen = NULL, struct msghdr *__msg = NULL); -#ifdef DEFINED_TSO - static err_t ip_output(struct pbuf *p, void* v_p_conn, uint16_t flags); - static err_t ip_output_syn_ack(struct pbuf *p, void* v_p_conn, uint16_t flags); -#else + static err_t ip_output(struct pbuf *p, void* v_p_conn, int is_rexmit, uint8_t is_dummy); static err_t ip_output_syn_ack(struct pbuf *p, void* v_p_conn, int is_rexmit, uint8_t is_dummy); -#endif /* DEFINED_TSO */ + static void tcp_state_observer(void* pcb_container, enum tcp_state new_state); static uint16_t get_route_mtu(struct tcp_pcb *pcb); diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index 8d041832d..f9b975e73 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1629,22 +1629,6 @@ ssize_t sockinfo_udp::tx(vma_tx_call_attr_t &tx_arg) } { -#ifdef DEFINED_TSO - vma_send_attr attr = {(vma_wr_tx_packet_attr)0, 0}; - bool b_blocking = m_b_blocking; - if (unlikely(__flags & MSG_DONTWAIT)) - b_blocking = false; - - attr.flags = (vma_wr_tx_packet_attr)((b_blocking * VMA_TX_PACKET_BLOCK) | (is_dummy * VMA_TX_PACKET_DUMMY)); - if (likely(p_dst_entry->is_valid())) { - // All set for fast path packet sending - this is our best performance flow - ret = p_dst_entry->fast_send(p_iov, sz_iov, attr); - } - else { - // updates the dst_entry internal information and packet headers - ret = p_dst_entry->slow_send(p_iov, sz_iov, attr, m_so_ratelimit, __flags, this, tx_arg.opcode); - } -#else bool b_blocking = m_b_blocking; if (unlikely(__flags & MSG_DONTWAIT)) b_blocking = false; @@ -1657,7 +1641,6 @@ ssize_t sockinfo_udp::tx(vma_tx_call_attr_t &tx_arg) // updates the dst_entry internal information and packet headers ret = p_dst_entry->slow_send(p_iov, sz_iov, is_dummy, m_so_ratelimit, b_blocking, false, __flags, this, tx_arg.opcode); } -#endif /* DEFINED_TSO */ if (unlikely(p_dst_entry->try_migrate_ring(m_lock_snd))) { m_p_socket_stats->counters.n_tx_migrations++; diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index f59327ca3..cb8b8d491 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -505,9 +505,6 @@ void mce_sys_var::get_env_params() tx_num_segs_tcp = MCE_DEFAULT_TX_NUM_SEGS_TCP; tx_num_bufs = MCE_DEFAULT_TX_NUM_BUFS; -#ifdef DEFINED_TSO - tx_buf_size = MCE_DEFAULT_TX_BUF_SIZE; -#endif /* DEFINED_TSO */ tx_num_wr = MCE_DEFAULT_TX_NUM_WRE; tx_num_wr_to_signal = MCE_DEFAULT_TX_NUM_WRE_TO_SIGNAL; tx_max_inline = MCE_DEFAULT_TX_MAX_INLINE; @@ -576,9 +573,6 @@ void mce_sys_var::get_env_params() mem_alloc_type = MCE_DEFAULT_MEM_ALLOC_TYPE; enable_ipoib = MCE_DEFAULT_IPOIB_FLAG; enable_socketxtreme = MCE_DEFAULT_SOCKETXTREME; -#ifdef DEFINED_TSO - enable_tso = MCE_DEFAULT_TSO; -#endif /* DEFINED_TSO */ handle_fork = MCE_DEFAULT_FORK_SUPPORT; handle_bf = MCE_DEFAULT_BF_FLAG; close_on_dup2 = MCE_DEFAULT_CLOSE_ON_DUP2; @@ -635,9 +629,6 @@ void mce_sys_var::get_env_params() rx_num_wr = 256; //MCE_DEFAULT_RX_NUM_WRE (16000) rx_num_wr_to_post_recv = 4; //MCE_DEFAULT_RX_NUM_WRE_TO_POST_RECV (64) rx_poll_num = -1; //MCE_DEFAULT_RX_NUM_POLLS -#ifdef DEFINED_TSO - enable_tso = false; //MCE_DEFAULT_TSO (true) -#endif /* DEFINED_TSO */ rx_udp_poll_os_ratio = 0; //MCE_DEFAULT_RX_UDP_POLL_OS_RATIO rx_prefetch_bytes = MCE_DEFAULT_RX_PREFETCH_BYTES; //(256) rx_prefetch_bytes_before_poll = 256; //MCE_DEFAULT_RX_PREFETCH_BYTES_BEFORE_POLL 0 @@ -664,9 +655,6 @@ void mce_sys_var::get_env_params() rx_num_wr = 256; //MCE_DEFAULT_RX_NUM_WRE (16000) rx_num_wr_to_post_recv = 4; //MCE_DEFAULT_RX_NUM_WRE_TO_POST_RECV (64) rx_poll_num = -1; //MCE_DEFAULT_RX_NUM_POLLS (100000) -#ifdef DEFINED_TSO - enable_tso = false; //MCE_DEFAULT_TSO (true) -#endif /* DEFINED_TSO */ rx_prefetch_bytes_before_poll = 256; //MCE_DEFAULT_RX_PREFETCH_BYTES_BEFORE_POLL (0) select_poll_num = -1; //MCE_DEFAULT_SELECT_NUM_POLLS (100000) avoid_sys_calls_on_tcp_fd = true; //MCE_DEFAULT_AVOID_SYS_CALLS_ON_TCP_FD (false) @@ -816,11 +804,6 @@ void mce_sys_var::get_env_params() if ((env_ptr = getenv(SYS_VAR_TX_NUM_BUFS)) != NULL) tx_num_bufs = (uint32_t)atoi(env_ptr); -#ifdef DEFINED_TSO - if ((env_ptr = getenv(SYS_VAR_TX_BUF_SIZE)) != NULL) - tx_buf_size = (uint32_t)atoi(env_ptr); -#endif /* DEFINED_TSO */ - if ((env_ptr = getenv(SYS_VAR_TX_NUM_WRE)) != NULL) tx_num_wr = (uint32_t)atoi(env_ptr); @@ -1218,17 +1201,6 @@ void mce_sys_var::get_env_params() if((env_ptr = getenv(SYS_VAR_IPOIB )) != NULL) enable_ipoib = atoi(env_ptr) ? true : false; -#ifdef DEFINED_TSO - if((env_ptr = getenv(SYS_VAR_TSO)) != NULL) - enable_tso = atoi(env_ptr) ? true : false; - - if (enable_tso && (ring_migration_ratio_tx != -1)) { - ring_migration_ratio_tx = -1; - vlog_printf(VLOG_DEBUG,"%s parameter is forced to %d in case %s is enabled\n", - SYS_VAR_RING_MIGRATION_RATIO_TX, -1, SYS_VAR_TSO); - } -#endif /* DEFINED_TSO */ - if ((env_ptr = getenv(SYS_VAR_CLOSE_ON_DUP2)) != NULL) close_on_dup2 = atoi(env_ptr) ? true : false; diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 95c0924f8..1d53da17b 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -291,9 +291,6 @@ struct mce_sys_var { uint32_t tx_num_segs_tcp; uint32_t tx_num_bufs; -#ifdef DEFINED_TSO - uint32_t tx_buf_size; -#endif /* DEFINED_TSO */ uint32_t tx_num_wr; uint32_t tx_num_wr_to_signal; uint32_t tx_max_inline; @@ -374,9 +371,6 @@ struct mce_sys_var { bool enable_ipoib; bool enable_socketxtreme; -#ifdef DEFINED_TSO - bool enable_tso; -#endif /* DEFINED_TSO */ uint32_t timer_netlink_update_msec; //Neigh parameters @@ -447,9 +441,6 @@ extern mce_sys_var & safe_mce_sys(); #define SYS_VAR_TX_NUM_SEGS_TCP "VMA_TX_SEGS_TCP" #define SYS_VAR_TX_NUM_BUFS "VMA_TX_BUFS" -#ifdef DEFINED_TSO -#define SYS_VAR_TX_BUF_SIZE "VMA_TX_BUF_SIZE" -#endif /* DEFINED_TSO */ #define SYS_VAR_TX_NUM_WRE "VMA_TX_WRE" #define SYS_VAR_TX_NUM_WRE_TO_SIGNAL "VMA_TX_WRE_BATCHING" #define SYS_VAR_TX_MAX_INLINE "VMA_TX_MAX_INLINE" @@ -525,9 +516,6 @@ extern mce_sys_var & safe_mce_sys(); #define SYS_VAR_IPOIB "VMA_IPOIB" #define SYS_VAR_SOCKETXTREME "VMA_SOCKETXTREME" -#ifdef DEFINED_TSO -#define SYS_VAR_TSO "VMA_TSO" -#endif /* DEFINED_TSO */ #define SYS_VAR_INTERNAL_THREAD_AFFINITY "VMA_INTERNAL_THREAD_AFFINITY" #define SYS_VAR_INTERNAL_THREAD_CPUSET "VMA_INTERNAL_THREAD_CPUSET" @@ -565,9 +553,6 @@ extern mce_sys_var & safe_mce_sys(); #define MCE_DEFAULT_TCP_MAX_SYN_RATE (0) #define MCE_DEFAULT_TX_NUM_SEGS_TCP (1000000) #define MCE_DEFAULT_TX_NUM_BUFS (200000) -#ifdef DEFINED_TSO -#define MCE_DEFAULT_TX_BUF_SIZE (0) -#endif /* DEFINED_TSO */ #define MCE_DEFAULT_TX_NUM_WRE (2048) #define MCE_DEFAULT_TX_NUM_WRE_TO_SIGNAL (64) #define MCE_DEFAULT_TX_MAX_INLINE (204) //+18(always inline ETH header) = 222 @@ -671,9 +656,6 @@ extern mce_sys_var & safe_mce_sys(); #define MCE_MAX_CQ_POLL_BATCH (128) #define MCE_DEFAULT_IPOIB_FLAG (1) #define MCE_DEFAULT_SOCKETXTREME (false) -#ifdef DEFINED_TSO -#define MCE_DEFAULT_TSO (true) -#endif /* DEFINED_TSO */ #define MCE_DEFAULT_RX_POLL_ON_TX_TCP (false) #define MCE_DEFAULT_TRIGGER_DUMMY_SEND_GETSOCKNAME (false) #define MCE_DEFAULT_DEFERRED_CLOSE (false) diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 715f721af..6a436a4c4 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -1113,38 +1113,6 @@ size_t default_huge_page_size(void) return hugepage_sz; } -int validate_tso(int if_index) -{ -#ifdef HAVE_LINUX_ETHTOOL_H - int ret = -1; - int fd = -1; - struct ifreq req; - struct ethtool_value eval; - - fd = orig_os_api.socket(AF_INET, SOCK_DGRAM, 0); - if (fd < 0) { - __log_err("ERROR from socket() (errno=%d %m)", errno); - return -1; - } - memset(&req, 0, sizeof(req)); - eval.cmd = ETHTOOL_GTSO; - req.ifr_ifindex = if_index; - if_indextoname(if_index, req.ifr_name); - req.ifr_data = (char *)&eval; - ret = orig_os_api.ioctl(fd, SIOCETHTOOL, &req); - if (ret < 0) { - __log_dbg("ioctl(SIOCETHTOOL) cmd=ETHTOOL_GTSO (errno=%d %m)", errno); - } else { - ret = eval.data; - } - orig_os_api.close(fd); - return ret; -#else - NOT_IN_USE(if_index); - return -1; -#endif -} - loops_timer::loops_timer() : m_start() , m_elapsed(milliseconds(0)) diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index d8e7de82d..d3f7a36df 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -252,14 +252,6 @@ bool validate_user_has_cap_net_raw_privliges(); size_t default_huge_page_size(void); -/** - * Get TSO support using interface index - * - * @param if_index input interface index - * @return 0/1 or -1 on failure - */ -int validate_tso(int if_index); - static inline int get_procname(int pid, char *proc, size_t size) { char app_full_name[PATH_MAX] = {0}; From 1205e9bf8e777ef2defcecc5f1be01d6b88c5327 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Sun, 9 Nov 2025 13:35:40 +0000 Subject: [PATCH 115/150] issue: 4664028 Removing IPoIB support Removing IPoIB data and control pathes. IPoIB is not supported any more due to restrictions in the mlx5 driver. Signed-off-by: Alexander Grissik --- config/m4/verbs.m4 | 1 - src/vma/Makefile.am | 7 - src/vma/dev/cq_mgr.cpp | 55 +-- src/vma/dev/cq_mgr.h | 2 - src/vma/dev/cq_mgr.inl | 18 - src/vma/dev/cq_mgr_mlx5.cpp | 70 +-- src/vma/dev/net_device_table_mgr.cpp | 3 - src/vma/dev/net_device_val.cpp | 183 +------ src/vma/dev/net_device_val.h | 43 +- src/vma/dev/qp_mgr.cpp | 141 +----- src/vma/dev/qp_mgr.h | 25 - src/vma/dev/rfs.h | 108 +---- src/vma/dev/rfs_mc.cpp | 122 ++--- src/vma/dev/rfs_mc.h | 2 +- src/vma/dev/rfs_uc.cpp | 73 +-- src/vma/dev/rfs_uc.h | 2 +- src/vma/dev/ring_bond.cpp | 22 - src/vma/dev/ring_bond.h | 20 - src/vma/dev/ring_simple.cpp | 6 - src/vma/dev/ring_simple.h | 19 - src/vma/dev/ring_slave.cpp | 144 ++---- src/vma/dev/ring_slave.h | 3 - src/vma/dev/ring_tap.h | 1 - src/vma/dev/wqe_send_ib_handler.cpp | 43 -- src/vma/dev/wqe_send_ib_handler.h | 27 -- src/vma/ib/base/verbs_extra.cpp | 46 -- src/vma/ib/base/verbs_extra.h | 43 -- src/vma/main.cpp | 14 - src/vma/netlink/test_main.cpp | 24 - src/vma/proto/L2_address.cpp | 22 - src/vma/proto/L2_address.h | 35 -- src/vma/proto/arp.cpp | 15 - src/vma/proto/arp.h | 16 - src/vma/proto/dst_entry.cpp | 97 +--- src/vma/proto/dst_entry.h | 11 +- src/vma/proto/dst_entry_udp_mc.cpp | 26 +- src/vma/proto/dst_entry_udp_mc.h | 2 - src/vma/proto/header.cpp | 14 +- src/vma/proto/header.h | 10 - src/vma/proto/igmp_handler.cpp | 218 --------- src/vma/proto/igmp_handler.h | 75 --- src/vma/proto/igmp_mgr.cpp | 124 ----- src/vma/proto/igmp_mgr.h | 32 -- src/vma/proto/neighbour.cpp | 660 +------------------------- src/vma/proto/neighbour.h | 124 +---- src/vma/proto/neighbour_observer.h | 21 - src/vma/proto/neighbour_table_mgr.cpp | 34 +- src/vma/proto/route_table_mgr.cpp | 9 +- src/vma/sock/sockinfo.h | 18 - src/vma/util/sys_vars.cpp | 6 - src/vma/util/sys_vars.h | 32 +- src/vma/util/utils.cpp | 63 +-- src/vma/util/utils.h | 51 -- src/vma/util/vma_stats.h | 6 +- src/vma/util/vtypes.h | 58 --- 55 files changed, 172 insertions(+), 2874 deletions(-) delete mode 100644 src/vma/dev/wqe_send_ib_handler.cpp delete mode 100644 src/vma/dev/wqe_send_ib_handler.h delete mode 100644 src/vma/proto/igmp_handler.cpp delete mode 100644 src/vma/proto/igmp_handler.h delete mode 100644 src/vma/proto/igmp_mgr.cpp delete mode 100644 src/vma/proto/igmp_mgr.h delete mode 100644 src/vma/proto/neighbour_observer.h diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index 5533d68c8..c898367cb 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -71,7 +71,6 @@ CHECK_VERBS_ATTRIBUTE([IBV_QPT_RAW_PACKET], [infiniband/verbs.h]) CHECK_VERBS_ATTRIBUTE([IBV_WC_WITH_VLAN], [infiniband/verbs.h]) CHECK_VERBS_ATTRIBUTE([IBV_ACCESS_ALLOCATE_MR], [infiniband/verbs.h]) CHECK_VERBS_ATTRIBUTE([IBV_QP_CREATE_SOURCE_QPN], [infiniband/verbs.h], [IBV_QP_INIT_SOURCE_QPN]) -CHECK_VERBS_ATTRIBUTE([IBV_FLOW_SPEC_IB], [infiniband/verbs.h], [IBV_FLOW_SPEC_IB]) CHECK_VERBS_ATTRIBUTE([IBV_DEVICE_RAW_IP_CSUM], [infiniband/verbs.h]) CHECK_VERBS_ATTRIBUTE([IBV_SEND_IP_CSUM], [infiniband/verbs.h]) CHECK_VERBS_ATTRIBUTE([IBV_FLOW_SPEC_ACTION_TAG], [infiniband/verbs.h], [IBV_FLOW_TAG]) diff --git a/src/vma/Makefile.am b/src/vma/Makefile.am index af3e9ce8d..ddc0fa7f5 100644 --- a/src/vma/Makefile.am +++ b/src/vma/Makefile.am @@ -83,7 +83,6 @@ libvma_la_SOURCES := \ dev/net_device_entry.cpp \ dev/net_device_table_mgr.cpp \ dev/wqe_send_handler.cpp \ - dev/wqe_send_ib_handler.cpp \ dev/ring.cpp \ dev/ring_bond.cpp \ dev/ring_slave.cpp \ @@ -135,8 +134,6 @@ libvma_la_SOURCES := \ proto/dst_entry_tcp.cpp \ proto/header.cpp \ proto/arp.cpp \ - proto/igmp_mgr.cpp \ - proto/igmp_handler.cpp \ \ sock/sockinfo.cpp \ sock/sockinfo_udp.cpp \ @@ -188,7 +185,6 @@ libvma_la_SOURCES := \ dev/ring_profile.h \ dev/ring_allocation_logic.h \ dev/wqe_send_handler.h \ - dev/wqe_send_ib_handler.h \ \ event/command.h \ event/delta_timer.h \ @@ -241,14 +237,11 @@ libvma_la_SOURCES := \ proto/dst_entry_udp_mc.h \ proto/flow_tuple.h \ proto/header.h \ - proto/igmp_handler.h \ - proto/igmp_mgr.h \ proto/ip_address.h \ proto/ip_frag.h \ proto/L2_address.h \ proto/mem_buf_desc.h \ proto/neighbour.h \ - proto/neighbour_observer.h \ proto/neighbour_table_mgr.h \ proto/netlink_socket_mgr.h \ proto/peer_key.h \ diff --git a/src/vma/dev/cq_mgr.cpp b/src/vma/dev/cq_mgr.cpp index c11ef630e..c50995990 100644 --- a/src/vma/dev/cq_mgr.cpp +++ b/src/vma/dev/cq_mgr.cpp @@ -60,11 +60,9 @@ cq_mgr::cq_mgr(ring_simple* p_ring, ib_ctx_handler* p_ib_ctx_handler, int cq_siz ,m_n_sysvar_cq_poll_batch_max(safe_mce_sys().cq_poll_batch_max) ,m_n_sysvar_progress_engine_wce_max(safe_mce_sys().progress_engine_wce_max) ,m_p_cq_stat(&m_cq_stat_static) // use local copy of stats by default (on rx cq get shared memory stats) - ,m_transport_type(m_p_ring->get_transport_type()) ,m_p_next_rx_desc_poll(NULL) ,m_n_sysvar_rx_prefetch_bytes_before_poll(safe_mce_sys().rx_prefetch_bytes_before_poll) ,m_n_sysvar_rx_prefetch_bytes(safe_mce_sys().rx_prefetch_bytes) - ,m_sz_transport_header(0) ,m_p_ib_ctx_handler(p_ib_ctx_handler) ,m_n_sysvar_rx_num_wr_to_post_recv(safe_mce_sys().rx_num_wr_to_post_recv) ,m_comp_event_channel(p_comp_event_channel) @@ -101,25 +99,9 @@ void cq_mgr::configure(int cq_size) } BULLSEYE_EXCLUDE_BLOCK_END VALGRIND_MAKE_MEM_DEFINED(m_p_ibv_cq, sizeof(ibv_cq)); - switch (m_transport_type) { - case VMA_TRANSPORT_IB: - m_sz_transport_header = GRH_HDR_LEN; - break; - case VMA_TRANSPORT_ETH: - m_sz_transport_header = ETH_HDR_LEN; - break; - BULLSEYE_EXCLUDE_BLOCK_START - default: - cq_logpanic("Unknown transport type: %d", m_transport_type); - break; - BULLSEYE_EXCLUDE_BLOCK_END - } if (m_b_is_rx) { vma_stats_instance_create_cq_block(m_p_cq_stat); - } - - if (m_b_is_rx) { m_b_is_rx_hw_csum_on = vma_is_rx_hw_csum_supported(m_p_ib_ctx_handler->get_ibv_device_attr()); cq_logdbg("RX CSUM support = %d", m_b_is_rx_hw_csum_on); } @@ -481,9 +463,8 @@ mem_buf_desc_t* cq_mgr::process_cq_element_rx(ibv_wc* p_wce) VALGRIND_MAKE_MEM_DEFINED(p_mem_buf_desc->p_buffer, p_mem_buf_desc->sz_data); - prefetch_range((uint8_t*)p_mem_buf_desc->p_buffer + m_sz_transport_header, - std::min(p_mem_buf_desc->sz_data - m_sz_transport_header, (size_t)m_n_sysvar_rx_prefetch_bytes)); - //prefetch((uint8_t*)p_mem_buf_desc->p_buffer + m_sz_transport_header); + prefetch_range((uint8_t*)p_mem_buf_desc->p_buffer + ETH_HDR_LEN, + std::min(p_mem_buf_desc->sz_data - ETH_HDR_LEN, (size_t)m_n_sysvar_rx_prefetch_bytes)); } return p_mem_buf_desc; @@ -772,29 +753,19 @@ int cq_mgr::drain_and_proccess(uintptr_t* p_recycle_buffers_last_wr_id /*=NULL*/ if (p_recycle_buffers_last_wr_id) { m_p_cq_stat->n_rx_pkt_drop++; reclaim_recv_buffer_helper(buff); - } else { - bool procces_now = false; - if (m_transport_type == VMA_TRANSPORT_ETH) { - procces_now = is_eth_tcp_frame(buff); - } - if (m_transport_type == VMA_TRANSPORT_IB) { - procces_now = is_ib_tcp_frame(buff); - } + } else if (is_eth_tcp_frame(buff)) { // We process immediately all non udp/ip traffic.. - if (procces_now) { - buff->rx.is_vma_thr = true; - if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || - !compensate_qp_poll_success(buff)) { - process_recv_buffer(buff, NULL); - } + buff->rx.is_vma_thr = true; + if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || + !compensate_qp_poll_success(buff)) { + process_recv_buffer(buff, NULL); } - else { //udp/ip traffic we just put in the cq's rx queue - m_rx_queue.push_back(buff); - mem_buf_desc_t* buff_cur = m_rx_queue.get_and_pop_front(); - if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || - !compensate_qp_poll_success(buff_cur)) { - m_rx_queue.push_front(buff_cur); - } + } else { //udp/ip traffic we just put in the cq's rx queue + m_rx_queue.push_back(buff); + mem_buf_desc_t* buff_cur = m_rx_queue.get_and_pop_front(); + if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || + !compensate_qp_poll_success(buff_cur)) { + m_rx_queue.push_front(buff_cur); } } } diff --git a/src/vma/dev/cq_mgr.h b/src/vma/dev/cq_mgr.h index badd44706..d6e25cf7c 100644 --- a/src/vma/dev/cq_mgr.h +++ b/src/vma/dev/cq_mgr.h @@ -183,11 +183,9 @@ class cq_mgr const uint32_t m_n_sysvar_cq_poll_batch_max; const uint32_t m_n_sysvar_progress_engine_wce_max; cq_stats_t* m_p_cq_stat; - transport_type_t m_transport_type; mem_buf_desc_t* m_p_next_rx_desc_poll; const uint32_t m_n_sysvar_rx_prefetch_bytes_before_poll; const uint32_t m_n_sysvar_rx_prefetch_bytes; - size_t m_sz_transport_header; ib_ctx_handler* m_p_ib_ctx_handler; const uint32_t m_n_sysvar_rx_num_wr_to_post_recv; private: diff --git a/src/vma/dev/cq_mgr.inl b/src/vma/dev/cq_mgr.inl index 744a0eeab..f561c9460 100644 --- a/src/vma/dev/cq_mgr.inl +++ b/src/vma/dev/cq_mgr.inl @@ -62,22 +62,4 @@ inline bool is_eth_tcp_frame(mem_buf_desc_t* buff) return false; } -inline bool is_ib_tcp_frame(mem_buf_desc_t* buff) -{ - struct ipoibhdr* p_ipoib_h = (struct ipoibhdr*)(buff->p_buffer + GRH_HDR_LEN); - - // Validate IPoIB header - if (unlikely(p_ipoib_h->ipoib_header != htonl(IPOIB_HEADER))) { - return false; - } - - size_t transport_header_len = GRH_HDR_LEN + IPOIB_HDR_LEN; - - struct iphdr * p_ip_h = (struct iphdr*)(buff->p_buffer + transport_header_len); - if (likely(p_ip_h->protocol == IPPROTO_TCP)) { - return true; - } - return false; -} - #endif//CQ_MGR_INL_H diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index dea8609f6..d95cb49d0 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -292,29 +292,19 @@ int cq_mgr_mlx5::drain_and_proccess(uintptr_t* p_recycle_buffers_last_wr_id /*=N if (p_recycle_buffers_last_wr_id) { m_p_cq_stat->n_rx_pkt_drop++; reclaim_recv_buffer_helper(m_rx_hot_buffer); - } else { - bool procces_now = false; - if (m_transport_type == VMA_TRANSPORT_ETH) { - procces_now = is_eth_tcp_frame(m_rx_hot_buffer); - } - if (m_transport_type == VMA_TRANSPORT_IB) { - procces_now = is_ib_tcp_frame(m_rx_hot_buffer); - } + } else if (is_eth_tcp_frame(m_rx_hot_buffer)) { // We process immediately all non udp/ip traffic.. - if (procces_now) { - m_rx_hot_buffer->rx.is_vma_thr = true; - if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || - !compensate_qp_poll_success(m_rx_hot_buffer)) { - process_recv_buffer(m_rx_hot_buffer, NULL); - } + m_rx_hot_buffer->rx.is_vma_thr = true; + if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || + !compensate_qp_poll_success(m_rx_hot_buffer)) { + process_recv_buffer(m_rx_hot_buffer, NULL); } - else { //udp/ip traffic we just put in the cq's rx queue - m_rx_queue.push_back(m_rx_hot_buffer); - mem_buf_desc_t* buff_cur = m_rx_queue.get_and_pop_front(); - if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || - !compensate_qp_poll_success(buff_cur)) { - m_rx_queue.push_front(buff_cur); - } + } else { //udp/ip traffic we just put in the cq's rx queue + m_rx_queue.push_back(m_rx_hot_buffer); + mem_buf_desc_t* buff_cur = m_rx_queue.get_and_pop_front(); + if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || + !compensate_qp_poll_success(buff_cur)) { + m_rx_queue.push_front(buff_cur); } } } @@ -342,30 +332,20 @@ int cq_mgr_mlx5::drain_and_proccess(uintptr_t* p_recycle_buffers_last_wr_id /*=N if (p_recycle_buffers_last_wr_id) { m_p_cq_stat->n_rx_pkt_drop++; reclaim_recv_buffer_helper(buff); - } else { - bool procces_now = false; - if (m_transport_type == VMA_TRANSPORT_ETH) { - procces_now = is_eth_tcp_frame(buff); - } - if (m_transport_type == VMA_TRANSPORT_IB) { - procces_now = is_ib_tcp_frame(buff); - } + } else if (is_eth_tcp_frame(buff)) { /* We process immediately all non udp/ip traffic.. */ - if (procces_now) { - buff->rx.is_vma_thr = true; - if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || - !compensate_qp_poll_success(buff)) { - process_recv_buffer(buff, NULL); - } + buff->rx.is_vma_thr = true; + if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || + !compensate_qp_poll_success(buff)) { + process_recv_buffer(buff, NULL); } - else { /* udp/ip traffic we just put in the cq's rx queue */ - m_rx_queue.push_back(buff); - mem_buf_desc_t* buff_cur = m_rx_queue.front(); - m_rx_queue.pop_front(); - if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || - !compensate_qp_poll_success(buff_cur)) { - m_rx_queue.push_front(buff_cur); - } + } else { /* udp/ip traffic we just put in the cq's rx queue */ + m_rx_queue.push_back(buff); + mem_buf_desc_t* buff_cur = m_rx_queue.front(); + m_rx_queue.pop_front(); + if ((++m_qp_rec.debt < (int)m_n_sysvar_rx_num_wr_to_post_recv) || + !compensate_qp_poll_success(buff_cur)) { + m_rx_queue.push_front(buff_cur); } } } @@ -442,8 +422,8 @@ mem_buf_desc_t* cq_mgr_mlx5::process_cq_element_rx(mem_buf_desc_t* p_mem_buf_des VALGRIND_MAKE_MEM_DEFINED(p_mem_buf_desc->p_buffer, p_mem_buf_desc->sz_data); - prefetch_range((uint8_t*)p_mem_buf_desc->p_buffer + m_sz_transport_header, - std::min(p_mem_buf_desc->sz_data - m_sz_transport_header, (size_t)m_n_sysvar_rx_prefetch_bytes)); + prefetch_range((uint8_t*)p_mem_buf_desc->p_buffer + ETH_HDR_LEN, + std::min(p_mem_buf_desc->sz_data - ETH_HDR_LEN, (size_t)m_n_sysvar_rx_prefetch_bytes)); return p_mem_buf_desc; diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index 550370d8d..b8ac4b058 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -214,9 +214,6 @@ void net_device_table_mgr::update_tbl() case ARPHRD_ETHER: p_net_device_val = new net_device_val_eth(&desc); break; - case ARPHRD_INFINIBAND: - p_net_device_val = new net_device_val_ib(&desc); - break; default: goto next; } diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index aab75e807..f62205e0b 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -173,7 +173,6 @@ net_device_val::net_device_val(struct net_device_val_desc *desc) : m_lock("net_d m_if_active = 0; m_bond_xmit_hash_policy = XHP_LAYER_2; m_bond_fail_over_mac = 0; - m_transport_type = VMA_TRANSPORT_UNKNOWN; if (NULL == desc) { nd_logerr("Invalid net_device_val name=%s", "NA"); @@ -252,10 +251,10 @@ net_device_val::net_device_val(struct net_device_val_desc *desc) : m_lock("net_d case LAG_8023ad: case ACTIVE_BACKUP: // this is a bond interface (or a vlan/alias over bond), find the slaves - valid = verify_bond_ipoib_or_eth_qp_creation(); + valid = verify_bond_eth_qp_creation(); break; default: - valid = (bool)(ib_ctx && verify_ipoib_or_eth_qp_creation(get_ifname_link())); + valid = (bool)(ib_ctx && verify_eth_qp_creation(get_ifname_link())); break; } @@ -474,9 +473,6 @@ void net_device_val::set_str() case ARPHRD_ETHER: sprintf(str_x, " type %s", "ether"); break; - case ARPHRD_INFINIBAND: - sprintf(str_x, " type %s", "infiniband"); - break; default: sprintf(str_x, " type %s", "unknown"); break; @@ -1392,106 +1388,7 @@ std::string net_device_val_eth::to_str() return std::string("ETH: ") + net_device_val::to_str(); } -net_device_val_ib::~net_device_val_ib() -{ - struct in_addr in; - if (1 == inet_pton(AF_INET, BROADCAST_IP, &in)) { - g_p_neigh_table_mgr->unregister_observer(neigh_key(ip_address(in.s_addr), this), this); - } -} - -void net_device_val_ib::configure() -{ - ib_ctx_handler* p_ib_ctx = NULL; - struct in_addr in; - - m_p_L2_addr = create_L2_address(get_ifname()); - - BULLSEYE_EXCLUDE_BLOCK_START - if(m_p_L2_addr == NULL) { - nd_logpanic("m_p_L2_addr allocation error"); - } - BULLSEYE_EXCLUDE_BLOCK_END - - create_br_address(get_ifname()); - - if (1 == inet_pton(AF_INET, BROADCAST_IP, &in)) { - g_p_neigh_table_mgr->unregister_observer(neigh_key(ip_address(in.s_addr), this), this); - } - - //Register to IB BR neigh - cache_entry_subject* p_ces = NULL; - if (1 == inet_pton(AF_INET, BROADCAST_IP, &in)) { - g_p_neigh_table_mgr->register_observer(neigh_key(ip_address(in.s_addr), this), this, &p_ces); - } - m_br_neigh = dynamic_cast(p_ces); - - p_ib_ctx = g_p_ib_ctx_handler_collection->get_ib_ctx(get_ifname_link()); - if (!p_ib_ctx || ibv_query_pkey(p_ib_ctx->get_ibv_context(), get_port_from_ifname(get_ifname_link()), 0, &m_pkey)) { - nd_logerr("failed querying pkey"); - } - nd_logdbg("pkey: %d", m_pkey); -} - -ring* net_device_val_ib::create_ring(resource_allocation_key *key) -{ - ring* ring = NULL; - - NOT_IN_USE(key); - try { - switch (m_bond) { - case NO_BOND: - ring = new ring_ib(get_if_idx()); - break; - case ACTIVE_BACKUP: - case LAG_8023ad: - ring = new ring_bond_ib(get_if_idx()); - break; - default: - nd_logdbg("Unknown ring type"); - break; - } - } catch (vma_error &error) { - nd_logdbg("failed creating ring %s", error.message); - } - - return ring; -} - -L2_address* net_device_val_ib::create_L2_address(const char* ifname) -{ - if (m_p_L2_addr) { - delete m_p_L2_addr; - m_p_L2_addr = NULL; - } - unsigned char hw_addr[IPOIB_HW_ADDR_LEN]; - get_local_ll_addr(ifname, hw_addr, IPOIB_HW_ADDR_LEN, false); - return new IPoIB_addr(hw_addr); -} - -void net_device_val_ib::create_br_address(const char* ifname) -{ - if (m_p_br_addr) { - delete m_p_br_addr; - m_p_br_addr = NULL; - } - unsigned char hw_addr[IPOIB_HW_ADDR_LEN]; - get_local_ll_addr(ifname, hw_addr, IPOIB_HW_ADDR_LEN, true); - m_p_br_addr = new IPoIB_addr(hw_addr); - BULLSEYE_EXCLUDE_BLOCK_START - if (m_p_br_addr == NULL) { - nd_logpanic("m_p_br_addr allocation error"); - } - BULLSEYE_EXCLUDE_BLOCK_END -} - -std::string net_device_val_ib::to_str() -{ - return std::string("IB: ") + net_device_val::to_str(); -} - - -bool net_device_val::verify_bond_ipoib_or_eth_qp_creation() +bool net_device_val::verify_bond_eth_qp_creation() { char slaves[IFNAMSIZ * MAX_SLAVES] = {0}; @@ -1510,7 +1407,7 @@ bool net_device_val::verify_bond_ipoib_or_eth_qp_creation() { char* p = strchr(slave_name, '\n'); if (p) *p = '\0'; // Remove the tailing 'new line" char - if (!verify_ipoib_or_eth_qp_creation(slave_name)) { + if (!verify_eth_qp_creation(slave_name)) { //check all slaves but print only once for bond bond_ok = false; } @@ -1543,69 +1440,9 @@ bool net_device_val::verify_bond_ipoib_or_eth_qp_creation() } //interface name can be slave while ifa struct can describe bond -bool net_device_val::verify_ipoib_or_eth_qp_creation(const char* interface_name) +bool net_device_val::verify_eth_qp_creation(const char* interface_name) { - if (m_type == ARPHRD_INFINIBAND) { - if (verify_enable_ipoib(interface_name) && verify_qp_creation(interface_name, IBV_QPT_UD)) { - return true; - } - } else { - if (verify_qp_creation(interface_name, IBV_QPT_RAW_PACKET)) { - return true; - } - } - return false; -} - -bool net_device_val::verify_enable_ipoib(const char* interface_name) -{ - char filename[256] = "\0"; - char ifname[IFNAMSIZ] = "\0"; - NOT_IN_USE(interface_name); // Suppress --enable-opt-log=high warning - - if(!safe_mce_sys().enable_ipoib) { - nd_logdbg("Blocking offload: IPoIB interfaces ('%s')", interface_name); - return false; - } - -#ifndef DEFINED_IBV_QP_INIT_SOURCE_QPN - // Note: mlx4 does not support this capability - ib_ctx_handler* ib_ctx = g_p_ib_ctx_handler_collection->get_ib_ctx(get_ifname_link()); - if (!ib_ctx->is_mlx4()) { - nd_logwarn("Blocking offload: SOURCE_QPN is not supported for this driver ('%s')", interface_name); - return false; - } -#endif - - // Verify IPoIB is in 'datagram mode' for proper VMA with flow steering operation - if (validate_ipoib_prop(get_ifname(), m_flags, IPOIB_MODE_PARAM_FILE, "datagram", 8, filename, ifname)) { - vlog_printf(VLOG_WARNING,"*******************************************************************************************************\n"); - vlog_printf(VLOG_WARNING,"* IPoIB mode of interface '%s' is \"connected\" !\n", get_ifname()); - vlog_printf(VLOG_WARNING,"* Please change it to datagram: \"echo datagram > %s\" before loading your application with VMA library\n", filename); - vlog_printf(VLOG_WARNING,"* VMA doesn't support IPoIB in connected mode.\n"); - vlog_printf(VLOG_WARNING,"* Please refer to VMA Release Notes for more information\n"); - vlog_printf(VLOG_WARNING,"*******************************************************************************************************\n"); - return false; - } - else { - nd_logdbg("verified interface '%s' is running in datagram mode", get_ifname()); - } - - // Verify umcast is disabled for IB flow - if (validate_ipoib_prop(get_ifname(), m_flags, UMCAST_PARAM_FILE, "0", 1, filename, ifname)) { // Extract UMCAST flag (only for IB transport types) - vlog_printf(VLOG_WARNING,"*******************************************************************************************************\n"); - vlog_printf(VLOG_WARNING,"* UMCAST flag is Enabled for interface %s !\n", get_ifname()); - vlog_printf(VLOG_WARNING,"* Please disable it: \"echo 0 > %s\" before loading your application with VMA library\n", filename); - vlog_printf(VLOG_WARNING,"* This option in no longer needed in this version\n"); - vlog_printf(VLOG_WARNING,"* Please refer to Release Notes for more information\n"); - vlog_printf(VLOG_WARNING,"*******************************************************************************************************\n"); - return false; - } - else { - nd_logdbg("verified interface '%s' is running with umcast disabled", get_ifname()); - } - - return true; + return verify_qp_creation(interface_name, IBV_QPT_RAW_PACKET); } //ifname should point to a physical device @@ -1669,14 +1506,6 @@ bool net_device_val::verify_qp_creation(const char* ifname, enum ibv_qp_type qp_ qp_init_attr.recv_cq = cq; qp_init_attr.send_cq = cq; - // Set source qpn for non mlx4 IPoIB devices - if (qp_type == IBV_QPT_UD && !p_ib_ctx->is_mlx4()) { - unsigned char hw_addr[IPOIB_HW_ADDR_LEN]; - get_local_ll_addr(ifname, hw_addr, IPOIB_HW_ADDR_LEN, false); - IPoIB_addr ipoib_addr(hw_addr); - ibv_source_qpn_set(qp_init_attr, ipoib_addr.get_qpn()); - } - qp = vma_ibv_create_qp(p_ib_ctx->get_ibv_pd(), &qp_init_attr); if (qp) { if (qp_type == IBV_QPT_UD && priv_ibv_create_flow_supported(qp, port_num) == -1) { diff --git a/src/vma/dev/net_device_val.h b/src/vma/dev/net_device_val.h index cd48ee743..16b8d8314 100644 --- a/src/vma/dev/net_device_val.h +++ b/src/vma/dev/net_device_val.h @@ -21,7 +21,6 @@ #include "vma/event/event_handler_ibverbs.h" #include "vma/event/event_handler_rdma_cm.h" #include "vma/dev/ib_ctx_handler.h" -#include "vma/proto/neighbour_observer.h" #include "vma/proto/L2_address.h" #include "vma/infra/cache_subject_observer.h" @@ -29,7 +28,6 @@ class L2_address; class ring; class ib_ctx_handler; -class neigh_ib_broadcast; #define RING_ALLOC_STR_SIZE 256 class ring_alloc_logic_attr @@ -223,8 +221,6 @@ class net_device_val int release_ring(resource_allocation_key*); // delete from m_hash if ref_cnt == 0 state get_state() const { return m_state; } // not sure, look at state init at c'tor virtual std::string to_str(); - inline void set_transport_type(transport_type_t value) { m_transport_type = value; } - transport_type_t get_transport_type() const { return m_transport_type; } bool update_active_backup_slaves(); in_addr_t get_local_addr() { return m_ip[0]->local_addr; } // Valid object must have at least one address int global_ring_poll_and_process_element(uint64_t *p_poll_sn, void* pv_fd_ready_array = NULL); @@ -249,7 +245,6 @@ class net_device_val L2_address* m_p_L2_addr; L2_address* m_p_br_addr; - transport_type_t m_transport_type; lock_mutex_recursive m_lock; rings_hash_map_t m_h_ring_map; sys_image_guid_map_t m_sys_image_guid_map; @@ -266,9 +261,8 @@ class net_device_val private: void verify_bonding_mode(); bool verify_qp_creation(const char* ifname, enum ibv_qp_type qp_type); - bool verify_bond_ipoib_or_eth_qp_creation(); - bool verify_ipoib_or_eth_qp_creation(const char* interface_name); - bool verify_enable_ipoib(const char* ifname); + bool verify_bond_eth_qp_creation(); + bool verify_eth_qp_creation(const char* interface_name); resource_allocation_key* ring_key_redirection_reserve(resource_allocation_key *key); resource_allocation_key* get_ring_key_redirection(resource_allocation_key *key); @@ -297,7 +291,6 @@ class net_device_val_eth : public net_device_val { public: net_device_val_eth(struct net_device_val_desc *desc) : net_device_val(desc), m_vlan(0) { - set_transport_type(VMA_TRANSPORT_ETH); if (INVALID != get_state()) { set_slave_array(); configure(); @@ -307,7 +300,7 @@ class net_device_val_eth : public net_device_val std::string to_str(); protected: - virtual ring* create_ring(resource_allocation_key *key); + virtual ring* create_ring(resource_allocation_key *key); void parse_prio_egress_map(); private: void configure(); @@ -316,34 +309,4 @@ class net_device_val_eth : public net_device_val uint16_t m_vlan; }; - -class net_device_val_ib : public net_device_val, public neigh_observer, public cache_observer -{ -public: - net_device_val_ib(struct net_device_val_desc *desc) : net_device_val(desc), m_pkey(0), m_br_neigh(NULL) { - set_transport_type(VMA_TRANSPORT_IB); - if (INVALID != get_state()) { - set_slave_array(); - configure(); - } - } - ~net_device_val_ib(); - - std::string to_str(); - uint16_t get_pkey() { return m_pkey; } - const neigh_ib_broadcast* get_br_neigh() {return m_br_neigh;} - virtual transport_type_t get_obs_transport_type() const {return get_transport_type();} - -protected: - ring* create_ring(resource_allocation_key *key); - -private: - void configure(); - L2_address* create_L2_address(const char* ifname); - void create_br_address(const char* ifname); - uint16_t m_pkey; - neigh_ib_broadcast* m_br_neigh; -}; - - #endif diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index e16c8963d..c90344096 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -32,8 +32,6 @@ #define FICTIVE_REMOTE_QPN 0x48 #define FICTIVE_REMOTE_QKEY 0x01234567 -#define FICTIVE_AH_SL 5 -#define FICTIVE_AH_DLID 0x3 #define MAX_UPSTREAM_CQ_MSHV_SIZE 8192 @@ -139,8 +137,7 @@ cq_mgr* qp_mgr::init_tx_cq_mgr() int qp_mgr::configure(struct qp_mgr_desc *desc) { - qp_logdbg("Creating QP of transport type '%s' on ibv device '%s' [%p] on port %d", - priv_vma_transport_type_str(m_p_ring->get_transport_type()), + qp_logdbg("Creating QP on ibv device '%s' [%p] on port %d", m_p_ib_ctx_handler->get_ibname(), m_p_ib_ctx_handler->get_ibv_device(), m_port_num); // Check device capabilities for max QP work requests @@ -363,7 +360,6 @@ void qp_mgr::trigger_completion_for_all_sent_packets() // Prepare dummy packet: zeroed payload ('0000'). // For ETH it replaces the MAC header!! (Nothing is going on the wire, QP in error state) - // For IB it replaces the IPoIB header. /* need to send at least eth+ip, since libmlx5 will drop just eth header */ ethhdr* p_buffer_ethhdr = (ethhdr *)p_mem_buf_desc->p_buffer; @@ -375,34 +371,9 @@ void qp_mgr::trigger_completion_for_all_sent_packets() sge[0].addr = (uintptr_t)(p_mem_buf_desc->p_buffer); sge[0].lkey = m_p_ring->m_tx_lkey; - struct ibv_ah *p_ah = NULL; - ibv_ah_attr ah_attr; - - if (m_p_ring->get_transport_type() == VMA_TRANSPORT_IB) { - memset(&ah_attr, 0, sizeof(ah_attr)); - ah_attr.dlid = FICTIVE_AH_DLID; - ah_attr.sl = FICTIVE_AH_SL; - ah_attr.src_path_bits = 0; - ah_attr.static_rate = 0; - ah_attr.is_global = 0; - ah_attr.port_num = m_port_num; // Do we need it? - - p_ah = ibv_create_ah(m_p_ib_ctx_handler->get_ibv_pd(), &ah_attr); - BULLSEYE_EXCLUDE_BLOCK_START - if (!p_ah && (errno != EIO)) { - qp_logpanic("failed creating address handler (errno=%d %m)", errno); - } - BULLSEYE_EXCLUDE_BLOCK_END - } - - // Prepare send wr for (does not care if it is UD/IB or RAW/ETH) - // UD requires AH+qkey, RAW requires minimal payload instead of MAC header. - memset(&send_wr, 0, sizeof(send_wr)); send_wr.wr_id = (uintptr_t)p_mem_buf_desc; - send_wr.wr.ud.ah = p_ah; - send_wr.wr.ud.remote_qpn = FICTIVE_REMOTE_QPN; - send_wr.wr.ud.remote_qkey = FICTIVE_REMOTE_QKEY; + send_wr.wr.ud.ah = nullptr; send_wr.sg_list = sge; send_wr.num_sge = 1; send_wr.next = NULL; @@ -420,12 +391,6 @@ void qp_mgr::trigger_completion_for_all_sent_packets() m_p_ring->m_tx_num_wr_free--; send_to_wire(&send_wr, (vma_wr_tx_packet_attr)(VMA_TX_PACKET_L3_CSUM|VMA_TX_PACKET_L4_CSUM), true); - if (p_ah) { - IF_VERBS_FAILURE_EX(ibv_destroy_ah(p_ah), EIO) - { - qp_logpanic("failed destroying address handle (errno=%d %m)", errno); - }ENDIF_VERBS_FAILURE; - } } } @@ -635,108 +600,6 @@ int qp_mgr_eth::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) return 0; } -void qp_mgr_ib::modify_qp_to_ready_state() -{ - qp_logdbg(""); - int ret = 0; - int qp_state = priv_ibv_query_qp_state(m_qp); - - BULLSEYE_EXCLUDE_BLOCK_START - if (qp_state != IBV_QPS_INIT) { - if ((ret = priv_ibv_modify_qp_from_err_to_init_ud(m_qp, m_port_num, m_pkey_index, m_underly_qpn)) != 0) { - qp_logpanic("failed to modify QP from %d to RTS state (ret = %d)", qp_state, ret); - } - } - if ((ret = priv_ibv_modify_qp_from_init_to_rts(m_qp, m_underly_qpn)) != 0) { - qp_logpanic("failed to modify QP from INIT to RTS state (ret = %d)", ret); - } - BULLSEYE_EXCLUDE_BLOCK_END -} - -int qp_mgr_ib::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) -{ - qp_logdbg(""); - int ret = 0; - - qp_init_attr.qp_type = IBV_QPT_UD; - vma_ibv_qp_init_attr_comp_mask(m_p_ib_ctx_handler->get_ibv_pd(), qp_init_attr); - - if (m_underly_qpn) { - ibv_source_qpn_set(qp_init_attr, m_underly_qpn); - qp_logdbg("create qp using underly qpn = 0x%X", m_underly_qpn); - } - - m_qp = vma_ibv_create_qp(m_p_ib_ctx_handler->get_ibv_pd(), &qp_init_attr); - - BULLSEYE_EXCLUDE_BLOCK_START - if (!m_qp) { - qp_logerr("ibv_create_qp failed (errno=%d %m)", errno); - return -1; - } - - if ((ret = priv_ibv_modify_qp_from_err_to_init_ud(m_qp, m_port_num, - m_pkey_index, - m_underly_qpn)) != 0) { - VLOG_PRINTF_INFO_ONCE_THEN_ALWAYS( - VLOG_ERROR, VLOG_DEBUG, - "failed to modify QP from ERR to INIT state (ret = %d) check number of available fds (ulimit -n)", - ret); - return ret; - } - BULLSEYE_EXCLUDE_BLOCK_END - - enum ibv_qp_attr_mask attr_mask = IBV_QP_CAP; - struct ibv_qp_attr tmp_ibv_qp_attr; - struct ibv_qp_init_attr tmp_ibv_qp_init_attr; - IF_VERBS_FAILURE(ibv_query_qp(m_qp, &tmp_ibv_qp_attr, attr_mask, - &tmp_ibv_qp_init_attr)) { - qp_logerr("ibv_query_qp failed (errno=%d %m)", errno); - return -1; - } ENDIF_VERBS_FAILURE; - - uint32_t tx_max_inline = safe_mce_sys().tx_max_inline; - m_max_inline_data = min(tmp_ibv_qp_attr.cap.max_inline_data, tx_max_inline); - - qp_logdbg("requested max inline = %d QP, actual max inline = %d, " - "VMA max inline set to %d, max_send_wr=%d, max_recv_wr=%d, " - "max_recv_sge=%d, max_send_sge=%d", - tx_max_inline, tmp_ibv_qp_init_attr.cap.max_inline_data, - m_max_inline_data, tmp_ibv_qp_attr.cap.max_send_wr, - tmp_ibv_qp_attr.cap.max_recv_wr, tmp_ibv_qp_attr.cap.max_recv_sge, - tmp_ibv_qp_attr.cap.max_send_sge); - - return 0; -} - -void qp_mgr_ib::update_pkey_index() -{ - qp_logdbg(""); - VALGRIND_MAKE_MEM_DEFINED(&m_pkey, sizeof(m_pkey)); - if (priv_ibv_find_pkey_index(m_p_ib_ctx_handler->get_ibv_context(), get_port_num(), m_pkey, &m_pkey_index)) { - qp_logdbg("IB: Can't find correct pkey_index for pkey '%d'", m_pkey); - m_pkey_index = (uint16_t)-1; - } - else { - qp_logdbg("IB: Found correct pkey_index (%d) for pkey '%d'", m_pkey_index, m_pkey); - } -#ifdef DEFINED_IBV_QP_INIT_SOURCE_QPN - /* m_underly_qpn is introduced to detect if current qp_mgr is able to - * use associated qp. - * It is set to non zero value if OFED supports such possibility only but final - * decision can be made just after attempt to create qp. The value of - * m_underly_qpn is reverted to zero if function to qp creation returns - * failure. - * So zero value for this field means no such capability. - * Note: mlx4 does not support this capability. Disable it explicitly because dynamic check - * using ibv_create_qp does not help - */ - if (!m_p_ib_ctx_handler->is_mlx4()) { - m_underly_qpn = m_p_ring->get_qpn(); - } - qp_logdbg("IB: Use qpn = 0x%X for device: %s", m_underly_qpn, m_p_ib_ctx_handler->get_ibname()); -#endif /* DEFINED_IBV_QP_INIT_SOURCE_QPN */ -} - uint32_t qp_mgr::is_ratelimit_change(struct vma_rate_limit_t &rate_limit) { uint32_t rl_changes = 0; diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index 26758304b..f998f8461 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -77,7 +77,6 @@ friend class cq_mgr_mp; uint32_t get_max_inline_data() const {return m_max_inline_data; } int get_port_num() const { return m_port_num; } virtual uint16_t get_partiton() const { return 0; }; - virtual uint32_t get_underly_qpn() const { return 0; }; struct ibv_qp* get_ibv_qp() const { return m_qp; }; class cq_mgr* get_tx_cq_mgr() const { return m_p_cq_mgr_tx; } class cq_mgr* get_rx_cq_mgr() const { return m_p_cq_mgr_rx; } @@ -167,28 +166,4 @@ class qp_mgr_eth : public qp_mgr const uint16_t m_vlan; }; -class qp_mgr_ib : public qp_mgr -{ -public: - qp_mgr_ib(struct qp_mgr_desc *desc, - const uint32_t tx_num_wr, const uint16_t pkey): - qp_mgr(desc, tx_num_wr), m_pkey(pkey), m_underly_qpn(0) { - update_pkey_index(); - if(configure(desc)) throw_vma_exception("failed creating qp"); }; - - virtual void modify_qp_to_ready_state(); - virtual uint16_t get_partiton() const { return m_pkey; }; - virtual uint32_t get_underly_qpn() const { return m_underly_qpn; }; - -protected: - virtual int prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr); - -private: - const uint16_t m_pkey; - uint16_t m_pkey_index; - uint32_t m_underly_qpn; - - void update_pkey_index(); -}; - #endif diff --git a/src/vma/dev/rfs.h b/src/vma/dev/rfs.h index 2084509c7..affa2855c 100644 --- a/src/vma/dev/rfs.h +++ b/src/vma/dev/rfs.h @@ -30,8 +30,6 @@ class qp_mgr; class pkt_rcvr_sink; -/* ETHERNET - */ typedef struct attach_flow_data_eth_ipv4_tcp_udp_t { struct ibv_flow * ibv_flow; qp_mgr* p_qp_mgr; @@ -61,110 +59,6 @@ typedef struct attach_flow_data_eth_ipv4_tcp_udp_t { ibv_flow_attr(qp_mgr->get_port_num()) {} } attach_flow_data_eth_ipv4_tcp_udp_t; -/* IPOIB (MC) - */ -typedef struct attach_flow_data_ib_v2_t { - struct ibv_flow * ibv_flow; - qp_mgr* p_qp_mgr; - struct ibv_flow_attr_ib_v2 { - vma_ibv_flow_attr attr; - ibv_flow_spec_ipv4 ipv4; - ibv_flow_spec_tcp_udp tcp_udp; - - ibv_flow_attr_ib_v2(uint8_t port) { - memset(this, 0, sizeof(*this)); - attr.size = sizeof(struct ibv_flow_attr_ib_v2); - attr.num_of_specs = 2; - attr.type = IBV_FLOW_ATTR_NORMAL; - attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later - attr.port = port; - } - } ibv_flow_attr; - attach_flow_data_ib_v2_t(qp_mgr* qp_mgr) : - ibv_flow(NULL), - p_qp_mgr(qp_mgr), - ibv_flow_attr(qp_mgr->get_port_num()) {} - -} attach_flow_data_ib_v2_t; - -#ifdef DEFINED_IBV_FLOW_SPEC_IB -typedef struct attach_flow_data_ib_v1_t { - struct ibv_flow * ibv_flow; - qp_mgr* p_qp_mgr; - struct ibv_flow_attr_ib_v1 { - vma_ibv_flow_attr attr; - ibv_flow_spec_ib ib; - - ibv_flow_attr_ib_v1(uint8_t port) { - memset(this, 0, sizeof(*this)); - attr.size = sizeof(struct ibv_flow_attr_ib_v1); - attr.num_of_specs = 1; - attr.type = IBV_FLOW_ATTR_NORMAL; - attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later - attr.port = port; - } - } ibv_flow_attr; - attach_flow_data_ib_v1_t(qp_mgr* qp_mgr) : - ibv_flow(NULL), - p_qp_mgr(qp_mgr), - ibv_flow_attr(qp_mgr->get_port_num()) {} - -} attach_flow_data_ib_v1_t; -#endif - -/* IPOIB (UC) - */ -typedef struct attach_flow_data_ib_ipv4_tcp_udp_v2_t { - struct ibv_flow * ibv_flow; - qp_mgr* p_qp_mgr; - struct ibv_flow_attr_ib_ipv4_tcp_udp_v2 { - - vma_ibv_flow_attr attr; - ibv_flow_spec_ipv4 ipv4; - ibv_flow_spec_tcp_udp tcp_udp; - - ibv_flow_attr_ib_ipv4_tcp_udp_v2(uint8_t port) { - memset(this, 0, sizeof(*this)); - attr.size = sizeof(struct ibv_flow_attr_ib_ipv4_tcp_udp_v2); - attr.num_of_specs = 2; - attr.type = IBV_FLOW_ATTR_NORMAL; - attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later - attr.port = port; - } - } ibv_flow_attr; - attach_flow_data_ib_ipv4_tcp_udp_v2_t(qp_mgr* qp_mgr) : - ibv_flow(NULL), - p_qp_mgr(qp_mgr), - ibv_flow_attr(qp_mgr->get_port_num()) {} -} attach_flow_data_ib_ipv4_tcp_udp_v2_t; - -#ifdef DEFINED_IBV_FLOW_SPEC_IB -typedef struct attach_flow_data_ib_ipv4_tcp_udp_v1_t { - struct ibv_flow * ibv_flow; - qp_mgr* p_qp_mgr; - struct ibv_flow_attr_ib_ipv4_tcp_udp_v1 { - - vma_ibv_flow_attr attr; - ibv_flow_spec_ib ib; - ibv_flow_spec_ipv4 ipv4; - ibv_flow_spec_tcp_udp tcp_udp; - - ibv_flow_attr_ib_ipv4_tcp_udp_v1(uint8_t port) { - memset(this, 0, sizeof(*this)); - attr.size = sizeof(struct ibv_flow_attr_ib_ipv4_tcp_udp_v1); - attr.num_of_specs = 3; - attr.type = IBV_FLOW_ATTR_NORMAL; - attr.priority = 1; // almost highest priority, 0 is used for 5-tuple later - attr.port = port; - } - } ibv_flow_attr; - attach_flow_data_ib_ipv4_tcp_udp_v1_t(qp_mgr* qp_mgr) : - ibv_flow(NULL), - p_qp_mgr(qp_mgr), - ibv_flow_attr(qp_mgr->get_port_num()) {} -} attach_flow_data_ib_ipv4_tcp_udp_v1_t; -#endif /* DEFINED_IBV_FLOW_SPEC_IB */ - typedef struct attach_flow_data_t { vma_ibv_flow* ibv_flow; qp_mgr* p_qp_mgr; @@ -227,7 +121,7 @@ class rfs bool destroy_ibv_flow(); // Detach flow from all qps bool add_sink(pkt_rcvr_sink* p_sink); bool del_sink(pkt_rcvr_sink* p_sink); - virtual bool prepare_flow_spec() = 0; + virtual void prepare_flow_spec() = 0; private: rfs(); // I don't want anyone to use the default constructor diff --git a/src/vma/dev/rfs_mc.cpp b/src/vma/dev/rfs_mc.cpp index 3b73f614c..1817162a9 100644 --- a/src/vma/dev/rfs_mc.cpp +++ b/src/vma/dev/rfs_mc.cpp @@ -22,12 +22,12 @@ rfs_mc::rfs_mc(flow_tuple *flow_spec_5t, ring_slave *p_ring, rfs_rule_filter* ru } BULLSEYE_EXCLUDE_BLOCK_END - if (m_p_ring->is_simple() && !prepare_flow_spec()) { - throw_vma_exception("IB multicast offload is not supported"); + if (m_p_ring->is_simple()) { + prepare_flow_spec(); } } -bool rfs_mc::prepare_flow_spec() +void rfs_mc::prepare_flow_spec() { ring_simple* p_ring = dynamic_cast(m_p_ring); @@ -35,8 +35,6 @@ bool rfs_mc::prepare_flow_spec() rfs_logpanic("Incompatible ring type"); } - transport_type_t type = p_ring->get_transport_type(); - /* * todo note that ring is not locked here. * we touch members that should not change during the ring life. @@ -45,93 +43,39 @@ bool rfs_mc::prepare_flow_spec() */ attach_flow_data_t* p_attach_flow_data = NULL; - switch (type) { - case VMA_TRANSPORT_IB: - { - attach_flow_data_ib_v2_t* attach_flow_data_ib_v2 = NULL; - - if (0 == p_ring->m_p_qp_mgr->get_underly_qpn()) { - // IB MC flow steering is done only on L2 --> need to zero other fields to get correct behaviour - // CX3 HW does not support L3+L4 MC flow steering rule -#ifdef DEFINED_IBV_FLOW_SPEC_IB - attach_flow_data_ib_v1_t* attach_flow_data_ib_v1 = NULL; - - attach_flow_data_ib_v1 = new attach_flow_data_ib_v1_t(p_ring->m_p_qp_mgr); - - uint8_t dst_gid[16]; - create_mgid_from_ipv4_mc_ip(dst_gid, p_ring->m_p_qp_mgr->get_partiton(), m_flow_tuple.get_dst_ip()); - ibv_flow_spec_ib_set_by_dst_gid(&(attach_flow_data_ib_v1->ibv_flow_attr.ib), - dst_gid); - - p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_ib_v1; - break; -#else - return false; -#endif - } - - attach_flow_data_ib_v2 = new attach_flow_data_ib_v2_t(p_ring->m_p_qp_mgr); - - ibv_flow_spec_ipv4_set(&(attach_flow_data_ib_v2->ibv_flow_attr.ipv4), - m_flow_tuple.get_dst_ip(), - 0); - - ibv_flow_spec_tcp_udp_set(&(attach_flow_data_ib_v2->ibv_flow_attr.tcp_udp), - (m_flow_tuple.get_protocol() == PROTO_TCP), - m_flow_tuple.get_dst_port(), - m_flow_tuple.get_src_port()); - - p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_ib_v2; - break; - } - case VMA_TRANSPORT_ETH: - { - attach_flow_data_eth_ipv4_tcp_udp_t* attach_flow_data_eth = NULL; - - attach_flow_data_eth = new attach_flow_data_eth_ipv4_tcp_udp_t(p_ring->m_p_qp_mgr); - - uint8_t dst_mac[6]; - create_multicast_mac_from_ip(dst_mac, m_flow_tuple.get_dst_ip()); - ibv_flow_spec_eth_set(&(attach_flow_data_eth->ibv_flow_attr.eth), - dst_mac, - htons(p_ring->m_p_qp_mgr->get_partiton())); - - if (safe_mce_sys().eth_mc_l2_only_rules) { - ibv_flow_spec_ipv4_set(&(attach_flow_data_eth->ibv_flow_attr.ipv4), 0, 0); - ibv_flow_spec_tcp_udp_set(&(attach_flow_data_eth->ibv_flow_attr.tcp_udp), 0, 0, 0); - p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_eth; - break; - } - - ibv_flow_spec_ipv4_set(&(attach_flow_data_eth->ibv_flow_attr.ipv4), - m_flow_tuple.get_dst_ip(), - 0); - - ibv_flow_spec_tcp_udp_set(&(attach_flow_data_eth->ibv_flow_attr.tcp_udp), - (m_flow_tuple.get_protocol() == PROTO_TCP), - m_flow_tuple.get_dst_port(), - m_flow_tuple.get_src_port()); - - if (m_flow_tag_id) { // Will not attach flow_tag spec to rule for tag_id==0 - ibv_flow_spec_flow_tag_set(&attach_flow_data_eth->ibv_flow_attr.flow_tag, m_flow_tag_id); - attach_flow_data_eth->ibv_flow_attr.add_flow_tag_spec(); - rfs_logdbg("Adding flow_tag spec to MC rule, num_of_specs: %d flow_tag_id: %d", - attach_flow_data_eth->ibv_flow_attr.attr.num_of_specs, m_flow_tag_id); - } - - p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_eth; - break; - } - BULLSEYE_EXCLUDE_BLOCK_START - default: - rfs_logpanic("Incompatible transport type = %d", type); - return false; - break; - BULLSEYE_EXCLUDE_BLOCK_END + attach_flow_data_eth_ipv4_tcp_udp_t* attach_flow_data_eth = NULL; + + attach_flow_data_eth = new attach_flow_data_eth_ipv4_tcp_udp_t(p_ring->m_p_qp_mgr); + + uint8_t dst_mac[6]; + create_multicast_mac_from_ip(dst_mac, m_flow_tuple.get_dst_ip()); + ibv_flow_spec_eth_set(&(attach_flow_data_eth->ibv_flow_attr.eth), + dst_mac, htons(p_ring->m_p_qp_mgr->get_partiton())); + + if (safe_mce_sys().eth_mc_l2_only_rules) { + ibv_flow_spec_ipv4_set(&(attach_flow_data_eth->ibv_flow_attr.ipv4), 0, 0); + ibv_flow_spec_tcp_udp_set(&(attach_flow_data_eth->ibv_flow_attr.tcp_udp), 0, 0, 0); + p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_eth; + } else { + ibv_flow_spec_ipv4_set(&(attach_flow_data_eth->ibv_flow_attr.ipv4), + m_flow_tuple.get_dst_ip(), 0); + + ibv_flow_spec_tcp_udp_set(&(attach_flow_data_eth->ibv_flow_attr.tcp_udp), + (m_flow_tuple.get_protocol() == PROTO_TCP), + m_flow_tuple.get_dst_port(), + m_flow_tuple.get_src_port()); + + if (m_flow_tag_id) { // Will not attach flow_tag spec to rule for tag_id==0 + ibv_flow_spec_flow_tag_set(&attach_flow_data_eth->ibv_flow_attr.flow_tag, m_flow_tag_id); + attach_flow_data_eth->ibv_flow_attr.add_flow_tag_spec(); + rfs_logdbg("Adding flow_tag spec to MC rule, num_of_specs: %d flow_tag_id: %d", + attach_flow_data_eth->ibv_flow_attr.attr.num_of_specs, m_flow_tag_id); + } + + p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_eth; } m_attach_flow_data_vector.push_back(p_attach_flow_data); - return true; } bool rfs_mc::rx_dispatch_packet(mem_buf_desc_t* p_rx_wc_buf_desc, void* pv_fd_ready_array) diff --git a/src/vma/dev/rfs_mc.h b/src/vma/dev/rfs_mc.h index 6a4e2276e..9e80dbe27 100644 --- a/src/vma/dev/rfs_mc.h +++ b/src/vma/dev/rfs_mc.h @@ -28,7 +28,7 @@ class rfs_mc : public rfs virtual bool rx_dispatch_packet(mem_buf_desc_t* p_rx_wc_buf_desc, void* pv_fd_ready_array); protected: - virtual bool prepare_flow_spec(); + virtual void prepare_flow_spec(); }; diff --git a/src/vma/dev/rfs_uc.cpp b/src/vma/dev/rfs_uc.cpp index eca46c54f..eb7f59d5b 100644 --- a/src/vma/dev/rfs_uc.cpp +++ b/src/vma/dev/rfs_uc.cpp @@ -13,7 +13,6 @@ #define MODULE_NAME "rfs_uc" - rfs_uc::rfs_uc(flow_tuple *flow_spec_5t, ring_slave *p_ring, rfs_rule_filter* rule_filter, uint32_t flow_tag_id) : rfs(flow_spec_5t, p_ring, rule_filter, flow_tag_id) { @@ -23,12 +22,12 @@ rfs_uc::rfs_uc(flow_tuple *flow_spec_5t, ring_slave *p_ring, rfs_rule_filter* ru } BULLSEYE_EXCLUDE_BLOCK_END - if (m_p_ring->is_simple() && !prepare_flow_spec()) { - throw_vma_exception("rfs_uc: Incompatible transport type"); + if (m_p_ring->is_simple()) { + prepare_flow_spec(); } } -bool rfs_uc::prepare_flow_spec() +void rfs_uc::prepare_flow_spec() { ring_simple* p_ring = dynamic_cast(m_p_ring); @@ -36,7 +35,6 @@ bool rfs_uc::prepare_flow_spec() rfs_logpanic("Incompatible ring type"); } - transport_type_t type = p_ring->get_transport_type(); /* * todo note that ring is not locked here. * we touch members that should not change during the ring life. @@ -48,52 +46,16 @@ bool rfs_uc::prepare_flow_spec() ibv_flow_spec_tcp_udp* p_tcp_udp = NULL; vma_ibv_flow_spec_action_tag* p_flow_tag = NULL; - attach_flow_data_eth_ipv4_tcp_udp_t* attach_flow_data_eth = NULL; - - switch (type) { - case VMA_TRANSPORT_IB: - { - attach_flow_data_ib_ipv4_tcp_udp_v2_t* attach_flow_data_ib_v2 = NULL; - -#ifdef DEFINED_IBV_FLOW_SPEC_IB - if (0 == p_ring->m_p_qp_mgr->get_underly_qpn()) { - attach_flow_data_ib_ipv4_tcp_udp_v1_t* attach_flow_data_ib_v1 = NULL; - - attach_flow_data_ib_v1 = new attach_flow_data_ib_ipv4_tcp_udp_v1_t(p_ring->m_p_qp_mgr); - ibv_flow_spec_ib_set_by_dst_qpn(&(attach_flow_data_ib_v1->ibv_flow_attr.ib), - htonl(((IPoIB_addr*)p_ring->m_p_l2_addr)->get_qpn())); - p_ipv4 = &(attach_flow_data_ib_v1->ibv_flow_attr.ipv4); - p_tcp_udp = &(attach_flow_data_ib_v1->ibv_flow_attr.tcp_udp); - p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_ib_v1; - break; - } -#endif - attach_flow_data_ib_v2 = new attach_flow_data_ib_ipv4_tcp_udp_v2_t(p_ring->m_p_qp_mgr); + attach_flow_data_eth_ipv4_tcp_udp_t* attach_flow_data_eth = + new attach_flow_data_eth_ipv4_tcp_udp_t(p_ring->m_p_qp_mgr); - p_ipv4 = &(attach_flow_data_ib_v2->ibv_flow_attr.ipv4); - p_tcp_udp = &(attach_flow_data_ib_v2->ibv_flow_attr.tcp_udp); - p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_ib_v2; - break; - } - case VMA_TRANSPORT_ETH: - { - attach_flow_data_eth = new attach_flow_data_eth_ipv4_tcp_udp_t(p_ring->m_p_qp_mgr); - - ibv_flow_spec_eth_set(&(attach_flow_data_eth->ibv_flow_attr.eth), - p_ring->m_p_l2_addr->get_address(), - htons(p_ring->m_p_qp_mgr->get_partiton())); - p_ipv4 = &(attach_flow_data_eth->ibv_flow_attr.ipv4); - p_tcp_udp = &(attach_flow_data_eth->ibv_flow_attr.tcp_udp); - p_flow_tag = &(attach_flow_data_eth->ibv_flow_attr.flow_tag); - p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_eth; - break; - } - BULLSEYE_EXCLUDE_BLOCK_START - default: - return false; - break; - BULLSEYE_EXCLUDE_BLOCK_END - } + ibv_flow_spec_eth_set(&(attach_flow_data_eth->ibv_flow_attr.eth), + p_ring->m_p_l2_addr->get_address(), + htons(p_ring->m_p_qp_mgr->get_partiton())); + p_ipv4 = &(attach_flow_data_eth->ibv_flow_attr.ipv4); + p_tcp_udp = &(attach_flow_data_eth->ibv_flow_attr.tcp_udp); + p_flow_tag = &(attach_flow_data_eth->ibv_flow_attr.flow_tag); + p_attach_flow_data = (attach_flow_data_t*)attach_flow_data_eth; ibv_flow_spec_ipv4_set(p_ipv4, m_flow_tuple.get_dst_ip(), @@ -110,20 +72,19 @@ bool rfs_uc::prepare_flow_spec() p_attach_flow_data->ibv_flow_attr.priority = 0; } - if (m_flow_tag_id && attach_flow_data_eth) { // Will not attach flow_tag spec to rule for tag_id==0 + if (m_flow_tag_id) { // Will not attach flow_tag spec to rule for tag_id==0 ibv_flow_spec_flow_tag_set(p_flow_tag, m_flow_tag_id); attach_flow_data_eth->ibv_flow_attr.add_flow_tag_spec(); rfs_logdbg("Adding flow_tag spec to rule, num_of_specs: %d flow_tag_id: %d", attach_flow_data_eth->ibv_flow_attr.attr.num_of_specs, m_flow_tag_id); } - rfs_logfunc("transport type: %s, num_of_specs: %d flow_tag_id: %d", - priv_vma_transport_type_str(type), - p_attach_flow_data->ibv_flow_attr.num_of_specs, - m_flow_tag_id); + + rfs_logfunc("num_of_specs: %d flow_tag_id: %d", + p_attach_flow_data->ibv_flow_attr.num_of_specs, + m_flow_tag_id); m_attach_flow_data_vector.push_back(p_attach_flow_data); - return true; } bool rfs_uc::rx_dispatch_packet(mem_buf_desc_t* p_rx_wc_buf_desc, void* pv_fd_ready_array) diff --git a/src/vma/dev/rfs_uc.h b/src/vma/dev/rfs_uc.h index 4e4cfc102..77dd0e590 100644 --- a/src/vma/dev/rfs_uc.h +++ b/src/vma/dev/rfs_uc.h @@ -29,7 +29,7 @@ class rfs_uc : public rfs virtual bool rx_dispatch_packet(mem_buf_desc_t* p_rx_wc_buf_desc, void* pv_fd_ready_array); protected: - virtual bool prepare_flow_spec(); + virtual void prepare_flow_spec(); }; diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index b574f5bae..22549c0ca 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -856,28 +856,6 @@ void ring_bond_eth::slave_create(int if_index) update_rx_channel_fds(); } -void ring_bond_ib::slave_create(int if_index) -{ - ring_slave *cur_slave; - ring_simple *cur_simple; - - cur_slave = cur_simple = new ring_ib(if_index, this); - if (cur_slave == NULL) { - ring_logpanic("Error creating bond ring: memory allocation error"); - } - - update_cap(cur_slave); - m_bond_rings.push_back(cur_slave); - - if (m_bond_rings.size() > MAX_NUM_RING_RESOURCES) { - ring_logpanic("Error creating bond ring with more than %d resource", MAX_NUM_RING_RESOURCES); - } - - popup_xmit_rings(); - popup_recv_rings(); - update_rx_channel_fds(); -} - void ring_bond_netvsc::slave_create(int if_index) { ring_slave *cur_slave = NULL; diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index ecaea9c87..f76b67b1f 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -124,26 +124,6 @@ class ring_bond_eth : public ring_bond virtual void slave_create(int if_index); }; -class ring_bond_ib : public ring_bond -{ -public: - ring_bond_ib(int if_index): - ring_bond(if_index) { - net_device_val* p_ndev = - g_p_net_device_table_mgr->get_net_device_val(m_parent->get_if_index()); - if (p_ndev) { - const slave_data_vector_t& slaves = p_ndev->get_slave_array(); - update_cap(); - for (size_t i = 0; i < slaves.size(); i++) { - slave_create(slaves[i]->if_index); - } - } - } - -protected: - virtual void slave_create(int if_index); -}; - class ring_bond_netvsc : public ring_bond { public: diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index b716a0bcb..038afb76c 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -68,12 +68,6 @@ qp_mgr* ring_eth::create_qp_mgr(struct qp_mgr_desc *desc) get_tx_num_wr(), m_partition); } -qp_mgr* ring_ib::create_qp_mgr(struct qp_mgr_desc *desc) -{ - return new qp_mgr_ib(desc, - get_tx_num_wr(), m_partition); -} - ring_simple::ring_simple(int if_index, ring* parent, ring_type_t type): ring_slave(if_index, parent, type), m_p_ib_ctx(NULL), diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index f5c3a4788..3386a08f5 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -62,8 +62,6 @@ class ring_simple : public ring_slave virtual void mem_buf_desc_return_single_to_owner_tx(mem_buf_desc_t* p_mem_buf_desc); virtual bool get_hw_dummy_send_support(ring_user_id_t id, ibv_send_wr* p_send_wqe); inline void convert_hw_time_to_system_time(uint64_t hwtime, struct timespec* systime) { m_p_ib_ctx->convert_hw_time_to_system_time(hwtime, systime); } - inline uint32_t get_qpn() const { return (m_p_l2_addr ? ((IPoIB_addr *)m_p_l2_addr)->get_qpn() : 0); } - virtual uint32_t get_underly_qpn() { return m_p_qp_mgr->get_underly_qpn(); } virtual int modify_ratelimit(struct vma_rate_limit_t &rate_limit); virtual int get_tx_channel_fd() const { return m_p_tx_comp_event_channel ? m_p_tx_comp_event_channel->fd : -1; }; virtual uint32_t get_max_inline_data(); @@ -201,21 +199,4 @@ class ring_eth : public ring_simple virtual qp_mgr* create_qp_mgr(struct qp_mgr_desc *desc); }; -class ring_ib : public ring_simple -{ -public: - ring_ib(int if_index, - ring* parent = NULL): - ring_simple(if_index, parent, RING_IB) { - net_device_val_ib* p_ndev = - dynamic_cast(g_p_net_device_table_mgr->get_net_device_val(m_parent->get_if_index())); - if (p_ndev) { - m_partition = p_ndev->get_pkey(); - create_resources(); - } - } -protected: - virtual qp_mgr* create_qp_mgr(struct qp_mgr_desc *desc); -}; - #endif //RING_SIMPLE_H diff --git a/src/vma/dev/ring_slave.cpp b/src/vma/dev/ring_slave.cpp index 0d88a8492..8a76c12ed 100644 --- a/src/vma/dev/ring_slave.cpp +++ b/src/vma/dev/ring_slave.cpp @@ -7,7 +7,6 @@ #include "ring_slave.h" #include "vma/proto/ip_frag.h" -#include "vma/proto/igmp_mgr.h" #include "vma/dev/rfs_mc.h" #include "vma/dev/rfs_uc_tcp_gro.h" #include "vma/sock/fd_collection.h" @@ -61,7 +60,6 @@ ring_slave::ring_slave(int if_index, ring* parent, ring_type_t type): p_slave = p_ndev->get_slave(get_if_index()); /* Configure ring_slave() fields */ - m_transport_type = p_ndev->get_transport_type(); m_local_if = p_ndev->get_local_addr(); /* Set the same ring active status as related slave has for all ring types @@ -222,7 +220,7 @@ bool ring_slave::attach_flow(flow_tuple& flow_spec_5t, pkt_rcvr_sink *sink) // It means that for every MC group, even if we have sockets with different ports - only one rule in the HW. // So the hash map below keeps track of the number of sockets per rule so we know when to call ibv_attach and ibv_detach rfs_rule_filter* l2_mc_ip_filter = NULL; - if ((m_transport_type == VMA_TRANSPORT_IB && 0 == get_underly_qpn()) || m_b_sysvar_eth_mc_l2_only_rules) { + if (m_b_sysvar_eth_mc_l2_only_rules) { rule_filter_map_t::iterator l2_mc_iter = m_l2_mc_ip_attach_map.find(key_udp_mc.dst_ip); if (l2_mc_iter == m_l2_mc_ip_attach_map.end()) { // It means that this is the first time attach called with this MC ip m_l2_mc_ip_attach_map[key_udp_mc.dst_ip].counter = 1; @@ -232,7 +230,7 @@ bool ring_slave::attach_flow(flow_tuple& flow_spec_5t, pkt_rcvr_sink *sink) } p_rfs = m_flow_udp_mc_map.get(key_udp_mc, NULL); if (p_rfs == NULL) { // It means that no rfs object exists so I need to create a new one and insert it to the flow map - if ((m_transport_type == VMA_TRANSPORT_IB && 0 == get_underly_qpn()) || m_b_sysvar_eth_mc_l2_only_rules) { + if (m_b_sysvar_eth_mc_l2_only_rules) { l2_mc_ip_filter = new rfs_rule_filter(m_l2_mc_ip_attach_map, key_udp_mc.dst_ip, flow_spec_5t); } try { @@ -374,7 +372,7 @@ bool ring_slave::detach_flow(flow_tuple& flow_spec_5t, pkt_rcvr_sink* sink) } else if (flow_spec_5t.is_udp_mc()) { int keep_in_map = 1; flow_spec_2t_key_t key_udp_mc(flow_spec_5t.get_dst_ip(), flow_spec_5t.get_dst_port()); - if (m_transport_type == VMA_TRANSPORT_IB || m_b_sysvar_eth_mc_l2_only_rules) { + if (m_b_sysvar_eth_mc_l2_only_rules) { rule_filter_map_t::iterator l2_mc_iter = m_l2_mc_ip_attach_map.find(key_udp_mc.dst_ip); BULLSEYE_EXCLUDE_BLOCK_START if (l2_mc_iter == m_l2_mc_ip_attach_map.end()) { @@ -590,78 +588,38 @@ bool ring_slave::rx_process_buffer(mem_buf_desc_t* p_rx_wc_buf_desc, void* pv_fd } } - // Validate transport type headers - switch (m_transport_type) { - case VMA_TRANSPORT_IB: - { - // Get the data buffer start pointer to the ipoib header pointer - struct ipoibhdr* p_ipoib_h = (struct ipoibhdr*)(p_rx_wc_buf_desc->p_buffer + GRH_HDR_LEN); - - transport_header_len = GRH_HDR_LEN + IPOIB_HDR_LEN; - - // Validate IPoIB header - if (unlikely(p_ipoib_h->ipoib_header != htonl(IPOIB_HEADER))) { - ring_logwarn("Rx buffer dropped - Invalid IPOIB Header Type (%#x : %#x)", p_ipoib_h->ipoib_header, htonl(IPOIB_HEADER)); - return false; - } + uint16_t h_proto = p_eth_h->h_proto; + + ring_logfunc("Rx buffer Ethernet dst=" ETH_HW_ADDR_PRINT_FMT " <- src=" ETH_HW_ADDR_PRINT_FMT " type=%#x", + ETH_HW_ADDR_PRINT_ADDR(p_eth_h->h_dest), + ETH_HW_ADDR_PRINT_ADDR(p_eth_h->h_source), + htons(h_proto)); + + // Handle VLAN header as next protocol + struct vlanhdr* p_vlan_hdr = NULL; + uint16_t packet_vlan = 0; + if (h_proto == htons(ETH_P_8021Q)) { + p_vlan_hdr = (struct vlanhdr*)((uint8_t*)p_eth_h + ETH_HDR_LEN); + transport_header_len = ETH_VLAN_HDR_LEN; + h_proto = p_vlan_hdr->h_vlan_encapsulated_proto; + packet_vlan = (htons(p_vlan_hdr->h_vlan_TCI) & VLAN_VID_MASK); + } else { + transport_header_len = ETH_HDR_LEN; } - break; - case VMA_TRANSPORT_ETH: - { -// printf("\nring_slave::rx_process_buffer\n"); -// { -// struct ethhdr* p_eth_h = (struct ethhdr*)(p_rx_wc_buf_desc->p_buffer); -// -// int i = 0; -// printf("p_eth_h->h_dest [0]=%d, [1]=%d, [2]=%d, [3]=%d, [4]=%d, [5]=%d\n", -// (uint8_t)p_eth_h->h_dest[0], (uint8_t)p_eth_h->h_dest[1], (uint8_t)p_eth_h->h_dest[2], (uint8_t)p_eth_h->h_dest[3], (uint8_t)p_eth_h->h_dest[4], (uint8_t)p_eth_h->h_dest[5]); -// printf("p_eth_h->h_source [0]=%d, [1]=%d, [2]=%d, [3]=%d, [4]=%d, [5]=%d\n", -// (uint8_t)p_eth_h->h_source[0], (uint8_t)p_eth_h->h_source[1], (uint8_t)p_eth_h->h_source[2], (uint8_t)p_eth_h->h_source[3], (uint8_t)p_eth_h->h_source[4], (uint8_t)p_eth_h->h_source[5]); -// -// while(i++<62){ -// printf("%d, ", (uint8_t)p_rx_wc_buf_desc->p_buffer[i]); -// } -// printf("\n"); -// } - - uint16_t h_proto = p_eth_h->h_proto; - - ring_logfunc("Rx buffer Ethernet dst=" ETH_HW_ADDR_PRINT_FMT " <- src=" ETH_HW_ADDR_PRINT_FMT " type=%#x", - ETH_HW_ADDR_PRINT_ADDR(p_eth_h->h_dest), - ETH_HW_ADDR_PRINT_ADDR(p_eth_h->h_source), - htons(h_proto)); - - // Handle VLAN header as next protocol - struct vlanhdr* p_vlan_hdr = NULL; - uint16_t packet_vlan = 0; - if (h_proto == htons(ETH_P_8021Q)) { - p_vlan_hdr = (struct vlanhdr*)((uint8_t*)p_eth_h + ETH_HDR_LEN); - transport_header_len = ETH_VLAN_HDR_LEN; - h_proto = p_vlan_hdr->h_vlan_encapsulated_proto; - packet_vlan = (htons(p_vlan_hdr->h_vlan_TCI) & VLAN_VID_MASK); - } else { - transport_header_len = ETH_HDR_LEN; - } - - //TODO: Remove this code when handling vlan in flow steering will be available. Change this code if vlan stripping is performed. - if((m_partition & VLAN_VID_MASK) != packet_vlan) { - ring_logfunc("Rx buffer dropped- Mismatched vlan. Packet vlan = %d, Local vlan = %d", packet_vlan, m_partition & VLAN_VID_MASK); - return false; - } - // Validate IP header as next protocol - if (unlikely(h_proto != htons(ETH_P_IP))) { - ring_logwarn("Rx buffer dropped - Invalid Ethr Type (%#x : %#x)", p_eth_h->h_proto, htons(ETH_P_IP)); - return false; - } + //TODO: Remove this code when handling vlan in flow steering will be available. Change this code if vlan stripping is performed. + if((m_partition & VLAN_VID_MASK) != packet_vlan) { + ring_logfunc("Rx buffer dropped- Mismatched vlan. Packet vlan = %d, Local vlan = %d", packet_vlan, m_partition & VLAN_VID_MASK); + return false; } - break; - default: - ring_logwarn("Rx buffer dropped - Unknown transport type %d", m_transport_type); + + // Validate IP header as next protocol + if (unlikely(h_proto != htons(ETH_P_IP))) { + ring_logwarn("Rx buffer dropped - Invalid Ethr Type (%#x : %#x)", p_eth_h->h_proto, htons(ETH_P_IP)); return false; } - // Jump to IP header - Skip IB (GRH and IPoIB) or Ethernet (MAC) header sizes + // Jump to IP header - Skip Ethernet (MAC) header sizes sz_data -= transport_header_len; // Validate size for IPv4 header @@ -709,16 +667,9 @@ bool ring_slave::rx_process_buffer(mem_buf_desc_t* p_rx_wc_buf_desc, void* pv_fd // Handle fragmentation p_rx_wc_buf_desc->rx.n_frags = 1; - if (unlikely((ip_frag_off & MORE_FRAGMENTS_FLAG) || n_frag_offset)) { // Currently we don't expect to receive fragments - //for disabled fragments handling: - /*ring_logwarn("Rx packet dropped - VMA doesn't support fragmentation in receive flow!"); - ring_logwarn("packet info: dst=%d.%d.%d.%d, src=%d.%d.%d.%d, packet_sz=%d, frag_offset=%d, id=%d, proto=%s[%d], transport type=%s, (local if: %d.%d.%d.%d)", - NIPQUAD(p_ip_h->daddr), NIPQUAD(p_ip_h->saddr), - (sz_data > ip_tot_len ? ip_tot_len : sz_data), n_frag_offset, ntohs(p_ip_h->id), - iphdr_protocol_type_to_str(p_ip_h->protocol), p_ip_h->protocol, (m_transport_type ? "ETH" : "IB"), - NIPQUAD(local_addr)); - return false;*/ -#if 1 //handle fragments + + // Currently we don't expect to receive fragments. + if (unlikely((ip_frag_off & MORE_FRAGMENTS_FLAG) || n_frag_offset)) { // Update fragments descriptor with datagram base address and length p_rx_wc_buf_desc->rx.frag.iov_base = (uint8_t*)p_ip_h + ip_hdr_len; p_rx_wc_buf_desc->rx.frag.iov_len = ip_tot_len - ip_hdr_len; @@ -743,21 +694,12 @@ bool ring_slave::rx_process_buffer(mem_buf_desc_t* p_rx_wc_buf_desc, void* pv_fd for (tmp = p_rx_wc_buf_desc; tmp; tmp = tmp->p_next_desc) { ++p_rx_wc_buf_desc->rx.n_frags; } -#endif } if (p_rx_wc_buf_desc->rx.is_sw_csum_need && compute_ip_checksum((unsigned short*)p_ip_h, p_ip_h->ihl * 2)) { return false; // false ip checksum } -//We want to enable loopback between processes for IB -#if 0 - //AlexV: We don't support Tx MC Loopback today! - if (p_ip_h->saddr == m_local_if) { - ring_logfunc("Rx udp datagram discarded - mc loop disabled"); - return false; - } -#endif rfs* p_rfs = NULL; // Update the L3 info @@ -854,31 +796,11 @@ bool ring_slave::rx_process_buffer(mem_buf_desc_t* p_rx_wc_buf_desc, void* pv_fd } break; - case IPPROTO_IGMP: - { - struct igmp* p_igmp_h= (struct igmp*)((uint8_t*)p_ip_h + ip_hdr_len); - NOT_IN_USE(p_igmp_h); /* to supress warning in case VMA_MAX_DEFINED_LOG_LEVEL */ - ring_logdbg("Rx IGMP packet info: type=%s (%d), group=%d.%d.%d.%d, code=%d", - priv_igmp_type_tostr(p_igmp_h->igmp_type), p_igmp_h->igmp_type, - NIPQUAD(p_igmp_h->igmp_group.s_addr), p_igmp_h->igmp_code); - if (m_transport_type == VMA_TRANSPORT_IB || m_b_sysvar_eth_mc_l2_only_rules) { - ring_logdbg("Transport type is IB (or eth_mc_l2_only_rules), passing igmp packet to igmp_manager to process"); - if(g_p_igmp_mgr) { - (g_p_igmp_mgr->process_igmp_packet(p_ip_h, m_local_if)); - return false; // we return false in order to free the buffer, although we handled the packet - } - ring_logdbg("IGMP packet drop. IGMP manager does not exist."); - return false; - } - ring_logerr("Transport type is ETH, dropping the packet"); - return false; - } - break; - default: ring_logwarn("Rx packet dropped - undefined protocol = %d", p_ip_h->protocol); return false; } + if (unlikely(p_rfs == NULL)) { ring_logdbg("Rx packet dropped - rfs object not found: dst:%d.%d.%d.%d:%d, src%d.%d.%d.%d:%d, proto=%s[%d]", NIPQUAD(p_rx_wc_buf_desc->rx.dst.sin_addr.s_addr), ntohs(p_rx_wc_buf_desc->rx.dst.sin_port), diff --git a/src/vma/dev/ring_slave.h b/src/vma/dev/ring_slave.h index 7ab683abd..ed08151ff 100644 --- a/src/vma/dev/ring_slave.h +++ b/src/vma/dev/ring_slave.h @@ -110,12 +110,10 @@ class ring_slave : public ring virtual bool rx_process_buffer(mem_buf_desc_t* p_rx_wc_buf_desc, void* pv_fd_ready_array); virtual int reclaim_recv_single_buffer(mem_buf_desc_t* rx_reuse) = 0; virtual void inc_cq_moderation_stats(size_t sz_data) = 0; - virtual uint32_t get_underly_qpn() = 0; virtual bool attach_flow(flow_tuple& flow_spec_5t, pkt_rcvr_sink* sink); virtual bool detach_flow(flow_tuple& flow_spec_5t, pkt_rcvr_sink* sink); inline bool is_simple() const { return m_type != RING_TAP; } - transport_type_t get_transport_type() const { return m_transport_type; } inline ring_type_t get_type() const { return m_type; } bool m_active; /* State indicator */ @@ -141,7 +139,6 @@ class ring_slave : public ring lock_spin_recursive m_lock_ring_tx; descq_t m_tx_pool; - transport_type_t m_transport_type; /* transport ETH/IB */ ring_stats_t* m_p_ring_stat; in_addr_t m_local_if; uint16_t m_partition; diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index fbdb95eb6..b0bc04080 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -43,7 +43,6 @@ class ring_tap : public ring_slave virtual int modify_ratelimit(struct vma_rate_limit_t &rate_limit) { NOT_IN_USE(rate_limit); return 0; } void inc_cq_moderation_stats(size_t sz_data) { NOT_IN_USE(sz_data); } - virtual uint32_t get_underly_qpn() { return -1; } virtual uint32_t get_max_inline_data() { return 0; } inline void set_tap_data_available() { m_tap_data_available = true; } diff --git a/src/vma/dev/wqe_send_ib_handler.cpp b/src/vma/dev/wqe_send_ib_handler.cpp deleted file mode 100644 index 925e90b23..000000000 --- a/src/vma/dev/wqe_send_ib_handler.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - -#include "wqe_send_ib_handler.h" - -wqe_send_ib_handler::wqe_send_ib_handler() -{ -} - -wqe_send_ib_handler::~wqe_send_ib_handler() -{ -} - -void wqe_send_ib_handler::init_path_record(ibv_send_wr &wqe_to_init, struct ibv_ah *ah, uint32_t rem_qkey, uint32_t rem_qpn) -{ - wqe_to_init.wr.ud.ah = ah; - wqe_to_init.wr.ud.remote_qkey = rem_qkey; - wqe_to_init.wr.ud.remote_qpn = rem_qpn; -} - -void wqe_send_ib_handler::init_ib_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, - struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey) -{ - wqe_send_handler::init_wqe(wqe_to_init, sge_list, num_sge); - init_path_record(wqe_to_init, ah, rem_qkey, rem_qpn); -} - -void wqe_send_ib_handler::init_inline_ib_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, - struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey) -{ - wqe_send_handler::init_inline_wqe(wqe_to_init, sge_list, num_sge); - init_path_record(wqe_to_init, ah, rem_qkey, rem_qpn); -} - -void wqe_send_ib_handler::init_not_inline_ib_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, - struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey) -{ - wqe_send_handler::init_not_inline_wqe(wqe_to_init, sge_list, num_sge); - init_path_record(wqe_to_init, ah, rem_qkey, rem_qpn); -} diff --git a/src/vma/dev/wqe_send_ib_handler.h b/src/vma/dev/wqe_send_ib_handler.h deleted file mode 100644 index 34fbfd024..000000000 --- a/src/vma/dev/wqe_send_ib_handler.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - -#include "wqe_send_handler.h" -#include "vma/util/vtypes.h" - -#ifndef WQE_TEMPLATE_SEND_IB_H_ -#define WQE_TEMPLATE_SEND_IB_H_ - -class wqe_send_ib_handler: public wqe_send_handler -{ -public: - wqe_send_ib_handler(); - virtual ~wqe_send_ib_handler(); - - void init_ib_wqe(ibv_send_wr &wqe_to_init, struct ibv_sge* sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey); - void init_inline_ib_wqe(ibv_send_wr & wqe_to_init, struct ibv_sge *sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey); - void init_not_inline_ib_wqe(ibv_send_wr & wqe_to_init, struct ibv_sge *sge_list, uint32_t num_sge, struct ibv_ah *ah, uint32_t rem_qpn, uint32_t rem_qkey); - -private: - void init_path_record(ibv_send_wr & wqe_to_init, struct ibv_ah *ah, uint32_t rem_qkey, uint32_t rem_qpn); -}; - -#endif /* WQE_TEMPLATE_SEND_IB_H_ */ diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index 8cba4546a..f2ec6bc3f 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -79,20 +79,6 @@ const char* priv_ibv_event_desc_str(enum ibv_event_type type) BULLSEYE_EXCLUDE_BLOCK_END } -int priv_ibv_find_pkey_index(struct ibv_context *verbs, uint8_t port_num, uint16_t pkey, uint16_t *pkey_index) -{ - int ret, i; - uint16_t chk_pkey = 0; - for (i = 0, ret = 0; !ret; i++) { - ret = ibv_query_pkey(verbs, port_num, i, &chk_pkey); - if (!ret && pkey == chk_pkey) { - *pkey_index = (uint16_t)i; - return 0; - } - } - return -1; -} - int priv_ibv_modify_qp_to_err(struct ibv_qp *qp) { ibv_qp_attr qp_attr; @@ -145,38 +131,6 @@ int priv_ibv_modify_qp_from_err_to_init_raw(struct ibv_qp *qp, uint8_t port_num) return 0; } -int priv_ibv_modify_qp_from_err_to_init_ud(struct ibv_qp *qp, uint8_t port_num, uint16_t pkey_index, uint32_t underly_qpn) -{ - ibv_qp_attr qp_attr; - ibv_qp_attr_mask qp_attr_mask = (ibv_qp_attr_mask)IBV_QP_STATE; - - if (qp->qp_type != IBV_QPT_UD) - return -1; - - if (priv_ibv_query_qp_state(qp) != IBV_QPS_RESET) { - if (priv_ibv_modify_qp_to_reset(qp)) { - return -2; - } - } - - memset(&qp_attr, 0, sizeof(qp_attr)); - qp_attr.qp_state = IBV_QPS_INIT; - if (0 == underly_qpn) { - qp_attr_mask = (ibv_qp_attr_mask)(qp_attr_mask | IBV_QP_QKEY | IBV_QP_PKEY_INDEX | IBV_QP_PORT); - qp_attr.qkey = IPOIB_QKEY; - qp_attr.pkey_index = pkey_index; - qp_attr.port_num = port_num; - } - - BULLSEYE_EXCLUDE_BLOCK_START - IF_VERBS_FAILURE(ibv_modify_qp(qp, &qp_attr, qp_attr_mask)) { - return -3; - } ENDIF_VERBS_FAILURE; - BULLSEYE_EXCLUDE_BLOCK_END - - return 0; -} - int priv_ibv_modify_qp_from_init_to_rts(struct ibv_qp *qp, uint32_t underly_qpn) { ibv_qp_attr qp_attr; diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index b4e8ab3fe..e28dcb740 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -34,7 +34,6 @@ inline int _errnocheck(int rc) { #define IF_RDMACM_FAILURE(__func__) IF_VERBS_FAILURE(__func__) #define ENDIF_RDMACM_FAILURE ENDIF_VERBS_FAILURE -#define IPOIB_QKEY 0x0b1b // See - IB Arch Spec - 11.6.2 COMPLETION RETURN STATUS const char* priv_ibv_wc_status_str(enum ibv_wc_status status); @@ -42,12 +41,8 @@ const char* priv_ibv_wc_status_str(enum ibv_wc_status status); // See - IB Arch Spec - 11.6.3 ASYNCHRONOUS EVENTS const char* priv_ibv_event_desc_str(enum ibv_event_type type); -// Find pkey_index from the ibv_context + port_num + pkey -int priv_ibv_find_pkey_index(struct ibv_context *verbs, uint8_t port_num, uint16_t pkey, uint16_t *pkey_index); - int priv_ibv_modify_qp_to_err(struct ibv_qp *qp); int priv_ibv_modify_qp_from_err_to_init_raw(struct ibv_qp *qp, uint8_t port_num); -int priv_ibv_modify_qp_from_err_to_init_ud(struct ibv_qp *qp, uint8_t port_num, uint16_t pkey_index, uint32_t underly_qpn); int priv_ibv_modify_qp_from_init_to_rts(struct ibv_qp *qp, uint32_t underly_qpn = 0); // Return 'ibv_qp_state' of the ibv_qp @@ -76,8 +71,6 @@ int priv_ibv_query_burst_supported(struct ibv_qp *qp, uint8_t port_num); #ifdef DEFINED_IBV_QP_INIT_SOURCE_QPN #define vma_ibv_create_qp(pd, attr) ibv_create_qp_ex((pd)->context, attr) typedef struct ibv_qp_init_attr_ex vma_ibv_qp_init_attr; -#define vma_ibv_qp_create_flags(attr) (attr).create_flags -#define vma_ibv_qp_source_qpn(attr) (attr).source_qpn #define vma_ibv_qp_init_attr_comp_mask(_pd, _attr) { (_attr).pd = _pd; (_attr).comp_mask |= IBV_QP_INIT_ATTR_PD; } #else #define vma_ibv_create_qp(pd, attr) ibv_create_qp(pd, attr) @@ -196,27 +189,6 @@ typedef enum { int vma_rdma_lib_reset(); -#ifdef DEFINED_IBV_FLOW_SPEC_IB -static inline void ibv_flow_spec_ib_set_by_dst_gid(ibv_flow_spec_ib* ib, uint8_t* dst_gid) -{ - ib->type = IBV_FLOW_SPEC_IB; - ib->size = sizeof(ibv_flow_spec_ib); - if (dst_gid) - { - memcpy(ib->val.dst_gid, dst_gid, 16); - memset(ib->mask.dst_gid, FS_MASK_ON_8, 16); - } -} - -static inline void ibv_flow_spec_ib_set_by_dst_qpn(ibv_flow_spec_ib* ib, uint32_t dst_qpn) -{ - ib->type = IBV_FLOW_SPEC_IB; - ib->size = sizeof(ibv_flow_spec_ib); - ib->val.qpn = dst_qpn; - ib->mask.qpn = FS_MASK_ON_32; -} -#endif - static inline void ibv_flow_spec_eth_set(ibv_flow_spec_eth* eth, uint8_t* dst_mac, uint16_t vlan_tag) { eth->type = IBV_FLOW_SPEC_ETH; @@ -261,19 +233,4 @@ static inline void ibv_flow_spec_flow_tag_set(vma_ibv_flow_spec_action_tag* flow #endif //DEFINED_IBV_FLOW_TAG } - -static inline void ibv_source_qpn_set(vma_ibv_qp_init_attr& qp_init_attr, uint32_t source_qpn) -{ - NOT_IN_USE(qp_init_attr); - NOT_IN_USE(source_qpn); - -#ifdef DEFINED_IBV_QP_INIT_SOURCE_QPN - if (source_qpn) { - qp_init_attr.comp_mask |= IBV_QP_INIT_ATTR_CREATE_FLAGS; - vma_ibv_qp_create_flags(qp_init_attr) |= IBV_QP_CREATE_SOURCE_QPN; - vma_ibv_qp_source_qpn(qp_init_attr) = source_qpn; - } -#endif /* DEFINED_IBV_QP_INIT_SOURCE_QPN */ -} - #endif diff --git a/src/vma/main.cpp b/src/vma/main.cpp index c082722d1..25ddbdb8f 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -36,8 +36,6 @@ #include "vma/proto/vma_lwip.h" #include "vma/proto/route_table_mgr.h" #include "vma/proto/rule_table_mgr.h" -#include "vma/proto/igmp_mgr.h" - #include "vma/proto/neighbour_table_mgr.h" #include "vma/netlink/netlink_wrapper.h" #include "vma/event/command.h" @@ -106,13 +104,6 @@ static int free_libvma_resources() g_p_net_device_table_mgr->global_ring_drain_and_procces(); } - if(g_p_igmp_mgr) { - igmp_mgr* g_p_igmp_mgr_tmp = g_p_igmp_mgr; - g_p_igmp_mgr = NULL; - delete g_p_igmp_mgr_tmp; - usleep(50000); - } - if (g_p_event_handler_manager) g_p_event_handler_manager->stop_thread(); @@ -519,8 +510,6 @@ void print_vma_global_settings() VLOG_PARAM_NUMBER("Num of UC ARPs", safe_mce_sys().neigh_uc_arp_quata, MCE_DEFAULT_NEIGH_UC_ARP_QUATA, SYS_VAR_NEIGH_UC_ARP_QUATA); VLOG_PARAM_NUMBER("UC ARP delay (msec)", safe_mce_sys().neigh_wait_till_send_arp_msec, MCE_DEFAULT_NEIGH_UC_ARP_DELAY_MSEC, SYS_VAR_NEIGH_UC_ARP_DELAY_MSEC); VLOG_PARAM_NUMBER("Num of neigh restart retries", safe_mce_sys().neigh_num_err_retries, MCE_DEFAULT_NEIGH_NUM_ERR_RETRIES, SYS_VAR_NEIGH_NUM_ERR_RETRIES ); - - VLOG_PARAM_STRING("IPOIB support", safe_mce_sys().enable_ipoib, MCE_DEFAULT_IPOIB_FLAG, SYS_VAR_IPOIB, safe_mce_sys().enable_ipoib ? "Enabled " : "Disabled"); VLOG_PARAM_STRING("SocketXtreme mode", safe_mce_sys().enable_socketxtreme, MCE_DEFAULT_SOCKETXTREME, SYS_VAR_SOCKETXTREME, safe_mce_sys().enable_socketxtreme ? "Enabled " : "Disabled"); VLOG_PARAM_STRING("BF (Blue Flame)", safe_mce_sys().handle_bf, MCE_DEFAULT_BF_FLAG, SYS_VAR_BF, safe_mce_sys().handle_bf ? "Enabled " : "Disabled"); VLOG_PARAM_STRING("fork() support", safe_mce_sys().handle_fork, MCE_DEFAULT_FORK_SUPPORT, SYS_VAR_FORK, safe_mce_sys().handle_fork ? "Enabled " : "Disabled"); @@ -667,8 +656,6 @@ static void do_global_ctors_helper() NEW_CTOR(g_p_route_table_mgr, route_table_mgr()); - NEW_CTOR(g_p_igmp_mgr, igmp_mgr()); - NEW_CTOR(g_buffer_pool_rx, buffer_pool(safe_mce_sys().rx_num_bufs, RX_BUF_SIZE(g_p_net_device_table_mgr->get_max_mtu()), buffer_pool::free_rx_lwip_pbuf_custom, @@ -760,7 +747,6 @@ int do_global_ctors() void reset_globals() { g_p_fd_collection = NULL; - g_p_igmp_mgr = NULL; g_p_ip_frag_manager = NULL; g_buffer_pool_rx = NULL; g_buffer_pool_tx = NULL; diff --git a/src/vma/netlink/test_main.cpp b/src/vma/netlink/test_main.cpp index d554b104e..76b20aafa 100644 --- a/src/vma/netlink/test_main.cpp +++ b/src/vma/netlink/test_main.cpp @@ -17,28 +17,6 @@ extern uint8_t g_vlogger_level; #define MODULE_NAME "NETLINK_TEST" -class neigh_observer : public observer { - virtual void notify_cb(event * ev) { - if (ev) { -/* - neigh_nl_event* net_ev = dynamic_cast (ev); - if (net_ev->neigh_dst_addr_str == "1.1.1.12") { - //__log_info("!!! IN neigh_observer !!!"); - __log_info("%s", ev->to_str().c_str()); - } -*/ - __log_info("!!! IN neigh_observer !!!"); - neigh_nl_event* nlev = dynamic_cast(ev); - __log_info("%s", ev->to_str().c_str()); - netlink_neigh_info info; - g_p_netlink_handler->get_neigh("1.1.1.1", 1, &info); - __log_info("AFTER get_neigh"); - __log_info("NEIGH STATE=%s", nlev->get_neigh_info()->get_state2str().c_str()); - } - } -}; - - class route_observer : public observer { virtual void notify_cb(event * ev) { if (ev) { @@ -65,10 +43,8 @@ void netlink_test() g_vlogger_level=3; netlink_wrapper* nl = new netlink_wrapper(); g_p_netlink_handler=nl; - neigh_observer neigh_obs; route_observer route_obs; link_observer link_obs; - nl->register_event(nlgrpNEIGH, &neigh_obs); //nl->register_event(nlgrpROUTE, &route_obs); //nl->register_event(nlgrpLINK, &link_obs); int nevents; diff --git a/src/vma/proto/L2_address.cpp b/src/vma/proto/L2_address.cpp index 33a902c02..1b3f5ce62 100644 --- a/src/vma/proto/L2_address.cpp +++ b/src/vma/proto/L2_address.cpp @@ -54,25 +54,3 @@ const std::string ETH_addr::to_str() const sprintf(s, ETH_HW_ADDR_PRINT_FMT, ETH_HW_ADDR_PRINT_ADDR(m_p_raw_address)); return (std::string(s)); } - -const std::string IPoIB_addr::to_str() const -{ - char s[100] = ""; - if (m_len > 0) - sprintf(s, IPOIB_HW_ADDR_PRINT_FMT, IPOIB_HW_ADDR_PRINT_ADDR(m_p_raw_address)); - return (std::string(s)); -} - -void IPoIB_addr::extract_qpn() -{ - unsigned char rem_qpn[4]; - - rem_qpn[0] = m_p_raw_address[3]; - rem_qpn[1] = m_p_raw_address[2]; - rem_qpn[2] = m_p_raw_address[1]; - rem_qpn[3] = 0; - memcpy(&m_qpn, rem_qpn, 4); - L2_logdbg("qpn = %#x", m_qpn); -} - - diff --git a/src/vma/proto/L2_address.h b/src/vma/proto/L2_address.h index 6483651aa..41378e88d 100644 --- a/src/vma/proto/L2_address.h +++ b/src/vma/proto/L2_address.h @@ -55,39 +55,4 @@ class ETH_addr : public L2_address } }; -class IPoIB_addr : public L2_address -{ -public: - - IPoIB_addr(): L2_address(), m_qpn(0) - { - - } - - //This constructor is for UC - IPoIB_addr(address_t const address) : L2_address(address, 20), m_qpn(0) - { - extract_qpn(); - }; - //This constructor is for MC - IPoIB_addr(uint32_t qpn, address_t const address) : L2_address(address, 20), m_qpn(qpn) {}; - ~IPoIB_addr() {}; - - virtual L2_address* clone() const - { - uint32_t qpn = ((IPoIB_addr*)this)->get_qpn(); - return (new IPoIB_addr(qpn, get_address())); - } - - void set_qpn(uint32_t qpn) { m_qpn = qpn; }; - uint32_t get_qpn() { return m_qpn; }; - - const std::string to_str() const; - -private: - uint32_t m_qpn; - - void extract_qpn(); -}; - #endif /* L2_ADDRESS_H */ diff --git a/src/vma/proto/arp.cpp b/src/vma/proto/arp.cpp index 9bcad6491..571b410b7 100644 --- a/src/vma/proto/arp.cpp +++ b/src/vma/proto/arp.cpp @@ -16,10 +16,8 @@ #define ARP_REQUEST 0x0001 #define HWTYPE_ETHERNET 0x0001 -#define HWTYPE_IB 0x0020 #define IPv4_ALEN 0x04 #define ETHADDR_COPY(dst, src) memcpy(dst, src, ETH_ALEN) -#define IBADDR_COPY(dst, src) memcpy(dst, src, IPOIB_HW_ADDR_LEN) void set_eth_arp_hdr(eth_arp_hdr *p_arph, in_addr_t ipsrc_addr, in_addr_t ipdst_addr, const uint8_t* hwsrc_addr, const uint8_t* hwdst_addr) { @@ -34,16 +32,3 @@ void set_eth_arp_hdr(eth_arp_hdr *p_arph, in_addr_t ipsrc_addr, in_addr_t ipdst_ p_arph->m_dipaddr = ipdst_addr; } -void set_ib_arp_hdr(ib_arp_hdr* p_arph, in_addr_t ipsrc_addr, in_addr_t ipdst_addr, const uint8_t* hwsrc_addr, const uint8_t* hwdst_addr) -{ - p_arph->m_hwtype = htons(HWTYPE_IB); - p_arph->m_proto = htons(ETH_P_IP); - p_arph->m_hwlen = IPOIB_HW_ADDR_LEN; - p_arph->m_protolen = IPv4_ALEN; - p_arph->m_opcode = htons(ARP_REQUEST); - IBADDR_COPY(p_arph->m_shwaddr, hwsrc_addr); - p_arph->m_sipaddr = ipsrc_addr; - if(hwdst_addr) - IBADDR_COPY(p_arph->m_dhwaddr, hwdst_addr); - p_arph->m_dipaddr = ipdst_addr; -} diff --git a/src/vma/proto/arp.h b/src/vma/proto/arp.h index 627853705..d81c1377d 100644 --- a/src/vma/proto/arp.h +++ b/src/vma/proto/arp.h @@ -27,20 +27,4 @@ struct __attribute__ ((packed)) eth_arp_hdr void set_eth_arp_hdr(eth_arp_hdr* p_arph, in_addr_t ipsrc_addr, in_addr_t ipdst_addr, const uint8_t* hwsrc_addr, const uint8_t* hwdst_addr); -struct __attribute__ ((packed)) ib_arp_hdr -{ - uint16_t m_hwtype; - uint16_t m_proto; - uint8_t m_hwlen; - uint8_t m_protolen; - uint16_t m_opcode; - uint8_t m_shwaddr[IPOIB_HW_ADDR_LEN]; - uint32_t m_sipaddr; - uint8_t m_dhwaddr[IPOIB_HW_ADDR_LEN]; - uint32_t m_dipaddr; -}; - -void set_ib_arp_hdr(ib_arp_hdr* p_arph, in_addr_t ipsrc_addr, in_addr_t ipdst_addr, const uint8_t* hwsrc_addr, const uint8_t* hwdst_addr); - - #endif diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index 30cc96de6..a14327dc8 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -154,7 +154,7 @@ bool dst_entry::update_net_dev_val() if (m_p_net_dev_val) { // more resource clean and alloc... - ret_val = alloc_transport_dep_res(); + ret_val = alloc_neigh_val(); } else { dst_logdbg("Netdev is not offloaded fallback to OS"); @@ -383,76 +383,13 @@ bool dst_entry::conf_l2_hdr_and_snd_wqe_eth() return ret_val; } - -bool dst_entry::conf_l2_hdr_and_snd_wqe_ib() -{ - bool ret_val = false; - neigh_ib_val *neigh_ib = dynamic_cast(m_p_neigh_val); - - BULLSEYE_EXCLUDE_BLOCK_START - if (!neigh_ib) { - dst_logerr("Dynamic cast to neigh_ib failed, can't build proper ibv_send_wqe: header"); - BULLSEYE_EXCLUDE_BLOCK_END - } - else { - uint32_t qpn = neigh_ib->get_qpn(); - uint32_t qkey = neigh_ib->get_qkey(); - struct ibv_ah *ah = (struct ibv_ah *)neigh_ib->get_ah(); - - //Maybe we after invalidation so we free the wqe_handler since we are going to build it from scratch - if (m_p_send_wqe_handler) { - delete m_p_send_wqe_handler; - m_p_send_wqe_handler = NULL; - } - m_p_send_wqe_handler = new wqe_send_ib_handler(); - - BULLSEYE_EXCLUDE_BLOCK_START - if (!m_p_send_wqe_handler) { - dst_logpanic("%s Failed to allocate send WQE handler", to_str().c_str()); - } - BULLSEYE_EXCLUDE_BLOCK_END - ((wqe_send_ib_handler *)(m_p_send_wqe_handler))->init_inline_ib_wqe(m_inline_send_wqe, get_sge_lst_4_inline_send(), get_inline_sge_num(), ah, qpn, qkey); - ((wqe_send_ib_handler*)(m_p_send_wqe_handler))->init_not_inline_ib_wqe(m_not_inline_send_wqe, get_sge_lst_4_not_inline_send(), 1, ah, qpn, qkey); - ((wqe_send_ib_handler*)(m_p_send_wqe_handler))->init_ib_wqe(m_fragmented_send_wqe, get_sge_lst_4_not_inline_send(), 1, ah, qpn, qkey); - m_header.configure_ipoib_headers(); - init_sge(); - - ret_val = true; - } - return ret_val; -} - bool dst_entry::conf_hdrs_and_snd_wqe() { - transport_type_t tranposrt = VMA_TRANSPORT_IB; - bool ret_val = true; - dst_logdbg("dst_entry %s configuring the header template", to_str().c_str()); configure_ip_header(&m_header); - if (m_p_net_dev_val) { - tranposrt = m_p_net_dev_val->get_transport_type(); - } - - switch (tranposrt) { - case VMA_TRANSPORT_ETH: - ret_val = conf_l2_hdr_and_snd_wqe_eth(); - break; - case VMA_TRANSPORT_IB: - default: - ret_val = conf_l2_hdr_and_snd_wqe_ib(); - break; - } - return ret_val; -} - -//Implementation of pure virtual function of neigh_observer -transport_type_t dst_entry::get_obs_transport_type() const -{ - if(m_p_net_dev_val) - return(m_p_net_dev_val->get_transport_type()); - return VMA_TRANSPORT_UNKNOWN; + return conf_l2_hdr_and_snd_wqe_eth(); } bool dst_entry::offloaded_according_to_rules() @@ -500,11 +437,7 @@ bool dst_entry::prepare_to_send(struct vma_rate_limit_t &rate_limit, bool skip_r is_ofloaded = true; modify_ratelimit(rate_limit); if (resolve_neigh()) { - if (get_obs_transport_type() == VMA_TRANSPORT_ETH) { - dst_logdbg("local mac: %s peer mac: %s", m_p_net_dev_val->get_l2_address()->to_str().c_str(), m_p_neigh_val->get_l2_address()->to_str().c_str()); - } else { - dst_logdbg("peer L2 address: %s", m_p_neigh_val->get_l2_address()->to_str().c_str()); - } + dst_logdbg("local mac: %s peer mac: %s", m_p_net_dev_val->get_l2_address()->to_str().c_str(), m_p_neigh_val->get_l2_address()->to_str().c_str()); configure_headers(); m_id = m_p_ring->generate_id(m_p_net_dev_val->get_l2_address()->get_address(), m_p_neigh_val->get_l2_address()->get_address(), @@ -681,33 +614,15 @@ ssize_t dst_entry::pass_buff_to_neigh(const iovec * p_iov, size_t sz_iov, uint16 return ret_val; } -bool dst_entry::alloc_transport_dep_res() +bool dst_entry::alloc_neigh_val() { - return alloc_neigh_val(get_obs_transport_type()); -} - -bool dst_entry::alloc_neigh_val(transport_type_t tranport) -{ - bool ret_val = false; - if (m_p_neigh_val) { delete m_p_neigh_val; m_p_neigh_val = NULL; } - switch (tranport) { - case VMA_TRANSPORT_IB: - m_p_neigh_val = new neigh_ib_val; - break; - case VMA_TRANSPORT_ETH: - default: - m_p_neigh_val = new neigh_eth_val; - break; - } - if (m_p_neigh_val) { - ret_val = true; - } - return ret_val; + m_p_neigh_val = new neigh_val; + return (!!m_p_neigh_val); } void dst_entry::return_buffers_pool() diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index 0e5f8cc6c..ef9774f3b 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -22,7 +22,6 @@ #include "vma/dev/net_device_val.h" #include "vma/dev/net_device_table_mgr.h" #include "vma/dev/wqe_send_handler.h" -#include "vma/dev/wqe_send_ib_handler.h" #include "vma/dev/ring.h" #include "vma/dev/ring_allocation_logic.h" #include "vma/infra/sender.h" @@ -36,9 +35,8 @@ struct socket_data { uint32_t pcp; }; -class dst_entry : public cache_observer, public tostr, public neigh_observer +class dst_entry : public cache_observer, public tostr { - public: dst_entry(in_addr_t dst_ip, uint16_t dst_port, uint16_t src_port, socket_data &sock_data, resource_allocation_key &ring_alloc_logic); virtual ~dst_entry(); @@ -63,8 +61,6 @@ class dst_entry : public cache_observer, public tostr, public neigh_observer int modify_ratelimit(struct vma_rate_limit_t &rate_limit); bool update_ring_alloc_logic(int fd, lock_base & socket_lock, resource_allocation_key & ring_alloc_logic); - virtual transport_type_t get_obs_transport_type() const; - void return_buffers_pool(); int get_route_mtu(); inline void set_ip_ttl(uint8_t ttl) { m_header.set_ip_ttl(ttl); } @@ -134,11 +130,8 @@ class dst_entry : public cache_observer, public tostr, public neigh_observer virtual void configure_headers() { conf_hdrs_and_snd_wqe();}; bool conf_hdrs_and_snd_wqe(); virtual bool conf_l2_hdr_and_snd_wqe_eth(); - virtual bool conf_l2_hdr_and_snd_wqe_ib(); virtual void init_sge() {}; - bool alloc_transport_dep_res(); - bool alloc_neigh_val(transport_type_t tranport); - + bool alloc_neigh_val(); void do_ring_migration(lock_base& socket_lock, resource_allocation_key &old_key); inline void set_tx_buff_list_pending(bool is_pending = true) {m_b_tx_mem_buf_desc_list_pending = is_pending;} int get_priority_by_tc_class(uint32_t tc_clas); diff --git a/src/vma/proto/dst_entry_udp_mc.cpp b/src/vma/proto/dst_entry_udp_mc.cpp index 316123686..d9f7cd9ce 100644 --- a/src/vma/proto/dst_entry_udp_mc.cpp +++ b/src/vma/proto/dst_entry_udp_mc.cpp @@ -33,30 +33,6 @@ dst_entry_udp_mc::~dst_entry_udp_mc() dst_udp_mc_logdbg("%s", to_str().c_str()); } -//The following function supposed to be called under m_lock -bool dst_entry_udp_mc::conf_l2_hdr_and_snd_wqe_ib() -{ - bool ret_val = false; - - dst_udp_mc_logfunc("%s", to_str().c_str()); - - ret_val = dst_entry_udp::conf_l2_hdr_and_snd_wqe_ib(); - - if (ret_val && !m_b_mc_loopback_enabled && m_p_send_wqe_handler) { - wqe_send_ib_handler *wqe_ib = dynamic_cast(m_p_send_wqe_handler); - if (wqe_ib) { - //Since checksum fails when packet contains an immediate header we don't enable an immediate header - //So MC loopback disable is NOT SUPPORTED! - //wqe_ib->enable_imm_data(m_inline_send_wqe); - //wqe_ib->enable_imm_data(m_not_inline_send_wqe); - } - else { - ret_val = false; - } - } - return ret_val; -} - void dst_entry_udp_mc::set_src_addr() { m_pkt_src_ip = INADDR_ANY; @@ -89,7 +65,7 @@ bool dst_entry_udp_mc::resolve_net_dev(bool is_connect) if (m_p_net_dev_entry) { m_p_net_dev_entry->get_val(m_p_net_dev_val); if (m_p_net_dev_val) { - ret_val = alloc_transport_dep_res(); + ret_val = alloc_neigh_val(); } else { dst_udp_mc_logdbg("Valid netdev value not found"); diff --git a/src/vma/proto/dst_entry_udp_mc.h b/src/vma/proto/dst_entry_udp_mc.h index 590d513c7..4a47b9b0b 100644 --- a/src/vma/proto/dst_entry_udp_mc.h +++ b/src/vma/proto/dst_entry_udp_mc.h @@ -18,8 +18,6 @@ class dst_entry_udp_mc : public dst_entry_udp resource_allocation_key &ring_alloc_logic); virtual ~dst_entry_udp_mc(); - virtual bool conf_l2_hdr_and_snd_wqe_ib(); - protected: ip_address m_mc_tx_if_ip; bool m_b_mc_loopback_enabled; diff --git a/src/vma/proto/header.cpp b/src/vma/proto/header.cpp index d6c090dab..85a4ff2a1 100644 --- a/src/vma/proto/header.cpp +++ b/src/vma/proto/header.cpp @@ -21,8 +21,7 @@ void header::init() header::header() : m_actual_hdr_addr(0), m_transport_header_tx_offset(0), - m_is_vlan_enabled(false), - m_transport_type(VMA_TRANSPORT_UNKNOWN) + m_is_vlan_enabled(false) { init(); } @@ -36,7 +35,6 @@ header::header(const header &h): tostr() m_aligned_l2_l3_len = h.m_aligned_l2_l3_len; m_transport_header_tx_offset = h.m_transport_header_tx_offset; m_is_vlan_enabled = h.m_is_vlan_enabled; - m_transport_type = h.m_transport_type; update_actual_hdr_addr(); } @@ -85,16 +83,6 @@ void header::configure_ip_header(uint8_t protocol, in_addr_t src_addr, in_addr_t m_total_hdr_len += m_ip_header_len; } -void header::configure_ipoib_headers(uint32_t ipoib_header /*=IPOIB_HEADER*/) -{ - ib_hdr_template_t *p_hdr = &m_header.hdr.m_l2_hdr.ib_hdr; - m_transport_header_tx_offset = sizeof(p_hdr->m_alignment); - m_transport_header_len = sizeof(p_hdr->m_ipoib_hdr); - m_total_hdr_len += m_transport_header_len; - p_hdr->m_ipoib_hdr.ipoib_header = htonl(ipoib_header); - update_actual_hdr_addr(); -} - void header::set_mac_to_eth_header(const L2_address &src, const L2_address &dst, ethhdr ð_header) { // copy source and destination mac address to eth header diff --git a/src/vma/proto/header.h b/src/vma/proto/header.h index 7f8808676..b819b9c4f 100644 --- a/src/vma/proto/header.h +++ b/src/vma/proto/header.h @@ -25,17 +25,10 @@ // We align the frame so IP header will be 4 bytes align // And we align the L2 headers so IP header on both transport // types will be at the same offset from buffer start -#define NET_IB_IP_ALIGN_SZ 16 #define NET_ETH_IP_ALIGN_SZ 6 #define NET_ETH_VLAN_IP_ALIGN_SZ 2 #define NET_ETH_VLAN_PCP_OFFSET 13 -struct __attribute__ ((packed)) ib_hdr_template_t { // Offeset Size - char m_alignment[NET_IB_IP_ALIGN_SZ]; // 0 16 = 16 - ipoibhdr m_ipoib_hdr; // 16 4 = 20 -// iphdr m_ip_hdr; // 20 20 = 40 -}; - struct __attribute__ ((packed)) eth_hdr_template_t { // Offeset Size char m_alignment[NET_ETH_IP_ALIGN_SZ]; // 0 6 = 6 ethhdr m_eth_hdr; // 6 14 = 20 @@ -50,7 +43,6 @@ struct __attribute__ ((packed)) vlan_eth_hdr_template_t { // Offeset Size }; union l2_hdr_template_t { - ib_hdr_template_t ib_hdr; eth_hdr_template_t eth_hdr; vlan_eth_hdr_template_t vlan_eth_hdr; }; @@ -82,7 +74,6 @@ class header: public tostr void configure_udp_header(uint16_t dest_port, uint16_t src_port); void configure_tcp_ports(uint16_t dest_port, uint16_t src_port); void configure_ip_header(uint8_t protocol, in_addr_t src_addr, in_addr_t dest_addr, uint8_t ttl = 64, uint8_t tos = 0, uint16_t packet_id = 0); - void configure_ipoib_headers(uint32_t ipoib_header = IPOIB_HEADER); void set_mac_to_eth_header(const L2_address &src, const L2_address &dst, ethhdr ð_header); void set_ip_ttl(uint8_t ttl); void set_ip_tos(uint8_t tos); @@ -132,7 +123,6 @@ class header: public tostr uint16_t m_aligned_l2_l3_len; uint16_t m_transport_header_tx_offset; bool m_is_vlan_enabled; - transport_type_t m_transport_type; }; #endif /* HEADER_H */ diff --git a/src/vma/proto/igmp_handler.cpp b/src/vma/proto/igmp_handler.cpp deleted file mode 100644 index f9ee67d6c..000000000 --- a/src/vma/proto/igmp_handler.cpp +++ /dev/null @@ -1,218 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - - -#include -#include - -#include "utils/bullseye.h" -#include "vlogger/vlogger.h" -#include "vma/proto/neighbour_table_mgr.h" -#include "vma/dev/wqe_send_handler.h" -#include "vma/dev/wqe_send_ib_handler.h" -#include "vma/util/utils.h" -#include "igmp_handler.h" - - - -#define MODULE_NAME "igmp_hdlr" -#undef MODULE_HDR_INFO -#define MODULE_HDR_INFO MODULE_NAME "[%s]:%d:%s() " - -#undef __INFO__ -#define __INFO__ this->to_str().c_str() - -#define igmp_hdlr_logpanic __log_info_panic -#define igmp_hdlr_logerr __log_info_err -#define igmp_hdlr_logwarn __log_info_warn -#define igmp_hdlr_loginfo __log_info_info -#define igmp_hdlr_logdbg __log_info_dbg -#define igmp_hdlr_logfunc __log_info_func -#define igmp_hdlr_logfuncall __log_info_funcall - -#define IGMPV1_MAX_RESPONSE_TIME 100 - -igmp_handler::igmp_handler(const igmp_key &key, uint8_t igmp_code) : m_mc_addr (key.get_in_addr()), m_p_ndvl(key.get_net_device_val()), - m_ignore_timer(false), m_timer_handle(NULL), m_p_neigh_entry(NULL), m_p_neigh_val(NULL), - m_p_ring(NULL), m_igmp_code(igmp_code ? igmp_code : IGMPV1_MAX_RESPONSE_TIME), m_id(0) -{ - ring_alloc_logic_attr ring_attr(safe_mce_sys().ring_allocation_logic_tx); - m_ring_allocation_logic = ring_allocation_logic_tx(m_p_ndvl->get_local_addr(), ring_attr, this); - - memset(&m_sge, 0, sizeof(m_sge)); - memset(&m_p_send_igmp_wqe, 0, sizeof(m_p_send_igmp_wqe)); -} - -igmp_handler::~igmp_handler() -{ - if (m_p_neigh_entry) { - g_p_neigh_table_mgr->unregister_observer(igmp_key(m_mc_addr, m_p_ndvl),this); - m_p_neigh_entry = NULL; - } - - if (m_p_ring) { - m_p_ndvl->release_ring(m_ring_allocation_logic.get_key()); - m_p_ring = NULL; - } - - if (m_p_neigh_val) { - delete m_p_neigh_val; - m_p_neigh_val = NULL; - } -} - -bool igmp_handler::init(const igmp_key &key) -{ - igmp_hdlr_logfunc(""); - cache_entry_subject* p_ces = NULL; - g_p_neigh_table_mgr->register_observer(key, this, &p_ces); - m_p_neigh_entry = dynamic_cast(p_ces); - - BULLSEYE_EXCLUDE_BLOCK_START - if (!m_p_neigh_entry) { - igmp_hdlr_logerr("Dynamic casting to neigh_entry has failed"); - return false; - } - - m_p_neigh_val = new neigh_ib_val; - if (!m_p_neigh_val) { - igmp_hdlr_logerr("Failed allocating neigh_val"); - return false; - } - - m_p_ring = m_p_ndvl->reserve_ring(m_ring_allocation_logic.get_key()); - if (!m_p_ring) { - igmp_hdlr_logerr("Ring was not reserved"); - return false; - } - m_id = m_p_ring->generate_id(); - BULLSEYE_EXCLUDE_BLOCK_END - - return true; -} - - // will register timer and later do 'tx_igmp_report(mc_group, ndvl)' -void igmp_handler::handle_query(uint8_t igmp_code) -{ - igmp_hdlr_logdbg("Received igmp query, preparing to send report"); - - m_igmp_code = igmp_code ? igmp_code : IGMPV1_MAX_RESPONSE_TIME; - - m_ignore_timer = false; - - priv_register_timer_event(this, ONE_SHOT_TIMER, (void*)IGMP_TIMER_ID); -} - -void igmp_handler::priv_register_timer_event(timer_handler* handler, timer_req_type_t req_type, void* user_data) -{ - int duration = 0 ; - srand(time(NULL)); - /* coverity[dont_call] */ - duration = (rand() % (m_igmp_code * 100)); // igmp_code (1-255) is in 1/10 sec units - - lock(); - if (!m_timer_handle && g_p_event_handler_manager) { - igmp_hdlr_logdbg("Register timer (%d msec) for sending igmp report after seen an igmp query for this group", duration); - m_timer_handle = g_p_event_handler_manager->register_timer_event(duration, handler, req_type, user_data); - } - unlock(); -} - -void igmp_handler::handle_report() -{ - igmp_hdlr_logdbg("Ignoring self timer (%p) after seen an igmp report for this group", m_timer_handle); - m_ignore_timer = true; // check if was not ignored before ? -} - -void igmp_handler::clean_obj() -{ - if (is_cleaned()) { - return ; - } - - set_cleaned(); - m_timer_handle = NULL; - if (g_p_event_handler_manager->is_running()) { - g_p_event_handler_manager->unregister_timers_event_and_delete(this); - } else { - cleanable_obj::clean_obj(); - } -} - -void igmp_handler::handle_timer_expired(void* user_data) -{ - NOT_IN_USE(user_data); - igmp_hdlr_logdbg("Timeout expired"); - m_timer_handle = NULL; - - if (m_ignore_timer) { - igmp_hdlr_logdbg("Ignoring timeout handling due to captured IGMP report"); - return; - } - igmp_hdlr_logdbg("Sending igmp report"); - - if (!tx_igmp_report()) { - igmp_hdlr_logdbg("Send igmp report failed, registering new timer"); - priv_register_timer_event(this, ONE_SHOT_TIMER, (void*)IGMP_TIMER_ID); - } -} - -bool igmp_handler::tx_igmp_report() -{ - - if (m_p_neigh_entry->get_peer_info(m_p_neigh_val)) { - igmp_hdlr_logdbg("neigh is valid"); - } - else { - igmp_hdlr_logdbg("neigh is not valid"); - return false; - } - - mem_buf_desc_t* p_mem_buf_desc = m_p_ring->mem_buf_tx_get(m_id, false, 1); - if (unlikely(p_mem_buf_desc == NULL)) { - igmp_hdlr_logdbg("No free TX buffer, not sending igmp report"); - return false; - } - - wqe_send_ib_handler wqe_sh; - wqe_sh.init_ib_wqe(m_p_send_igmp_wqe, &m_sge, 1, ((neigh_ib_val *)m_p_neigh_val)->get_ah(), - ((neigh_ib_val *)m_p_neigh_val)->get_qpn(), ((neigh_ib_val *)m_p_neigh_val)->get_qkey()); - m_header.init(); - m_header.configure_ipoib_headers(); - size_t m_total_l2_hdr_len = m_header.m_total_hdr_len; - m_header.configure_ip_header(IPPROTO_IGMP, m_p_ndvl->get_local_addr(), m_mc_addr.get_in_addr(),/*ttl for IGMP*/1); - m_header.copy_l2_ip_hdr((tx_packet_template_t*)p_mem_buf_desc->p_buffer); - - // Override IP header with IGMPV2 specific info - ip_igmp_tx_hdr_template_t* p_ip_pkt = (ip_igmp_tx_hdr_template_t*)(p_mem_buf_desc->p_buffer + m_header.m_transport_header_tx_offset + m_total_l2_hdr_len); - set_ip_igmp_hdr(p_ip_pkt); - - m_sge.addr = (uintptr_t)(p_mem_buf_desc->p_buffer + (uint8_t)m_header.m_transport_header_tx_offset); - m_sge.length = m_header.m_total_hdr_len + sizeof(uint32_t /*m_ip_hdr_ext*/) + sizeof (igmphdr /*m_igmp_hdr*/); - m_sge.lkey = p_mem_buf_desc->lkey; - p_mem_buf_desc->p_next_desc = NULL; - m_p_send_igmp_wqe.wr_id = (uintptr_t)p_mem_buf_desc; - - igmp_hdlr_logdbg("Sending igmp report"); - m_p_ring->send_ring_buffer(m_id, &m_p_send_igmp_wqe, (vma_wr_tx_packet_attr)0); - return true; -} - -void igmp_handler::set_ip_igmp_hdr(ip_igmp_tx_hdr_template_t* ip_igmp_hdr) -{ - ip_igmp_hdr->m_ip_hdr.ihl = IPV4_IGMP_HDR_LEN_WORDS; - ip_igmp_hdr->m_ip_hdr.tot_len = htons(IPV4_IGMP_HDR_LEN + sizeof(igmphdr)); - ip_igmp_hdr->m_ip_hdr_ext = htonl(IGMP_IP_HEADER_EXT); - ip_igmp_hdr->m_ip_hdr.check = 0; - ip_igmp_hdr->m_ip_hdr.check = compute_ip_checksum((unsigned short*)&ip_igmp_hdr->m_ip_hdr, (IPV4_IGMP_HDR_LEN_WORDS) * 2); - - // Create the IGMP header - ip_igmp_hdr->m_igmp_hdr.type = IGMPV2_HOST_MEMBERSHIP_REPORT; - ip_igmp_hdr->m_igmp_hdr.code = 0; - ip_igmp_hdr->m_igmp_hdr.group = m_mc_addr.get_in_addr(); - ip_igmp_hdr->m_igmp_hdr.csum = 0; - ip_igmp_hdr->m_igmp_hdr.csum = compute_ip_checksum((unsigned short*)&ip_igmp_hdr->m_igmp_hdr, IGMP_HDR_LEN_WORDS * 2); -} diff --git a/src/vma/proto/igmp_handler.h b/src/vma/proto/igmp_handler.h deleted file mode 100644 index dc2690154..000000000 --- a/src/vma/proto/igmp_handler.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - - -#include "vma/proto/neighbour.h" -#include "vma/event/event_handler_manager.h" -#include "vma/event/timer_handler.h" -#include - - -#ifndef IGMP_HANDLER_H_ -#define IGMP_HANDLER_H_ - -#define igmp_key neigh_key - -#define IGMP_TIMER_ID 0 - -struct __attribute__ ((packed, aligned)) ip_igmp_tx_hdr_template_t { - iphdr m_ip_hdr; - uint32_t m_ip_hdr_ext; - igmphdr m_igmp_hdr; -}; - -#define IGMP_IP_HEADER_EXT 0x94040000 // IP header options field: Router alert - -class igmp_handler : public timer_handler, public lock_mutex, public cleanable_obj, public cache_observer, public neigh_observer -{ -public: - igmp_handler(const igmp_key &key, uint8_t igmp_code); - bool init(const igmp_key &key); - ~igmp_handler(); - - const std::string to_str() const - { - return(m_mc_addr.to_str() + " " + m_p_ndvl->to_str()); - } - - virtual transport_type_t get_obs_transport_type() const - { - return m_p_ndvl->get_transport_type(); - } - - void handle_query(uint8_t igmp_code); // handle queries coming from router - void handle_report(); // handle reports coming from other hosts - - virtual void clean_obj(); -private: - - ip_address m_mc_addr; - net_device_val* m_p_ndvl; - ring_allocation_logic_tx m_ring_allocation_logic; - bool m_ignore_timer; - void* m_timer_handle; - neigh_entry* m_p_neigh_entry; - neigh_val* m_p_neigh_val; - ring* m_p_ring; - header m_header; - ibv_sge m_sge; - ibv_send_wr m_p_send_igmp_wqe; - uint8_t m_igmp_code; - ring_user_id_t m_id; - - void set_timer(); //called by tx_igmp_report - void unset_timer(); // called if igmp packet is report and not query - virtual void handle_timer_expired(void* user_data); - void priv_register_timer_event(timer_handler* handler, timer_req_type_t req_type, void* user_data); - bool tx_igmp_report(); - void set_ip_igmp_hdr(ip_igmp_tx_hdr_template_t* igmp_hdr); - -}; - -#endif diff --git a/src/vma/proto/igmp_mgr.cpp b/src/vma/proto/igmp_mgr.cpp deleted file mode 100644 index df2ac2809..000000000 --- a/src/vma/proto/igmp_mgr.cpp +++ /dev/null @@ -1,124 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - - -#include -#include - -#include "utils/bullseye.h" -#include "vlogger/vlogger.h" -#include "igmp_mgr.h" -#include "vma/dev/net_device_table_mgr.h" -#include "vma/dev/net_device_val.h" - - - -#define MODULE_NAME "igmp_mgr" -#undef MODULE_HDR_INFO -#define MODULE_HDR_INFO MODULE_NAME "[%s]:%d:%s() " - -#undef __INFO__ -#define __INFO__ "" - -#define igmp_mgr_logpanic __log_info_panic -#define igmp_mgr_logerr __log_info_err -#define igmp_mgr_logwarn __log_info_warn -#define igmp_mgr_loginfo __log_info_info -#define igmp_mgr_logdbg __log_info_dbg -#define igmp_mgr_logfunc __log_info_func -#define igmp_mgr_logfuncall __log_info_funcall - - -igmp_mgr *g_p_igmp_mgr = NULL; - -igmp_mgr::~igmp_mgr() -{ - igmp_handler* p_igmp_hdlr = NULL; - igmp_hdlr_map_t::iterator iter = m_igmp_hash.begin(); - while (iter != m_igmp_hash.end()) { - p_igmp_hdlr = iter->second; - igmp_mgr_logdbg("Delete existing igmp handler '%s'", p_igmp_hdlr->to_str().c_str()); - m_igmp_hash.erase(iter); - p_igmp_hdlr->clean_obj(); - // coverity[assigned_pointer:FALSE] /* NULL assign for already freed object */ - p_igmp_hdlr = NULL; - iter = m_igmp_hash.begin(); - } -} - -void igmp_mgr::process_igmp_packet(struct iphdr* p_ip_h, in_addr_t local_if) -{ - igmp_mgr_logfunc(""); - igmp_handler* p_igmp_hdlr = NULL; - uint16_t ip_h_hdr_len = (int)(p_ip_h->ihl)*4; - struct igmphdr* p_igmp_h = (struct igmphdr*)(((uint8_t*)p_ip_h) + ip_h_hdr_len); - - net_device_val* p_ndvl = g_p_net_device_table_mgr->get_net_device_val(local_if); - BULLSEYE_EXCLUDE_BLOCK_START - if (!p_ndvl){ - igmp_mgr_logerr("Failed getting relevant net device"); - return; - } - BULLSEYE_EXCLUDE_BLOCK_END - - igmp_key key(ip_address(p_igmp_h->group), p_ndvl); - p_igmp_hdlr = get_igmp_handler(key, p_igmp_h->code); - BULLSEYE_EXCLUDE_BLOCK_START - if (!p_igmp_hdlr){ - igmp_mgr_logerr("Failed getting relevant igmp_handler"); - return; - } - BULLSEYE_EXCLUDE_BLOCK_END - - switch (p_igmp_h->type) { - case IGMP_HOST_MEMBERSHIP_QUERY: - p_igmp_hdlr->handle_query(p_igmp_h->code); - break; - - case IGMP_HOST_MEMBERSHIP_REPORT: - case IGMPV2_HOST_MEMBERSHIP_REPORT: - p_igmp_hdlr->handle_report(); - break; - - default: - break; - } -} - -igmp_handler* igmp_mgr::get_igmp_handler(const igmp_key &key, uint8_t igmp_code) -{ - igmp_handler *p_igmp_hdlr = NULL; - - lock(); - igmp_hdlr_map_t::iterator iter = m_igmp_hash.find(key); - if (iter != m_igmp_hash.end()) { - p_igmp_hdlr = iter->second; - igmp_mgr_logdbg("Found existing igmp handler '%s'", p_igmp_hdlr->to_str().c_str()); - } - else { - p_igmp_hdlr = new igmp_handler(key, igmp_code); - BULLSEYE_EXCLUDE_BLOCK_START - if (!p_igmp_hdlr) { - igmp_mgr_logerr("Failed allocating new igmp handler for mc_address = %d.%d.%d.%d, local_if= %d.%d.%d.%d", - NIPQUAD(key.get_in_addr()), NIPQUAD(key.get_net_device_val()->get_local_addr())); - unlock(); - return p_igmp_hdlr; - } - if (!p_igmp_hdlr->init(key)) { - igmp_mgr_logerr("Failed to initialize new igmp handler '%s'", p_igmp_hdlr->to_str().c_str()); - delete(p_igmp_hdlr); - p_igmp_hdlr = NULL; - unlock(); - return p_igmp_hdlr; - } - BULLSEYE_EXCLUDE_BLOCK_END - m_igmp_hash[key] = p_igmp_hdlr; - igmp_mgr_logdbg("Created new igmp handler '%s'", p_igmp_hdlr->to_str().c_str()); - } - unlock(); - return p_igmp_hdlr; -} - diff --git a/src/vma/proto/igmp_mgr.h b/src/vma/proto/igmp_mgr.h deleted file mode 100644 index 36ebe8ff9..000000000 --- a/src/vma/proto/igmp_mgr.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - - -#include "vma/proto/igmp_handler.h" -#include - -#ifndef IGMP_MANAGER_H -#define IGMP_MANAGER_H - - -typedef std::unordered_map igmp_hdlr_map_t; - -class igmp_mgr : public lock_mutex -{ -public: - igmp_mgr() {}; - ~igmp_mgr(); - void process_igmp_packet(struct iphdr* p_ip_h, in_addr_t local_if); - -private: - igmp_hdlr_map_t m_igmp_hash; - igmp_handler* get_igmp_handler(const igmp_key &key, uint8_t igmp_code); -}; - -extern igmp_mgr *g_p_igmp_mgr; - -#endif - diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index 018f407b6..5340ab144 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -18,7 +18,6 @@ #include "vma/proto/route_rule_table_key.h" #include "vma/proto/route_table_mgr.h" #include "vma/dev/wqe_send_handler.h" -#include "vma/dev/wqe_send_ib_handler.h" //This include should be after vma includes #include @@ -62,7 +61,7 @@ inline int neigh_eth::build_mc_neigh_val() if (m_val == NULL) //This is the first time we are trying to allocate new val or it failed last time - m_val = new neigh_eth_val; + m_val = new neigh_val; BULLSEYE_EXCLUDE_BLOCK_START if (m_val == NULL) { @@ -98,7 +97,7 @@ inline int neigh_eth::build_uc_neigh_val() if (m_val == NULL) { // This is the first time we are trying to allocate new val or it failed last time - m_val = new neigh_eth_val; + m_val = new neigh_val; } BULLSEYE_EXCLUDE_BLOCK_START @@ -128,32 +127,12 @@ inline int neigh_eth::build_uc_neigh_val() return 0; } -neigh_val & neigh_ib_val::operator=(const neigh_val & val) -{ - IPoIB_addr* l2_addr = NULL; - neigh_val* tmp_val = const_cast(&val); - const neigh_ib_val* ib_val = dynamic_cast(tmp_val); - BULLSEYE_EXCLUDE_BLOCK_START - if (ib_val == NULL) { - __log_panic("neigh_ib_val is NULL"); - } - BULLSEYE_EXCLUDE_BLOCK_END - m_l2_address = new IPoIB_addr((ib_val->get_l2_address())->get_address()); - l2_addr = (IPoIB_addr *)m_l2_address; //no need to do dynamic casting here - m_ah = ib_val->get_ah(); //TODO: we need to handle this - in case ah is used in post_send we cannot destroy it - m_qkey = ib_val->get_qkey(); - l2_addr->set_qpn(ib_val->get_qpn()); - m_ah_attr = ib_val->get_ah_attr(); - return *this; -} - -neigh_entry::neigh_entry(neigh_key key, transport_type_t _type, bool is_init_resources): +neigh_entry::neigh_entry(neigh_key key, bool is_init_resources): cache_entry_subject(key), m_cma_id(NULL), m_rdma_port_space((enum rdma_port_space)0), m_state_machine(NULL), m_type(UNKNOWN), - m_trans_type(_type), m_state(false), m_err_counter(0), m_timer_handle(NULL), @@ -161,7 +140,7 @@ neigh_entry::neigh_entry(neigh_key key, transport_type_t _type, bool is_init_res m_p_dev(key.get_net_device_val()), m_p_ring(NULL), m_is_loopback(false), - m_to_str(std::string(priv_vma_transport_type_str(m_trans_type)) + ":" + get_key().to_str()), m_id(0), + m_to_str(get_key().to_str()), m_id(0), m_is_first_send_arp(true), m_n_sysvar_neigh_wait_till_send_arp_msec(safe_mce_sys().neigh_wait_till_send_arp_msec), m_n_sysvar_neigh_uc_arp_quata(safe_mce_sys().neigh_uc_arp_quata), m_n_sysvar_neigh_num_err_retries(safe_mce_sys().neigh_num_err_retries) @@ -332,7 +311,7 @@ void neigh_entry::handle_timer_expired(void* ctx) if(!priv_is_failed(state)) { //We want to verify that L2 address wasn't changed - unsigned char tmp[IPOIB_HW_ADDR_LEN]; + unsigned char tmp[ETH_ALEN]; address_t l2_addr = (address_t)tmp; if(!priv_get_neigh_l2(l2_addr)) { return; @@ -755,8 +734,6 @@ const char* neigh_entry::event_to_str(event_t event) const return "EV_PATH_RESOLVED"; case EV_ERROR: return "EV_ERROR"; - case EV_TIMEOUT_EXPIRED: - return "EV_TIMEOUT_EXPIRED"; case EV_UNHANDLED: return "EV_UNHANDELED"; BULLSEYE_EXCLUDE_BLOCK_START @@ -1223,7 +1200,7 @@ void neigh_entry::priv_unregister_timer() //============================================================== neigh_eth ================================================== neigh_eth::neigh_eth(neigh_key key) : - neigh_entry(key, VMA_TRANSPORT_ETH) + neigh_entry(key) { neigh_logdbg(""); m_rdma_port_space = RDMA_PS_UDP; @@ -1519,628 +1496,3 @@ ring_user_id_t neigh_eth::generate_ring_user_id(header * h /* = NULL */) h->m_header.hdr.m_udp_hdr.source, h->m_header.hdr.m_udp_hdr.dest); } - -//============================================================== neigh_ib ================================================== - -neigh_ib::neigh_ib(neigh_key key, bool is_init_resources) : - neigh_entry(key, VMA_TRANSPORT_IB, is_init_resources), m_pd(NULL), m_n_sysvar_wait_after_join_msec(safe_mce_sys().wait_after_join_msec) -{ - neigh_logdbg(""); - - m_rdma_port_space = RDMA_PS_IPOIB; - - if(IS_BROADCAST_N(key.get_in_addr())) { - //In case of broadcast neigh we don't want to have state machine - m_type = MC; - return; - } - - if (IN_MULTICAST_N(key.get_in_addr())) { - //This is Multicast neigh - m_type = MC; - } - else { - // This is Unicast neigh - m_type = UC; - } - //Do we need to handle case when we get EV_ERROR but in case this error is not related to the state - //Like Address Resolve Error when we at ST_ARP_RESOLVED or ST_PATH_RESOLVED .... - - sm_short_table_line_t short_sm_table[] = - { - // {curr state, event, next state, action func } - { ST_NOT_ACTIVE, EV_KICK_START, ST_INIT, NULL }, - { ST_ERROR, EV_KICK_START, ST_INIT, NULL }, - { ST_INIT, EV_START_RESOLUTION, ST_INIT_RESOLUTION, NULL }, - { ST_INIT_RESOLUTION, EV_ADDR_RESOLVED, ST_ARP_RESOLVED, NULL }, - { ST_ARP_RESOLVED, EV_PATH_RESOLVED, ST_PATH_RESOLVED, NULL }, - { ST_PATH_RESOLVED, EV_TIMEOUT_EXPIRED, ST_READY, NULL }, - { ST_PATH_RESOLVED, EV_ERROR, ST_ERROR, NULL }, - { ST_ARP_RESOLVED, EV_ERROR, ST_ERROR, NULL }, - { ST_READY, EV_ERROR, ST_ERROR, NULL }, - { ST_INIT, EV_ERROR, ST_ERROR, NULL }, - { ST_INIT_RESOLUTION, EV_ERROR, ST_ERROR, NULL }, - { ST_ERROR, EV_ERROR, ST_NOT_ACTIVE, NULL }, - //Entry functions - { ST_INIT, SM_STATE_ENTRY, SM_NO_ST, neigh_entry::dofunc_enter_init }, - { ST_INIT_RESOLUTION, SM_STATE_ENTRY, SM_NO_ST, neigh_entry::dofunc_enter_init_resolution }, - { ST_ARP_RESOLVED, SM_STATE_ENTRY, SM_NO_ST, neigh_ib::dofunc_enter_arp_resolved }, - { ST_PATH_RESOLVED, SM_STATE_ENTRY, SM_NO_ST, neigh_ib::dofunc_enter_path_resolved }, - { ST_READY, SM_STATE_ENTRY, SM_NO_ST, neigh_entry::dofunc_enter_ready }, - { ST_NOT_ACTIVE, SM_STATE_ENTRY, SM_NO_ST, neigh_entry::dofunc_enter_not_active }, - { ST_ERROR, SM_STATE_ENTRY, SM_NO_ST, neigh_entry::dofunc_enter_error }, - SM_TABLE_END }; - - // Create state_nachine - m_state_machine = new state_machine(this, // app hndl - ST_NOT_ACTIVE, // start state_t - ST_LAST, // max states - EV_LAST, // max events - short_sm_table, // short table - general_st_entry, // default entry function - general_st_leave, // default leave function - NULL, // default func - print_event_info // debug function - ); - - BULLSEYE_EXCLUDE_BLOCK_START - if (m_state_machine == NULL) - neigh_logpanic("Failed allocating state_machine"); - BULLSEYE_EXCLUDE_BLOCK_END - - priv_kick_start_sm(); -} - -neigh_ib::~neigh_ib() -{ - priv_enter_not_active(); -} - -void neigh_ib::handle_event_ibverbs_cb(void* ev_data, void* ctx) -{ - NOT_IN_USE(ctx); - event_t event = ibverbs_event_mapping(ev_data); - event_handler(event, ev_data); -} - -// called when timer expired -void neigh_ib::handle_timer_expired(void* ctx) -{ - neigh_logdbg("general timeout expired!"); - - m_sm_lock.lock(); - int state = m_state_machine->get_curr_state(); - m_sm_lock.unlock(); - - if(state == ST_PATH_RESOLVED) { - // Clear Timer Handler - m_timer_handle = NULL; - event_handler(EV_TIMEOUT_EXPIRED); - } - else if(state == ST_READY) { - neigh_entry::handle_timer_expired(ctx); - } - else if(state == ST_INIT) { - // Clear Timer Handler - m_timer_handle = NULL; - event_handler(EV_START_RESOLUTION); - } -} - -bool neigh_ib::priv_handle_neigh_is_l2_changed(address_t new_l2_addr) -{ - auto_unlocker lock(m_lock); - IPoIB_addr new_l2_address(new_l2_addr); - if (m_val) { - if(m_val->get_l2_address()) { - if (!(m_val->get_l2_address()->compare(new_l2_address))) { - neigh_logdbg("l2 address was changed (%s => %s)", (m_val->get_l2_address())->to_str().c_str(), new_l2_address.to_str().c_str()); - event_handler(EV_ERROR); - return true; - } - else { - neigh_logdbg("No change in l2 address"); - return false; - } - } - else { - neigh_logdbg("l2 address is NULL\n"); - } - } - else { - neigh_logerr("m_val is NULL"); - } - - event_handler(EV_ERROR); - return true; -} - -bool neigh_ib::post_send_arp(bool is_broadcast) -{ - neigh_logdbg("Sending %s ARP", is_broadcast?"BC":"UC"); - - mem_buf_desc_t* p_mem_buf_desc = m_p_ring->mem_buf_tx_get(m_id, false, 1); - if (unlikely(p_mem_buf_desc == NULL)) { - neigh_logdbg("No free TX buffer, not sending ARP"); - return false; - } - - net_device_val_ib *netdevice_ib = dynamic_cast(m_p_dev); - if (netdevice_ib == NULL) { - m_p_ring->mem_buf_tx_release(p_mem_buf_desc, true); - neigh_logdbg("Net dev is NULL not sending ARP"); - return false; - } - - const L2_address *src = netdevice_ib->get_l2_address(); - const L2_address *dst; - neigh_ib_val br_neigh_val; - ibv_ah* ah = NULL; - uint32_t qpn; - uint32_t qkey; - const unsigned char* peer_mac = NULL; - if (!is_broadcast) { - dst = m_val->get_l2_address(); - peer_mac = dst->get_address(); - ah = ((neigh_ib_val *)m_val)->get_ah(); - qpn = ((neigh_ib_val *)m_val)->get_qpn(); - qkey = ((neigh_ib_val *)m_val)->get_qkey(); - } - else { - dst = m_p_dev->get_br_address(); - neigh_ib_broadcast * br_neigh = const_cast(((net_device_val_ib*)m_p_dev)->get_br_neigh()); - bool ret = br_neigh->get_peer_info(&br_neigh_val); - if (ret) { - ah = br_neigh_val.get_ah(); - qpn = br_neigh_val.get_qpn(); - qkey = br_neigh_val.get_qkey(); - } - else { - m_p_ring->mem_buf_tx_release(p_mem_buf_desc, true); - neigh_logdbg("BR Neigh is not valid, not sending BR ARP"); - return false; - } - } - - if (src == NULL || dst == NULL) { - m_p_ring->mem_buf_tx_release(p_mem_buf_desc, true); - neigh_logdbg("src or dst is NULL not sending ARP"); - return false; - } - - wqe_send_ib_handler wqe_sh; - wqe_sh.init_ib_wqe(m_send_wqe, &m_sge, 1, ah, qpn, qkey); - neigh_logdbg("ARP: ah=%p, qkey=%#x, qpn=%#x", ah ,qkey, qpn); - header h; - h.init(); - h.configure_ipoib_headers(IPOIB_ARP_HEADER); - - - tx_packet_template_t *p_pkt = (tx_packet_template_t*)p_mem_buf_desc->p_buffer; - h.copy_l2_hdr(p_pkt); - - ib_arp_hdr* p_arphdr = (ib_arp_hdr*) (p_mem_buf_desc->p_buffer + h.m_transport_header_tx_offset + h.m_total_hdr_len); - set_ib_arp_hdr(p_arphdr, m_p_dev->get_local_addr(), get_key().get_in_addr(), m_p_dev->get_l2_address()->get_address(), peer_mac); - - m_sge.addr = (uintptr_t)(p_mem_buf_desc->p_buffer + (uint8_t)h.m_transport_header_tx_offset); - m_sge.length = sizeof(ib_arp_hdr) + h.m_total_hdr_len; - m_sge.lkey = p_mem_buf_desc->lkey; - p_mem_buf_desc->p_next_desc = NULL; - m_send_wqe.wr_id = (uintptr_t)p_mem_buf_desc; - - m_p_ring->send_ring_buffer(m_id, &m_send_wqe, (vma_wr_tx_packet_attr)0); - - neigh_logdbg("ARP Sent"); - return true; -} - -bool neigh_ib::prepare_to_send_packet(header * h) -{ - neigh_logdbg(""); - wqe_send_ib_handler wqe_sh; - wqe_sh.init_ib_wqe(m_send_wqe, &m_sge , 1, ((neigh_ib_val *)m_val)->get_ah(), ((neigh_ib_val *)m_val)->get_qpn(), ((neigh_ib_val *)m_val)->get_qkey()); - h->configure_ipoib_headers(); - - return true; -} - -neigh_entry::event_t neigh_ib::ibverbs_event_mapping(void* p_event_info) -{ - struct ibv_async_event *ev = (struct ibv_async_event *) p_event_info; - neigh_logdbg("Got event %s (%d) ", priv_ibv_event_desc_str(ev->event_type), ev->event_type); - - switch (ev->event_type) - { - case IBV_EVENT_SM_CHANGE: - case IBV_EVENT_CLIENT_REREGISTER: - return EV_ERROR; - default: - return EV_UNHANDLED; - } -} - -void neigh_ib::dofunc_enter_arp_resolved(const sm_info_t& func_info) -{ - neigh_ib * my_neigh = (neigh_ib *) func_info.app_hndl; - neigh_entry::general_st_entry(func_info); - - run_helper_func(priv_enter_arp_resolved(), EV_ERROR); -} - -void neigh_ib::dofunc_enter_path_resolved(const sm_info_t& func_info) -{ - neigh_ib * my_neigh = (neigh_ib *) func_info.app_hndl; - neigh_entry::general_st_entry(func_info); - - uint32_t wait_after_join_msec; - - run_helper_func(priv_enter_path_resolved((struct rdma_cm_event*)func_info.ev_data, wait_after_join_msec), - EV_ERROR); - my_neigh->m_timer_handle = my_neigh->priv_register_timer_event(wait_after_join_msec, my_neigh, ONE_SHOT_TIMER, NULL); -} - -int neigh_ib::priv_enter_arp_resolved() -{ - neigh_logfunc(""); - - if (m_cma_id->verbs == NULL) { - neigh_logdbg("m_cma_id->verbs is NULL"); - return -1; - } - - if (find_pd()) - return -1; - - //Register Verbs event in case there was Fabric change - if (m_cma_id->verbs) { - g_p_event_handler_manager->register_ibverbs_event( - m_cma_id->verbs->async_fd, this, - m_cma_id->verbs, 0); - } - - if (m_type == UC) - return (handle_enter_arp_resolved_uc()); - else - // MC - return (handle_enter_arp_resolved_mc()); -} - -int neigh_ib::priv_enter_path_resolved(struct rdma_cm_event* event_data, - uint32_t & wait_after_join_msec) -{ - neigh_logfunc(""); - - if (m_val == NULL) - //This is the first time we are trying to allocate new val or it failed last time - m_val = new neigh_ib_val; - - BULLSEYE_EXCLUDE_BLOCK_START - if (m_val == NULL) - return -1; - BULLSEYE_EXCLUDE_BLOCK_END - - if (m_type == UC) - return (build_uc_neigh_val(event_data, wait_after_join_msec)); - else - //MC - return (build_mc_neigh_val(event_data, wait_after_join_msec)); -} - -void neigh_ib::priv_enter_error() -{ - auto_unlocker lock(m_lock); - - m_state = false; - m_pd = NULL; - - destroy_ah(); - priv_unregister_timer(); - - if (m_cma_id && m_cma_id->verbs) { - neigh_logdbg("Unregister Verbs event"); - g_p_event_handler_manager->unregister_ibverbs_event(m_cma_id->verbs->async_fd, this); - } - - neigh_entry::priv_enter_error(); -} - -void neigh_ib::priv_enter_not_active() -{ - neigh_logfunc(""); - - auto_unlocker lock(m_lock); - - m_state = false; - m_pd = NULL; - - destroy_ah(); - - if (m_cma_id && m_cma_id->verbs) { - neigh_logdbg("Unregister Verbs event"); - g_p_event_handler_manager->unregister_ibverbs_event(m_cma_id->verbs->async_fd, this); - } - - neigh_entry::priv_enter_not_active(); -} - -int neigh_ib::priv_enter_ready() -{ - neigh_logfunc(""); - priv_unregister_timer(); - return (neigh_entry::priv_enter_ready()); -} - -int neigh_ib::handle_enter_arp_resolved_mc() -{ - neigh_logdbg(""); - - IF_RDMACM_FAILURE(rdma_join_multicast( m_cma_id, (struct sockaddr*)&m_dst_addr, (void *)this)) - { - neigh_logdbg("Failed in rdma_join_multicast (errno=%d %m)", errno); - return -1; - } ENDIF_RDMACM_FAILURE; - - return 0; -} - -int neigh_ib::handle_enter_arp_resolved_uc() -{ - neigh_logdbg(""); - - IF_RDMACM_FAILURE(rdma_resolve_route(m_cma_id, RDMA_CM_TIMEOUT)) - { - neigh_logdbg("Resolve address error (errno=%d %m)", errno); - return -1; - } ENDIF_RDMACM_FAILURE; - - return 0; -} - -int neigh_ib::build_mc_neigh_val(struct rdma_cm_event* event_data, - uint32_t & wait_after_join_msec) -{ - neigh_logdbg(""); - - m_val->m_l2_address = new IPoIB_addr(event_data->param.ud.qp_num, (address_t)event_data->param.ud.ah_attr.grh.dgid.raw); - BULLSEYE_EXCLUDE_BLOCK_START - if (m_val->m_l2_address == NULL) { - neigh_logdbg("Failed allocating m_val->m_l2_address"); - return -1; - } - BULLSEYE_EXCLUDE_BLOCK_END - - ((neigh_ib_val *) m_val)->m_qkey = event_data->param.ud.qkey; - - memcpy(&((neigh_ib_val *) m_val)->m_ah_attr, - &event_data->param.ud.ah_attr, - sizeof(((neigh_ib_val *) m_val)->m_ah_attr)); - - BULLSEYE_EXCLUDE_BLOCK_START - if (create_ah()) - return -1; - BULLSEYE_EXCLUDE_BLOCK_END - - neigh_logdbg("IB multicast neigh params are : ah=%p, qkey=%#x, sl=%#x, rate=%#x, port_num = %#x, qpn=%#x dlid=%#x dgid = " IPOIB_HW_ADDR_PRINT_FMT_16, - ((neigh_ib_val *) m_val)->m_ah, ((neigh_ib_val *) m_val)->m_qkey, ((neigh_ib_val *) m_val)->m_ah_attr.sl, ((neigh_ib_val *) m_val)->m_ah_attr.static_rate, - ((neigh_ib_val *) m_val)->m_ah_attr.port_num, ((neigh_ib_val *) m_val)->get_qpn(), ((neigh_ib_val *) m_val)->m_ah_attr.dlid, - IPOIB_HW_ADDR_PRINT_ADDR_16(((neigh_ib_val *) m_val)->m_ah_attr.grh.dgid.raw)); - - wait_after_join_msec = m_n_sysvar_wait_after_join_msec; - - return 0; -} - -int neigh_ib::build_uc_neigh_val(struct rdma_cm_event* event_data, - uint32_t & wait_after_join_msec) -{ - NOT_IN_USE(event_data); - neigh_logdbg(""); - - // Find peer's IPoIB row address - unsigned char tmp[IPOIB_HW_ADDR_LEN]; - address_t address = (address_t) tmp; - BULLSEYE_EXCLUDE_BLOCK_START - if (!priv_get_neigh_l2(address)) { - neigh_logdbg("Failed in priv_get_neigh_l2()"); - return -1; - } - BULLSEYE_EXCLUDE_BLOCK_END - - m_val->m_l2_address = new IPoIB_addr(address); - BULLSEYE_EXCLUDE_BLOCK_START - if (m_val->m_l2_address == NULL) { - neigh_logdbg("Failed creating m_val->m_l2_address"); - return -1; - } - BULLSEYE_EXCLUDE_BLOCK_END - neigh_logdbg("IPoIB MAC = %s", m_val->m_l2_address->to_str().c_str()); - // IPoIB qkey is hard coded in SM . Do we want to take it from event or leave it hard coded - //((neigh_ib_val *) m_val)->m_qkey = event_data->param.ud.qkey; //0x0b1b; - ((neigh_ib_val *) m_val)->m_qkey = IPOIB_QKEY; - - //memcpy(&m_val.ib_addr.m_ah_attr, &event_data->param.ud.ah_attr, sizeof(struct ibv_ah_attr)); - - if (!m_cma_id || m_cma_id->route.num_paths <= 0) { - neigh_logdbg("Can't prepare AH attr (cma_id=%p, num_paths=%d)", m_cma_id, m_cma_id ? m_cma_id->route.num_paths : 0); - return -1; - } - - memset(&((neigh_ib_val *) m_val)->m_ah_attr, 0, sizeof(((neigh_ib_val *) m_val)->m_ah_attr)); - ((neigh_ib_val *) m_val)->m_ah_attr.dlid = ntohs(m_cma_id->route.path_rec->dlid); - ((neigh_ib_val *) m_val)->m_ah_attr.sl = m_cma_id->route.path_rec->sl; - ((neigh_ib_val *) m_val)->m_ah_attr.src_path_bits = 0; - ((neigh_ib_val *) m_val)->m_ah_attr.static_rate = m_cma_id->route.path_rec->rate; - ((neigh_ib_val *) m_val)->m_ah_attr.is_global = 0; - ((neigh_ib_val *) m_val)->m_ah_attr.port_num = m_cma_id->port_num; - - BULLSEYE_EXCLUDE_BLOCK_START - if (create_ah()) - return -1; - BULLSEYE_EXCLUDE_BLOCK_END - - neigh_logdbg("IB unicast neigh params ah=%p, qkey=%#x, qpn=%#x, dlid=%#x", ((neigh_ib_val *) m_val)->m_ah, - ((neigh_ib_val *) m_val)->m_qkey, ((neigh_ib_val *) m_val)->get_qpn(), ((neigh_ib_val *) m_val)->m_ah_attr.dlid); - - wait_after_join_msec = 0; - - return 0; -} - -int neigh_ib::find_pd() -{ - neigh_logdbg(""); - - ib_ctx_handler* ib_ctx_h = g_p_ib_ctx_handler_collection->get_ib_ctx(m_p_dev->get_ifname_link()); - - if (ib_ctx_h) { - m_pd = ib_ctx_h->get_ibv_pd(); - return 0; - } - - return -1; -} - -int neigh_ib::create_ah() -{ - neigh_logdbg(""); - - /* if (((neigh_ib_val *) m_val)->m_ah) { - // if there's ah we want to destroy it - shouldn't happen - neigh_logerr("destroy ah %p (shouldn't happen)", ((neigh_ib_val *) m_val)->m_ah); - if (destroy_ah()) - return -1; - } - */ - ((neigh_ib_val *) m_val)->m_ah = ibv_create_ah(m_pd, &((neigh_ib_val *) m_val)->m_ah_attr); - BULLSEYE_EXCLUDE_BLOCK_START - if (!((neigh_ib_val *) m_val)->m_ah) { - neigh_logdbg("failed creating address handler (errno=%d %m)", errno); - return -1; - } - BULLSEYE_EXCLUDE_BLOCK_END - return 0; -} - -int neigh_ib::destroy_ah() -{ - neigh_logdbg(""); - //For now we whouldn't destroy it - //We cannot destroy ah till each post_send with this ah has ended - //TODO: Need to think how to handle this - for now there will be ah leak - return 0; -#if 0 //unreachable code -#ifndef __COVERITY__ - if (m_val && ((neigh_ib_val *) m_val)->m_ah) { - IF_VERBS_FAILURE(ibv_destroy_ah(((neigh_ib_val *) m_val)->m_ah)) - { - neigh_logdbg("failed destroying address handle (errno=%d %m)", errno); - return -1; - }ENDIF_VERBS_FAILURE; - } - return 0; -#endif -#endif -} - -//================================================================================================================== - -neigh_ib_broadcast::neigh_ib_broadcast(neigh_key key) : neigh_ib(key, false) -{ - neigh_logdbg("Calling rdma_create_id"); - IF_RDMACM_FAILURE(rdma_create_id(g_p_neigh_table_mgr->m_neigh_cma_event_channel, &m_cma_id, (void *)this, m_rdma_port_space)) - { - neigh_logerr("Failed in rdma_create_id (errno=%d %m)", errno); - return; - } ENDIF_RDMACM_FAILURE; - - - neigh_logdbg("Calling rdma_bind_addr"); - struct sockaddr_in local_sockaddr; - local_sockaddr.sin_family = AF_INET; - local_sockaddr.sin_port = INPORT_ANY; - local_sockaddr.sin_addr.s_addr = m_p_dev->get_local_addr(); - - IF_RDMACM_FAILURE(rdma_bind_addr(m_cma_id, (struct sockaddr*)&local_sockaddr)) { - neigh_logerr("Failed in rdma_bind_addr (src=%d.%d.%d.%d) (errno=%d %m)", NIPQUAD(m_p_dev->get_local_addr()), errno); - return; - } ENDIF_RDMACM_FAILURE; - - build_mc_neigh_val(); - - m_state = true; -} - -void neigh_ib_broadcast::build_mc_neigh_val() -{ - m_val = new neigh_ib_val; - if(m_val == NULL) { - neigh_logerr("Failed allocating m_val"); - return; - } - - if (m_cma_id->verbs == NULL) { - neigh_logdbg("m_cma_id->verbs is NULL"); - return; - } - - m_val->m_l2_address = new IPoIB_addr(((m_p_dev->get_br_address())->get_address())); - if (m_val->m_l2_address == NULL) { - neigh_logerr("Failed allocating m_val->m_l2_address"); - return; - } - - ((neigh_ib_val *) m_val)->m_qkey = IPOIB_QKEY; - - memset(&((neigh_ib_val *) m_val)->m_ah_attr, 0, sizeof(((neigh_ib_val *) m_val)->m_ah_attr)); - memcpy( ((neigh_ib_val *) m_val)->m_ah_attr.grh.dgid.raw , &((m_val->m_l2_address->get_address())[4]), 16*sizeof(char)); - - ((neigh_ib_val *) m_val)->m_ah_attr.dlid = 0xc000; - ((neigh_ib_val *) m_val)->m_ah_attr.static_rate = 0x3; - ((neigh_ib_val *) m_val)->m_ah_attr.port_num = m_cma_id->port_num; - ((neigh_ib_val *) m_val)->m_ah_attr.is_global = 0x1; - - if(find_pd()) { - neigh_logerr("Failed find_pd()"); - return; - } - - if (create_ah()) - return; - - neigh_logdbg("IB broadcast neigh params are : ah=%p, qkey=%#x, sl=%#x, rate=%#x, port_num = %#x, qpn=%#x, dlid=%#x dgid = " IPOIB_HW_ADDR_PRINT_FMT_16, - ((neigh_ib_val *) m_val)->m_ah, ((neigh_ib_val *) m_val)->m_qkey, ((neigh_ib_val *) m_val)->m_ah_attr.sl, - ((neigh_ib_val *) m_val)->m_ah_attr.static_rate,((neigh_ib_val *) m_val)->m_ah_attr.port_num, - ((neigh_ib_val *) m_val)->get_qpn(), ((neigh_ib_val *) m_val)->m_ah_attr.dlid, IPOIB_HW_ADDR_PRINT_ADDR_16(((neigh_ib_val *) m_val)->m_ah_attr.grh.dgid.raw) ); - - -} - -bool neigh_ib_broadcast::get_peer_info(neigh_val * p_val) -{ - neigh_logfunc("calling neigh_entry get_peer_info. state = %d", m_state); - if (p_val == NULL) { - neigh_logdbg("p_val is NULL, return false"); - return false; - } - - auto_unlocker lock(m_lock); - if (m_state) { - neigh_logdbg("There is a valid val"); - *p_val = *m_val; - return m_state; - } - - return false; -} - -int neigh_ib_broadcast::send(neigh_send_info &s_info) -{ - NOT_IN_USE(s_info); - neigh_logerr("We should not call for this function, something is wrong"); - return false; -} - -void neigh_ib_broadcast::send_arp() -{ - neigh_logerr("We should not call for this function, something is wrong"); -} diff --git a/src/vma/proto/neighbour.h b/src/vma/proto/neighbour.h index a329e364b..5b6e82a7f 100644 --- a/src/vma/proto/neighbour.h +++ b/src/vma/proto/neighbour.h @@ -76,7 +76,7 @@ class hash class neigh_val : public tostr { public: - neigh_val(): m_trans_type(VMA_TRANSPORT_UNKNOWN), m_l2_address(NULL){}; + neigh_val(): m_l2_address(NULL){}; virtual ~neigh_val(){}; virtual void zero_all_members() @@ -90,73 +90,16 @@ class neigh_val : public tostr { if (this != &val) { m_l2_address = val.m_l2_address; - m_trans_type = val.m_trans_type; } return *this; } protected: - friend class neigh_entry; - friend class neigh_ib; - friend class neigh_eth; - friend class neigh_ib_broadcast; - transport_type_t m_trans_type; + friend class neigh_entry; + friend class neigh_eth; L2_address* m_l2_address; }; -class neigh_eth_val : public neigh_val -{ -public: - neigh_eth_val() - { - m_trans_type = VMA_TRANSPORT_ETH; - zero_all_members(); - } - - neigh_val & operator=(const neigh_val & val) - { - return neigh_val::operator=(val); - } - -private: - friend class neigh_eth; -}; - -class neigh_ib_val : public neigh_val -{ -public: - neigh_ib_val() : m_ah(NULL) { zero_all_members(); }; - - ibv_ah* get_ah()const { return m_ah; }; - ibv_ah_attr get_ah_attr() const { return m_ah_attr; }; - uint32_t get_qkey() const { return m_qkey; }; - uint32_t get_qpn() const - { - if (m_l2_address) - return(((IPoIB_addr *) m_l2_address)->get_qpn()); - else - return 0; - } - - neigh_val & operator=(const neigh_val & val); - -private: - friend class neigh_ib; - friend class neigh_ib_broadcast; - - ibv_ah_attr m_ah_attr; - ibv_ah* m_ah; - uint32_t m_qkey; - - void zero_all_members() - { - memset(&m_ah_attr, 0, sizeof(m_ah_attr)); - //m_ah = NULL; - m_qkey = 0; - neigh_val::zero_all_members(); - } -}; - /* neigh_entry inherits from cache_entry_subject where * Key = address (peer IP) * Val = class neigh_val @@ -194,14 +137,13 @@ class neigh_entry : public cache_entry_subject, public e EV_ADDR_RESOLVED, EV_PATH_RESOLVED, EV_ERROR, - EV_TIMEOUT_EXPIRED, // For IB MC join EV_UNHANDLED, EV_LAST }; friend class neighbour_table_mgr; - neigh_entry (neigh_key key, transport_type_t type, bool is_init_resources = true); + neigh_entry (neigh_key key, bool is_init_resources = true); virtual ~neigh_entry(); //Overwrite cach_entry virtual function @@ -243,7 +185,6 @@ class neigh_entry : public cache_entry_subject, public e enum rdma_port_space m_rdma_port_space; state_machine* m_state_machine; type m_type; // UC / MC - transport_type_t m_trans_type; bool m_state; unsent_queue_t m_unsent_queue; //Counter to sign that KickStart was already generated in ERROR_ST @@ -308,63 +249,6 @@ class neigh_entry : public cache_entry_subject, public e bool post_send_tcp(neigh_send_data *n_send_data); }; -class neigh_ib : public neigh_entry, public event_handler_ibverbs -{ -public: - friend class neighbour_table_mgr; - neigh_ib(neigh_key key, bool is_init_resources = true); - ~neigh_ib(); - - static void dofunc_enter_arp_resolved(const sm_info_t& func_info); - static void dofunc_enter_path_resolved(const sm_info_t& func_info); - -protected: - ibv_pd* m_pd; - - int find_pd(); - int create_ah(); - int destroy_ah(); - virtual int build_mc_neigh_val(struct rdma_cm_event* event_data, uint32_t & wait_after_join_msec); - -private: - - //Implementation of pure virtual functions - void handle_event_ibverbs_cb(void* ev_data, void* ctx); - void handle_timer_expired(void* user_data); - - // Overriding neigh_entry priv_enter_not_active - void priv_enter_not_active(); - void priv_enter_error(); - int priv_enter_arp_resolved(); - int priv_enter_path_resolved(struct rdma_cm_event* event_data, uint32_t & wait_after_join_msec); - virtual bool priv_handle_neigh_is_l2_changed(address_t); - // Overriding neigh_entry priv_enter_ready - int priv_enter_ready(); - - int handle_enter_arp_resolved_uc(); - int handle_enter_arp_resolved_mc(); - int build_uc_neigh_val(struct rdma_cm_event* event_data, uint32_t & wait_after_join_msec); - - event_t ibverbs_event_mapping(void* p_event_info); - virtual bool post_send_arp(bool); - virtual bool prepare_to_send_packet(header *); - - const uint32_t m_n_sysvar_wait_after_join_msec; -}; - -class neigh_ib_broadcast : public neigh_ib -{ -public: - neigh_ib_broadcast(neigh_key key); - virtual int send(neigh_send_info & s_info); - virtual bool get_peer_info(neigh_val * p_val); - virtual bool is_deletable() { return false; }; - -private: - void build_mc_neigh_val(); - virtual void send_arp(); -}; - class neigh_eth : public neigh_entry { public: diff --git a/src/vma/proto/neighbour_observer.h b/src/vma/proto/neighbour_observer.h deleted file mode 100644 index 07703bf35..000000000 --- a/src/vma/proto/neighbour_observer.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause - */ - - - -#ifndef NEIGHBOUR_OBSERVER_H -#define NEIGHBOUR_OBSERVER_H - -#include "vma/util/sys_vars.h" -#include "vma/infra/subject_observer.h" - -class neigh_observer : public observer -{ -public: - virtual transport_type_t get_obs_transport_type() const = 0; -}; - -#endif /* NEIGHBOUR_OBSERVER_H */ diff --git a/src/vma/proto/neighbour_table_mgr.cpp b/src/vma/proto/neighbour_table_mgr.cpp index d196aec25..0aa4da408 100644 --- a/src/vma/proto/neighbour_table_mgr.cpp +++ b/src/vma/proto/neighbour_table_mgr.cpp @@ -12,8 +12,6 @@ #include "vma/netlink/netlink_wrapper.h" #include "vma/event/netlink_event.h" #include "vma/proto/neighbour_table_mgr.h" - -#include "vma/proto/neighbour_observer.h" #include "vma/dev/net_device_table_mgr.h" #define MODULE_NAME "ntm:" @@ -68,35 +66,9 @@ bool neigh_table_mgr::register_observer(neigh_key key, neigh_entry* neigh_table_mgr::create_new_entry(neigh_key neigh_key, const observer* new_observer) { - observer * tmp = const_cast(new_observer); - const neigh_observer * dst = dynamic_cast(tmp) ; - - BULLSEYE_EXCLUDE_BLOCK_START - if (dst == NULL) { - //TODO: Need to add handling of this case - neigh_mgr_logpanic("dynamic_casr failed, new_observer type is not neigh_observer"); - } - BULLSEYE_EXCLUDE_BLOCK_END - - - transport_type_t transport = dst->get_obs_transport_type(); - - if (transport == VMA_TRANSPORT_IB) { - if(IS_BROADCAST_N(neigh_key.get_in_addr())){ - neigh_mgr_logdbg("Creating new neigh_ib_broadcast"); - return (new neigh_ib_broadcast(neigh_key)); - } - neigh_mgr_logdbg("Creating new neigh_ib"); - return (new neigh_ib(neigh_key)); - } - else if (transport == VMA_TRANSPORT_ETH) { - neigh_mgr_logdbg("Creating new neigh_eth"); - return (new neigh_eth(neigh_key)); - } - else { - neigh_mgr_logdbg("Cannot create new entry, transport type is UNKNOWN"); - return NULL; - } + NOT_IN_USE(new_observer); + neigh_mgr_logdbg("Creating new neigh_eth"); + return (new neigh_eth(neigh_key)); } void neigh_table_mgr::notify_cb(event *ev) diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index 772672402..5e22fc75e 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -391,14 +391,7 @@ void route_table_mgr::update_entry(INOUT route_entry* p_ent, bool b_register_to_ rt_mgr_logdbg("Disabling Offload for route_entry '%s' - this is BC address", p_ent->to_str().c_str()); // Need to route traffic to/from OS // Prevent registering of net_device to route entry - } - // Check if: Local loopback over Ethernet case which was not supported before OFED 2.1 - /*else if (p_ndv && (p_ndv->get_transport_type() == VMA_TRANSPORT_ETH) && (peer_ip == src_addr)) { - rt_mgr_logdbg("Disabling Offload for route_entry '%s' - this is an Ethernet unicast loopback route", p_ent->to_str().c_str()); - // Need to route traffic to/from OS - // Prevent registering of net_device to route entry - }*/ - else { + } else { // register to net device for bonding events p_ent->register_to_net_device(); } diff --git a/src/vma/sock/sockinfo.h b/src/vma/sock/sockinfo.h index f83402130..e39f1619d 100644 --- a/src/vma/sock/sockinfo.h +++ b/src/vma/sock/sockinfo.h @@ -345,24 +345,6 @@ class sockinfo : public socket_fd_api, public pkt_rcvr_sink, public pkt_sndr_sou socket_fd_api::notify_epoll_context((uint32_t)events); } - // This function validates the ipoib's properties - // Input params: - // 1. IF name (can be alias) - // 2. IF flags - // 3. general path to ipoib property file (for example: /sys/class/net/%s/mtu) - // 4. the expected value of the property - // 5. size of the property - // Output params: - // 1. property sysfs filename - // 2. physical IF name (stripped alias) - // Return Value - // Type: INT - // Val: -1 Reading from the sys file failed - // 1 Reading succeeded but the actual prop value != expected - // 0 Reading succeeded and acutal ptop value == expected one - //TODO need to copy this function from util - //int validate_ipoib_prop(char* ifname, unsigned int ifflags, const char param_file[], const char *val, int size, char *filename, char * base_ifname); - inline void fetch_peer_info(sockaddr_in *p_peer_addr, sockaddr_in *__from, socklen_t *__fromlen) { *__from = *p_peer_addr; diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index cb8b8d491..980454d4c 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -34,8 +34,6 @@ #include "vma/proto/vma_lwip.h" #include "vma/proto/route_table_mgr.h" #include "vma/proto/rule_table_mgr.h" -#include "vma/proto/igmp_mgr.h" - #include "vma/proto/neighbour_table_mgr.h" #include "vma/netlink/netlink_wrapper.h" #include "vma/event/command.h" @@ -571,7 +569,6 @@ void mce_sys_var::get_env_params() thread_mode = MCE_DEFAULT_THREAD_MODE; buffer_batching_mode = MCE_DEFAULT_BUFFER_BATCHING_MODE; mem_alloc_type = MCE_DEFAULT_MEM_ALLOC_TYPE; - enable_ipoib = MCE_DEFAULT_IPOIB_FLAG; enable_socketxtreme = MCE_DEFAULT_SOCKETXTREME; handle_fork = MCE_DEFAULT_FORK_SUPPORT; handle_bf = MCE_DEFAULT_BF_FLAG; @@ -1198,9 +1195,6 @@ void mce_sys_var::get_env_params() if ((env_ptr = getenv(SYS_VAR_FORK)) != NULL) handle_fork = atoi(env_ptr) ? true : false; - if((env_ptr = getenv(SYS_VAR_IPOIB )) != NULL) - enable_ipoib = atoi(env_ptr) ? true : false; - if ((env_ptr = getenv(SYS_VAR_CLOSE_ON_DUP2)) != NULL) close_on_dup2 = atoi(env_ptr) ? true : false; diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 1d53da17b..4420443e3 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -100,26 +100,6 @@ typedef enum { BUFFER_BATCHING_LAST, } buffer_batching_mode_t; -// See ibv_transport_type for general verbs transport types -typedef enum { - VMA_TRANSPORT_UNKNOWN = -1, - VMA_TRANSPORT_IB = 0, - VMA_TRANSPORT_ETH -} transport_type_t; - -static inline const char* priv_vma_transport_type_str(transport_type_t transport_type) -{ - BULLSEYE_EXCLUDE_BLOCK_START - switch (transport_type) { - case VMA_TRANSPORT_IB: return "IB"; - case VMA_TRANSPORT_ETH: return "ETH"; - case VMA_TRANSPORT_UNKNOWN: - default: break; - } - return "UNKNOWN"; - BULLSEYE_EXCLUDE_BLOCK_END -} - typedef enum { MSS_FOLLOW_MTU = 0 } mss_mode_t; @@ -368,8 +348,6 @@ struct mce_sys_var { cpu_set_t internal_thread_affinity; bool internal_thread_arm_cq_enabled; bool handle_bf; - - bool enable_ipoib; bool enable_socketxtreme; uint32_t timer_netlink_update_msec; @@ -513,9 +491,7 @@ extern mce_sys_var & safe_mce_sys(); #define SYS_VAR_SPEC "VMA_SPEC" #define SYS_VAR_SPEC_PARAM1 "VMA_SPEC_PARAM1" #define SYS_VAR_SPEC_PARAM2 "VMA_SPEC_PARAM2" - -#define SYS_VAR_IPOIB "VMA_IPOIB" -#define SYS_VAR_SOCKETXTREME "VMA_SOCKETXTREME" +#define SYS_VAR_SOCKETXTREME "VMA_SOCKETXTREME" #define SYS_VAR_INTERNAL_THREAD_AFFINITY "VMA_INTERNAL_THREAD_AFFINITY" #define SYS_VAR_INTERNAL_THREAD_CPUSET "VMA_INTERNAL_THREAD_CPUSET" @@ -647,21 +623,20 @@ extern mce_sys_var & safe_mce_sys(); #define MCE_MAX_NUM_SGE (32) #define MCE_MIN_RX_NUM_POLLS (-1) #define MCE_MAX_RX_NUM_POLLS (100000000) -#define MCE_MIN_RX_PREFETCH_BYTES (32) /* Just enough for headers (IPoIB+IP+UDP)*/ +#define MCE_MIN_RX_PREFETCH_BYTES (32) #define MCE_MAX_RX_PREFETCH_BYTES (2044) #define MCE_RX_CQ_DRAIN_RATE_DISABLED (0) #define MCE_CQ_DRAIN_INTERVAL_DISABLED (0) #define MCE_CQ_ADAPTIVE_MODERATION_DISABLED (0) #define MCE_MIN_CQ_POLL_BATCH (1) #define MCE_MAX_CQ_POLL_BATCH (128) -#define MCE_DEFAULT_IPOIB_FLAG (1) #define MCE_DEFAULT_SOCKETXTREME (false) #define MCE_DEFAULT_RX_POLL_ON_TX_TCP (false) #define MCE_DEFAULT_TRIGGER_DUMMY_SEND_GETSOCKNAME (false) #define MCE_DEFAULT_DEFERRED_CLOSE (false) #define MCE_ALIGNMENT ((unsigned long)63) -#define RX_BUF_SIZE(mtu) ((mtu) + IPOIB_HDR_LEN + GRH_HDR_LEN) // RX buffers are larger in IB +#define RX_BUF_SIZE(mtu) ((mtu) + ETH_VLAN_HDR_LEN) #define TX_BUF_SIZE(mtu) ((mtu) + 92) // Tx buffers are larger in Ethernet (they include L2 for RAW QP) #define NUM_TX_WRE_TO_SIGNAL_MAX 64 #define NUM_RX_WRE_TO_POST_RECV_MAX 1024 @@ -670,7 +645,6 @@ extern mce_sys_var & safe_mce_sys(); #define IFTYPE_PARAM_FILE "/sys/class/net/%s/type" #define IFADDR_MTU_PARAM_FILE "/sys/class/net/%s/mtu" #define UMCAST_PARAM_FILE "/sys/class/net/%s/umcast" -#define IPOIB_MODE_PARAM_FILE "/sys/class/net/%s/mode" #define VERBS_DEVICE_PORT_PARAM_FILE "/sys/class/net/%s/dev_port" #define VERBS_DEVICE_ID_PARAM_FILE "/sys/class/net/%s/dev_id" #define BONDING_MODE_PARAM_FILE "/sys/class/net/%s/bonding/mode" diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 6a436a4c4..f34c9cb5f 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -94,8 +94,8 @@ int get_base_interface_name(const char *if_name, char *base_ifname, size_t sz_ba return 0; } - unsigned char vlan_if_address[MAX_L2_ADDR_LEN]; - const size_t ADDR_LEN = get_local_ll_addr(if_name, vlan_if_address, MAX_L2_ADDR_LEN, false); + unsigned char vlan_if_address[ETH_ALEN]; + const size_t ADDR_LEN = get_local_ll_addr(if_name, vlan_if_address, ETH_ALEN, false); if (ADDR_LEN > 0) { struct ifaddrs *ifaddr, *ifa; int rc = getifaddrs(&ifaddr); @@ -125,12 +125,9 @@ int get_base_interface_name(const char *if_name, char *base_ifname, size_t sz_ba unsigned char tmp_mac[ADDR_LEN]; if (ADDR_LEN == get_local_ll_addr(ifa->ifa_name, tmp_mac, ADDR_LEN, false)) { - int size_to_compare; - if (ADDR_LEN == ETH_ALEN) size_to_compare = ETH_ALEN; - else size_to_compare = IPOIB_HW_ADDR_GID_LEN; - int offset = ADDR_LEN - size_to_compare; - if (0 == memcmp(vlan_if_address + offset, tmp_mac + offset, size_to_compare) && 0 == (ifa->ifa_flags & IFF_MASTER)) { - // A bond name cannot be a base name of an interface even if both have the same MAC(ethernet) or GID(IB) addresses + int offset = ADDR_LEN - ETH_ALEN; + if (0 == memcmp(vlan_if_address + offset, tmp_mac + offset, ETH_ALEN) && 0 == (ifa->ifa_flags & IFF_MASTER)) { + // A bond name cannot be a base name of an interface even if both have the same MAC(ethernet) snprintf(base_ifname, sz_base_ifname, "%s" ,ifa->ifa_name); freeifaddrs(ifaddr); __log_dbg("Found base_ifname %s for interface %s", base_ifname, if_name); @@ -753,19 +750,12 @@ size_t get_local_ll_addr(IN const char * ifname, OUT unsigned char* addr, IN int if (addr_len < bytes_len) return 0; // error not enough room was provided by caller BULLSEYE_EXCLUDE_BLOCK_END - if (bytes_len == IPOIB_HW_ADDR_LEN && addr_len >= IPOIB_HW_ADDR_LEN) { // addr_len >= IPOIB_HW_ADDR_LEN is just for silencing coverity - sscanf(buf, IPOIB_HW_ADDR_SSCAN_FMT, IPOIB_HW_ADDR_SSCAN(addr)); - __log_dbg("found IB %s address " IPOIB_HW_ADDR_PRINT_FMT " for interface %s", is_broadcast?"BR":"UC", IPOIB_HW_ADDR_PRINT_ADDR(addr), ifname); - } - else if (bytes_len == ETH_ALEN) { - sscanf(buf, ETH_HW_ADDR_SSCAN_FMT, ETH_HW_ADDR_SSCAN(addr)); + if (bytes_len == ETH_ALEN && (0 < sscanf(buf, ETH_HW_ADDR_SSCAN_FMT, ETH_HW_ADDR_SSCAN(addr)))) { __log_dbg("found ETH %s address" ETH_HW_ADDR_PRINT_FMT " for interface %s", is_broadcast?"BR":"UC", ETH_HW_ADDR_PRINT_ADDR(addr), ifname); - } - else { - return 0; // error + return bytes_len; // Success } - return bytes_len; // success + return 0; // Failure } bool check_bond_device_exist(const char* ifname) @@ -1025,43 +1015,6 @@ bool get_interface_oper_state(IN const char* interface_name, OUT char* curr_stat return true; } -int validate_ipoib_prop(const char* ifname, unsigned int ifflags, - const char prop_file[], const char *expected_val, - int val_size, OUT char *filename, OUT char* base_ifname) -{ - char mode[10]; - char ifname_tmp[IFNAMSIZ]; - char active_slave_name[IFNAMSIZ]; - - // In case of alias (ib0:xx) take only the device name for that interface (ib0) - strncpy(ifname_tmp, ifname, sizeof(ifname_tmp) - 1); - ifname_tmp[sizeof(ifname_tmp) - 1] = '\0'; - base_ifname = strtok(ifname_tmp, ":"); - - if (ifflags & IFF_MASTER) { - // this is a bond interface, let find the slave - BULLSEYE_EXCLUDE_BLOCK_START - if (!get_bond_active_slave_name(base_ifname, active_slave_name, IFNAMSIZ)) { - return -1; - } - BULLSEYE_EXCLUDE_BLOCK_END - sprintf(filename, prop_file, active_slave_name); - } else { - sprintf(filename, prop_file, base_ifname); - } - - BULLSEYE_EXCLUDE_BLOCK_START - if (priv_read_file(filename, mode, val_size) <= 0) { - return -1; - } - BULLSEYE_EXCLUDE_BLOCK_END - if (strncmp(mode, expected_val, val_size)) { - return 1; - } else { - return 0; - } -} - bool validate_user_has_cap_net_raw_privliges() { #ifdef HAVE_SYS_CAPABILITY_H diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index d3f7a36df..f4c07408b 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -243,11 +243,6 @@ bool check_device_name_ib_name(const char* ifname, const char* ibname); bool check_netvsc_device_exist(const char* ifname); bool get_netvsc_slave(IN const char* ifname, OUT char* slave_name, OUT unsigned int &slave_flags); bool get_interface_oper_state(IN const char* interface_name, OUT char* slaves_list, IN int sz); - -int validate_ipoib_prop(const char* ifname, unsigned int ifflags, - const char prop_file[], const char *expected_val, - int val_size, char *filename, char* base_ifname); - bool validate_user_has_cap_net_raw_privliges(); size_t default_huge_page_size(void); @@ -307,52 +302,6 @@ inline void create_multicast_mac_from_ip(unsigned char* mc_mac, in_addr_t ip) mc_mac[5] = (uint8_t)((ip>>24)&0xff); } -static inline void create_mgid_from_ipv4_mc_ip(uint8_t *mgid, uint16_t pkey, uint32_t ip) -{ -// +--------+----+----+-----------------+---------+-------------------+ -// | 8 | 4 | 4 | 16 bits | 16 bits | 80 bits | -// +--------+----+----+-----------------+---------+-------------------+ -// |11111111|0001|scop||< P_Key >| group ID | -// +--------+----+----+-----------------+---------+-------------------+ -// |11111111|0001|0010|01000000000011011| | group ID | -// +--------+----+----+-----------------+---------+-------------------+ - - //Fixed for multicast - mgid[0] = 0xff; - mgid[1] = 0x12; - - //IPoIB signature: 0x401b for ipv4, 0x601b for ipv6 - mgid[2] = 0x40; - mgid[3] = 0x1b; - - //P_Key - mgid[4] = (((unsigned char *)(&pkey))[0]); - /* cppcheck-suppress objectIndex */ - mgid[5] = (((unsigned char *)(&pkey))[1]); - - //group ID - relevant only for ipv4 - mgid[6] = 0x00; - mgid[7] = 0x00; - mgid[8] = 0x00; - mgid[9] = 0x00; - mgid[10] = 0x00; - mgid[11] = 0x00; - mgid[12] = (uint8_t)((ip)&0x0f); - mgid[13] = (uint8_t)((ip>>8)&0xff); - mgid[14] = (uint8_t)((ip>>16)&0xff); - mgid[15] = (uint8_t)((ip>>24)&0xff); - - vlog_printf(VLOG_DEBUG, "Translated to mgid: %02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X\n", - ((unsigned char *)(mgid))[0],((unsigned char *)(mgid))[1], - ((unsigned char *)(mgid))[2],((unsigned char *)(mgid))[3], - ((unsigned char *)(mgid))[4],((unsigned char *)(mgid))[5], - ((unsigned char *)(mgid))[6],((unsigned char *)(mgid))[7], - ((unsigned char *)(mgid))[8],((unsigned char *)(mgid))[9], - ((unsigned char *)(mgid))[10],((unsigned char *)(mgid))[11], - ((unsigned char *)(mgid))[12],((unsigned char *)(mgid))[13], - ((unsigned char *)(mgid))[14],((unsigned char *)(mgid))[15]); -} - /** * special design for the rx loop. */ diff --git a/src/vma/util/vma_stats.h b/src/vma/util/vma_stats.h index 51d49a25b..7102228e6 100644 --- a/src/vma/util/vma_stats.h +++ b/src/vma/util/vma_stats.h @@ -210,15 +210,13 @@ typedef struct { typedef enum { RING_ETH = 0, RING_ETH_DIRECT, - RING_TAP, - RING_IB + RING_TAP } ring_type_t; static const char * const ring_type_str[] = { "RING_ETH", "RING_ETH_DIRECT", - "RING_TAP", - "RING_IB" + "RING_TAP" }; // Ring stat info diff --git a/src/vma/util/vtypes.h b/src/vma/util/vtypes.h index 59b30ebfb..060510638 100644 --- a/src/vma/util/vtypes.h +++ b/src/vma/util/vtypes.h @@ -80,66 +80,16 @@ static inline uint64_t ntohll(uint64_t x) { return x; } ((unsigned char *)(__addr))[2], ((unsigned char *)(__addr))[3], \ ((unsigned char *)(__addr))[4], ((unsigned char *)(__addr))[5] - -#define IPOIB_HW_ADDR_PRINT_FMT_16 "%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X" -#define IPOIB_HW_ADDR_PRINT_ADDR_16(__addr) \ - ((unsigned char *)(__addr))[0],((unsigned char *)(__addr))[1], \ - ((unsigned char *)(__addr))[2],((unsigned char *)(__addr))[3], \ - ((unsigned char *)(__addr))[4],((unsigned char *)(__addr))[5], \ - ((unsigned char *)(__addr))[6],((unsigned char *)(__addr))[7], \ - ((unsigned char *)(__addr))[8],((unsigned char *)(__addr))[9], \ - ((unsigned char *)(__addr))[10],((unsigned char *)(__addr))[11], \ - ((unsigned char *)(__addr))[12],((unsigned char *)(__addr))[13], \ - ((unsigned char *)(__addr))[14],((unsigned char *)(__addr))[15] - -#define IPOIB_HW_ADDR_PRINT_FMT "%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X" -#define IPOIB_HW_ADDR_PRINT_ADDR(__addr) \ - ((unsigned char *)(__addr))[0],((unsigned char *)(__addr))[1], \ - ((unsigned char *)(__addr))[2],((unsigned char *)(__addr))[3], \ - ((unsigned char *)(__addr))[4],((unsigned char *)(__addr))[5], \ - ((unsigned char *)(__addr))[6],((unsigned char *)(__addr))[7], \ - ((unsigned char *)(__addr))[8],((unsigned char *)(__addr))[9], \ - ((unsigned char *)(__addr))[10],((unsigned char *)(__addr))[11], \ - ((unsigned char *)(__addr))[12],((unsigned char *)(__addr))[13], \ - ((unsigned char *)(__addr))[14],((unsigned char *)(__addr))[15], \ - ((unsigned char *)(__addr))[16],((unsigned char *)(__addr))[17], \ - ((unsigned char *)(__addr))[18],((unsigned char *)(__addr))[19] - #define ETH_HW_ADDR_SSCAN_FMT "%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX" #define ETH_HW_ADDR_SSCAN(__addr) \ &(__addr[0]),&(__addr[1]), \ &(__addr[2]),&(__addr[3]), \ &(__addr[4]),&(__addr[5]) - -#define IPOIB_HW_ADDR_SSCAN_FMT "%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX" -#define IPOIB_HW_ADDR_SSCAN(__addr) \ - &(__addr[0]),&(__addr[1]), \ - &(__addr[2]),&(__addr[3]), \ - &(__addr[4]),&(__addr[5]), \ - &(__addr[6]),&(__addr[7]), \ - &(__addr[8]),&(__addr[9]), \ - &(__addr[10]),&(__addr[11]), \ - &(__addr[12]),&(__addr[13]), \ - &(__addr[14]),&(__addr[15]), \ - &(__addr[16]),&(__addr[17]), \ - &(__addr[18]),&(__addr[19]) - #define ETH_HDR_LEN (ETH_HLEN) #define ETH_VLAN_HDR_LEN (ETH_HDR_LEN + sizeof(struct vlanhdr)) -#define GRH_HDR_LEN (sizeof(struct ibv_grh)) -#define IPOIB_HDR_LEN (sizeof(struct ipoibhdr)) -#define IPOIB_HEADER ((uint32_t)0x08000000) -#define IPOIB_ARP_HEADER ((uint32_t)0x08060000) -#define IPOIB_HW_ADDR_LEN 20 -#define IPOIB_HW_ADDR_GID_LEN 16 -#define MAX_L2_ADDR_LEN (MAX(IPOIB_HW_ADDR_LEN, ETH_ALEN)) #define IPV4_VERSION 0x4 #define IPV4_HDR_LEN_WITHOUT_OPTIONS (sizeof(struct iphdr)) // Ip Header without any options -#define IPV4_IGMP_HDR_LEN (IPV4_HDR_LEN_WITHOUT_OPTIONS + sizeof(uint32_t)) -#define IPV4_IGMP_HDR_LEN_WORDS (IPV4_IGMP_HDR_LEN / sizeof(uint32_t)) -#define IGMP_HDR_LEN (sizeof(struct igmphdr)) -#define IGMP_HDR_LEN_WORDS (IGMP_HDR_LEN / sizeof(uint32_t)) #define DONT_FRAGMENT_FLAG 0x4000 #define MORE_FRAGMENTS_FLAG 0x2000 #define FRAGMENT_OFFSET 0x1FFF @@ -151,10 +101,6 @@ static inline uint64_t ntohll(uint64_t x) { return x; } #define BROADCAST_IP "255.255.255.255" -#ifndef ARPHRD_INFINIBAND -#define ARPHRD_INFINIBAND 32 /* InfiniBand */ -#endif - #ifndef ARPHRD_ETHER #define ARPHRD_ETHER 1 /* Ethernet 10Mbps */ #endif @@ -167,10 +113,6 @@ static inline uint64_t ntohll(uint64_t x) { return x; } #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ #endif -struct __attribute__ ((packed)) ipoibhdr { - uint32_t ipoib_header; -}; - struct __attribute__((packed)) vlanhdr { uint16_t h_vlan_TCI; /* Encapsulates priority and VLAN ID */ uint16_t h_vlan_encapsulated_proto; /* packet type ID field (or len) */ From 86c40fcef08c7f4f8448051da7559d0f3c63d9d1 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Sun, 23 Nov 2025 16:42:14 +0000 Subject: [PATCH 116/150] issue: 4664028 Adding fair-sched to vg test Valgrind is single threaded app and does not handle well spin locks. Adding fair-sched=yes allows Sockperf main thread and VMA internal thread to operate without being blocked by Valgrind. Signed-off-by: Alexander Grissik --- contrib/jenkins_tests/vg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/jenkins_tests/vg.sh b/contrib/jenkins_tests/vg.sh index af4c4c9b8..75b8cc861 100755 --- a/contrib/jenkins_tests/vg.sh +++ b/contrib/jenkins_tests/vg.sh @@ -68,7 +68,7 @@ for test_link in $test_ip_list; do test_name=${test_in}-${test_n} vg_args="-v \ - --memcheck:leak-check=full --track-origins=yes --read-var-info=yes \ + --memcheck:leak-check=full --track-origins=yes --fair-sched=yes --read-var-info=yes \ --errors-for-leak-kinds=definite --show-leak-kinds=definite,possible \ --undef-value-errors=yes --track-fds=yes --num-callers=32 \ --fullpath-after=${WORKSPACE} --gen-suppressions=all \ From 6bfbe89d28a500174ff62994ded872a931e7170b Mon Sep 17 00:00:00 2001 From: Noam Tsemah Date: Mon, 27 Oct 2025 16:15:41 +0200 Subject: [PATCH 117/150] [CI] issue: 4705805 Add antivirus scan to release job Add antivirus scan step to the release job to scan release packages. Signed-off-by: Noam Tsemah --- .ci/antivirus.sh | 37 ++++++++++++++++++++++++++++ .ci/do_release.sh | 12 ++++----- .ci/pipeline/release_jjb.yaml | 6 ++++- .ci/pipeline/release_matrix_job.yaml | 13 +++++++++- 4 files changed, 60 insertions(+), 8 deletions(-) create mode 100755 .ci/antivirus.sh diff --git a/.ci/antivirus.sh b/.ci/antivirus.sh new file mode 100755 index 000000000..26d90d3e7 --- /dev/null +++ b/.ci/antivirus.sh @@ -0,0 +1,37 @@ +#!/bin/bash -uxe + +echo -e "\n\n**********************************" +echo -e "\n\nStarting antivirus.sh script...\n\n" +echo -e "**********************************\n\n" + +[[ -z "${WORKSPACE:-}" ]] && { echo "ERROR: WORKSPACE variable is empty"; exit 1; } +[[ ! -d "${WORKSPACE}" ]] && { echo "ERROR: ${WORKSPACE} does not exist"; exit 1; } +[[ -z "${release_folder:-}" ]] && { echo "ERROR: release_folder variable is empty"; exit 1; } +[[ ! -d "${release_folder}" ]] && { echo "ERROR: ${release_folder} does not exist"; exit 1; } +[[ -z "${release_tag:-}" ]] && { echo "ERROR: release_tag variable is empty"; exit 1; } + +if [ -z "${revision:-}" ]; then + echo "WARN: 'revision' was not set, defaulting to 1" + revision=1 +fi + +mkdir -p "${WORKSPACE}/logs/" + +release_src_folder="${release_folder}/vma_v_${release_tag}-0/src" +pkg_name="libvma-${release_tag}-${revision}.src.rpm" +tarball_name="libvma-${release_tag}.tar.gz" +rpm_log="${WORKSPACE}/logs/${pkg_name}_antivirus.log" +tarball_log="${WORKSPACE}/logs/${tarball_name}_antivirus.log" + +[[ ! -d "${release_src_folder}" ]] && { echo "ERROR: ${release_src_folder} does not exist."; exit 1; } +[[ ! -e "${release_src_folder}/${pkg_name}" ]] && { echo "ERROR: ${release_src_folder}/${pkg_name} does not exist."; exit 1; } +[[ ! -e "${release_src_folder}/${tarball_name}" ]] && { echo "ERROR: ${release_src_folder}/${tarball_name} does not exist."; exit 1; } + +/auto/GLIT/SCRIPTS/HELPERS/antivirus-scan.sh "${release_src_folder}/${pkg_name}" |& tee "${rpm_log}" +/auto/GLIT/SCRIPTS/HELPERS/antivirus-scan.sh "${release_src_folder}/${tarball_name}" |& tee "${tarball_log}" + +if grep -q 'Possibly Infected:............. 0' "${rpm_log}" && grep -q 'Possibly Infected:............. 0' "${tarball_log}"; then + exit 0 +else + exit 1 +fi diff --git a/.ci/do_release.sh b/.ci/do_release.sh index 23b7f1f4e..82d056c62 100755 --- a/.ci/do_release.sh +++ b/.ci/do_release.sh @@ -7,7 +7,7 @@ echo "**********************************" set -o pipefail print_help() { - set +xv + set +xv echo -e "\n\n" echo "--------------------------------------------------" echo "Usage: release_folder= release_tag= [revision=] [do_release=] $0" @@ -69,16 +69,16 @@ if [ "${do_release}" = true ] ; then exit 1 fi - if [[ -e "${DST_DIR}/${pkg_name}" || -e "${DST_DIR}/${tarball_name}" ]]; then + if [[ -e "${DST_DIR}/${pkg_name}" || -e "${DST_DIR}/${tarball_name}" ]]; then echo "ERROR: [${DST_DIR}/${pkg_name}] or [${DST_DIR}/${tarball_name}] file already exist. Exit" exit 1 fi files_dir=$(pwd) pushd "${release_folder}" || { echo "ERROR: Failed to pushd to ${release_folder}. Exit" ; exit 1; } - sudo -E -u swx-jenkins mkdir -p "$DST_DIR" - sudo -E -u swx-jenkins cp -v "${files_dir}/${pkg_folder}/${pkg_name}" "$DST_DIR" - sudo -E -u swx-jenkins cp -v "${files_dir}/${pkg_folder}/${tarball_name}" "$DST_DIR" - sudo -E -u swx-jenkins ln -s "${DST_DIR}/${pkg_name}" "${release_folder}/source_rpms/${pkg_name}" + mkdir -p "$DST_DIR" + cp -v "${files_dir}/${pkg_folder}/${pkg_name}" "$DST_DIR" + cp -v "${files_dir}/${pkg_folder}/${tarball_name}" "$DST_DIR" + ln -s "${DST_DIR}/${pkg_name}" "${release_folder}/source_rpms/${pkg_name}" popd || { echo "ERROR: Failed to popd from ${release_folder}. Exit" ; exit 1; } echo "INFO: Release found at $DST_DIR" diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml index 89c3f318f..ff5a3efd2 100644 --- a/.ci/pipeline/release_jjb.yaml +++ b/.ci/pipeline/release_jjb.yaml @@ -34,7 +34,11 @@ - bool: name: "do_release" default: true - description: "Release build packges into the release folder, set to false for debugging" + description: "Release build packages into the release folder, set to false for debugging" + - bool: + name: "do_antivirus" + default: true + description: "Run Antivirus scan." - string: name: "notification_email" default: "{jjb_release_email}" diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml index 0890d393a..afa536617 100644 --- a/.ci/pipeline/release_matrix_job.yaml +++ b/.ci/pipeline/release_matrix_job.yaml @@ -24,6 +24,9 @@ volumes: - {mountPath: /auto/mswg/release/vma, hostPath: /auto/mswg/release/vma} # User profile for release - {mountPath: /var/home/swx-jenkins, hostPath: /labhome/swx-jenkins} + # for Antivirus + - {mountPath: /auto/BACKUP/logs_of_LOGS, hostPath: /auto/BACKUP/logs_of_LOGS} + - {mountPath: /auto/GLIT/SCRIPTS/HELPERS, hostPath: /auto/GLIT/SCRIPTS/HELPERS} empty_volumes: - {mountPath: /tmp/source_rpms, memory: true} @@ -35,7 +38,9 @@ runs_on_dockers: uri: '$arch/$name/release', build_args: '--no-cache', arch: 'x86_64', - tag: '20250128' + tag: '20250128', + runAsUser: '6213', + runAsGroup: '101' } steps: @@ -48,6 +53,12 @@ steps: .ci/do_release.sh archiveArtifacts: pkg/build_pkg.log,pkg/packages/*.rpm + - name: Antivirus + enable: ${do_antivirus} + run: | + env WORKSPACE=$PWD .ci/antivirus.sh + archiveArtifacts: 'logs/' + pipeline_start: shell: action module: groovy From ce25114e6a54fbc5c76f6d41071c07338d9f56df Mon Sep 17 00:00:00 2001 From: Noam Tsemah Date: Wed, 5 Nov 2025 10:52:06 +0200 Subject: [PATCH 118/150] [CI] issue: 4705805 Add secret scan step Make Secrets Scanner run as a step in CI Signed-off-by: Noam Tsemah --- .ci/matrix_job.yaml | 47 +++++++++++++++++++++++++++++---------------- .ci/proj_jjb.yaml | 6 +++++- 2 files changed, 35 insertions(+), 18 deletions(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 241b9d1d1..d069e900f 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -3,7 +3,7 @@ job: LIBVMA step_allow_single_selector: false -registry_host: harbor.mellanox.com +registry_host: nbu-harbor.gtm.nvidia.com registry_auth: swx-infra_harbor_credentials registry_path: /swx-infra/media @@ -17,10 +17,10 @@ kubernetes: arch_table: x86_64: nodeSelector: 'kubernetes.io/arch=amd64' - jnlpImage: 'harbor.mellanox.com/toolbox/c3po-jnlp:latest' + jnlpImage: '${registry_host}/toolbox/c3po-jnlp:latest' aarch64: nodeSelector: 'kubernetes.io/arch=arm64' - jnlpImage: 'harbor.mellanox.com/toolbox/c3po-jnlp:latest' + jnlpImage: '${registry_host}/toolbox/c3po-jnlp:latest' volumes: - {mountPath: /hpc/local/bin, hostPath: /hpc/local/bin} @@ -42,19 +42,20 @@ env: runs_on_dockers: # doca-host - - {name: 'rhel8.6-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/base', category: 'base', arch: 'x86_64'} - - {name: 'rhel9.0-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel9.0/base', category: 'base', arch: 'x86_64'} + - {name: 'rhel8.6-x86_64', url: '${registry_host}/hpcx/x86_64/rhel8.6/base', category: 'base', arch: 'x86_64'} + - {name: 'rhel9.0-x86_64', url: '${registry_host}/hpcx/x86_64/rhel9.0/base', category: 'base', arch: 'x86_64'} - {name: 'rhel9.4-aarch64', file: '.ci/dockerfiles/Dockerfile.rhel9.4', category: 'base', arch: 'aarch64', tag: '20250203', uri: 'vma/$arch/$name/build', build_args: '--build-arg ARCH=aarch64 --no-cache'} - - {name: 'ub24.04-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu24.04/base', category: 'base', arch: 'x86_64'} - - {name: 'ub24.04-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu24.04/base', category: 'base', arch: 'aarch64'} - - {name: 'sl15sp4-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/sles15sp4/base', category: 'base', arch: 'x86_64'} - - {name: 'rhel8.6-inbox-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'base', arch: 'x86_64'} - - {name: 'ub22.04-x86_64', url: 'harbor.mellanox.com/hpcx/x86_64/ubuntu22.04/base', category: 'base', arch: 'x86_64'} - - {name: 'ub22.04-aarch64', url: 'harbor.mellanox.com/hpcx/aarch64/ubuntu22.04/base', category: 'base', arch: 'aarch64'} + - {name: 'ub24.04-x86_64', url: '${registry_host}/hpcx/x86_64/ubuntu24.04/base', category: 'base', arch: 'x86_64'} + - {name: 'ub24.04-aarch64', url: '${registry_host}/hpcx/aarch64/ubuntu24.04/base', category: 'base', arch: 'aarch64'} + - {name: 'sl15sp4-x86_64', url: '${registry_host}/hpcx/x86_64/sles15sp4/base', category: 'base', arch: 'x86_64'} + - {name: 'rhel8.6-inbox-x86_64', url: '${registry_host}/hpcx/x86_64/rhel8.6/builder:inbox', category: 'base', arch: 'x86_64'} + - {name: 'ub22.04-x86_64', url: '${registry_host}/hpcx/x86_64/ubuntu22.04/base', category: 'base', arch: 'x86_64'} + - {name: 'ub22.04-aarch64', url: '${registry_host}/hpcx/aarch64/ubuntu22.04/base', category: 'base', arch: 'aarch64'} # tool - - {name: 'toolbox', url: 'harbor.mellanox.com/hpcx/x86_64/rhel8.6/builder:inbox', category: 'tool', arch: 'x86_64'} + - {name: 'toolbox', url: '${registry_host}/hpcx/x86_64/rhel8.6/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', file: '.ci/dockerfiles/Dockerfile.rhel8.6', category: 'tool', arch: 'x86_64', tag: '20250630', uri: 'vma/$arch/$name/bduck', build_args: '--no-cache --target bduck'} - - {name: 'header-check', url: 'harbor.mellanox.com/toolbox/header_check:0.0.58', category: 'tool', arch: 'x86_64', tag: '0.0.58'} + - {name: 'header-check', url: '${registry_host}/toolbox/header_check:0.0.58', category: 'tool', arch: 'x86_64', tag: '0.0.58'} + - {name: 'secret-scan', url: '${registry_host}/toolbox/secret_scan:0.0.27', arch: 'x86_64', tag: '0.0.27', category: 'tool'} runs_on_agents: - {nodeLabel: 'beni09', category: 'base'} @@ -98,6 +99,18 @@ steps: archiveArtifacts: '*.log,*.tar.gz' parallel: false + - name: Secret Scan + credentialsId: 'mellanox_github_credentials' + enable: ${do_secretscan} + containerSelector: + - "{name: 'secret-scan', category: 'tool'}" + agentSelector: + - "{nodeLabel: 'skip-agent'}" + run: | + env GITHUB_TOKEN=$MELLANOX_GH_TOKEN /opt/nvidia/secret_scan.py --path $WORKSPACE --git-repo $WORKSPACE --report-file secret_scan.html + archiveArtifacts: '*.html' + parallel: false + - name: Install Doca-host containerSelector: - "{category: 'base'}" @@ -105,12 +118,12 @@ steps: - "{nodeLabel: 'skip-agent'}" run: | echo "Installing DOCA: ${DOCA_VERSION} ..." - .ci/scripts/doca_install.sh + .ci/scripts/doca_install.sh - name: Install Doca-host on Tools run: | echo "Installing DOCA: ${DOCA_VERSION} ..." - .ci/scripts/doca_install.sh + .ci/scripts/doca_install.sh containerSelector: - "{name: 'style', category: 'tool'}" agentSelector: @@ -125,7 +138,7 @@ steps: enable: ${do_build} run: | [ "x${do_build}" == "xtrue" ] && action=yes || action=no - env WORKSPACE=$PWD TARGET=${flags} jenkins_test_build=${action} ./contrib/test_jenkins.sh + env WORKSPACE=$PWD TARGET=${flags} jenkins_test_build=${action} ./contrib/test_jenkins.sh parallel: false onfail: | ./.ci/artifacts.sh @@ -320,7 +333,7 @@ steps: .ci/blackduck_source.sh fi archiveArtifacts: 'logs/' - credentialsId: + credentialsId: - "swx-jenkins2-svc-gerrit-ssh-key" - "blackduck_api_token" diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index 52194d4d5..5ee4df328 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -100,12 +100,16 @@ description: "Collect artifacts." - bool: name: "do_blackduck" - default: false + default: false description: "Run BlackDuck." - bool: name: "do_copyrights" default: true description: "Check copyrights in source headers" + - bool: + name: "do_secretscan" + default: true + description: "Check for secrets in source code" triggers: - github-pull-request: cron: 'H/5 * * * *' From 760ef70bd0b6cb3ef13cea93e74f258553289a08 Mon Sep 17 00:00:00 2001 From: Noam Tsemah Date: Thu, 30 Oct 2025 13:41:03 +0200 Subject: [PATCH 119/150] [CI] issue: 4705805 Add Blackduck to release job Signed-off-by: Noam Tsemah --- .ci/blackduck_source.sh | 2 +- .ci/pipeline/release_jjb.yaml | 6 +++++- .ci/pipeline/release_matrix_job.yaml | 27 ++++++++++++++++++++++++++- 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/.ci/blackduck_source.sh b/.ci/blackduck_source.sh index d287491ad..c15dd4015 100755 --- a/.ci/blackduck_source.sh +++ b/.ci/blackduck_source.sh @@ -25,7 +25,7 @@ echo " SRC_PATH: ${PROJECT_SRC_PATH}" # clone BlackDuck [[ -d /tmp/blackduck ]] && rm -rf /tmp/blackduck -sudo -u swx-jenkins git clone -c core.sshCommand="ssh -i ~/.ssh/id_ed25519" -b master --single-branch --depth=1 ssh://git-nbu.nvidia.com:12023/DevOps/Tools/blackduck /tmp/blackduck +git clone -c core.sshCommand="ssh -i ~/.ssh/id_ed25519" -b master --single-branch --depth=1 ssh://git-nbu.nvidia.com:12023/DevOps/Tools/blackduck /tmp/blackduck cd /tmp/blackduck # disable check errors diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml index ff5a3efd2..0dd4d53eb 100644 --- a/.ci/pipeline/release_jjb.yaml +++ b/.ci/pipeline/release_jjb.yaml @@ -39,6 +39,10 @@ name: "do_antivirus" default: true description: "Run Antivirus scan." + - bool: + name: "do_blackduck" + default: true + description: "Run BlackDuck." - string: name: "notification_email" default: "{jjb_release_email}" @@ -47,7 +51,7 @@ name: "conf_file" default: ".ci/pipeline/release_matrix_job.yaml" description: "job config file. Do not change it" - - bool: + - bool: name: "do_dr_build" default: false description: "Build DR weekly" diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml index afa536617..a3643c755 100644 --- a/.ci/pipeline/release_matrix_job.yaml +++ b/.ci/pipeline/release_matrix_job.yaml @@ -16,6 +16,9 @@ kubernetes: nodeSelector: 'kubernetes.io/arch=amd64' jnlpImage: 'nbu-harbor.gtm.nvidia.com/toolbox/c3po-jnlp:latest' +credentials: + - {credentialsId: 'blackduck_api_token', type: 'string', variable: 'BLACKDUCK_API_TOKEN'} + env: MAIL_FROM: jenkins@nvidia.com @@ -42,10 +45,22 @@ runs_on_dockers: runAsUser: '6213', runAsGroup: '101' } + - { + name: 'blackduck', + file: '.ci/dockerfiles/Dockerfile.rhel8.6', + category: 'tool', + arch: 'x86_64', + tag: '20250630', + uri: 'vma/$arch/$name/bduck', + build_args: '--no-cache --target bduck', + runAsUser: '6213', + runAsGroup: '101' + } steps: - name: Release - parallel: false + containerSelector: + - "{name: 'rhel8.6', variant:1}" run: | if ${do_dr_build}; then git checkout tags/${release_tag} @@ -59,6 +74,16 @@ steps: env WORKSPACE=$PWD .ci/antivirus.sh archiveArtifacts: 'logs/' + - name: Blackduck + enable: ${do_blackduck} + containerSelector: + - "{name: 'blackduck', category:'tool', variant:1}" + run: | + .ci/blackduck_source.sh + archiveArtifacts: 'logs/' + credentialsId: + - "blackduck_api_token" + pipeline_start: shell: action module: groovy From f1b79e3d030ac69335ea05fee2d6bd69c9f7cf85 Mon Sep 17 00:00:00 2001 From: Gal Noam Date: Sun, 14 Dec 2025 11:18:07 +0200 Subject: [PATCH 120/150] issue: 321712 ****************** VMA 9.8.81 ****************** Signed-off-by: Gal Noam --- CHANGES | 9 +++++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 9511dc879..74799bde5 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,12 @@ +Version 9.8.81-1: +Date + Time 2025-12-14 +============================================================= +Removed: + - RM #4664028 Removing IPoIB support + - RM #4664028 Removing TSO + - RM #4664028 Removing legacy defines + - RM #4664028 Removing legacy and exp verbs + Version 9.8.80-1: Date + Time 2025-09-07 ============================================================= diff --git a/configure.ac b/configure.ac index 392de756d..4d5cfa142 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 80) +define([prj_ver_revision], 81) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 11cf2b511..1351c6e85 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Sun Sep 7 2025 NVIDIA CORPORATION 9.8.80-1 -- Bump version to 9.8.80 +* Sun Dec 14 2025 NVIDIA CORPORATION 9.8.81-1 +- Bump version to 9.8.81 - Please refer to CHANGES for full changelog. From 418705aa70affced61537d1fe86f1462f54193eb Mon Sep 17 00:00:00 2001 From: Dmytro Podgornyi Date: Thu, 4 Dec 2025 18:02:29 +0200 Subject: [PATCH 121/150] issue: 4751690 Fix FIN flow during SYN handshake in VMA_TCP_CTL_THREAD Fixes list corruption and segfault in the scenario described below: If VMA_TCP_CTL_THREAD feature is enabled, VMA delegates the TCP control flow handling to the internal thread. This includes connection establishment phase. The feature introduces a time frame between packet arrival and their handling in the parallel flow in the internal thread, especially the option without wakeup (VMA_TCP_CTL_THREAD=2). During the time frame, a FIN segment can arrive from client to server, because, from client perspective, the connection is established after sending the last ACK of the handshake. In this scenario, VMA handles connection establishment while there is a FIN segment queued. VMA_TCP_CTL_THREAD feature needs to replay the queued RX packets which arrive during the mentioned time frame, including the possible FIN segment. In current implementation, the packets replay is done from the accept_lwip_cb() context while the socket state is not consistent. The FIN leads to socket destruction and then connection establishment resumes causing list corruption and multiple symptoms including segfaults. To resolve the issue, first, complete the connection establishment to transit the socket to a consistent state and then handle RX packets. In this case FIN closes the connection without destruction and application accepts the closed connection eventually and needs to close() it. Impact of the solution: The RX packets handling is moved after unlock/lock sequence, therefore, main thread has a chance to acquire the lock and receive new TCP segments out of order. In the corner case, 3 out of order segments trigger an unneeded fast retransmission. However, to achieve this scenario, TCP client needs to: 1. send at least 4 TCP segments separately with specific timing 2. within the small initial congestion window 3. during the mentioned time frame 4. the main thread on the server side needs to acquire the socket lock during short time window (no the same as the time frame above) So, the impact in unlikely and will be handled by the TCP implementation correctly. Signed-off-by: Dmytro Podgornyi --- src/vma/sock/sockinfo_tcp.cpp | 50 ++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index b3136a574..5fc511331 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -2712,25 +2712,8 @@ err_t sockinfo_tcp::accept_lwip_cb(void *arg, struct tcp_pcb *child_pcb, err_t e // todo register as 3-tuple rule for the case the listener is gone? new_sock->attach_as_uc_receiver(role_t (NULL), true); - if (new_sock->m_sysvar_tcp_ctl_thread > CTL_THREAD_DISABLE) { - new_sock->m_vma_thr = true; - - // Before handling packets from flow steering the child should process everything it got from parent - while (!new_sock->m_rx_ctl_packets_list.empty()) { - vma_desc_list_t temp_list; - new_sock->m_rx_ctl_packets_list_lock.lock(); - temp_list.splice_tail(new_sock->m_rx_ctl_packets_list); - new_sock->m_rx_ctl_packets_list_lock.unlock(); - - while (!temp_list.empty()) { - mem_buf_desc_t* desc = temp_list.get_and_pop_front(); - desc->inc_ref_count(); - L3_level_tcp_input((pbuf *)desc, &new_sock->m_pcb); - if (desc->dec_ref_count() <= 1) //todo reuse needed? - new_sock->m_rx_ctl_reuse_list.push_back(desc); - } - } - new_sock->m_vma_thr = false; + if (!conn->is_socketxtreme()) { + new_sock->m_parent = NULL; } new_sock->unlock_tcp_con(); @@ -2755,11 +2738,34 @@ err_t sockinfo_tcp::accept_lwip_cb(void *arg, struct tcp_pcb *child_pcb, err_t e conn->unlock_tcp_con(); - /* Do this after auto_accept_connection() call */ - new_sock->m_parent = NULL; - new_sock->lock_tcp_con(); + if (conn->is_socketxtreme()) { + /* Must be done after auto_accept_connection() call for SocketXtreme flow */ + new_sock->m_parent = NULL; + } + + if (new_sock->m_sysvar_tcp_ctl_thread > CTL_THREAD_DISABLE) { + new_sock->m_vma_thr = true; + + // Before handling packets from flow steering the child should process everything it got from parent + while (!new_sock->m_rx_ctl_packets_list.empty()) { + vma_desc_list_t temp_list; + new_sock->m_rx_ctl_packets_list_lock.lock(); + temp_list.splice_tail(new_sock->m_rx_ctl_packets_list); + new_sock->m_rx_ctl_packets_list_lock.unlock(); + + while (!temp_list.empty()) { + mem_buf_desc_t* desc = temp_list.get_and_pop_front(); + desc->inc_ref_count(); + L3_level_tcp_input((pbuf *)desc, &new_sock->m_pcb); + if (desc->dec_ref_count() <= 1) //todo reuse needed? + new_sock->m_rx_ctl_reuse_list.push_back(desc); + } + } + new_sock->m_vma_thr = false; + } + return ERR_OK; } From 72cbf2bbf7dc2d4e666f66684c62bf70028e2818 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Sun, 7 Dec 2025 12:06:01 +0200 Subject: [PATCH 122/150] [CI] issue: 4568257 change scm user Update scm user in pipeline definition to use the new media svc account Signed-off-by: NirWolfer --- .ci/pipeline/release_jjb.yaml | 2 +- .ci/proj_jjb.yaml | 4 ++-- .ci/redmine_jjb.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml index 0dd4d53eb..ef3a2c760 100644 --- a/.ci/pipeline/release_jjb.yaml +++ b/.ci/pipeline/release_jjb.yaml @@ -59,7 +59,7 @@ scm: - git: url: "{jjb_git}" - credentials-id: 'swx-jenkins_ssh_key' + credentials-id: 'svc-nbu-swx-media_ssh_key' branches: ['$sha1'] shallow-clone: false depth: 2 diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index 5ee4df328..b5fa70afd 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -121,14 +121,14 @@ status-add-test-results: true auth-id: 'svc-nbu-swx-media_GHPRB_ID' org-list: ["Mellanox"] - white-list: ["swx-jenkins","swx-jenkins2","swx-jenkins3","mellanox-github"] + white-list: ["swx-jenkins","mellanox-github"] allow-whitelist-orgs-as-admins: true cancel-builds-on-update: true pipeline-scm: scm: - git: url: "{jjb_git}" - credentials-id: 'swx-jenkins_ssh_key' + credentials-id: 'svc-nbu-swx-media_ssh_key' branches: ['$sha1'] shallow-clone: true depth: 2 diff --git a/.ci/redmine_jjb.yaml b/.ci/redmine_jjb.yaml index b84b7d19d..3f6906123 100644 --- a/.ci/redmine_jjb.yaml +++ b/.ci/redmine_jjb.yaml @@ -53,7 +53,7 @@ scm: - git: url: "{jjb_git}" - credentials-id: 'swx-jenkins_ssh_key' + credentials-id: 'svc-nbu-swx-media_ssh_key' branches: ['$sha1'] shallow-clone: true depth: 2 From 057b3bde6252d4f001de837b356ff66186436aca Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Mon, 15 Dec 2025 14:04:02 +0200 Subject: [PATCH 123/150] [CI] issue: 4568257 Run Blackduck as root Currently the Blackduck_source script runs as swx-jenkins, which is needed to run the git clone, but the causes issues when running the script Remove run as from the blackduck container Signed-off-by: NirWolfer --- .ci/blackduck_source.sh | 2 +- .ci/pipeline/release_matrix_job.yaml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.ci/blackduck_source.sh b/.ci/blackduck_source.sh index c15dd4015..1cc89b8d7 100755 --- a/.ci/blackduck_source.sh +++ b/.ci/blackduck_source.sh @@ -25,7 +25,7 @@ echo " SRC_PATH: ${PROJECT_SRC_PATH}" # clone BlackDuck [[ -d /tmp/blackduck ]] && rm -rf /tmp/blackduck -git clone -c core.sshCommand="ssh -i ~/.ssh/id_ed25519" -b master --single-branch --depth=1 ssh://git-nbu.nvidia.com:12023/DevOps/Tools/blackduck /tmp/blackduck +sudo -u swx-jenkins git clone -c core.sshCommand="ssh -l svc-nbu-swx-media -i ~/.ssh/id_ed25519_svc-nbu-swx-media_gerrit" -b master --single-branch --depth=1 ssh://git-nbu.nvidia.com:12023/DevOps/Tools/blackduck /tmp/blackduck cd /tmp/blackduck # disable check errors diff --git a/.ci/pipeline/release_matrix_job.yaml b/.ci/pipeline/release_matrix_job.yaml index a3643c755..45d5f2327 100644 --- a/.ci/pipeline/release_matrix_job.yaml +++ b/.ci/pipeline/release_matrix_job.yaml @@ -52,9 +52,7 @@ runs_on_dockers: arch: 'x86_64', tag: '20250630', uri: 'vma/$arch/$name/bduck', - build_args: '--no-cache --target bduck', - runAsUser: '6213', - runAsGroup: '101' + build_args: '--no-cache --target bduck' } steps: From cbad3e86fba0262f4a3d6c310d6e3ee8279f90f4 Mon Sep 17 00:00:00 2001 From: Omri Ritblat Date: Tue, 9 Dec 2025 10:53:46 +0200 Subject: [PATCH 124/150] [CI] Issue: 4625338 coverity agressiveness Change --aggressiveness-level to medium Signed-off-by: Omri Ritblat --- contrib/jenkins_tests/cov.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/jenkins_tests/cov.sh b/contrib/jenkins_tests/cov.sh index 452fcf9ed..3f82c756e 100755 --- a/contrib/jenkins_tests/cov.sh +++ b/contrib/jenkins_tests/cov.sh @@ -40,7 +40,7 @@ eval "cov-manage-emit --config ${cov_dir}/coverity_config.xml --dir ${cov_build} sleep 1 eval "cov-analyze --config ${cov_dir}/coverity_config.xml \ - --all --aggressiveness-level low \ + --all --aggressiveness-level medium \ --enable-fnptr --fnptr-models --paths 20000 \ --disable-parse-warnings \ --dir ${cov_build}" From c4f0ae9247fb4054a92de90ce2a588b50767db86 Mon Sep 17 00:00:00 2001 From: Omri Ritblat Date: Tue, 9 Dec 2025 18:41:46 +0200 Subject: [PATCH 125/150] issue: 4625338 Coverity CHECKED_RETURN fixes Fix multiple Coverity-reported CHECKED_RETURN issues across core modules. Several functions did not properly check the return values of internal calls, leading to potential missed error handling or silent failures. This patch adds explicit return-value checks (and error handling where appropriate) to ensure robust error propagation and compliance with Coverity CHECKED_RETURN analysis. Fix by adding conditional checks for return values and appropriate handling logic or logging where missing. This change improves code reliability and consistency across the affected modules. Signed-off-by: Omri Ritblat --- src/state_machine/sm.cpp | 1 + src/vma/config_scanner.c | 3 ++- src/vma/dev/ring_bond.cpp | 4 +++- src/vma/dev/ring_simple.cpp | 1 + src/vma/lwip/tcp_out.c | 2 ++ src/vma/proto/dst_entry.cpp | 16 ++++++++++++---- src/vma/proto/neighbour.cpp | 5 ++++- src/vma/proto/route_table_mgr.cpp | 5 +++-- src/vma/sock/sock-redirect.cpp | 2 ++ src/vma/sock/sockinfo_tcp.cpp | 9 +++++++-- 10 files changed, 37 insertions(+), 11 deletions(-) diff --git a/src/state_machine/sm.cpp b/src/state_machine/sm.cpp index f6bb486c9..09c517331 100644 --- a/src/state_machine/sm.cpp +++ b/src/state_machine/sm.cpp @@ -224,6 +224,7 @@ BULLSEYE_EXCLUDE_BLOCK_END // Run print event info function if (m_new_event_notify_func) { + /* coverity[check_return] */ m_new_event_notify_func(get_curr_state(), event, m_info.app_hndl); } diff --git a/src/vma/config_scanner.c b/src/vma/config_scanner.c index 7e2c38a30..000befe12 100644 --- a/src/vma/config_scanner.c +++ b/src/vma/config_scanner.c @@ -1920,7 +1920,8 @@ static void libvma_yy_load_buffer_state (void) b->yy_bs_column = 0; } - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; + int fd = file ? fileno(file) : -1; + b->yy_is_interactive = (fd >= 0 && isatty(fd) > 0) ? 1 : 0; errno = oerrno; } diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index 22549c0ca..24ac8d6c5 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -199,7 +199,9 @@ void ring_bond::restart() } for (j = 0; j < m_rx_flows.size(); j++) { sockinfo* si = static_cast (m_rx_flows[j].sink); - p_ring_bond_netvsc->m_vf_ring->attach_flow(m_rx_flows[j].flow, m_rx_flows[j].sink); + if (!p_ring_bond_netvsc->m_vf_ring->attach_flow(m_rx_flows[j].flow, m_rx_flows[j].sink)) { + ring_logwarn("Failed to attach flow during VF migration"); + } for (k = 0; k < num_ring_rx_fds; k++ ) { epfd = si->get_rx_epfd(); if (epfd > 0) { diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index 038afb76c..ee6e6786e 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -344,6 +344,7 @@ int ring_simple::socketxtreme_poll(struct vma_completion_t *vma_completions, uns mem_buf_desc_t *desc; if (likely(m_p_cq_mgr_rx->poll_and_process_element_rx(&desc))) { desc->rx.socketxtreme_polled = true; + /* coverity[check_return] */ rx_process_buffer(desc, NULL); if (m_socketxtreme.completion->events) { m_socketxtreme.completion++; diff --git a/src/vma/lwip/tcp_out.c b/src/vma/lwip/tcp_out.c index dfcd9390a..7a7241037 100644 --- a/src/vma/lwip/tcp_out.c +++ b/src/vma/lwip/tcp_out.c @@ -147,6 +147,7 @@ tcp_output_alloc_header(struct tcp_pcb *pcb, u16_t optlen, u16_t datalen, struct tcp_hdr *tcphdr; struct pbuf *p = tcp_tx_pbuf_alloc(pcb, optlen + datalen, PBUF_RAM); if (p != NULL) { + /* coverity[check_return] */ pbuf_header(p, TCP_HLEN); LWIP_ASSERT("check that first pbuf can hold struct tcp_hdr", (p->len >= TCP_HLEN + optlen)); @@ -1429,6 +1430,7 @@ tcp_rst(u32_t seqno, u32_t ackno, u16_t local_port, u16_t remote_port, struct tc LWIP_DEBUGF(TCP_DEBUG, ("tcp_rst: could not allocate memory for pbuf\n")); return; } + /* coverity[check_return] */ pbuf_header(p, TCP_HLEN); LWIP_ASSERT("check that first pbuf can hold struct tcp_hdr", (p->len >= sizeof(struct tcp_hdr))); diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index a14327dc8..b4626b753 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -61,12 +61,16 @@ dst_entry::~dst_entry() m_p_tx_mem_buf_desc_list = NULL; } - m_p_net_dev_val->release_ring(m_ring_alloc_logic.get_key()); + if (m_p_net_dev_val->release_ring(m_ring_alloc_logic.get_key()) < 0){ + dst_logwarn("Failed to release ring for allocation key %s", m_ring_alloc_logic.get_key()->to_str()); + } m_p_ring = NULL; } if (m_p_net_dev_entry && m_p_net_dev_val) { - g_p_net_device_table_mgr->unregister_observer(m_p_net_dev_val->get_local_addr(), this); + if(!g_p_net_device_table_mgr->unregister_observer(m_p_net_dev_val->get_local_addr(), this)) { + dst_logwarn("Failed to unregister observer for local address %d.%d.%d.%d", NIPQUAD(m_p_net_dev_val->get_local_addr())); + } } if (m_p_send_wqe_handler) { @@ -313,7 +317,9 @@ bool dst_entry::release_ring() m_p_tx_mem_buf_desc_list = NULL; } dst_logdbg("releasing a ring"); - m_p_net_dev_val->release_ring(m_ring_alloc_logic.get_key()); + if (m_p_net_dev_val->release_ring(m_ring_alloc_logic.get_key()) < 0){ + dst_logwarn("Failed to release ring for allocation key %s", m_ring_alloc_logic.get_key()->to_str()); + } m_p_ring = NULL; } ret_val = true; @@ -566,7 +572,9 @@ void dst_entry::do_ring_migration(lock_base& socket_lock, resource_allocation_ke old_ring->mem_buf_tx_release(tmp_list, true); } - m_p_net_dev_val->release_ring(&old_key); + if (m_p_net_dev_val->release_ring(&old_key)<0) { + dst_logwarn("Failed to release ring for allocation key %s", old_key.to_str()); + } socket_lock.lock(); } diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index 5340ab144..e316a1411 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -201,7 +201,9 @@ neigh_entry::~neigh_entry() m_state_machine = NULL; } if (m_p_dev && m_p_ring) { - m_p_dev->release_ring(m_ring_allocation_logic.get_key()); + if (m_p_dev->release_ring(m_ring_allocation_logic.get_key())<0) { + neigh_logwarn("Failed to release ring for allocation key %s", m_ring_allocation_logic.get_key()->to_str()); + } m_p_ring = NULL; } if (m_val) { @@ -662,6 +664,7 @@ void neigh_entry::handle_neigh_event(neigh_nl_event* nl_ev) } // Check if neigh L2 address changed (HA event) and restart the state machine + /* coverity[check_return] */ priv_handle_neigh_is_l2_changed(nl_info->lladdr); break; } diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index 5e22fc75e..3cfc9650d 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -223,6 +223,7 @@ bool route_table_mgr::parse_entry(struct nl_object *nl_obj, void *p_val_context) p_val->set_protocol(rtnl_route_get_protocol(route)); p_val->set_scope(rtnl_route_get_scope(route)); p_val->set_type(rtnl_route_get_type(route)); + /* coverity[check_return] */ p_val->set_table_id(rtnl_route_get_table(route)); // Set destination mask and prefix length @@ -290,8 +291,8 @@ void route_table_mgr::parse_attr(struct rtnl_route *route, route_val *p_val) } // Table ID - int table_id = rtnl_route_get_table(route); - p_val->set_table_id(table_id); + /* coverity[check_return] */ + p_val->set_table_id(rtnl_route_get_table(route)); // Metrics (e.g., MTU) uint32_t mtu = 0; diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index deec462e1..67b532388 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -1571,6 +1571,7 @@ int recvmmsg(int __fd, struct mmsghdr *__mmsghdr, unsigned int __vlen, int __fla } if (__timeout) { + /* coverity[check_return] */ gettime(&start_time); } socket_fd_api* p_socket_object = NULL; @@ -1591,6 +1592,7 @@ int recvmmsg(int __fd, struct mmsghdr *__mmsghdr, unsigned int __vlen, int __fla __flags |= MSG_DONTWAIT; } if (__timeout) { + /* coverity[check_return] */ gettime(¤t_time); ts_sub(¤t_time, &start_time, &delta_time); if (ts_cmp(&delta_time, __timeout, >)) { diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 5fc511331..69eaa7e7a 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -369,7 +369,9 @@ bool sockinfo_tcp::prepare_listen_to_close() new_sock->m_sock_state = TCP_SOCK_INITED; class flow_tuple key; sockinfo_tcp::create_flow_tuple_key_from_pcb(key, &(new_sock->m_pcb)); - m_syn_received.erase(key); + if (m_syn_received.erase(key)==0) { + si_tcp_logdbg("Unexpected: child socket missing from syn_received list"); + } m_ready_conn_cnt--; new_sock->lock_tcp_con(); new_sock->m_parent = NULL; @@ -4156,7 +4158,9 @@ int sockinfo_tcp::rx_wait_helper(int &poll_count, bool is_blocking) if (p_cq_ch_info) { ring* p_ring = p_cq_ch_info->get_ring(); if (p_ring) { - p_ring->wait_for_notification_and_process_element(fd, &poll_sn); + if (!p_ring->wait_for_notification_and_process_element(fd, &poll_sn)){ + si_tcp_logwarn("Error in ring->wait_for_notification_and_process_element() of %p (errno=%d %m)", p_ring, errno); + } } } } @@ -4518,6 +4522,7 @@ void sockinfo_tcp::tcp_tx_pbuf_free(void* p_conn, struct pbuf *p_buff) //potential race, ref is protected here by tcp lock, and in ring by ring_tx lock if (likely(p_desc->lwip_pbuf_get_ref_count())) + /* coverity[check_return] */ p_desc->lwip_pbuf_dec_ref_count(); else __log_err("ref count of %p is already zero, double free??", p_desc); From 5b205346613d2bbfda7adffefbf5cdfecf27bd6b Mon Sep 17 00:00:00 2001 From: Omri Ritblat Date: Wed, 17 Dec 2025 10:38:45 +0200 Subject: [PATCH 126/150] issue: 4625338 Coverity FORWARD_NULL fixes Fix multiple Coverity-reported FORWARD_NULL issues across core modules. Several code paths did not properly validate pointers before dereferencing, leading to potential NULL pointer crashes or undefined behavior. This patch adds explicit NULL pointer checks (and defensive handling where appropriate) to ensure pointers are valid before access, preventing crashes and ensuring compliance with Coverity FORWARD_NULL analysis. Fix by adding conditional NULL checks before pointer dereferencing and appropriate fallback logic or early return paths where missing. Signed-off-by: Omri Ritblat --- src/stats/stats_reader.cpp | 12 +++++++++--- src/vma/ib/mlx5/ib_mlx5.cpp | 1 + src/vma/sock/sockinfo_tcp.cpp | 3 +++ src/vma/sock/sockinfo_udp.cpp | 7 ++++++- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index 8a166fa71..73fc137b0 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -535,17 +535,19 @@ int show_socket_stats(socket_instance_block_t* p_instance, socket_instance_block size_t fd = (size_t)p_instance[i].skt_stats.fd; if (p_instance[i].b_enabled && g_fd_mask[fd]) { num_act_inst++; + socket_instance_block_t *prev_inst = + p_prev_instance_block ? &p_prev_instance_block[i] : NULL; switch (user_params.view_mode) { case e_basic: - show_basic_stats(&p_instance[i], &p_prev_instance_block[i]); + show_basic_stats(&p_instance[i], prev_inst); *p_printed_lines_num += BASIC_STATS_LINES_NUM; break; case e_medium: - print_medium_stats(&p_instance[i], &p_prev_instance_block[i]); + print_medium_stats(&p_instance[i], prev_inst); *p_printed_lines_num += MEDIUM_STATS_LINES_NUM; break; case e_full: - show_full_stats(&p_instance[i], &p_prev_instance_block[i], p_mc_grp_info); + show_full_stats(&p_instance[i], prev_inst, p_mc_grp_info); break; case e_netstat_like: print_netstat_like(&p_instance[i].skt_stats, p_mc_grp_info, g_stats_file, pid); @@ -659,6 +661,9 @@ void print_full_iomux_deltas(iomux_stats_t* p_curr_iomux_stats, iomux_stats_t* p void print_basic_iomux_deltas(iomux_stats_t* p_curr_stats, iomux_stats_t* p_prev_stats, int* p_printed_lines_num) { + if (unlikely(!p_curr_stats || !p_prev_stats)) { + return; + } update_iomux_deltas(p_curr_stats, p_prev_stats); print_iomux_totals(p_prev_stats, p_printed_lines_num); } @@ -1056,6 +1061,7 @@ void stats_reader_handler(sh_mem_t* p_sh_mem, int pid) } switch (user_params.print_details_mode) { case e_totals: + /* coverity[forward_null] */ num_act_inst = show_socket_stats(p_sh_mem->skt_inst_arr, NULL, p_sh_mem->max_skt_inst_num, &printed_line_num, &p_sh_mem->mc_info, pid); show_iomux_stats(&p_sh_mem->iomux, NULL, &printed_line_num); if (user_params.view_mode == e_full) { diff --git a/src/vma/ib/mlx5/ib_mlx5.cpp b/src/vma/ib/mlx5/ib_mlx5.cpp index 386d38d9e..dc0df7d42 100644 --- a/src/vma/ib/mlx5/ib_mlx5.cpp +++ b/src/vma/ib/mlx5/ib_mlx5.cpp @@ -34,6 +34,7 @@ int vma_ib_mlx5_get_qp(struct ibv_qp *qp, vma_ib_mlx5_qp_t *mlx5_qp, uint32_t fl mlx5_qp->qp = qp; mlx5_qp->qpn = qp->qp_num; mlx5_qp->flags = flags; + /* coverity[var_deref_op] */ mlx5_qp->sq.dbrec = &dqp.dbrec[MLX5_SND_DBR]; mlx5_qp->sq.buf = dqp.sq.buf; mlx5_qp->sq.wqe_cnt = dqp.sq.wqe_cnt; diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 69eaa7e7a..ac230be23 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -940,6 +940,9 @@ ssize_t sockinfo_tcp::tx(vma_tx_call_attr_t &tx_arg) INC_GO_TO_OS_TX_COUNT; #endif + // coverity[FORWARD_NULL : FALSE] + // coverity[var_deref_model : FALSE] + // coverity[null_dereference : FALSE] ret = socket_fd_api::tx_os(tx_arg.opcode, p_iov, sz_iov, __flags, __dst, __dstlen); save_stats_tx_os(ret); return ret; diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index f9b975e73..db7f8b28e 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1207,6 +1207,7 @@ void sockinfo_udp::rx_ready_byte_count_limit_update(size_t n_rx_ready_bytes_limi m_lock_rcv.lock(); while (m_n_rx_pkt_ready_list_count) { + /* coverity[returned_null : FALSE] [nonnull]*/ mem_buf_desc_t* p_rx_pkt_desc = m_rx_pkt_ready_list.front(); if (m_p_socket_stats->n_rx_ready_byte_count > m_p_socket_stats->n_rx_ready_byte_limit || p_rx_pkt_desc->rx.sz_payload == 0U) { @@ -1375,7 +1376,10 @@ void sockinfo_udp::handle_ip_pktinfo(struct cmsg_state * cm_state) { struct in_pktinfo in_pktinfo; mem_buf_desc_t* p_desc = m_rx_pkt_ready_list.front(); - + if (unlikely(!p_desc)) { + si_udp_logerr("no packet descriptor"); + return; + } rx_net_device_map_t::iterator iter = m_rx_nd_map.find(p_desc->rx.udp.local_if); if (iter == m_rx_nd_map.end()) { si_udp_logerr("could not find net device for ip %d.%d.%d.%d", NIPQUAD(p_desc->rx.udp.local_if)); @@ -1679,6 +1683,7 @@ ssize_t sockinfo_udp::tx(vma_tx_call_attr_t &tx_arg) INC_GO_TO_OS_TX_COUNT; #endif // Calling OS transmit + // coverity[FORWARD_NULL : FALSE] ret = socket_fd_api::tx_os(tx_arg.opcode, p_iov, sz_iov, __flags, __dst, __dstlen); tx_packet_to_os_stats: From d7a696553e9510301a3f52abc49c4dabcd1575b9 Mon Sep 17 00:00:00 2001 From: Omri Ritblat Date: Wed, 17 Dec 2025 11:50:00 +0200 Subject: [PATCH 127/150] issue: 4625338 Coverity RETURN_NULL fixes Fix multiple Coverity-reported RETURN_NULL issues across core modules. Several functions did not properly check return values for NULL pointers before dereferencing, leading to potential segmentation faults and crashes. This patch adds explicit NULL pointer checks for function return values in critical code paths including network device lookups, ring operations, and resource allocation. Fix by adding conditional checks for NULL return values and appropriate error handling or fallback logic where missing. This change improves code reliability and prevents potential crashes across the affected modules. Signed-off-by: Omri Ritblat --- src/vma/config_parser.c | 7 +++++++ src/vma/dev/allocator.cpp | 1 + src/vma/dev/qp_mgr_eth_mlx5.cpp | 1 + src/vma/dev/ring_simple.cpp | 14 +++++++++++++- src/vma/dev/ring_tap.cpp | 8 +++++++- src/vma/lwip/cc_cubic.c | 5 +++-- src/vma/netlink/netlink_compatibility.cpp | 5 ++++- src/vma/netlink/route_info.cpp | 10 ++++++++-- src/vma/proto/rule_table_mgr.cpp | 10 ++++++++-- src/vma/sock/socket_fd_api.cpp | 4 ++++ src/vma/sock/sockinfo.cpp | 13 +++++-------- src/vma/sock/sockinfo_tcp.cpp | 5 +++-- src/vma/sock/sockinfo_tcp.h | 4 +++- src/vma/sock/sockinfo_udp.cpp | 3 ++- src/vma/util/chunk_list.h | 3 ++- src/vma/util/sys_vars.cpp | 4 ++++ 16 files changed, 75 insertions(+), 22 deletions(-) diff --git a/src/vma/config_parser.c b/src/vma/config_parser.c index 18f8a2ef9..3cc198a81 100644 --- a/src/vma/config_parser.c +++ b/src/vma/config_parser.c @@ -2148,6 +2148,13 @@ int yyerror(const char *msg) char *orig_msg = (char*)malloc(strlen(msg)+25); char *final_msg = (char*)malloc(strlen(msg)+25); + if (!orig_msg || !final_msg) { + __vma_log(9, "Error: Failed to allocate memory for an error message\n"); + free(orig_msg); + free(final_msg); + return 1; + } + strcpy(orig_msg, msg); char *word = strtok(orig_msg, " "); diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index fa82d8041..868f6d2b9 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -316,6 +316,7 @@ void vma_allocator::register_memory(size_t size, ib_ctx_handler *p_ib_ctx_h, } else { m_lkey_map_ib_ctx[p_ib_ctx_h] = lkey; if (NULL == m_data_block) { + /* coverity[dereference:FALSE] */ m_data_block = p_ib_ctx_h->get_mem_reg(lkey)->addr; } errno = 0; //ibv_reg_mr() set errno=12 despite successful returning diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index d20b37103..d0ec02641 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -404,6 +404,7 @@ inline int qp_mgr_eth_mlx5::fill_wqe(ibv_send_wr *pswr) // Fill Ethernet segment with header inline, static data // were populated in preset after previous packet send + /* coverity[dereference:FALSE] */ memcpy(cur_seg+offsetof(struct mlx5_wqe_eth_seg, inline_hdr_start), data_addr, MLX5_ETH_INLINE_HEADER_SIZE); data_addr += MLX5_ETH_INLINE_HEADER_SIZE; cur_seg += sizeof(struct mlx5_wqe_eth_seg); diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index ee6e6786e..39e8bbb0a 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -81,8 +81,13 @@ ring_simple::ring_simple(int if_index, ring* parent, ring_type_t type): m_p_rx_comp_event_channel(NULL), m_p_tx_comp_event_channel(NULL), m_p_l2_addr(NULL) { net_device_val* p_ndev = g_p_net_device_table_mgr->get_net_device_val(m_parent->get_if_index()); + if (unlikely(!p_ndev)) { + ring_logpanic("Cannot find net_device_val for a ring if_index = %d", get_if_index()); + } const slave_data_t * p_slave = p_ndev->get_slave(get_if_index()); - + if (unlikely(!p_slave)) { + ring_logpanic("Cannot find slave for a ring if_index = %d", get_if_index()); + } ring_logdbg("new ring_simple()"); /* m_p_ib_ctx, m_tx_lkey should be initialized to be used @@ -197,7 +202,13 @@ ring_simple::~ring_simple() void ring_simple::create_resources() { net_device_val* p_ndev = g_p_net_device_table_mgr->get_net_device_val(m_parent->get_if_index()); + if (unlikely(!p_ndev)) { + ring_logpanic("Cannot find net_device_val for a ring if_index = %d", get_if_index()); + } const slave_data_t * p_slave = p_ndev->get_slave(get_if_index()); + if (unlikely(!p_slave)) { + ring_logpanic("Cannot find slave for a ring if_index = %d", get_if_index()); + } save_l2_address(p_slave->p_L2_addr); m_p_tx_comp_event_channel = ibv_create_comp_channel(m_p_ib_ctx->get_ibv_context()); @@ -771,6 +782,7 @@ mem_buf_desc_t* ring_simple::get_tx_buffers(uint32_t n_num_mem_bufs) } head = m_tx_pool.get_and_pop_back(); + /* coverity[dereference:FALSE] */ head->lwip_pbuf.pbuf.ref = 1; n_num_mem_bufs--; diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index e708a1f6a..77ef71e5e 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -28,6 +28,9 @@ ring_tap::ring_tap(int if_index, ring* parent): char tap_if_name[IFNAMSIZ] = {0}; net_device_val* p_ndev = g_p_net_device_table_mgr->get_net_device_val(m_parent->get_if_index()); + if (unlikely(!p_ndev)) { + ring_logpanic("Cannot find net_device for ring_tap"); + } /* Create TAP device and update ring class with new if_index */ tap_create(p_ndev); @@ -399,6 +402,7 @@ int ring_tap::process_element_rx(void* pv_fd_ready_array) auto_unlocker lock(m_lock_ring_rx); if (m_rx_pool.size() || request_more_rx_buffers()) { mem_buf_desc_t *buff = m_rx_pool.get_and_pop_front(); + /* coverity[dereference:FALSE] */ ret = orig_os_api.read(m_tap_fd, buff->p_buffer, buff->sz_buffer); if (ret > 0) { /* Data was read and processed successfully */ @@ -459,8 +463,10 @@ mem_buf_desc_t* ring_tap::mem_buf_tx_get(ring_user_id_t id, bool b_block, int n_ return head; } } - + /* coverity[nonnull] */ head = m_tx_pool.get_and_pop_back(); + /* coverity[dereference:FALSE] */ + /* coverity[var_deref_op:FALSE] */ head->lwip_pbuf.pbuf.ref = 1; n_num_mem_bufs--; diff --git a/src/vma/lwip/cc_cubic.c b/src/vma/lwip/cc_cubic.c index 00073c6ea..807005d18 100644 --- a/src/vma/lwip/cc_cubic.c +++ b/src/vma/lwip/cc_cubic.c @@ -184,9 +184,10 @@ cubic_cb_init(struct tcp_pcb *pcb) struct cubic *cubic_data; cubic_data = malloc(sizeof(struct cubic)); - memset(cubic_data, 0, sizeof(*cubic_data)); - if (cubic_data == NULL) + if (cubic_data == NULL){ return (ENOMEM); + } + memset(cubic_data, 0, sizeof(*cubic_data)); /* Init some key variables with sensible defaults. */ cubic_data->t_last_cong = ticks; diff --git a/src/vma/netlink/netlink_compatibility.cpp b/src/vma/netlink/netlink_compatibility.cpp index 059e97843..96faf34b6 100644 --- a/src/vma/netlink/netlink_compatibility.cpp +++ b/src/vma/netlink/netlink_compatibility.cpp @@ -95,7 +95,10 @@ in_addr_t nl_object_get_compatible_gateway(struct rtnl_route* nl_route_obj) { struct nl_addr * addr; addr = rtnl_route_nh_get_gateway(nh); if (addr) { - return *(in_addr_t *) nl_addr_get_binary_addr(addr); + void *binary_addr = nl_addr_get_binary_addr(addr); + if (binary_addr) { + return *(in_addr_t *)binary_addr; + } } } return INADDR_ANY; diff --git a/src/vma/netlink/route_info.cpp b/src/vma/netlink/route_info.cpp index fe44f81ea..4d3b68066 100644 --- a/src/vma/netlink/route_info.cpp +++ b/src/vma/netlink/route_info.cpp @@ -66,12 +66,18 @@ void netlink_route_info::fill(struct rtnl_route* nl_route_obj) unsigned int dst_prefixlen = nl_addr_get_prefixlen(addr); m_route_val->set_dst_mask(htonl(VMA_NETMASK(dst_prefixlen))); m_route_val->set_dst_pref_len(dst_prefixlen); - m_route_val->set_dst_addr(*(in_addr_t *) nl_addr_get_binary_addr(addr)); + void *binary_addr = nl_addr_get_binary_addr(addr); + if (binary_addr) { + m_route_val->set_dst_addr(*(in_addr_t *) binary_addr); + } } addr = rtnl_route_get_pref_src(nl_route_obj); if (addr) { - m_route_val->set_src_addr(*(in_addr_t *) nl_addr_get_binary_addr(addr)); + void *binary_addr = nl_addr_get_binary_addr(addr); + if (binary_addr) { + m_route_val->set_src_addr(*(in_addr_t *) binary_addr); + } } int oif = nl_object_get_compatible_oif(nl_route_obj); diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index c9493ee78..0eeab853a 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -107,13 +107,19 @@ void rule_table_mgr::parse_attr(struct rtnl_rule *rule, rule_val *p_val) // FRA_DST: Destination Address struct nl_addr *dst = rtnl_rule_get_dst(rule); if (dst) { - p_val->set_dst_addr(*(in_addr_t *)nl_addr_get_binary_addr(dst)); + void *binary_addr = nl_addr_get_binary_addr(dst); + if (binary_addr) { + p_val->set_dst_addr(*(in_addr_t *)binary_addr); + } } // FRA_SRC: Source Address struct nl_addr *src = rtnl_rule_get_src(rule); if (src) { - p_val->set_src_addr(*(in_addr_t *)nl_addr_get_binary_addr(src)); + void *binary_addr = nl_addr_get_binary_addr(src); + if (binary_addr) { + p_val->set_src_addr(*(in_addr_t *)binary_addr); + } } // FRA_IFNAME: Input Interface Name diff --git a/src/vma/sock/socket_fd_api.cpp b/src/vma/sock/socket_fd_api.cpp index b78f51643..9d113c022 100644 --- a/src/vma/sock/socket_fd_api.cpp +++ b/src/vma/sock/socket_fd_api.cpp @@ -237,19 +237,23 @@ ssize_t socket_fd_api::tx_os(const tx_call_t call_type, switch (call_type) { case TX_WRITE: __log_info_func("calling os transmit with orig write"); + /* coverity[null_dereference : FALSE]*/ return orig_os_api.write(m_fd, p_iov[0].iov_base, p_iov[0].iov_len); case TX_WRITEV: __log_info_func("calling os transmit with orig writev"); + /* coverity[null_dereference : FALSE]*/ return orig_os_api.writev(m_fd, p_iov, sz_iov); case TX_SEND: __log_info_func("calling os transmit with orig send"); + /* coverity[null_dereference : FALSE]*/ return orig_os_api.send(m_fd, p_iov[0].iov_base, p_iov[0].iov_len, __flags); case TX_SENDTO: __log_info_func("calling os transmit with orig sendto"); + /* coverity[null_dereference : FALSE]*/ return orig_os_api.sendto(m_fd, p_iov[0].iov_base, p_iov[0].iov_len, __flags, __to, __tolen); diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index e52387325..024ff3e32 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -1291,9 +1291,8 @@ void sockinfo::move_descs(ring* p_ring, descq_t *toq, descq_t *fromq, bool own) #define __xor(_a, _b) ((!(_a) && (_b)) || ((_a) && !(_b))) mem_buf_desc_t *temp; - const size_t size = fromq->size(); - for (size_t i = 0 ; i < size; i++) { - temp = fromq->front(); + if (!fromq) return; + while ((temp = fromq->front())) { fromq->pop_front(); if (!__xor(own, p_ring->is_member(temp->p_desc_owner))) toq->push_back(temp); @@ -1328,14 +1327,12 @@ void sockinfo::push_descs_rx_ready(descq_t *cache) { // Assume locked by owner!!! mem_buf_desc_t *temp; - const size_t size = (cache ? cache->size() : 0); - - for (size_t i = 0 ; i < size; i++) { - temp = cache->front(); + + if (!cache) return; + while ((temp = cache->front())) { cache->pop_front(); m_n_rx_pkt_ready_list_count++; m_p_socket_stats->n_rx_ready_pkt_count++; - m_rx_ready_byte_count += temp->rx.sz_payload; m_p_socket_stats->n_rx_ready_byte_count += temp->rx.sz_payload; push_back_m_rx_pkt_ready_list(temp); diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index ac230be23..2ce431146 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -433,6 +433,7 @@ bool sockinfo_tcp::prepare_to_close(bool process_shutdown /* = false */) mem_buf_desc_t* p_rx_pkt_desc = m_rx_pkt_ready_list.get_and_pop_front(); m_n_rx_pkt_ready_list_count--; m_p_socket_stats->n_rx_ready_pkt_count--; + /* coverity[dereference:FALSE] */ m_rx_ready_byte_count -= p_rx_pkt_desc->rx.sz_payload; m_p_socket_stats->n_rx_ready_byte_count -= p_rx_pkt_desc->rx.sz_payload; reuse_buffer(p_rx_pkt_desc); @@ -941,8 +942,6 @@ ssize_t sockinfo_tcp::tx(vma_tx_call_attr_t &tx_arg) #endif // coverity[FORWARD_NULL : FALSE] - // coverity[var_deref_model : FALSE] - // coverity[null_dereference : FALSE] ret = socket_fd_api::tx_os(tx_arg.opcode, p_iov, sz_iov, __flags, __dst, __dstlen); save_stats_tx_os(ret); return ret; @@ -1972,7 +1971,9 @@ bool sockinfo_tcp::rx_input_cb(mem_buf_desc_t* p_rx_pkt_mem_buf_desc_info, void* p_rx_pkt_mem_buf_desc_info->rx.socketxtreme_polled = false; while (dropped_count--) { + /* coverity[nonnull] */ mem_buf_desc_t* p_rx_pkt_desc = m_rx_cb_dropped_list.get_and_pop_front(); + /* coverity[dereference:FALSE] */ reuse_buffer(p_rx_pkt_desc); } diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index 3fb004f7f..4a9ff385b 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -67,7 +67,9 @@ struct socket_option_t { socket_option_t(const int _level, const int _optname, const void *_optval, const socklen_t _optlen) : level(_level), optname(_optname), optlen(_optlen), optval(malloc(optlen)) { - memcpy(optval, _optval, optlen); + if (likely(optval)) { + memcpy(optval, _optval, optlen); + } } ~socket_option_t() { if (optval) free(optval); } diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index db7f8b28e..9a1032f3d 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1207,12 +1207,13 @@ void sockinfo_udp::rx_ready_byte_count_limit_update(size_t n_rx_ready_bytes_limi m_lock_rcv.lock(); while (m_n_rx_pkt_ready_list_count) { - /* coverity[returned_null : FALSE] [nonnull]*/ mem_buf_desc_t* p_rx_pkt_desc = m_rx_pkt_ready_list.front(); + /* coverity[dereference:FALSE] */ if (m_p_socket_stats->n_rx_ready_byte_count > m_p_socket_stats->n_rx_ready_byte_limit || p_rx_pkt_desc->rx.sz_payload == 0U) { m_rx_pkt_ready_list.pop_front(); m_n_rx_pkt_ready_list_count--; + /* coverity[dereference:FALSE] */ m_rx_ready_byte_count -= p_rx_pkt_desc->rx.sz_payload; m_p_socket_stats->n_rx_ready_pkt_count--; m_p_socket_stats->n_rx_ready_byte_count -= p_rx_pkt_desc->rx.sz_payload; diff --git a/src/vma/util/chunk_list.h b/src/vma/util/chunk_list.h index a1c48ba7f..f01aa0d6d 100644 --- a/src/vma/util/chunk_list.h +++ b/src/vma/util/chunk_list.h @@ -117,6 +117,7 @@ class chunk_list_t { // Check if the list is empty. if (unlikely(empty())) return NULL; + /* coverity[returned_null][dereference] */ return m_used_containers.front()->m_p_buffer[m_front]; } @@ -152,7 +153,7 @@ class chunk_list_t { m_back = 0; m_used_containers.push_back(m_free_containers.get_and_pop_back()); } - + /* coverity[returned_null] */ m_used_containers.back()->m_p_buffer[m_back] = obj; m_size++; } diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 980454d4c..92c9dfac8 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -276,6 +276,10 @@ int mce_sys_var::env_to_cpuset(char *orig_start, cpu_set_t *cpu_set) int ret; char* start = strdup(orig_start); // save the caller string from strtok destruction. + if (!start) { + vlog_printf(VLOG_WARNING, "Failed to allocate memory for CPU set"); + return -1; + } /* * We expect a hex number or comma delimited cpulist. Check for * starting characters of "0x" or "0X" and if present then parse From cc40f25e55e59faa5bde59a2397da3fe3dbc1978 Mon Sep 17 00:00:00 2001 From: Omri Ritblat Date: Wed, 17 Dec 2025 13:58:21 +0200 Subject: [PATCH 128/150] issue: 4625338 Fix Coverity overflow, leak and NULL issues Fix multiple Coverity defects: arithmetic overflow before widening, resource leaks, and reverse NULL checks. Fixed by performing widening casts before arithmetic, adding resource cleanup paths, and reordering NULL checks before pointer dereferences. This change improves code robustness and prevents potential crashes, memory leaks, and integer overflow issues. Signed-off-by: Omri Ritblat --- src/stats/stats_reader.cpp | 2 +- src/vma/proto/neighbour.cpp | 4 ++-- src/vma/util/agent.cpp | 4 ++++ tools/daemon/flow.c | 13 ++++++++++--- tools/daemon/message.c | 5 +++-- 5 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index 73fc137b0..f391ce295 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -90,7 +90,7 @@ typedef enum { #define VLOG_DETAILS_NUM 4 #define INIT_VMA_LOG_DETAILS -1 #define NANO_TO_MICRO(n) (((n) + 500) / 1000) -#define SEC_TO_MICRO(n) ((n) * 1000000) +#define SEC_TO_MICRO(n) ((n)*1000000ULL) #define TIME_DIFF_in_MICRO(start,end) (SEC_TO_MICRO((end).tv_sec-(start).tv_sec) + \ (NANO_TO_MICRO((end).tv_nsec-(start).tv_nsec))) // printf formating when IP is in network byte ordering (for LITTLE_ENDIAN) diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index e316a1411..371bd6df3 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -1402,14 +1402,14 @@ bool neigh_eth::post_send_arp(bool is_broadcast) dst = m_p_dev->get_br_address(); } - - const unsigned char* peer_mac = dst->get_address(); BULLSEYE_EXCLUDE_BLOCK_START if (src == NULL || dst == NULL) { neigh_logdbg("src or dst is NULL not sending ARP"); return false; } BULLSEYE_EXCLUDE_BLOCK_END + + const unsigned char* peer_mac = dst->get_address(); m_id = m_p_ring->generate_id(src->get_address(), dst->get_address(), netdevice_eth->get_vlan() ? htons(ETH_P_8021Q) : htons(ETH_P_ARP), htons(ETH_P_ARP), 0, 0, 0, 0); mem_buf_desc_t* p_mem_buf_desc = m_p_ring->mem_buf_tx_get(m_id, false, 1); diff --git a/src/vma/util/agent.cpp b/src/vma/util/agent.cpp index 9f99427a5..342b137f6 100644 --- a/src/vma/util/agent.cpp +++ b/src/vma/util/agent.cpp @@ -160,7 +160,9 @@ agent::agent() : if (m_pid_fd > 0) { int ret = 0; NOT_IN_USE(ret); + /* coverity[RESOURCE_LEAK] */ sys_call(ret, close, m_pid_fd); + /* coverity[leaked_handle] */ m_pid_fd = -1; unlink(m_pid_file); } @@ -168,7 +170,9 @@ agent::agent() : if (m_sock_fd > 0) { int ret = 0; NOT_IN_USE(ret); + /* coverity[RESOURCE_LEAK] */ sys_call(ret, close, m_sock_fd); + /* coverity[leaked_handle] */ m_sock_fd = -1; unlink(m_sock_file); } diff --git a/tools/daemon/flow.c b/tools/daemon/flow.c index 227fab490..b910f4759 100644 --- a/tools/daemon/flow.c +++ b/tools/daemon/flow.c @@ -193,6 +193,8 @@ int add_flow(struct store_pid *pid_value, struct store_flow *value) */ cur_head = &cur_element->list; list_for_each(cur_entry, cur_head) { + /* coverity[leaked_storage:FALSE] */ + /* coverity[overwrite_var:FALSE] */ cur_element = list_entry(cur_entry, struct flow_element, item); if (cur_element->value[0] == (uint32_t)value->type && cur_element->value[1] == ip) { @@ -202,6 +204,8 @@ int add_flow(struct store_pid *pid_value, struct store_flow *value) } } if (cur_entry == cur_head) { + /* coverity[leaked_storage:FALSE] */ + /* coverity[overwrite_var:FALSE] */ cur_element = (void *)calloc(1, sizeof(*cur_element)); if (NULL == cur_element) { rc = -ENOMEM; @@ -249,12 +253,16 @@ int add_flow(struct store_pid *pid_value, struct store_flow *value) goto err; } list_for_each(cur_entry, cur_head) { + /* coverity[leaked_storage:FALSE] */ + /* coverity[overwrite_var:FALSE] */ cur_element = list_entry(cur_entry, struct flow_element, item); if ((int)cur_element->value[0] == bkt) { break; } } if (cur_entry == cur_head) { + /* coverity[leaked_storage:FALSE] */ + /* coverity[overwrite_var:FALSE] */ cur_element = (void *)calloc(1, sizeof(*cur_element)); if (NULL == cur_element) { rc = -ENOMEM; @@ -334,7 +342,7 @@ int add_flow(struct store_pid *pid_value, struct store_flow *value) value->handle = HANDLE_SET(ht, bkt, id); log_debug("[%d] add flow filter: %x:%x:%x rc=%d\n", pid, ht, bkt, id, rc); - + /* coverity[leaked_storage] */ return rc; } @@ -630,7 +638,6 @@ static inline void free_pending_list(pid_t pid, struct flow_ctx *ctx, int if_ind } } } - static inline void add_pending_list(pid_t pid, struct flow_ctx *ctx, int if_index, int ht_id, int prio, int *rc) { struct htid_node_t *htid_node = (void *)calloc(1, sizeof(struct htid_node_t)); @@ -642,11 +649,11 @@ static inline void add_pending_list(pid_t pid, struct flow_ctx *ctx, int if_inde INIT_LIST_HEAD(&htid_node->node); htid_node->htid = ht_id; htid_node->prio = prio; - list_add(&htid_node->node, &ctx->pending_list); log_debug("[%d] del flow request was added to the pending list: if %d htid %d prio %d\n", pid, if_index, ht_id, prio); + /* coverity[leaked_storage:FALSE] */ } static inline void free_htid(struct flow_ctx *ctx, int ht_id) diff --git a/tools/daemon/message.c b/tools/daemon/message.c index 86cda96fd..380e45678 100644 --- a/tools/daemon/message.c +++ b/tools/daemon/message.c @@ -487,10 +487,11 @@ static int proc_msg_flow(struct vma_hdr *msg_hdr, size_t size, struct sockaddr_u strerror(errno)); } } - + /* coverity[leaked_storage : FALSE] */ if (value && !value_new) { free(value); } - + + /* coverity[leaked_storage : FALSE] */ return (rc ? rc : (int)sizeof(*data)); } From 27a31c0769f4afa09daa75af88e2661a90964c5e Mon Sep 17 00:00:00 2001 From: Omri Ritblat Date: Mon, 22 Dec 2025 12:09:54 +0200 Subject: [PATCH 129/150] issue: 4625338 Fix Coverity uninitialized variable issues Fix multiple Coverity UNINIT_CTOR and UNINIT defects across core modules. Several member variables and local variables were flagged as potentially uninitialized. Fixed by adding explicit initializations in constructor initializer lists and suppressing false positives in generated code. This change improves code safety and eliminates undefined behavior risks from uninitialized memory access. Signed-off-by: Omri Ritblat --- src/vma/config_parser.c | 1 + src/vma/dev/ib_ctx_handler.cpp | 1 + src/vma/dev/net_device_val.cpp | 13 +++++++++---- src/vma/dev/ring_tap.cpp | 2 +- src/vma/iomux/select_call.cpp | 21 ++++++++++++++++----- src/vma/netlink/route_info.cpp | 2 +- src/vma/util/agent.cpp | 10 +++++++--- src/vma/util/utils.cpp | 10 +++++----- 8 files changed, 41 insertions(+), 19 deletions(-) diff --git a/src/vma/config_parser.c b/src/vma/config_parser.c index 3cc198a81..5ac24e162 100644 --- a/src/vma/config_parser.c +++ b/src/vma/config_parser.c @@ -1984,6 +1984,7 @@ yyparse () yymsgp = yymsg; } } + /* coverity[uninit_use_in_call:FALSE] */ yyerror (yymsgp); if (yysyntax_error_status == 2) goto yyexhaustedlab; diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 59603f82a..8c6a6b2b6 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -34,6 +34,7 @@ ib_ctx_handler::ib_ctx_handler(struct ib_ctx_handler_desc *desc) : , m_removed(false) , m_lock_mr("spin_lock_mr") , m_p_ctx_time_converter(NULL) + , m_str {} { if (NULL == desc) { ibch_logpanic("Invalid ib_ctx_handler"); diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index f62205e0b..efa794572 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -152,7 +152,12 @@ const char* ring_alloc_logic_attr::to_str() return m_str; } -net_device_val::net_device_val(struct net_device_val_desc *desc) : m_lock("net_device_val lock") +net_device_val::net_device_val(struct net_device_val_desc *desc) + : m_lock("net_device_val lock") + , m_l2_if_addr {} + , m_l2_bc_addr {} + , m_str {} + , m_base_name {} { bool valid = false; ib_ctx_handler* ib_ctx; @@ -1362,7 +1367,7 @@ L2_address* net_device_val_eth::create_L2_address(const char* ifname) delete m_p_L2_addr; m_p_L2_addr = NULL; } - unsigned char hw_addr[ETH_ALEN]; + unsigned char hw_addr[ETH_ALEN] = {0}; get_local_ll_addr(ifname, hw_addr, ETH_ALEN, false); return new ETH_addr(hw_addr); } @@ -1373,7 +1378,7 @@ void net_device_val_eth::create_br_address(const char* ifname) delete m_p_br_addr; m_p_br_addr = NULL; } - uint8_t hw_addr[ETH_ALEN]; + uint8_t hw_addr[ETH_ALEN] = {0}; get_local_ll_addr(ifname, hw_addr, ETH_ALEN, true); m_p_br_addr = new ETH_addr(hw_addr); @@ -1465,7 +1470,7 @@ bool net_device_val::verify_qp_creation(const char* ifname, enum ibv_qp_type qp_ qp_init_attr.qp_type = qp_type; //find ib_cxt - char base_ifname[IFNAMSIZ]; + char base_ifname[IFNAMSIZ] = {0}; get_base_interface_name((const char*)(ifname), base_ifname, sizeof(base_ifname)); int port_num = get_port_from_ifname(base_ifname); ib_ctx_handler* p_ib_ctx = g_p_ib_ctx_handler_collection->get_ib_ctx(base_ifname); diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index 77ef71e5e..64087210c 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -97,7 +97,7 @@ void ring_tap::tap_create(net_device_val* p_ndev) int rc = 0, tap_if_index = -1, ioctl_sock = -1; struct ifreq ifr; char command_str[TAP_STR_LENGTH], return_str[TAP_STR_LENGTH], tap_name[IFNAMSIZ]; - unsigned char hw_addr[ETH_ALEN]; + unsigned char hw_addr[ETH_ALEN] = {0}; /* Open TAP device */ if( (m_tap_fd = orig_os_api.open("/dev/net/tun", O_RDWR)) < 0 ) { diff --git a/src/vma/iomux/select_call.cpp b/src/vma/iomux/select_call.cpp index 0309a9e87..a1e16e922 100644 --- a/src/vma/iomux/select_call.cpp +++ b/src/vma/iomux/select_call.cpp @@ -25,12 +25,23 @@ memset(__FDS_BITS(__fddst), 0, ((__nfds) + 7) >> 3) iomux_func_stats_t g_select_stats; -select_call::select_call(int *off_fds_buffer, offloaded_mode_t *off_modes_buffer, - int nfds, fd_set *readfds, fd_set *writefds, - fd_set *exceptfds, timeval *timeout, const sigset_t *__sigmask /* = NULL */) : +select_call::select_call(int *off_fds_buffer, offloaded_mode_t *off_modes_buffer, int nfds, + fd_set *readfds, fd_set *writefds, fd_set *exceptfds, timeval *timeout, + const sigset_t *__sigmask /* = NULL */) : io_mux_call(off_fds_buffer, off_modes_buffer, nfds, __sigmask), - m_nfds(nfds), m_readfds(readfds), m_writefds(writefds), - m_exceptfds(exceptfds), m_timeout(timeout), m_nfds_with_cq(0), m_b_run_prepare_to_poll(false) + m_nfds(nfds), + m_readfds(readfds), + m_writefds(writefds), + m_exceptfds(exceptfds), + m_timeout(timeout), + m_orig_readfds {}, + m_orig_writefds {}, + m_orig_exceptfds {}, + m_nfds_with_cq(0), + m_b_run_prepare_to_poll(false), + m_os_rfds {0}, + m_os_wfds {0}, + m_cq_rfds {0} { int fd; //socket_fd_api* temp_sock_fd_api = NULL; diff --git a/src/vma/netlink/route_info.cpp b/src/vma/netlink/route_info.cpp index 4d3b68066..6e4154c6b 100644 --- a/src/vma/netlink/route_info.cpp +++ b/src/vma/netlink/route_info.cpp @@ -83,7 +83,7 @@ void netlink_route_info::fill(struct rtnl_route* nl_route_obj) int oif = nl_object_get_compatible_oif(nl_route_obj); if (oif > 0) { m_route_val->set_if_index(oif); - char if_name[IFNAMSIZ]; + char if_name[IFNAMSIZ] = {0}; if_indextoname(oif, if_name); m_route_val->set_if_name(if_name); } diff --git a/src/vma/util/agent.cpp b/src/vma/util/agent.cpp index 342b137f6..f10a0d60b 100644 --- a/src/vma/util/agent.cpp +++ b/src/vma/util/agent.cpp @@ -59,9 +59,13 @@ agent* g_p_agent = NULL; -agent::agent() : - m_state(AGENT_CLOSED), m_sock_fd(-1), m_pid_fd(-1), - m_msg_num(AGENT_DEFAULT_MSG_NUM) +agent::agent() + : m_state(AGENT_CLOSED) + , m_sock_fd(-1) + , m_pid_fd(-1) + , m_sock_file {} + , m_pid_file {} + , m_msg_num(AGENT_DEFAULT_MSG_NUM) { int rc = 0; agent_msg_t *msg = NULL; diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index f34c9cb5f..d1e52040d 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -515,7 +515,7 @@ int get_iftype_from_ifname(const char* ifname) char iftype_filename[100]; char iftype_value_str[32]; - char base_ifname[32]; + char base_ifname[32] = {0}; int iftype_value = -1; get_base_interface_name(ifname, base_ifname, sizeof(base_ifname)); @@ -534,7 +534,7 @@ int get_if_mtu_from_ifname(const char* ifname) char if_mtu_len_filename[100]; char if_mtu_value_str[32]; - char base_ifname[32]; + char base_ifname[32] = {0}; int if_mtu_value = 0; /* initially try reading MTU from ifname. In case of failure (expected in alias ifnames) - try reading MTU from base ifname */ @@ -808,7 +808,7 @@ bool check_bond_device_exist(const char* ifname) bool get_bond_name(IN const char* ifname, OUT char* bond_name, IN int sz) { char upper_path[256]; - char base_ifname[IFNAMSIZ]; + char base_ifname[IFNAMSIZ] = {0}; get_base_interface_name(ifname, base_ifname, sizeof(base_ifname)); struct ifaddrs *ifaddr, *ifa; bool ret = false; @@ -854,7 +854,7 @@ bool get_bond_active_slave_name(IN const char* bond_name, OUT char* active_slave bool get_netvsc_slave(IN const char* ifname, OUT char* slave_name, OUT unsigned int &slave_flags) { char netvsc_path[256]; - char base_ifname[IFNAMSIZ]; + char base_ifname[IFNAMSIZ] = {0}; get_base_interface_name(ifname, base_ifname, sizeof(base_ifname)); struct ifaddrs *ifaddr, *ifa; bool ret = false; @@ -886,7 +886,7 @@ bool check_netvsc_device_exist(const char* ifname) { int ret = -1; char device_path[256] = {0}; - char base_ifname[IFNAMSIZ]; + char base_ifname[IFNAMSIZ] = {0}; get_base_interface_name(ifname, base_ifname, sizeof(base_ifname)); sprintf(device_path, NETVSC_DEVICE_CLASS_FILE, base_ifname); char sys_res[1024] = {0}; From eab3f4779901aa938d0ffd1601544381caf17558 Mon Sep 17 00:00:00 2001 From: Omri Ritblat Date: Tue, 23 Dec 2025 11:08:45 +0200 Subject: [PATCH 130/150] issue: 4625338 Fix Coverity unused value warnings Fix multiple Coverity UNUSED_VALUE defects by suppressing false positives. Several assignments were flagged as unused including defensive NULL assignments after free() and conditional bitmask updates. These are legitimate code patterns where Coverity's static analysis cannot track the usage through macros, goto statements, or across function boundaries. This change clarifies code intent and maintains defensive programming practices while satisfying static analysis requirements. Signed-off-by: Omri Ritblat --- src/stats/stats_publisher.cpp | 1 - src/stats/stats_reader.cpp | 16 ++++++---------- src/vma/dev/allocator.cpp | 8 ++++---- src/vma/dev/net_device_table_mgr.cpp | 4 ++-- src/vma/dev/net_device_val.cpp | 4 ++-- src/vma/dev/ring_bond.cpp | 8 ++++---- src/vma/dev/ring_tap.cpp | 2 +- src/vma/ib/base/verbs_extra.cpp | 1 + src/vma/lwip/tcp_in.c | 2 ++ src/vma/main.cpp | 1 + src/vma/sock/fd_collection.cpp | 1 - src/vma/sock/pipeinfo.cpp | 1 + src/vma/sock/sockinfo.cpp | 2 ++ src/vma/sock/sockinfo_udp.cpp | 2 +- src/vma/util/sys_vars.cpp | 4 ++-- src/vma/util/utils.cpp | 16 +++++++--------- src/vma/util/utils.h | 2 +- tools/daemon/hash.c | 1 - tools/daemon/loop.c | 2 +- tools/daemon/nl.c | 6 ++---- tools/daemon/notify.c | 2 +- tools/daemon/tc.c | 2 -- 22 files changed, 41 insertions(+), 47 deletions(-) diff --git a/src/stats/stats_publisher.cpp b/src/stats/stats_publisher.cpp index 35eaaf6ce..4ed7b39b5 100644 --- a/src/stats/stats_publisher.cpp +++ b/src/stats/stats_publisher.cpp @@ -201,7 +201,6 @@ void vma_shmem_stats_open(vlog_levels_t** p_p_vma_log_level, uint8_t** p_p_vma_l p_shmem = g_sh_mem_info.p_sh_stats; free(buf); - buf = NULL; goto success; diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index f391ce295..346ae0710 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -948,9 +948,8 @@ bool check_if_process_running(char* pid_str) { char proccess_proc_dir[FILE_NAME_MAX_SIZE] = {0}; struct stat st; - int n = -1; + int n = snprintf(proccess_proc_dir, sizeof(proccess_proc_dir), "/proc/%s", pid_str); - n = snprintf(proccess_proc_dir, sizeof(proccess_proc_dir), "/proc/%s", pid_str); if (likely((0 < n) && (n < (int)sizeof(proccess_proc_dir)))) { return stat(proccess_proc_dir, &st) == 0; } @@ -960,9 +959,8 @@ bool check_if_process_running(char* pid_str) bool check_if_process_running(int pid) { char pid_str[MAX_BUFF_SIZE] = {0}; - int n = -1; - - n = snprintf(pid_str, sizeof(pid_str), "%d", pid); + int n = snprintf(pid_str, sizeof(pid_str), "%d", pid); + if (likely((0 < n) && (n < (int)sizeof(pid_str)))) { return check_if_process_running(pid_str); } @@ -1119,9 +1117,8 @@ bool check_if_app_match(char* app_name, char* pid_str) char app_full_name[PATH_MAX] = {0}; char proccess_proc_dir[FILE_NAME_MAX_SIZE] = {0}; char* app_base_name = NULL; - int n = -1; + int n = snprintf(proccess_proc_dir, sizeof(proccess_proc_dir), "/proc/%s/exe", pid_str); - n = snprintf(proccess_proc_dir, sizeof(proccess_proc_dir), "/proc/%s/exe", pid_str); if (likely((0 < n) && (n < (int)sizeof(proccess_proc_dir)))) { n = readlink(proccess_proc_dir, app_full_name, sizeof(app_full_name) - 1); if (n > 0) { @@ -1155,9 +1152,8 @@ void clean_inactive_sh_ibj() proccess_running = check_if_process_running(dirent->d_name + pid_offset); if (!proccess_running) { char to_delete[PATH_MAX + 1] = {0}; - int n = -1; - - n = snprintf(to_delete, sizeof(to_delete), "%s/%s", user_params.vma_stats_path.c_str(), dirent->d_name); + int n = snprintf(to_delete, sizeof(to_delete), "%s/%s", user_params.vma_stats_path.c_str(), dirent->d_name); + if (likely((0 < n) && (n < (int)sizeof(to_delete)))) { unlink(to_delete); } diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index 868f6d2b9..ff1eccbb5 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -295,7 +295,7 @@ void vma_allocator::register_memory(size_t size, ib_ctx_handler *p_ib_ctx_h, { ib_context_map_t *ib_ctx_map = NULL; ib_ctx_handler *p_ib_ctx_h_ref = p_ib_ctx_h; - uint32_t lkey = (uint32_t)(-1); + uint32_t lkey; bool failed = false; ib_ctx_map = g_p_ib_ctx_handler_collection->get_ib_cxt_list(); @@ -363,9 +363,9 @@ void vma_allocator::register_memory(size_t size, ib_ctx_handler *p_ib_ctx_h, void vma_allocator::deregister_memory() { - ib_ctx_handler *p_ib_ctx_h = NULL; - ib_context_map_t *ib_ctx_map = NULL; - uint32_t lkey = (uint32_t)(-1); + ib_ctx_handler *p_ib_ctx_h; + ib_context_map_t *ib_ctx_map; + uint32_t lkey; ib_ctx_map = g_p_ib_ctx_handler_collection->get_ib_cxt_list(); if (ib_ctx_map) { diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index b8ac4b058..6e3be1def 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -147,8 +147,8 @@ net_device_table_mgr::~net_device_table_mgr() void net_device_table_mgr::update_tbl() { - int rc = 0; - int fd = -1; + int rc; + int fd; struct { struct nlmsghdr hdr; struct ifinfomsg infomsg; diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index efa794572..1811c9a49 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -342,8 +342,8 @@ net_device_val::~net_device_val() void net_device_val::set_ip_array() { - int rc = 0; - int fd = -1; + int rc; + int fd; struct { struct nlmsghdr hdr; struct ifaddrmsg addrmsg; diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index 24ac8d6c5..b0703ac5d 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -137,9 +137,9 @@ void ring_bond::restart() if (p_ring_tap) { size_t num_ring_rx_fds = 0; int *ring_rx_fds_array = NULL; - int epfd = -1; - int fd = -1; - int rc = 0; + int rc; + int fd; + int epfd; size_t i, j, k; NOT_IN_USE(rc); // Suppress --enable-opt-log=high warning @@ -273,7 +273,7 @@ void ring_bond::restart() } popup_xmit_rings(); - int ret = 0; + int ret; uint64_t poll_sn = cq_mgr::m_n_global_sn; ret = request_notification(CQT_RX, poll_sn); if (ret < 0) { diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index 64087210c..18e519275 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -94,7 +94,7 @@ void ring_tap::tap_create(net_device_val* p_ndev) #define TAP_STR_LENGTH 512 #define TAP_DISABLE_IPV6 "sysctl -w net.ipv6.conf.%s.disable_ipv6=1" - int rc = 0, tap_if_index = -1, ioctl_sock = -1; + int rc, tap_if_index, ioctl_sock = -1; struct ifreq ifr; char command_str[TAP_STR_LENGTH], return_str[TAP_STR_LENGTH], tap_name[IFNAMSIZ]; unsigned char hw_addr[ETH_ALEN] = {0}; diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index f2ec6bc3f..0f866dbd1 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -303,6 +303,7 @@ int priv_ibv_modify_qp_ratelimit(struct ibv_qp *qp, struct vma_rate_limit_t &rat if (rate_limit.rate && (rl_changes & RL_RATE)) { qp_attr.rate_limit = rate_limit.rate; + /* coverity[assigned_value] */ attr_mask |= IBV_QP_RATE_LIMIT; } #ifdef DEFINED_IBV_QP_SUPPORT_BURST diff --git a/src/vma/lwip/tcp_in.c b/src/vma/lwip/tcp_in.c index 0da290bd6..eaffb67a0 100644 --- a/src/vma/lwip/tcp_in.c +++ b/src/vma/lwip/tcp_in.c @@ -280,12 +280,14 @@ L3_level_tcp_input(struct pbuf *p, struct tcp_pcb* pcb) Below this line, 'pcb' may not be dereferenced! */ aborted: tcp_input_pcb = NULL; + /* coverity[assigned_pointer] */ in_data.recv_data = NULL; /* give up our reference to inseg.p */ if (in_data.inseg.p != NULL) { pbuf_free(in_data.inseg.p); + /* coverity[assigned_pointer] */ in_data.inseg.p = NULL; } } diff --git a/src/vma/main.cpp b/src/vma/main.cpp index 25ddbdb8f..8f2bdb778 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -318,6 +318,7 @@ void print_vma_global_settings() vlog_printf(VLOG_INFO,"Cmd Line: %s\n", safe_mce_sys().app_name); // Use DEBUG level logging with more details in RPM release builds + /* coverity[assigned_value] */ vlog_levels_t log_level = VLOG_DEBUG; #if !defined(PRJ_LIBRARY_RELEASE) || (PRJ_LIBRARY_RELEASE == 0) // If non RPM (development builds) use more verbosity diff --git a/src/vma/sock/fd_collection.cpp b/src/vma/sock/fd_collection.cpp index c210843e8..5642b85d2 100644 --- a/src/vma/sock/fd_collection.cpp +++ b/src/vma/sock/fd_collection.cpp @@ -618,7 +618,6 @@ void fd_collection::handle_timer_expired(void* user_data) if (p_sock_fd) { p_sock_fd->clean_obj(); - p_sock_fd = NULL; } //Deactivate the timer since there are no any pending to remove socket to handle anymore diff --git a/src/vma/sock/pipeinfo.cpp b/src/vma/sock/pipeinfo.cpp index 1c1bc66e4..2f6ac1a6f 100644 --- a/src/vma/sock/pipeinfo.cpp +++ b/src/vma/sock/pipeinfo.cpp @@ -241,6 +241,7 @@ ssize_t pipeinfo::tx(vma_tx_call_attr_t &tx_arg) const int __flags = tx_arg.attr.msg.flags; const struct sockaddr *__to = tx_arg.attr.msg.addr; const socklen_t __tolen = tx_arg.attr.msg.len; + /* coverity[assigned_value] */ ssize_t ret = -1; pi_logfunc(""); diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index 024ff3e32..74a54cc21 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -698,8 +698,10 @@ net_device_resources_t* sockinfo::create_nd_resources(const ip_address ip_local) // Need to register as observer to net_device net_device_resources_t nd_resources; nd_resources.refcnt = 0; + /* coverity[assigned_pointer] */ nd_resources.p_nde = NULL; nd_resources.p_ndv = NULL; + /* coverity[assigned_pointer] */ nd_resources.p_ring = NULL; BULLSEYE_EXCLUDE_BLOCK_START diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index 9a1032f3d..69ff0d39b 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -845,7 +845,7 @@ int sockinfo_udp::setsockopt(int __level, int __optname, __const void *__optval, case IP_MULTICAST_TTL: { - int n_mc_ttl = -1; + int n_mc_ttl; if (__optlen == sizeof(m_n_mc_ttl)) n_mc_ttl = *(char*)__optval; else if (__optlen == sizeof(int)) diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 92c9dfac8..370df177d 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -300,8 +300,8 @@ int mce_sys_var::env_to_cpuset(char *orig_start, cpu_set_t *cpu_set) void mce_sys_var::read_env_variable_with_pid(char* mce_sys_name, size_t mce_sys_max_size, char* env_ptr) { - int n = -1; - char* d_pos = NULL; + int n; + char* d_pos; if (NULL == env_ptr || NULL == mce_sys_name || mce_sys_max_size < 2) { return ; diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index d1e52040d..616b9003e 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -386,7 +386,7 @@ const char* iphdr_protocol_type_to_str(const int type) int priv_read_file(const char *path, char *buf, size_t size, vlog_levels_t log_level /*= VLOG_ERROR*/) { - int len = -1; + int len; int fd = open(path, O_RDONLY); BULLSEYE_EXCLUDE_BLOCK_START if (fd < 0) { @@ -571,7 +571,7 @@ int get_window_scaling_factor(int tcp_rmem_max, int core_rmem_max) int get_ipv4_from_ifname(char *ifname, struct sockaddr_in *addr) { - int ret = -1; + int ret; __log_func("find ip addr for ifname '%s'", ifname); int fd = orig_os_api.socket(AF_INET, SOCK_DGRAM, 0); @@ -933,9 +933,8 @@ bool check_device_exist(const char* ifname, const char *path) { char device_path[256] = {0}; int fd = -1; - int n = -1; + int n = snprintf(device_path, sizeof(device_path), path, ifname); - n = snprintf(device_path, sizeof(device_path), path, ifname); if (likely((0 < n) && (n < (int)sizeof(device_path)))) { fd = orig_os_api.open(device_path, O_RDONLY); if (fd >= 0) { @@ -951,17 +950,16 @@ bool check_device_exist(const char* ifname, const char *path) bool check_device_name_ib_name(const char* ifname, const char* ibname) { - int n = -1; - int fd = -1; + int fd; char ib_path[IBV_SYSFS_PATH_MAX]= {0}; const char *str_ifname = ifname; - + int n = snprintf(ib_path, sizeof(ib_path), "/sys/class/infiniband/%s/device/net/%s/ifindex", + ibname, str_ifname); /* Case #1: * Direct mapping between if device and ib device * For example: ens4f1 -> mlx5_3 */ - n = snprintf(ib_path, sizeof(ib_path), "/sys/class/infiniband/%s/device/net/%s/ifindex", - ibname, str_ifname); + if (likely((0 < n) && (n < (int)sizeof(ib_path)))) { fd = open(ib_path, O_RDONLY); if (fd >= 0) { diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index f4c07408b..95b33b886 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -252,7 +252,7 @@ static inline int get_procname(int pid, char *proc, size_t size) char app_full_name[PATH_MAX] = {0}; char proccess_proc_dir[FILE_NAME_MAX_SIZE] = {0}; char* app_base_name = NULL; - int n = -1; + int n; if (NULL == proc) { return -1; diff --git a/tools/daemon/hash.c b/tools/daemon/hash.c index c111ee251..d850b9081 100644 --- a/tools/daemon/hash.c +++ b/tools/daemon/hash.c @@ -90,7 +90,6 @@ void hash_destroy(hash_t ht) ht->hash_table = NULL; } free(ht); - ht = NULL; } } diff --git a/tools/daemon/loop.c b/tools/daemon/loop.c index c4c21a8e7..f4377e051 100644 --- a/tools/daemon/loop.c +++ b/tools/daemon/loop.c @@ -70,7 +70,7 @@ int proc_loop(void) while ((0 == daemon_cfg.sig) && (errno != EINTR)) { fd_set readfds; struct timeval tv; - int max_fd = -1; + int max_fd; FD_ZERO(&readfds); FD_SET(daemon_cfg.sock_fd, &readfds); diff --git a/tools/daemon/nl.c b/tools/daemon/nl.c index a338edf88..2d2d194a6 100644 --- a/tools/daemon/nl.c +++ b/tools/daemon/nl.c @@ -30,7 +30,7 @@ struct nl_object { nl_t nl_create(void) { nl_t nt = NULL; - int fd = -1; + int fd; nt = (struct nl_object *)malloc(sizeof(*nt)); if (nt) { @@ -72,7 +72,6 @@ nl_t nl_create(void) if (nt) { free(nt); } - nt = NULL; return NULL; } @@ -82,7 +81,6 @@ void nl_destroy(nl_t nt) if (nt) { close(nt->fd); free(nt); - nt = NULL; } } @@ -91,7 +89,7 @@ int nl_send(nl_t nt, struct nlmsghdr *nl_msg) struct sockaddr_nl nladdr; struct iovec iov; struct msghdr msg; - int ret = -1; + int ret; nl_msg->nlmsg_seq = nt->seq++; diff --git a/tools/daemon/notify.c b/tools/daemon/notify.c index 4f9e24d06..1ba46783b 100644 --- a/tools/daemon/notify.c +++ b/tools/daemon/notify.c @@ -174,7 +174,7 @@ int proc_notify(void) static int setup_notify(void) { - int fd = -1; + int fd; /* Set method for processing * fanotify has the highest priority because it has better diff --git a/tools/daemon/tc.c b/tools/daemon/tc.c index 08ff0dcfc..f4a242475 100644 --- a/tools/daemon/tc.c +++ b/tools/daemon/tc.c @@ -60,7 +60,6 @@ tc_t tc_create(void) return tc; err: free(tc); - tc = NULL; return NULL; } @@ -70,7 +69,6 @@ void tc_destroy(tc_t tc) if (tc) { nl_destroy(tc->nl); free(tc); - tc = NULL; } } From 7576b9ee6f71db150699483d864c58eeadc3c155 Mon Sep 17 00:00:00 2001 From: Gal Noam Date: Wed, 24 Dec 2025 23:57:01 +0200 Subject: [PATCH 131/150] issue: 321712 ****************** VMA 9.8.82 ****************** Signed-off-by: Gal Noam --- CHANGES | 7 +++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 74799bde5..ed8d5ffa8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +Version 9.8.82-1: +Date + Time 2025-12-24 +============================================================= +Fixed: + - RM #4625338 Fix coverity issues + - RM #4751690 Fix FIN flow during SYN handshake in VMA_TCP_CTL + Version 9.8.81-1: Date + Time 2025-12-14 ============================================================= diff --git a/configure.ac b/configure.ac index 4d5cfa142..cfe385f59 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 81) +define([prj_ver_revision], 82) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 1351c6e85..98dc9d7f2 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Sun Dec 14 2025 NVIDIA CORPORATION 9.8.81-1 -- Bump version to 9.8.81 +* Wed Dec 24 2025 NVIDIA CORPORATION 9.8.82-1 +- Bump version to 9.8.82 - Please refer to CHANGES for full changelog. From 2e6d439758085dca54ec07a2f0b5d5abf6072ef4 Mon Sep 17 00:00:00 2001 From: Tomer Cabouly Date: Thu, 1 Jan 2026 12:24:57 +0000 Subject: [PATCH 132/150] issue: 4817154 Update Copyrights Header Update Copyrights Header to include year 2026. Signed-off-by: Tomer Cabouly --- COPYING | 2 +- LICENSE | 2 +- config/m4/compiler.m4 | 2 +- config/m4/func.m4 | 2 +- config/m4/nl.m4 | 2 +- config/m4/opt.m4 | 2 +- config/m4/prof.m4 | 2 +- config/m4/verbs.m4 | 2 +- contrib/scripts/vma.init.in | 2 +- contrib/test_jenkins.sh | 2 +- debian/copyright | 2 +- src/state_machine/main.cpp | 2 +- src/state_machine/sm.cpp | 2 +- src/state_machine/sm.h | 2 +- src/state_machine/sm_fifo.cpp | 2 +- src/state_machine/sm_fifo.h | 2 +- src/stats/stats_data_reader.h | 2 +- src/stats/stats_printer.cpp | 2 +- src/stats/stats_publisher.cpp | 2 +- src/stats/stats_reader.cpp | 2 +- src/utils/asm-arm64.h | 2 +- src/utils/asm-ppc64.h | 2 +- src/utils/asm-x86.h | 2 +- src/utils/asm.h | 2 +- src/utils/atomic.h | 2 +- src/utils/bullseye.h | 2 +- src/utils/clock.h | 2 +- src/utils/compiler.h | 2 +- src/utils/lock_wrapper.h | 2 +- src/utils/rdtsc.h | 2 +- src/utils/types.h | 2 +- src/vlogger/main.cpp | 2 +- src/vlogger/vlogger.cpp | 2 +- src/vlogger/vlogger.h | 2 +- src/vma/config_scanner.c | 2 +- src/vma/dev/allocator.cpp | 2 +- src/vma/dev/allocator.h | 2 +- src/vma/dev/buffer_pool.cpp | 2 +- src/vma/dev/buffer_pool.h | 2 +- src/vma/dev/cq_mgr.cpp | 2 +- src/vma/dev/cq_mgr.h | 2 +- src/vma/dev/cq_mgr.inl | 2 +- src/vma/dev/cq_mgr_mlx5.cpp | 2 +- src/vma/dev/cq_mgr_mlx5.h | 2 +- src/vma/dev/cq_mgr_mlx5.inl | 2 +- src/vma/dev/dm_mgr.cpp | 2 +- src/vma/dev/dm_mgr.h | 2 +- src/vma/dev/gro_mgr.cpp | 2 +- src/vma/dev/gro_mgr.h | 2 +- src/vma/dev/ib_ctx_handler.cpp | 2 +- src/vma/dev/ib_ctx_handler.h | 2 +- src/vma/dev/ib_ctx_handler_collection.cpp | 2 +- src/vma/dev/ib_ctx_handler_collection.h | 2 +- src/vma/dev/net_device_entry.cpp | 2 +- src/vma/dev/net_device_entry.h | 2 +- src/vma/dev/net_device_table_mgr.cpp | 2 +- src/vma/dev/net_device_table_mgr.h | 2 +- src/vma/dev/net_device_val.cpp | 2 +- src/vma/dev/net_device_val.h | 2 +- src/vma/dev/qp_mgr.cpp | 2 +- src/vma/dev/qp_mgr.h | 2 +- src/vma/dev/qp_mgr_eth_direct.cpp | 2 +- src/vma/dev/qp_mgr_eth_direct.h | 2 +- src/vma/dev/qp_mgr_eth_mlx5.cpp | 2 +- src/vma/dev/qp_mgr_eth_mlx5.h | 2 +- src/vma/dev/rfs.cpp | 2 +- src/vma/dev/rfs.h | 2 +- src/vma/dev/rfs_mc.cpp | 2 +- src/vma/dev/rfs_mc.h | 2 +- src/vma/dev/rfs_uc.cpp | 2 +- src/vma/dev/rfs_uc.h | 2 +- src/vma/dev/rfs_uc_tcp_gro.cpp | 2 +- src/vma/dev/rfs_uc_tcp_gro.h | 2 +- src/vma/dev/ring.cpp | 2 +- src/vma/dev/ring.h | 2 +- src/vma/dev/ring_allocation_logic.cpp | 2 +- src/vma/dev/ring_allocation_logic.h | 2 +- src/vma/dev/ring_bond.cpp | 2 +- src/vma/dev/ring_bond.h | 2 +- src/vma/dev/ring_eth_direct.cpp | 2 +- src/vma/dev/ring_eth_direct.h | 2 +- src/vma/dev/ring_profile.cpp | 2 +- src/vma/dev/ring_profile.h | 2 +- src/vma/dev/ring_simple.cpp | 2 +- src/vma/dev/ring_simple.h | 2 +- src/vma/dev/ring_slave.cpp | 2 +- src/vma/dev/ring_slave.h | 2 +- src/vma/dev/ring_tap.cpp | 2 +- src/vma/dev/ring_tap.h | 2 +- src/vma/dev/time_converter.cpp | 2 +- src/vma/dev/time_converter.h | 2 +- src/vma/dev/time_converter_ib_ctx.cpp | 2 +- src/vma/dev/time_converter_ib_ctx.h | 2 +- src/vma/dev/time_converter_ptp.cpp | 2 +- src/vma/dev/time_converter_ptp.h | 2 +- src/vma/dev/wqe_send_handler.cpp | 2 +- src/vma/dev/wqe_send_handler.h | 2 +- src/vma/event/command.h | 2 +- src/vma/event/delta_timer.cpp | 2 +- src/vma/event/delta_timer.h | 2 +- src/vma/event/event.h | 2 +- src/vma/event/event_handler_ibverbs.h | 2 +- src/vma/event/event_handler_manager.cpp | 2 +- src/vma/event/event_handler_manager.h | 2 +- src/vma/event/event_handler_rdma_cm.h | 2 +- src/vma/event/netlink_event.cpp | 2 +- src/vma/event/netlink_event.h | 2 +- src/vma/event/timer_handler.h | 2 +- src/vma/event/timers_group.h | 2 +- src/vma/event/vlogger_timer_handler.cpp | 2 +- src/vma/event/vlogger_timer_handler.h | 2 +- src/vma/ib/base/verbs_extra.cpp | 2 +- src/vma/ib/base/verbs_extra.h | 2 +- src/vma/ib/mlx5/ib_mlx5.cpp | 2 +- src/vma/ib/mlx5/ib_mlx5.h | 2 +- src/vma/infra/DemoCollMgr.cpp | 2 +- src/vma/infra/DemoCollMgr.h | 2 +- src/vma/infra/DemoObserver.cpp | 2 +- src/vma/infra/DemoObserver.h | 2 +- src/vma/infra/DemoSubject.cpp | 2 +- src/vma/infra/DemoSubject.h | 2 +- src/vma/infra/cache_subject_observer.h | 2 +- src/vma/infra/main.cpp | 2 +- src/vma/infra/sender.cpp | 2 +- src/vma/infra/sender.h | 2 +- src/vma/infra/sender_info_dst.cpp | 2 +- src/vma/infra/sender_info_dst.h | 2 +- src/vma/infra/subject_observer.cpp | 2 +- src/vma/infra/subject_observer.h | 2 +- src/vma/iomux/epfd_info.cpp | 2 +- src/vma/iomux/epfd_info.h | 2 +- src/vma/iomux/epoll_wait_call.cpp | 2 +- src/vma/iomux/epoll_wait_call.h | 2 +- src/vma/iomux/io_mux_call.cpp | 2 +- src/vma/iomux/io_mux_call.h | 2 +- src/vma/iomux/poll_call.cpp | 2 +- src/vma/iomux/poll_call.h | 2 +- src/vma/iomux/select_call.cpp | 2 +- src/vma/iomux/select_call.h | 2 +- src/vma/libvma.c | 2 +- src/vma/lwip/cc.c | 2 +- src/vma/lwip/cc.h | 2 +- src/vma/lwip/cc_cubic.c | 2 +- src/vma/lwip/cc_cubic.h | 2 +- src/vma/lwip/cc_lwip.c | 2 +- src/vma/lwip/cc_none.c | 2 +- src/vma/main.cpp | 2 +- src/vma/main.h | 2 +- src/vma/netlink/link_info.cpp | 2 +- src/vma/netlink/link_info.h | 2 +- src/vma/netlink/neigh_info.cpp | 2 +- src/vma/netlink/neigh_info.h | 2 +- src/vma/netlink/netlink_compatibility.cpp | 2 +- src/vma/netlink/netlink_compatibility.h | 2 +- src/vma/netlink/netlink_wrapper.cpp | 2 +- src/vma/netlink/netlink_wrapper.h | 2 +- src/vma/netlink/route_info.cpp | 2 +- src/vma/netlink/route_info.h | 2 +- src/vma/netlink/test_main.cpp | 2 +- src/vma/proto/L2_address.cpp | 2 +- src/vma/proto/L2_address.h | 2 +- src/vma/proto/arp.cpp | 2 +- src/vma/proto/arp.h | 2 +- src/vma/proto/dst_entry.cpp | 2 +- src/vma/proto/dst_entry.h | 2 +- src/vma/proto/dst_entry_tcp.cpp | 2 +- src/vma/proto/dst_entry_tcp.h | 2 +- src/vma/proto/dst_entry_udp.cpp | 2 +- src/vma/proto/dst_entry_udp.h | 2 +- src/vma/proto/dst_entry_udp_mc.cpp | 2 +- src/vma/proto/dst_entry_udp_mc.h | 2 +- src/vma/proto/flow_tuple.cpp | 2 +- src/vma/proto/flow_tuple.h | 2 +- src/vma/proto/header.cpp | 2 +- src/vma/proto/header.h | 2 +- src/vma/proto/ip_address.h | 2 +- src/vma/proto/ip_frag.cpp | 2 +- src/vma/proto/ip_frag.h | 2 +- src/vma/proto/mem_buf_desc.h | 2 +- src/vma/proto/neighbour.cpp | 2 +- src/vma/proto/neighbour.h | 2 +- src/vma/proto/neighbour_table_mgr.cpp | 2 +- src/vma/proto/neighbour_table_mgr.h | 2 +- src/vma/proto/netlink_socket_mgr.h | 2 +- src/vma/proto/peer_key.h | 2 +- src/vma/proto/route_entry.cpp | 2 +- src/vma/proto/route_entry.h | 2 +- src/vma/proto/route_rule_table_key.h | 2 +- src/vma/proto/route_table_mgr.cpp | 2 +- src/vma/proto/route_table_mgr.h | 2 +- src/vma/proto/route_val.cpp | 2 +- src/vma/proto/route_val.h | 2 +- src/vma/proto/rule_entry.cpp | 2 +- src/vma/proto/rule_entry.h | 2 +- src/vma/proto/rule_table_mgr.cpp | 2 +- src/vma/proto/rule_table_mgr.h | 2 +- src/vma/proto/rule_val.cpp | 2 +- src/vma/proto/rule_val.h | 2 +- src/vma/proto/vma_lwip.cpp | 2 +- src/vma/proto/vma_lwip.h | 2 +- src/vma/sock/cleanable_obj.h | 2 +- src/vma/sock/fd_collection.cpp | 2 +- src/vma/sock/fd_collection.h | 2 +- src/vma/sock/pipeinfo.cpp | 2 +- src/vma/sock/pipeinfo.h | 2 +- src/vma/sock/pkt_rcvr_sink.h | 2 +- src/vma/sock/pkt_sndr_source.h | 2 +- src/vma/sock/sock-redirect.cpp | 2 +- src/vma/sock/sock-redirect.h | 2 +- src/vma/sock/socket_fd_api.cpp | 2 +- src/vma/sock/socket_fd_api.h | 2 +- src/vma/sock/sockinfo.cpp | 2 +- src/vma/sock/sockinfo.h | 2 +- src/vma/sock/sockinfo_tcp.cpp | 2 +- src/vma/sock/sockinfo_tcp.h | 2 +- src/vma/sock/sockinfo_udp.cpp | 2 +- src/vma/sock/sockinfo_udp.h | 2 +- src/vma/util/agent.cpp | 2 +- src/vma/util/agent.h | 2 +- src/vma/util/agent_def.h | 2 +- src/vma/util/chunk_list.h | 2 +- src/vma/util/config_parser.y | 2 +- src/vma/util/config_scanner.l | 2 +- src/vma/util/data_updater.cpp | 2 +- src/vma/util/data_updater.h | 2 +- src/vma/util/hash_map.h | 2 +- src/vma/util/hash_map.inl | 2 +- src/vma/util/if.h | 2 +- src/vma/util/instrumentation.cpp | 2 +- src/vma/util/instrumentation.h | 2 +- src/vma/util/libvma.h | 2 +- src/vma/util/match.cpp | 2 +- src/vma/util/sg_array.h | 2 +- src/vma/util/sock_addr.h | 2 +- src/vma/util/sys_vars.cpp | 2 +- src/vma/util/sys_vars.h | 2 +- src/vma/util/sysctl_reader.h | 2 +- src/vma/util/to_str.h | 2 +- src/vma/util/utils.cpp | 2 +- src/vma/util/utils.h | 2 +- src/vma/util/valgrind.h | 2 +- src/vma/util/vma_list.h | 2 +- src/vma/util/vma_stats.h | 2 +- src/vma/util/vtypes.h | 2 +- src/vma/util/wakeup.cpp | 2 +- src/vma/util/wakeup.h | 2 +- src/vma/util/wakeup_pipe.cpp | 2 +- src/vma/util/wakeup_pipe.h | 2 +- src/vma/vma_extra.h | 2 +- tests/api-support-check.py | 2 +- tests/async-echo-client/async-echo-client.py | 2 +- tests/async-echo-client/echo-server.py | 2 +- tests/async-echo-client/syncronized-echo-client.py | 2 +- tests/benchmarking_test/Accelerators_Benchmarking.sh | 2 +- tests/bindtodevice/client.py | 2 +- tests/connect-disconnect/client.py | 2 +- tests/extra_api_tests/socketxtreme/server_tcp.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/client.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/client.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/main.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/server.c | 2 +- tests/extra_api_tests/tcp_zcopy_cb/server.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/types.h | 2 +- tests/extra_api_tests/tcp_zcopy_cb/utils.c | 2 +- tests/functionality/getsockname_test.c | 2 +- tests/functionality/iomux/1epoll_1socket_twice.c | 2 +- tests/functionality/iomux/2epoll_1socket.c | 2 +- tests/functionality/iomux/client.py | 2 +- tests/functionality/iomux/eclient.py | 2 +- tests/functionality/iomux/eserver.py | 2 +- tests/functionality/iomux/pclient.py | 2 +- tests/functionality/iomux/pserver.py | 2 +- tests/functionality/iomux/server.py | 2 +- tests/gtest/common/base.cc | 2 +- tests/gtest/common/base.h | 2 +- tests/gtest/common/cmn.h | 2 +- tests/gtest/common/def.h | 2 +- tests/gtest/common/log.h | 2 +- tests/gtest/common/sys.cc | 2 +- tests/gtest/common/sys.h | 2 +- tests/gtest/main.cc | 2 +- tests/gtest/mix/mix_base.cc | 2 +- tests/gtest/mix/mix_base.h | 2 +- tests/gtest/mix/mix_list.cc | 2 +- tests/gtest/mix/sg_array.cc | 2 +- tests/gtest/sock/sock_base.cc | 2 +- tests/gtest/sock/sock_base.h | 2 +- tests/gtest/sock/sock_socket.cc | 2 +- tests/gtest/tcp/tcp_base.cc | 2 +- tests/gtest/tcp/tcp_base.h | 2 +- tests/gtest/tcp/tcp_bind.cc | 2 +- tests/gtest/tcp/tcp_connect.cc | 2 +- tests/gtest/tcp/tcp_connect_nb.cc | 2 +- tests/gtest/tcp/tcp_event.cc | 2 +- tests/gtest/tcp/tcp_send.cc | 2 +- tests/gtest/tcp/tcp_send_zc.cc | 2 +- tests/gtest/tcp/tcp_sendfile.cc | 2 +- tests/gtest/tcp/tcp_sendto.cc | 2 +- tests/gtest/tcp/tcp_socket.cc | 2 +- tests/gtest/tcp/tcp_sockopt.cc | 2 +- tests/gtest/tcp/tcp_tls.cc | 2 +- tests/gtest/udp/udp_base.cc | 2 +- tests/gtest/udp/udp_base.h | 2 +- tests/gtest/udp/udp_bind.cc | 2 +- tests/gtest/udp/udp_connect.cc | 2 +- tests/gtest/udp/udp_send.cc | 2 +- tests/gtest/udp/udp_sendto.cc | 2 +- tests/gtest/vma/vma_base.cc | 2 +- tests/gtest/vma/vma_base.h | 2 +- tests/gtest/vma/vma_ioctl.cc | 2 +- tests/gtest/vma/vma_poll.cc | 2 +- tests/gtest/vma/vma_recvfrom_zcopy.cc | 2 +- tests/gtest/vma/vma_ring.cc | 2 +- tests/gtest/vma/vma_sockopt.cc | 2 +- tests/gtest/vmad/vmad_base.cc | 2 +- tests/gtest/vmad/vmad_base.h | 2 +- tests/gtest/vmad/vmad_bitmap.cc | 2 +- tests/gtest/vmad/vmad_flow.cc | 2 +- tests/gtest/vmad/vmad_hash.cc | 2 +- tests/gtest/vmad/vmad_init.cc | 2 +- tests/gtest/vmad/vmad_state.cc | 2 +- tests/latency_test/tcp_lat.cpp | 2 +- tests/latency_test/udp_lat.c | 2 +- tests/listen/tcp_client.py | 2 +- tests/listen/tcp_server.py | 2 +- tests/low_pps_tcp_send_test/exchange.cpp | 2 +- tests/low_pps_tcp_send_test/trader.cpp | 2 +- tests/mc_loop_test/mc_loop_test.c | 2 +- tests/multithread_test/exchange.cpp | 2 +- tests/multithread_test/trader.cpp | 2 +- tests/pps_test/pps_test.c | 2 +- .../server_socket_receive_and_recreate_loop.py | 2 +- tests/resource_release_checker/server_socket_recreate_loop.py | 2 +- tests/reuse_ud_test.c | 2 +- tests/select_t1.c | 2 +- tests/server_test/client.cc | 2 +- tests/server_test/client.h | 2 +- tests/server_test/main.cc | 2 +- tests/server_test/options.cc | 2 +- tests/server_test/options.h | 2 +- tests/server_test/server.cc | 2 +- tests/server_test/server.h | 2 +- tests/server_test/vtime.cc | 2 +- tests/server_test/vtime.h | 2 +- tests/simple_fork/fork.py | 2 +- tests/tcp_window_size_exerciser/Makefile | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test.h | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test_client.c | 2 +- tests/tcp_window_size_exerciser/tcp_wnd_test_server.c | 2 +- tests/testbed/testbed.c | 2 +- tests/throughput_test/bandwidth_test.c | 2 +- tests/timetest/timetest.cpp | 2 +- tests/vma_perf_envelope/vma_multiplexers_test.sh | 2 +- tests/vma_perf_envelope/vma_perf_envelope.sh | 2 +- tools/daemon/bitmap.h | 2 +- tools/daemon/daemon.c | 2 +- tools/daemon/daemon.h | 2 +- tools/daemon/flow.c | 2 +- tools/daemon/hash.c | 2 +- tools/daemon/hash.h | 2 +- tools/daemon/loop.c | 2 +- tools/daemon/message.c | 2 +- tools/daemon/nl.c | 2 +- tools/daemon/nl.h | 2 +- tools/daemon/notify.c | 2 +- tools/daemon/store.c | 2 +- tools/daemon/tc.c | 2 +- tools/daemon/tc.h | 2 +- 368 files changed, 368 insertions(+), 368 deletions(-) diff --git a/COPYING b/COPYING index 13768c821..177e35d05 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2020-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: GPL-2.0-only GNU GENERAL PUBLIC LICENSE diff --git a/LICENSE b/LICENSE index e041a1bf3..9339c274e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2020-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause This software is available to you under a choice of one of two diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4 index 99e0748fd..6467cf871 100644 --- a/config/m4/compiler.m4 +++ b/config/m4/compiler.m4 @@ -1,6 +1,6 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # compiler.m4 - Configure compiler capabilities diff --git a/config/m4/func.m4 b/config/m4/func.m4 index 54be94123..3c90aa3c1 100644 --- a/config/m4/func.m4 +++ b/config/m4/func.m4 @@ -1,6 +1,6 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # func.m4 - Collection of functions diff --git a/config/m4/nl.m4 b/config/m4/nl.m4 index f0b859644..9ec727560 100644 --- a/config/m4/nl.m4 +++ b/config/m4/nl.m4 @@ -1,6 +1,6 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # nl.m4 - Detect nl package diff --git a/config/m4/opt.m4 b/config/m4/opt.m4 index b884196bf..b54fab243 100644 --- a/config/m4/opt.m4 +++ b/config/m4/opt.m4 @@ -1,6 +1,6 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # opt.m4 - Macros to control optimization diff --git a/config/m4/prof.m4 b/config/m4/prof.m4 index 43d7bdfdd..c42644f96 100644 --- a/config/m4/prof.m4 +++ b/config/m4/prof.m4 @@ -1,6 +1,6 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # prof.m4 - Profiling, instrumentation diff --git a/config/m4/verbs.m4 b/config/m4/verbs.m4 index c898367cb..5f40c5a61 100644 --- a/config/m4/verbs.m4 +++ b/config/m4/verbs.m4 @@ -1,6 +1,6 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # verbs.m4 - Parsing verbs capabilities diff --git a/contrib/scripts/vma.init.in b/contrib/scripts/vma.init.in index ac63c02d5..b0e0b18e5 100644 --- a/contrib/scripts/vma.init.in +++ b/contrib/scripts/vma.init.in @@ -1,7 +1,7 @@ #!/bin/bash # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/contrib/test_jenkins.sh b/contrib/test_jenkins.sh index 51abbdd86..179ee543b 100755 --- a/contrib/test_jenkins.sh +++ b/contrib/test_jenkins.sh @@ -2,7 +2,7 @@ # # Testing script for VMA, to run from Jenkins CI # -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # See file LICENSE for terms. # diff --git a/debian/copyright b/debian/copyright index 88a14f583..52d7d5385 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: libvma Source: https://github.com/Mellanox/libvma Files: * -Copyright: 2001-2025 NVIDIA CORPORATION & AFFILIATES. +Copyright: 2001-2026 NVIDIA CORPORATION & AFFILIATES. License: GPL-2 or BSD * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/src/state_machine/main.cpp b/src/state_machine/main.cpp index 36b7cce11..da51ded9e 100644 --- a/src/state_machine/main.cpp +++ b/src/state_machine/main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/state_machine/sm.cpp b/src/state_machine/sm.cpp index 09c517331..5b4ec2b88 100644 --- a/src/state_machine/sm.cpp +++ b/src/state_machine/sm.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/state_machine/sm.h b/src/state_machine/sm.h index 35178efc0..29caf3072 100644 --- a/src/state_machine/sm.h +++ b/src/state_machine/sm.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/state_machine/sm_fifo.cpp b/src/state_machine/sm_fifo.cpp index 65d98580b..02f6a21ce 100644 --- a/src/state_machine/sm_fifo.cpp +++ b/src/state_machine/sm_fifo.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/state_machine/sm_fifo.h b/src/state_machine/sm_fifo.h index 8ace64ab5..d633624f2 100644 --- a/src/state_machine/sm_fifo.h +++ b/src/state_machine/sm_fifo.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/stats/stats_data_reader.h b/src/stats/stats_data_reader.h index e9ef75b9d..eac4a7769 100644 --- a/src/stats/stats_data_reader.h +++ b/src/stats/stats_data_reader.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/stats/stats_printer.cpp b/src/stats/stats_printer.cpp index bcbcb18f6..45ee2a94e 100644 --- a/src/stats/stats_printer.cpp +++ b/src/stats/stats_printer.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/stats/stats_publisher.cpp b/src/stats/stats_publisher.cpp index 4ed7b39b5..601d4f811 100644 --- a/src/stats/stats_publisher.cpp +++ b/src/stats/stats_publisher.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/stats/stats_reader.cpp b/src/stats/stats_reader.cpp index 346ae0710..8ddaef5d8 100644 --- a/src/stats/stats_reader.cpp +++ b/src/stats/stats_reader.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/asm-arm64.h b/src/utils/asm-arm64.h index d351fba8a..a04337e3a 100644 --- a/src/utils/asm-arm64.h +++ b/src/utils/asm-arm64.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/asm-ppc64.h b/src/utils/asm-ppc64.h index 46fca2c79..07ba8f712 100644 --- a/src/utils/asm-ppc64.h +++ b/src/utils/asm-ppc64.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/asm-x86.h b/src/utils/asm-x86.h index 37f401a4b..bd57d5a7b 100644 --- a/src/utils/asm-x86.h +++ b/src/utils/asm-x86.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/asm.h b/src/utils/asm.h index 09b215fc4..bb0c83541 100644 --- a/src/utils/asm.h +++ b/src/utils/asm.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/atomic.h b/src/utils/atomic.h index f86958843..7b0b707f2 100644 --- a/src/utils/atomic.h +++ b/src/utils/atomic.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/bullseye.h b/src/utils/bullseye.h index 1583df0c7..56a51a170 100644 --- a/src/utils/bullseye.h +++ b/src/utils/bullseye.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/clock.h b/src/utils/clock.h index 08b67da96..e1f63479d 100644 --- a/src/utils/clock.h +++ b/src/utils/clock.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/compiler.h b/src/utils/compiler.h index 62d60bd5a..288db4446 100644 --- a/src/utils/compiler.h +++ b/src/utils/compiler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/lock_wrapper.h b/src/utils/lock_wrapper.h index 2b363fe05..8d072fba7 100644 --- a/src/utils/lock_wrapper.h +++ b/src/utils/lock_wrapper.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/rdtsc.h b/src/utils/rdtsc.h index b52cc5ae9..93875c179 100644 --- a/src/utils/rdtsc.h +++ b/src/utils/rdtsc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/utils/types.h b/src/utils/types.h index c6197f320..41de82234 100644 --- a/src/utils/types.h +++ b/src/utils/types.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vlogger/main.cpp b/src/vlogger/main.cpp index a720c842f..db44cd85f 100644 --- a/src/vlogger/main.cpp +++ b/src/vlogger/main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vlogger/vlogger.cpp b/src/vlogger/vlogger.cpp index fb0c4617a..b6d53e90b 100644 --- a/src/vlogger/vlogger.cpp +++ b/src/vlogger/vlogger.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vlogger/vlogger.h b/src/vlogger/vlogger.h index d9832dc08..7f2dc98c4 100644 --- a/src/vlogger/vlogger.h +++ b/src/vlogger/vlogger.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/config_scanner.c b/src/vma/config_scanner.c index 000befe12..6e9808333 100644 --- a/src/vma/config_scanner.c +++ b/src/vma/config_scanner.c @@ -757,7 +757,7 @@ char *libvma_yytext; /* Line 1 of config_scanner.l */ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * $Id: ibnl_scanner.ll,v 1.4 2005/02/23 21:08:37 eitan Exp $ diff --git a/src/vma/dev/allocator.cpp b/src/vma/dev/allocator.cpp index ff1eccbb5..fd2fb2334 100644 --- a/src/vma/dev/allocator.cpp +++ b/src/vma/dev/allocator.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/allocator.h b/src/vma/dev/allocator.h index e25510bf6..1d7193f3b 100644 --- a/src/vma/dev/allocator.h +++ b/src/vma/dev/allocator.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/buffer_pool.cpp b/src/vma/dev/buffer_pool.cpp index 256c38f17..97e3b7276 100644 --- a/src/vma/dev/buffer_pool.cpp +++ b/src/vma/dev/buffer_pool.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/buffer_pool.h b/src/vma/dev/buffer_pool.h index 00a252896..a64782859 100644 --- a/src/vma/dev/buffer_pool.h +++ b/src/vma/dev/buffer_pool.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr.cpp b/src/vma/dev/cq_mgr.cpp index c50995990..9a4740770 100644 --- a/src/vma/dev/cq_mgr.cpp +++ b/src/vma/dev/cq_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr.h b/src/vma/dev/cq_mgr.h index d6e25cf7c..bdf7c8ee4 100644 --- a/src/vma/dev/cq_mgr.h +++ b/src/vma/dev/cq_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr.inl b/src/vma/dev/cq_mgr.inl index f561c9460..dd164d05a 100644 --- a/src/vma/dev/cq_mgr.inl +++ b/src/vma/dev/cq_mgr.inl @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr_mlx5.cpp b/src/vma/dev/cq_mgr_mlx5.cpp index d95cb49d0..d7754fda2 100644 --- a/src/vma/dev/cq_mgr_mlx5.cpp +++ b/src/vma/dev/cq_mgr_mlx5.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr_mlx5.h b/src/vma/dev/cq_mgr_mlx5.h index d435cef47..001e4fcd3 100644 --- a/src/vma/dev/cq_mgr_mlx5.h +++ b/src/vma/dev/cq_mgr_mlx5.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/cq_mgr_mlx5.inl b/src/vma/dev/cq_mgr_mlx5.inl index 1f362f574..ee8e0c04f 100644 --- a/src/vma/dev/cq_mgr_mlx5.inl +++ b/src/vma/dev/cq_mgr_mlx5.inl @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/dm_mgr.cpp b/src/vma/dev/dm_mgr.cpp index 269a35573..808f061a7 100644 --- a/src/vma/dev/dm_mgr.cpp +++ b/src/vma/dev/dm_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/dm_mgr.h b/src/vma/dev/dm_mgr.h index d500bbc1c..14b3cf88c 100644 --- a/src/vma/dev/dm_mgr.h +++ b/src/vma/dev/dm_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/gro_mgr.cpp b/src/vma/dev/gro_mgr.cpp index 023b70f0f..dc702df16 100644 --- a/src/vma/dev/gro_mgr.cpp +++ b/src/vma/dev/gro_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/gro_mgr.h b/src/vma/dev/gro_mgr.h index bb207ca63..4dd62eb5c 100644 --- a/src/vma/dev/gro_mgr.h +++ b/src/vma/dev/gro_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 8c6a6b2b6..2a923694b 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ib_ctx_handler.h b/src/vma/dev/ib_ctx_handler.h index 44c60f073..c08c00ff1 100644 --- a/src/vma/dev/ib_ctx_handler.h +++ b/src/vma/dev/ib_ctx_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ib_ctx_handler_collection.cpp b/src/vma/dev/ib_ctx_handler_collection.cpp index 1f2317ed7..774f9468f 100644 --- a/src/vma/dev/ib_ctx_handler_collection.cpp +++ b/src/vma/dev/ib_ctx_handler_collection.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ib_ctx_handler_collection.h b/src/vma/dev/ib_ctx_handler_collection.h index 004c47926..e447bc5cb 100644 --- a/src/vma/dev/ib_ctx_handler_collection.h +++ b/src/vma/dev/ib_ctx_handler_collection.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_entry.cpp b/src/vma/dev/net_device_entry.cpp index 452db5d01..8fe3f9841 100644 --- a/src/vma/dev/net_device_entry.cpp +++ b/src/vma/dev/net_device_entry.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_entry.h b/src/vma/dev/net_device_entry.h index 103defeae..4546771c9 100644 --- a/src/vma/dev/net_device_entry.h +++ b/src/vma/dev/net_device_entry.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_table_mgr.cpp b/src/vma/dev/net_device_table_mgr.cpp index 6e3be1def..eca8a7e70 100644 --- a/src/vma/dev/net_device_table_mgr.cpp +++ b/src/vma/dev/net_device_table_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_table_mgr.h b/src/vma/dev/net_device_table_mgr.h index e2f132077..1abd82bc0 100644 --- a/src/vma/dev/net_device_table_mgr.h +++ b/src/vma/dev/net_device_table_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index 1811c9a49..d24bf11b3 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/net_device_val.h b/src/vma/dev/net_device_val.h index 16b8d8314..1a7104b3c 100644 --- a/src/vma/dev/net_device_val.h +++ b/src/vma/dev/net_device_val.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index c90344096..9f6151123 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/qp_mgr.h b/src/vma/dev/qp_mgr.h index f998f8461..6ecaecf98 100644 --- a/src/vma/dev/qp_mgr.h +++ b/src/vma/dev/qp_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index 93b21e088..d06fc2f03 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "qp_mgr_eth_direct.h" diff --git a/src/vma/dev/qp_mgr_eth_direct.h b/src/vma/dev/qp_mgr_eth_direct.h index 0a622d996..f744c3286 100644 --- a/src/vma/dev/qp_mgr_eth_direct.h +++ b/src/vma/dev/qp_mgr_eth_direct.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef SRC_VMA_DEV_QP_MGR_ETH_DIRECT_H_ diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index d0ec02641..2e5cb7f0b 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "qp_mgr_eth_mlx5.h" diff --git a/src/vma/dev/qp_mgr_eth_mlx5.h b/src/vma/dev/qp_mgr_eth_mlx5.h index 2b08aeb7e..3b284e645 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.h +++ b/src/vma/dev/qp_mgr_eth_mlx5.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs.cpp b/src/vma/dev/rfs.cpp index 054d12d76..fa78f6d1c 100644 --- a/src/vma/dev/rfs.cpp +++ b/src/vma/dev/rfs.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs.h b/src/vma/dev/rfs.h index affa2855c..132c3b125 100644 --- a/src/vma/dev/rfs.h +++ b/src/vma/dev/rfs.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_mc.cpp b/src/vma/dev/rfs_mc.cpp index 1817162a9..ed35554d2 100644 --- a/src/vma/dev/rfs_mc.cpp +++ b/src/vma/dev/rfs_mc.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_mc.h b/src/vma/dev/rfs_mc.h index 9e80dbe27..2cdeee455 100644 --- a/src/vma/dev/rfs_mc.h +++ b/src/vma/dev/rfs_mc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_uc.cpp b/src/vma/dev/rfs_uc.cpp index eb7f59d5b..5567c6cb2 100644 --- a/src/vma/dev/rfs_uc.cpp +++ b/src/vma/dev/rfs_uc.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_uc.h b/src/vma/dev/rfs_uc.h index 77dd0e590..0716ffc49 100644 --- a/src/vma/dev/rfs_uc.h +++ b/src/vma/dev/rfs_uc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_uc_tcp_gro.cpp b/src/vma/dev/rfs_uc_tcp_gro.cpp index c19005331..bdf4afae6 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.cpp +++ b/src/vma/dev/rfs_uc_tcp_gro.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/rfs_uc_tcp_gro.h b/src/vma/dev/rfs_uc_tcp_gro.h index b2c96b91f..9e175539e 100644 --- a/src/vma/dev/rfs_uc_tcp_gro.h +++ b/src/vma/dev/rfs_uc_tcp_gro.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring.cpp b/src/vma/dev/ring.cpp index 318af8fa5..ad571876a 100644 --- a/src/vma/dev/ring.cpp +++ b/src/vma/dev/ring.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring.h b/src/vma/dev/ring.h index 2efbcaada..3e8a833ed 100644 --- a/src/vma/dev/ring.h +++ b/src/vma/dev/ring.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_allocation_logic.cpp b/src/vma/dev/ring_allocation_logic.cpp index 3a56ab1db..1d80bbe34 100644 --- a/src/vma/dev/ring_allocation_logic.cpp +++ b/src/vma/dev/ring_allocation_logic.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_allocation_logic.h b/src/vma/dev/ring_allocation_logic.h index 6756e222c..97b545f0b 100644 --- a/src/vma/dev/ring_allocation_logic.h +++ b/src/vma/dev/ring_allocation_logic.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_bond.cpp b/src/vma/dev/ring_bond.cpp index b0703ac5d..6ba6ef87f 100644 --- a/src/vma/dev/ring_bond.cpp +++ b/src/vma/dev/ring_bond.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_bond.h b/src/vma/dev/ring_bond.h index f76b67b1f..8227a640d 100644 --- a/src/vma/dev/ring_bond.h +++ b/src/vma/dev/ring_bond.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_eth_direct.cpp b/src/vma/dev/ring_eth_direct.cpp index 1aba6f2e9..cd8d36173 100644 --- a/src/vma/dev/ring_eth_direct.cpp +++ b/src/vma/dev/ring_eth_direct.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_eth_direct.h b/src/vma/dev/ring_eth_direct.h index b775575b0..9649de634 100644 --- a/src/vma/dev/ring_eth_direct.h +++ b/src/vma/dev/ring_eth_direct.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_profile.cpp b/src/vma/dev/ring_profile.cpp index 1dfc6717c..a12661269 100644 --- a/src/vma/dev/ring_profile.cpp +++ b/src/vma/dev/ring_profile.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_profile.h b/src/vma/dev/ring_profile.h index 36734d83c..00a358825 100644 --- a/src/vma/dev/ring_profile.h +++ b/src/vma/dev/ring_profile.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index 39e8bbb0a..9cb894527 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_simple.h b/src/vma/dev/ring_simple.h index 3386a08f5..6f94126c2 100644 --- a/src/vma/dev/ring_simple.h +++ b/src/vma/dev/ring_simple.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_slave.cpp b/src/vma/dev/ring_slave.cpp index 8a76c12ed..8dca3eab6 100644 --- a/src/vma/dev/ring_slave.cpp +++ b/src/vma/dev/ring_slave.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_slave.h b/src/vma/dev/ring_slave.h index ed08151ff..80842c907 100644 --- a/src/vma/dev/ring_slave.h +++ b/src/vma/dev/ring_slave.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index 18e519275..e4f56d695 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/ring_tap.h b/src/vma/dev/ring_tap.h index b0bc04080..5117721ae 100644 --- a/src/vma/dev/ring_tap.h +++ b/src/vma/dev/ring_tap.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter.cpp b/src/vma/dev/time_converter.cpp index 3eefa56fd..07bdb870e 100644 --- a/src/vma/dev/time_converter.cpp +++ b/src/vma/dev/time_converter.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter.h b/src/vma/dev/time_converter.h index 866150d2a..530ce40c7 100644 --- a/src/vma/dev/time_converter.h +++ b/src/vma/dev/time_converter.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter_ib_ctx.cpp b/src/vma/dev/time_converter_ib_ctx.cpp index b9254912f..a3babc75a 100644 --- a/src/vma/dev/time_converter_ib_ctx.cpp +++ b/src/vma/dev/time_converter_ib_ctx.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter_ib_ctx.h b/src/vma/dev/time_converter_ib_ctx.h index 4a3c15ab7..c99aa0a8e 100644 --- a/src/vma/dev/time_converter_ib_ctx.h +++ b/src/vma/dev/time_converter_ib_ctx.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter_ptp.cpp b/src/vma/dev/time_converter_ptp.cpp index 316799e45..8656c5560 100644 --- a/src/vma/dev/time_converter_ptp.cpp +++ b/src/vma/dev/time_converter_ptp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/time_converter_ptp.h b/src/vma/dev/time_converter_ptp.h index 7a8a4be48..f30afe60d 100644 --- a/src/vma/dev/time_converter_ptp.h +++ b/src/vma/dev/time_converter_ptp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/wqe_send_handler.cpp b/src/vma/dev/wqe_send_handler.cpp index 6a3fdb27b..3ac5d1bf9 100644 --- a/src/vma/dev/wqe_send_handler.cpp +++ b/src/vma/dev/wqe_send_handler.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/dev/wqe_send_handler.h b/src/vma/dev/wqe_send_handler.h index 00fb4aea1..ce21579ce 100644 --- a/src/vma/dev/wqe_send_handler.h +++ b/src/vma/dev/wqe_send_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/command.h b/src/vma/event/command.h index adbffc1b7..4e1403911 100644 --- a/src/vma/event/command.h +++ b/src/vma/event/command.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * command.h diff --git a/src/vma/event/delta_timer.cpp b/src/vma/event/delta_timer.cpp index 1511845ea..c7d4c6f05 100644 --- a/src/vma/event/delta_timer.cpp +++ b/src/vma/event/delta_timer.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/delta_timer.h b/src/vma/event/delta_timer.h index 1532b44f6..3e6f9c050 100644 --- a/src/vma/event/delta_timer.h +++ b/src/vma/event/delta_timer.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event.h b/src/vma/event/event.h index 17aaacf02..aadb5fcf3 100644 --- a/src/vma/event/event.h +++ b/src/vma/event/event.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event_handler_ibverbs.h b/src/vma/event/event_handler_ibverbs.h index 8bcbf312c..7e251c794 100644 --- a/src/vma/event/event_handler_ibverbs.h +++ b/src/vma/event/event_handler_ibverbs.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event_handler_manager.cpp b/src/vma/event/event_handler_manager.cpp index 9082009ad..b26de0cac 100644 --- a/src/vma/event/event_handler_manager.cpp +++ b/src/vma/event/event_handler_manager.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event_handler_manager.h b/src/vma/event/event_handler_manager.h index 8e6672756..ccfe88902 100644 --- a/src/vma/event/event_handler_manager.h +++ b/src/vma/event/event_handler_manager.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/event_handler_rdma_cm.h b/src/vma/event/event_handler_rdma_cm.h index d42f421aa..3e60c5b55 100644 --- a/src/vma/event/event_handler_rdma_cm.h +++ b/src/vma/event/event_handler_rdma_cm.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/netlink_event.cpp b/src/vma/event/netlink_event.cpp index 67b9540e1..683e9ccd6 100644 --- a/src/vma/event/netlink_event.cpp +++ b/src/vma/event/netlink_event.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/netlink_event.h b/src/vma/event/netlink_event.h index 6af838e0d..a5d769105 100644 --- a/src/vma/event/netlink_event.h +++ b/src/vma/event/netlink_event.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/timer_handler.h b/src/vma/event/timer_handler.h index c0cd65331..a42477739 100644 --- a/src/vma/event/timer_handler.h +++ b/src/vma/event/timer_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/timers_group.h b/src/vma/event/timers_group.h index 6ddb9395c..01131176b 100644 --- a/src/vma/event/timers_group.h +++ b/src/vma/event/timers_group.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/vlogger_timer_handler.cpp b/src/vma/event/vlogger_timer_handler.cpp index 7973f45b5..f8764aeeb 100644 --- a/src/vma/event/vlogger_timer_handler.cpp +++ b/src/vma/event/vlogger_timer_handler.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/event/vlogger_timer_handler.h b/src/vma/event/vlogger_timer_handler.h index 0fe6bc6ca..7c71550d1 100644 --- a/src/vma/event/vlogger_timer_handler.h +++ b/src/vma/event/vlogger_timer_handler.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index 0f866dbd1..e7c1a8538 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index e28dcb740..9c43302fb 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/ib/mlx5/ib_mlx5.cpp b/src/vma/ib/mlx5/ib_mlx5.cpp index dc0df7d42..647b8c41e 100644 --- a/src/vma/ib/mlx5/ib_mlx5.cpp +++ b/src/vma/ib/mlx5/ib_mlx5.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/ib/mlx5/ib_mlx5.h b/src/vma/ib/mlx5/ib_mlx5.h index 63cac3630..26574d6da 100644 --- a/src/vma/ib/mlx5/ib_mlx5.h +++ b/src/vma/ib/mlx5/ib_mlx5.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/DemoCollMgr.cpp b/src/vma/infra/DemoCollMgr.cpp index 42fa096d2..5e52ef6c1 100644 --- a/src/vma/infra/DemoCollMgr.cpp +++ b/src/vma/infra/DemoCollMgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/DemoCollMgr.h b/src/vma/infra/DemoCollMgr.h index 279eacb1c..debfc4092 100644 --- a/src/vma/infra/DemoCollMgr.h +++ b/src/vma/infra/DemoCollMgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/DemoObserver.cpp b/src/vma/infra/DemoObserver.cpp index 4bd5a0556..d4cd23617 100644 --- a/src/vma/infra/DemoObserver.cpp +++ b/src/vma/infra/DemoObserver.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * DemoObserver.cpp diff --git a/src/vma/infra/DemoObserver.h b/src/vma/infra/DemoObserver.h index b3438277d..d1c94075c 100644 --- a/src/vma/infra/DemoObserver.h +++ b/src/vma/infra/DemoObserver.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * DemoObserver.h diff --git a/src/vma/infra/DemoSubject.cpp b/src/vma/infra/DemoSubject.cpp index 85ae3bdbd..488384c36 100644 --- a/src/vma/infra/DemoSubject.cpp +++ b/src/vma/infra/DemoSubject.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * DemoSubject.h diff --git a/src/vma/infra/DemoSubject.h b/src/vma/infra/DemoSubject.h index cd5205ac4..8b0aadbff 100644 --- a/src/vma/infra/DemoSubject.h +++ b/src/vma/infra/DemoSubject.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * DemoSubject.h diff --git a/src/vma/infra/cache_subject_observer.h b/src/vma/infra/cache_subject_observer.h index 793adbdbf..937355f3d 100644 --- a/src/vma/infra/cache_subject_observer.h +++ b/src/vma/infra/cache_subject_observer.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/main.cpp b/src/vma/infra/main.cpp index d4a0e8387..aba2219c7 100644 --- a/src/vma/infra/main.cpp +++ b/src/vma/infra/main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/sender.cpp b/src/vma/infra/sender.cpp index a8585af60..a6321bff3 100644 --- a/src/vma/infra/sender.cpp +++ b/src/vma/infra/sender.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/sender.h b/src/vma/infra/sender.h index 0f720a191..2188d589f 100644 --- a/src/vma/infra/sender.h +++ b/src/vma/infra/sender.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/sender_info_dst.cpp b/src/vma/infra/sender_info_dst.cpp index 356bf0954..464fba7b8 100644 --- a/src/vma/infra/sender_info_dst.cpp +++ b/src/vma/infra/sender_info_dst.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/sender_info_dst.h b/src/vma/infra/sender_info_dst.h index 8f5693c5b..e7c7e480f 100644 --- a/src/vma/infra/sender_info_dst.h +++ b/src/vma/infra/sender_info_dst.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/subject_observer.cpp b/src/vma/infra/subject_observer.cpp index 2b6a58e26..17c483c43 100644 --- a/src/vma/infra/subject_observer.cpp +++ b/src/vma/infra/subject_observer.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/infra/subject_observer.h b/src/vma/infra/subject_observer.h index 9126edb4d..b4cdf87d8 100644 --- a/src/vma/infra/subject_observer.h +++ b/src/vma/infra/subject_observer.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/epfd_info.cpp b/src/vma/iomux/epfd_info.cpp index a3e3c5813..ffc5ce031 100644 --- a/src/vma/iomux/epfd_info.cpp +++ b/src/vma/iomux/epfd_info.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/epfd_info.h b/src/vma/iomux/epfd_info.h index 4bccd6b6d..cef6c5c60 100644 --- a/src/vma/iomux/epfd_info.h +++ b/src/vma/iomux/epfd_info.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/epoll_wait_call.cpp b/src/vma/iomux/epoll_wait_call.cpp index 1e2d5ccf0..020d81b5b 100644 --- a/src/vma/iomux/epoll_wait_call.cpp +++ b/src/vma/iomux/epoll_wait_call.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/epoll_wait_call.h b/src/vma/iomux/epoll_wait_call.h index d3c484315..6a7a7af5e 100644 --- a/src/vma/iomux/epoll_wait_call.h +++ b/src/vma/iomux/epoll_wait_call.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/io_mux_call.cpp b/src/vma/iomux/io_mux_call.cpp index 0710604b4..99ed4f7f2 100644 --- a/src/vma/iomux/io_mux_call.cpp +++ b/src/vma/iomux/io_mux_call.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/io_mux_call.h b/src/vma/iomux/io_mux_call.h index 9dda19ac0..1e3414042 100644 --- a/src/vma/iomux/io_mux_call.h +++ b/src/vma/iomux/io_mux_call.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/poll_call.cpp b/src/vma/iomux/poll_call.cpp index 8aad98fe6..c15c20c53 100644 --- a/src/vma/iomux/poll_call.cpp +++ b/src/vma/iomux/poll_call.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/poll_call.h b/src/vma/iomux/poll_call.h index 85ffabcc9..417daa1bd 100644 --- a/src/vma/iomux/poll_call.h +++ b/src/vma/iomux/poll_call.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/select_call.cpp b/src/vma/iomux/select_call.cpp index a1e16e922..cf62fce1f 100644 --- a/src/vma/iomux/select_call.cpp +++ b/src/vma/iomux/select_call.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/iomux/select_call.h b/src/vma/iomux/select_call.h index 345edf81f..e84c02cd8 100644 --- a/src/vma/iomux/select_call.h +++ b/src/vma/iomux/select_call.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/libvma.c b/src/vma/libvma.c index 0797f5c6a..d48d056d8 100644 --- a/src/vma/libvma.c +++ b/src/vma/libvma.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/lwip/cc.c b/src/vma/lwip/cc.c index 2c271881f..95e373e9f 100644 --- a/src/vma/lwip/cc.c +++ b/src/vma/lwip/cc.c @@ -50,7 +50,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/lwip/cc.h b/src/vma/lwip/cc.h index 04d51c648..badcec8a7 100644 --- a/src/vma/lwip/cc.h +++ b/src/vma/lwip/cc.h @@ -50,7 +50,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/lwip/cc_cubic.c b/src/vma/lwip/cc_cubic.c index 807005d18..1759760b6 100644 --- a/src/vma/lwip/cc_cubic.c +++ b/src/vma/lwip/cc_cubic.c @@ -50,7 +50,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/lwip/cc_cubic.h b/src/vma/lwip/cc_cubic.h index 96d696a39..38a157e65 100644 --- a/src/vma/lwip/cc_cubic.h +++ b/src/vma/lwip/cc_cubic.h @@ -50,7 +50,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/lwip/cc_lwip.c b/src/vma/lwip/cc_lwip.c index b9ebc2491..34b50cec4 100644 --- a/src/vma/lwip/cc_lwip.c +++ b/src/vma/lwip/cc_lwip.c @@ -50,7 +50,7 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/lwip/cc_none.c b/src/vma/lwip/cc_none.c index b73a3f249..10d608c46 100644 --- a/src/vma/lwip/cc_none.c +++ b/src/vma/lwip/cc_none.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/main.cpp b/src/vma/main.cpp index 8f2bdb778..da9a907b9 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/main.h b/src/vma/main.h index 7599f0a23..b44ed5237 100644 --- a/src/vma/main.h +++ b/src/vma/main.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/link_info.cpp b/src/vma/netlink/link_info.cpp index 8f213d087..5d992af7c 100644 --- a/src/vma/netlink/link_info.cpp +++ b/src/vma/netlink/link_info.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/link_info.h b/src/vma/netlink/link_info.h index 71c8e754f..50d7242e6 100644 --- a/src/vma/netlink/link_info.h +++ b/src/vma/netlink/link_info.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/neigh_info.cpp b/src/vma/netlink/neigh_info.cpp index 55723035f..91a6f6f0b 100644 --- a/src/vma/netlink/neigh_info.cpp +++ b/src/vma/netlink/neigh_info.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/neigh_info.h b/src/vma/netlink/neigh_info.h index 84a686fe9..7b8616664 100644 --- a/src/vma/netlink/neigh_info.h +++ b/src/vma/netlink/neigh_info.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/netlink_compatibility.cpp b/src/vma/netlink/netlink_compatibility.cpp index 96faf34b6..f893ffb04 100644 --- a/src/vma/netlink/netlink_compatibility.cpp +++ b/src/vma/netlink/netlink_compatibility.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/netlink_compatibility.h b/src/vma/netlink/netlink_compatibility.h index ed8a652e1..78257f1a0 100644 --- a/src/vma/netlink/netlink_compatibility.h +++ b/src/vma/netlink/netlink_compatibility.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/netlink_wrapper.cpp b/src/vma/netlink/netlink_wrapper.cpp index 8a0c066ff..700f49858 100644 --- a/src/vma/netlink/netlink_wrapper.cpp +++ b/src/vma/netlink/netlink_wrapper.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/netlink_wrapper.h b/src/vma/netlink/netlink_wrapper.h index cf2c5a900..738f0ab18 100644 --- a/src/vma/netlink/netlink_wrapper.h +++ b/src/vma/netlink/netlink_wrapper.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/route_info.cpp b/src/vma/netlink/route_info.cpp index 6e4154c6b..91e3cce94 100644 --- a/src/vma/netlink/route_info.cpp +++ b/src/vma/netlink/route_info.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/route_info.h b/src/vma/netlink/route_info.h index f6601f94f..1fa339141 100644 --- a/src/vma/netlink/route_info.h +++ b/src/vma/netlink/route_info.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/netlink/test_main.cpp b/src/vma/netlink/test_main.cpp index 76b20aafa..045a6cc8b 100644 --- a/src/vma/netlink/test_main.cpp +++ b/src/vma/netlink/test_main.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/L2_address.cpp b/src/vma/proto/L2_address.cpp index 1b3f5ce62..7bacf3287 100644 --- a/src/vma/proto/L2_address.cpp +++ b/src/vma/proto/L2_address.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/L2_address.h b/src/vma/proto/L2_address.h index 41378e88d..484078d66 100644 --- a/src/vma/proto/L2_address.h +++ b/src/vma/proto/L2_address.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/arp.cpp b/src/vma/proto/arp.cpp index 571b410b7..465f073e8 100644 --- a/src/vma/proto/arp.cpp +++ b/src/vma/proto/arp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/arp.h b/src/vma/proto/arp.h index d81c1377d..48389e1eb 100644 --- a/src/vma/proto/arp.h +++ b/src/vma/proto/arp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry.cpp b/src/vma/proto/dst_entry.cpp index b4626b753..5e92b5a45 100644 --- a/src/vma/proto/dst_entry.cpp +++ b/src/vma/proto/dst_entry.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry.h b/src/vma/proto/dst_entry.h index ef9774f3b..6cbbe01cc 100644 --- a/src/vma/proto/dst_entry.h +++ b/src/vma/proto/dst_entry.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_tcp.cpp b/src/vma/proto/dst_entry_tcp.cpp index d8bd9f5a6..04cacec35 100644 --- a/src/vma/proto/dst_entry_tcp.cpp +++ b/src/vma/proto/dst_entry_tcp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_tcp.h b/src/vma/proto/dst_entry_tcp.h index c99ae4b0b..147be2ea3 100644 --- a/src/vma/proto/dst_entry_tcp.h +++ b/src/vma/proto/dst_entry_tcp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_udp.cpp b/src/vma/proto/dst_entry_udp.cpp index 14d573fff..d485e8bcc 100644 --- a/src/vma/proto/dst_entry_udp.cpp +++ b/src/vma/proto/dst_entry_udp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_udp.h b/src/vma/proto/dst_entry_udp.h index 3bd674a52..cabcd4f82 100644 --- a/src/vma/proto/dst_entry_udp.h +++ b/src/vma/proto/dst_entry_udp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_udp_mc.cpp b/src/vma/proto/dst_entry_udp_mc.cpp index d9f7cd9ce..9fa27a792 100644 --- a/src/vma/proto/dst_entry_udp_mc.cpp +++ b/src/vma/proto/dst_entry_udp_mc.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/dst_entry_udp_mc.h b/src/vma/proto/dst_entry_udp_mc.h index 4a47b9b0b..02fb45f4e 100644 --- a/src/vma/proto/dst_entry_udp_mc.h +++ b/src/vma/proto/dst_entry_udp_mc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/flow_tuple.cpp b/src/vma/proto/flow_tuple.cpp index 0e68779ab..9f3f23c7d 100644 --- a/src/vma/proto/flow_tuple.cpp +++ b/src/vma/proto/flow_tuple.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/flow_tuple.h b/src/vma/proto/flow_tuple.h index 093f1fef4..4ae90f3a4 100644 --- a/src/vma/proto/flow_tuple.h +++ b/src/vma/proto/flow_tuple.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/header.cpp b/src/vma/proto/header.cpp index 85a4ff2a1..b44a6f8e4 100644 --- a/src/vma/proto/header.cpp +++ b/src/vma/proto/header.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/header.h b/src/vma/proto/header.h index b819b9c4f..d001b27f2 100644 --- a/src/vma/proto/header.h +++ b/src/vma/proto/header.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/ip_address.h b/src/vma/proto/ip_address.h index 6a89541f5..021cffaec 100644 --- a/src/vma/proto/ip_address.h +++ b/src/vma/proto/ip_address.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/ip_frag.cpp b/src/vma/proto/ip_frag.cpp index 264633546..1b9b172da 100644 --- a/src/vma/proto/ip_frag.cpp +++ b/src/vma/proto/ip_frag.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/ip_frag.h b/src/vma/proto/ip_frag.h index 164c76c0d..ad37bf892 100644 --- a/src/vma/proto/ip_frag.h +++ b/src/vma/proto/ip_frag.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/mem_buf_desc.h b/src/vma/proto/mem_buf_desc.h index 726f6611e..267b0ecc0 100644 --- a/src/vma/proto/mem_buf_desc.h +++ b/src/vma/proto/mem_buf_desc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/neighbour.cpp b/src/vma/proto/neighbour.cpp index 371bd6df3..9e090ff2b 100644 --- a/src/vma/proto/neighbour.cpp +++ b/src/vma/proto/neighbour.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/neighbour.h b/src/vma/proto/neighbour.h index 5b6e82a7f..17fb70a7c 100644 --- a/src/vma/proto/neighbour.h +++ b/src/vma/proto/neighbour.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/neighbour_table_mgr.cpp b/src/vma/proto/neighbour_table_mgr.cpp index 0aa4da408..891a85309 100644 --- a/src/vma/proto/neighbour_table_mgr.cpp +++ b/src/vma/proto/neighbour_table_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/neighbour_table_mgr.h b/src/vma/proto/neighbour_table_mgr.h index 36febccd2..5ddf46c67 100644 --- a/src/vma/proto/neighbour_table_mgr.h +++ b/src/vma/proto/neighbour_table_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/netlink_socket_mgr.h b/src/vma/proto/netlink_socket_mgr.h index 15f99317f..af3655c54 100644 --- a/src/vma/proto/netlink_socket_mgr.h +++ b/src/vma/proto/netlink_socket_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/peer_key.h b/src/vma/proto/peer_key.h index e19d1c84c..0e954161b 100644 --- a/src/vma/proto/peer_key.h +++ b/src/vma/proto/peer_key.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef __PEER_KEY_H__ diff --git a/src/vma/proto/route_entry.cpp b/src/vma/proto/route_entry.cpp index 7d7f5a471..3fa57db70 100644 --- a/src/vma/proto/route_entry.cpp +++ b/src/vma/proto/route_entry.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_entry.h b/src/vma/proto/route_entry.h index 67cd68dcb..308e0915d 100644 --- a/src/vma/proto/route_entry.h +++ b/src/vma/proto/route_entry.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_rule_table_key.h b/src/vma/proto/route_rule_table_key.h index 9a610a1e5..9cc4d5230 100644 --- a/src/vma/proto/route_rule_table_key.h +++ b/src/vma/proto/route_rule_table_key.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_table_mgr.cpp b/src/vma/proto/route_table_mgr.cpp index 3cfc9650d..8c0dcabea 100644 --- a/src/vma/proto/route_table_mgr.cpp +++ b/src/vma/proto/route_table_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_table_mgr.h b/src/vma/proto/route_table_mgr.h index b49d975d9..966833462 100644 --- a/src/vma/proto/route_table_mgr.h +++ b/src/vma/proto/route_table_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_val.cpp b/src/vma/proto/route_val.cpp index 4b1010196..fb9123a68 100644 --- a/src/vma/proto/route_val.cpp +++ b/src/vma/proto/route_val.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/route_val.h b/src/vma/proto/route_val.h index bd5bafeb2..d1b802dd2 100644 --- a/src/vma/proto/route_val.h +++ b/src/vma/proto/route_val.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_entry.cpp b/src/vma/proto/rule_entry.cpp index 196cd856c..d3b375bc9 100644 --- a/src/vma/proto/rule_entry.cpp +++ b/src/vma/proto/rule_entry.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_entry.h b/src/vma/proto/rule_entry.h index 151b694c5..71b849838 100644 --- a/src/vma/proto/rule_entry.h +++ b/src/vma/proto/rule_entry.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_table_mgr.cpp b/src/vma/proto/rule_table_mgr.cpp index 0eeab853a..cff9f00d4 100644 --- a/src/vma/proto/rule_table_mgr.cpp +++ b/src/vma/proto/rule_table_mgr.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_table_mgr.h b/src/vma/proto/rule_table_mgr.h index ec639dd22..85a407754 100644 --- a/src/vma/proto/rule_table_mgr.h +++ b/src/vma/proto/rule_table_mgr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_val.cpp b/src/vma/proto/rule_val.cpp index 59bdecc34..877349820 100644 --- a/src/vma/proto/rule_val.cpp +++ b/src/vma/proto/rule_val.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/rule_val.h b/src/vma/proto/rule_val.h index 7389858ce..d89c219ab 100644 --- a/src/vma/proto/rule_val.h +++ b/src/vma/proto/rule_val.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/vma_lwip.cpp b/src/vma/proto/vma_lwip.cpp index 97b2db962..c4f15ad66 100644 --- a/src/vma/proto/vma_lwip.cpp +++ b/src/vma/proto/vma_lwip.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/proto/vma_lwip.h b/src/vma/proto/vma_lwip.h index 369aa4261..bf5818f2d 100644 --- a/src/vma/proto/vma_lwip.h +++ b/src/vma/proto/vma_lwip.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/cleanable_obj.h b/src/vma/sock/cleanable_obj.h index 84a44c7db..77e1159ce 100644 --- a/src/vma/sock/cleanable_obj.h +++ b/src/vma/sock/cleanable_obj.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/fd_collection.cpp b/src/vma/sock/fd_collection.cpp index 5642b85d2..2bdda59ff 100644 --- a/src/vma/sock/fd_collection.cpp +++ b/src/vma/sock/fd_collection.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/fd_collection.h b/src/vma/sock/fd_collection.h index 5871672a7..dfe7776d9 100644 --- a/src/vma/sock/fd_collection.h +++ b/src/vma/sock/fd_collection.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/pipeinfo.cpp b/src/vma/sock/pipeinfo.cpp index 2f6ac1a6f..eea7b550d 100644 --- a/src/vma/sock/pipeinfo.cpp +++ b/src/vma/sock/pipeinfo.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/pipeinfo.h b/src/vma/sock/pipeinfo.h index a7bab5bec..7eefeac11 100644 --- a/src/vma/sock/pipeinfo.h +++ b/src/vma/sock/pipeinfo.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/pkt_rcvr_sink.h b/src/vma/sock/pkt_rcvr_sink.h index 5e640b0a6..353376e6b 100644 --- a/src/vma/sock/pkt_rcvr_sink.h +++ b/src/vma/sock/pkt_rcvr_sink.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/pkt_sndr_source.h b/src/vma/sock/pkt_sndr_source.h index 42c4c05b5..14b21d603 100644 --- a/src/vma/sock/pkt_sndr_source.h +++ b/src/vma/sock/pkt_sndr_source.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sock-redirect.cpp b/src/vma/sock/sock-redirect.cpp index 67b532388..de67fcced 100644 --- a/src/vma/sock/sock-redirect.cpp +++ b/src/vma/sock/sock-redirect.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sock-redirect.h b/src/vma/sock/sock-redirect.h index cfcd114ad..f6ad9631f 100644 --- a/src/vma/sock/sock-redirect.h +++ b/src/vma/sock/sock-redirect.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/socket_fd_api.cpp b/src/vma/sock/socket_fd_api.cpp index 9d113c022..63ea68182 100644 --- a/src/vma/sock/socket_fd_api.cpp +++ b/src/vma/sock/socket_fd_api.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/socket_fd_api.h b/src/vma/sock/socket_fd_api.h index 91007d2cd..6ae001c27 100644 --- a/src/vma/sock/socket_fd_api.h +++ b/src/vma/sock/socket_fd_api.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo.cpp b/src/vma/sock/sockinfo.cpp index 74a54cc21..e1d6d2745 100644 --- a/src/vma/sock/sockinfo.cpp +++ b/src/vma/sock/sockinfo.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo.h b/src/vma/sock/sockinfo.h index e39f1619d..a51fd963a 100644 --- a/src/vma/sock/sockinfo.h +++ b/src/vma/sock/sockinfo.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 2ce431146..2b60fddf4 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo_tcp.h b/src/vma/sock/sockinfo_tcp.h index 4a9ff385b..ffb67bc2f 100644 --- a/src/vma/sock/sockinfo_tcp.h +++ b/src/vma/sock/sockinfo_tcp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index 69ff0d39b..41d315c28 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/sock/sockinfo_udp.h b/src/vma/sock/sockinfo_udp.h index 4eb4a5c3b..973530992 100644 --- a/src/vma/sock/sockinfo_udp.h +++ b/src/vma/sock/sockinfo_udp.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/agent.cpp b/src/vma/util/agent.cpp index f10a0d60b..5fdefe232 100644 --- a/src/vma/util/agent.cpp +++ b/src/vma/util/agent.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/agent.h b/src/vma/util/agent.h index 68406ac1f..5503f53d5 100644 --- a/src/vma/util/agent.h +++ b/src/vma/util/agent.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/agent_def.h b/src/vma/util/agent_def.h index a40e900d7..cdc2a3357 100644 --- a/src/vma/util/agent_def.h +++ b/src/vma/util/agent_def.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/chunk_list.h b/src/vma/util/chunk_list.h index f01aa0d6d..840936bfe 100644 --- a/src/vma/util/chunk_list.h +++ b/src/vma/util/chunk_list.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/config_parser.y b/src/vma/util/config_parser.y index d4972a2bd..ca0b9ac45 100644 --- a/src/vma/util/config_parser.y +++ b/src/vma/util/config_parser.y @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * $Id: config_parser.y 1.5 2005/06/29 11:39:27 eitan Exp $ diff --git a/src/vma/util/config_scanner.l b/src/vma/util/config_scanner.l index 3592ccfe6..f724129fa 100644 --- a/src/vma/util/config_scanner.l +++ b/src/vma/util/config_scanner.l @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause * * $Id: ibnl_scanner.ll,v 1.4 2005/02/23 21:08:37 eitan Exp $ diff --git a/src/vma/util/data_updater.cpp b/src/vma/util/data_updater.cpp index 895a7eb43..2925018ac 100644 --- a/src/vma/util/data_updater.cpp +++ b/src/vma/util/data_updater.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/data_updater.h b/src/vma/util/data_updater.h index 918015df5..008998b9c 100644 --- a/src/vma/util/data_updater.h +++ b/src/vma/util/data_updater.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/hash_map.h b/src/vma/util/hash_map.h index 8f763ceae..c420fe022 100644 --- a/src/vma/util/hash_map.h +++ b/src/vma/util/hash_map.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/hash_map.inl b/src/vma/util/hash_map.inl index 45f9d36ff..85dce6aea 100644 --- a/src/vma/util/hash_map.inl +++ b/src/vma/util/hash_map.inl @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/if.h b/src/vma/util/if.h index ea6e02a54..a28430dfa 100644 --- a/src/vma/util/if.h +++ b/src/vma/util/if.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/instrumentation.cpp b/src/vma/util/instrumentation.cpp index c9d92bafa..bd19a68e2 100644 --- a/src/vma/util/instrumentation.cpp +++ b/src/vma/util/instrumentation.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/instrumentation.h b/src/vma/util/instrumentation.h index be392d6f7..2ed9d308b 100644 --- a/src/vma/util/instrumentation.h +++ b/src/vma/util/instrumentation.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/libvma.h b/src/vma/util/libvma.h index 657122a23..c7d78b431 100644 --- a/src/vma/util/libvma.h +++ b/src/vma/util/libvma.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/match.cpp b/src/vma/util/match.cpp index 472c8bd3a..7018f9c4f 100644 --- a/src/vma/util/match.cpp +++ b/src/vma/util/match.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/sg_array.h b/src/vma/util/sg_array.h index 7eb3a6611..135a27466 100644 --- a/src/vma/util/sg_array.h +++ b/src/vma/util/sg_array.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/sock_addr.h b/src/vma/util/sock_addr.h index e70e2bb24..57b1e0fc1 100644 --- a/src/vma/util/sock_addr.h +++ b/src/vma/util/sock_addr.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index 370df177d..d8bbc3a1e 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/sys_vars.h b/src/vma/util/sys_vars.h index 4420443e3..32f318557 100644 --- a/src/vma/util/sys_vars.h +++ b/src/vma/util/sys_vars.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/sysctl_reader.h b/src/vma/util/sysctl_reader.h index 2ea444be3..c6d065783 100644 --- a/src/vma/util/sysctl_reader.h +++ b/src/vma/util/sysctl_reader.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/to_str.h b/src/vma/util/to_str.h index 5a84c3f84..436c23afa 100644 --- a/src/vma/util/to_str.h +++ b/src/vma/util/to_str.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/utils.cpp b/src/vma/util/utils.cpp index 616b9003e..61594c3bd 100644 --- a/src/vma/util/utils.cpp +++ b/src/vma/util/utils.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/utils.h b/src/vma/util/utils.h index 95b33b886..34df0c22c 100644 --- a/src/vma/util/utils.h +++ b/src/vma/util/utils.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/valgrind.h b/src/vma/util/valgrind.h index 13fd8249c..f330df6e4 100644 --- a/src/vma/util/valgrind.h +++ b/src/vma/util/valgrind.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/vma_list.h b/src/vma/util/vma_list.h index efb18efe0..0ad7e848f 100644 --- a/src/vma/util/vma_list.h +++ b/src/vma/util/vma_list.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/vma_stats.h b/src/vma/util/vma_stats.h index 7102228e6..3d7f6026e 100644 --- a/src/vma/util/vma_stats.h +++ b/src/vma/util/vma_stats.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/vtypes.h b/src/vma/util/vtypes.h index 060510638..897ebf824 100644 --- a/src/vma/util/vtypes.h +++ b/src/vma/util/vtypes.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/wakeup.cpp b/src/vma/util/wakeup.cpp index fa5f8d096..ba1633d0d 100644 --- a/src/vma/util/wakeup.cpp +++ b/src/vma/util/wakeup.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/wakeup.h b/src/vma/util/wakeup.h index c7bc66923..9d2a75ab6 100644 --- a/src/vma/util/wakeup.h +++ b/src/vma/util/wakeup.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/wakeup_pipe.cpp b/src/vma/util/wakeup_pipe.cpp index 5a7779065..e4c6712dd 100644 --- a/src/vma/util/wakeup_pipe.cpp +++ b/src/vma/util/wakeup_pipe.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/util/wakeup_pipe.h b/src/vma/util/wakeup_pipe.h index bde7ac95e..aabd7cf83 100644 --- a/src/vma/util/wakeup_pipe.h +++ b/src/vma/util/wakeup_pipe.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/src/vma/vma_extra.h b/src/vma/vma_extra.h index a0c45d35a..fde726b89 100644 --- a/src/vma/vma_extra.h +++ b/src/vma/vma_extra.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/api-support-check.py b/tests/api-support-check.py index 47e0edd1e..de331d7ea 100755 --- a/tests/api-support-check.py +++ b/tests/api-support-check.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # #@copyright: diff --git a/tests/async-echo-client/async-echo-client.py b/tests/async-echo-client/async-echo-client.py index 7b3e11172..7965cb814 100755 --- a/tests/async-echo-client/async-echo-client.py +++ b/tests/async-echo-client/async-echo-client.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # #@copyright: diff --git a/tests/async-echo-client/echo-server.py b/tests/async-echo-client/echo-server.py index f001080e7..5b211d6d6 100755 --- a/tests/async-echo-client/echo-server.py +++ b/tests/async-echo-client/echo-server.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/async-echo-client/syncronized-echo-client.py b/tests/async-echo-client/syncronized-echo-client.py index 8446d3613..1e4e70c1c 100755 --- a/tests/async-echo-client/syncronized-echo-client.py +++ b/tests/async-echo-client/syncronized-echo-client.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # #@copyright: diff --git a/tests/benchmarking_test/Accelerators_Benchmarking.sh b/tests/benchmarking_test/Accelerators_Benchmarking.sh index d7398dbbb..0d02c0894 100755 --- a/tests/benchmarking_test/Accelerators_Benchmarking.sh +++ b/tests/benchmarking_test/Accelerators_Benchmarking.sh @@ -1,7 +1,7 @@ #!/bin/sh # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # # diff --git a/tests/bindtodevice/client.py b/tests/bindtodevice/client.py index 33ba945b3..97ac8cc85 100755 --- a/tests/bindtodevice/client.py +++ b/tests/bindtodevice/client.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # #@copyright: diff --git a/tests/connect-disconnect/client.py b/tests/connect-disconnect/client.py index d9eb40e30..6f1df55d0 100755 --- a/tests/connect-disconnect/client.py +++ b/tests/connect-disconnect/client.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # #@copyright: diff --git a/tests/extra_api_tests/socketxtreme/server_tcp.c b/tests/extra_api_tests/socketxtreme/server_tcp.c index ca5ceb04d..f0ab85c50 100644 --- a/tests/extra_api_tests/socketxtreme/server_tcp.c +++ b/tests/extra_api_tests/socketxtreme/server_tcp.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2019-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.c b/tests/extra_api_tests/tcp_zcopy_cb/client.c index 3981e3a54..b998a2511 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/client.h b/tests/extra_api_tests/tcp_zcopy_cb/client.h index 5fa037303..0f48ffa91 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/client.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/client.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/main.c b/tests/extra_api_tests/tcp_zcopy_cb/main.c index 88d7f965f..21e36ea4e 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/main.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/main.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.c b/tests/extra_api_tests/tcp_zcopy_cb/server.c index 36175c259..833d32899 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/server.h b/tests/extra_api_tests/tcp_zcopy_cb/server.h index 8f91f7e81..efdb80250 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/server.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/server.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/types.h b/tests/extra_api_tests/tcp_zcopy_cb/types.h index c8ae86273..39f8a82ff 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/types.h +++ b/tests/extra_api_tests/tcp_zcopy_cb/types.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/extra_api_tests/tcp_zcopy_cb/utils.c b/tests/extra_api_tests/tcp_zcopy_cb/utils.c index 4e54c93c4..38c6f4625 100755 --- a/tests/extra_api_tests/tcp_zcopy_cb/utils.c +++ b/tests/extra_api_tests/tcp_zcopy_cb/utils.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/functionality/getsockname_test.c b/tests/functionality/getsockname_test.c index be4937ac5..2f8453b84 100644 --- a/tests/functionality/getsockname_test.c +++ b/tests/functionality/getsockname_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/functionality/iomux/1epoll_1socket_twice.c b/tests/functionality/iomux/1epoll_1socket_twice.c index c68e6640a..b6afe56ef 100644 --- a/tests/functionality/iomux/1epoll_1socket_twice.c +++ b/tests/functionality/iomux/1epoll_1socket_twice.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/functionality/iomux/2epoll_1socket.c b/tests/functionality/iomux/2epoll_1socket.c index d3936539e..976b65274 100644 --- a/tests/functionality/iomux/2epoll_1socket.c +++ b/tests/functionality/iomux/2epoll_1socket.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/functionality/iomux/client.py b/tests/functionality/iomux/client.py index 04c602897..a5564120d 100755 --- a/tests/functionality/iomux/client.py +++ b/tests/functionality/iomux/client.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/functionality/iomux/eclient.py b/tests/functionality/iomux/eclient.py index adfc53ac5..97b854249 100644 --- a/tests/functionality/iomux/eclient.py +++ b/tests/functionality/iomux/eclient.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/functionality/iomux/eserver.py b/tests/functionality/iomux/eserver.py index 65deca618..41dee6ca2 100644 --- a/tests/functionality/iomux/eserver.py +++ b/tests/functionality/iomux/eserver.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/functionality/iomux/pclient.py b/tests/functionality/iomux/pclient.py index 12e108673..8ecbd8540 100644 --- a/tests/functionality/iomux/pclient.py +++ b/tests/functionality/iomux/pclient.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/functionality/iomux/pserver.py b/tests/functionality/iomux/pserver.py index 929ed4d55..2f9f39c79 100644 --- a/tests/functionality/iomux/pserver.py +++ b/tests/functionality/iomux/pserver.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/functionality/iomux/server.py b/tests/functionality/iomux/server.py index a385bcf95..020915805 100755 --- a/tests/functionality/iomux/server.py +++ b/tests/functionality/iomux/server.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/gtest/common/base.cc b/tests/gtest/common/base.cc index 35e128c00..b249d6ddd 100644 --- a/tests/gtest/common/base.cc +++ b/tests/gtest/common/base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/common/base.h b/tests/gtest/common/base.h index b728a3388..aea933610 100644 --- a/tests/gtest/common/base.h +++ b/tests/gtest/common/base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/common/cmn.h b/tests/gtest/common/cmn.h index 2ee4d7035..c154284e7 100644 --- a/tests/gtest/common/cmn.h +++ b/tests/gtest/common/cmn.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/common/def.h b/tests/gtest/common/def.h index d7d10f034..411c54895 100644 --- a/tests/gtest/common/def.h +++ b/tests/gtest/common/def.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/common/log.h b/tests/gtest/common/log.h index f897a8036..cd9536ff0 100644 --- a/tests/gtest/common/log.h +++ b/tests/gtest/common/log.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/common/sys.cc b/tests/gtest/common/sys.cc index bb9a34ddb..a42412bd9 100644 --- a/tests/gtest/common/sys.cc +++ b/tests/gtest/common/sys.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/common/sys.h b/tests/gtest/common/sys.h index 5d2286f82..689e3193c 100644 --- a/tests/gtest/common/sys.h +++ b/tests/gtest/common/sys.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/main.cc b/tests/gtest/main.cc index 93a3dafd0..1f225bc61 100644 --- a/tests/gtest/main.cc +++ b/tests/gtest/main.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/mix/mix_base.cc b/tests/gtest/mix/mix_base.cc index 43e13cc4d..566e5dcaa 100644 --- a/tests/gtest/mix/mix_base.cc +++ b/tests/gtest/mix/mix_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/mix/mix_base.h b/tests/gtest/mix/mix_base.h index 40534b109..84acaf9d7 100644 --- a/tests/gtest/mix/mix_base.h +++ b/tests/gtest/mix/mix_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #ifndef TESTS_GTEST_MIX_BASE_H_ diff --git a/tests/gtest/mix/mix_list.cc b/tests/gtest/mix/mix_list.cc index 6275ce0f3..b3523bf58 100644 --- a/tests/gtest/mix/mix_list.cc +++ b/tests/gtest/mix/mix_list.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/mix/sg_array.cc b/tests/gtest/mix/sg_array.cc index f3d1a8946..8ff97d14c 100644 --- a/tests/gtest/mix/sg_array.cc +++ b/tests/gtest/mix/sg_array.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include "common/def.h" diff --git a/tests/gtest/sock/sock_base.cc b/tests/gtest/sock/sock_base.cc index 84b9fbf1c..2587d2c24 100644 --- a/tests/gtest/sock/sock_base.cc +++ b/tests/gtest/sock/sock_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/sock/sock_base.h b/tests/gtest/sock/sock_base.h index fb2676a5e..9afd71310 100644 --- a/tests/gtest/sock/sock_base.h +++ b/tests/gtest/sock/sock_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/sock/sock_socket.cc b/tests/gtest/sock/sock_socket.cc index 66ade0845..55b5f54a7 100644 --- a/tests/gtest/sock/sock_socket.cc +++ b/tests/gtest/sock/sock_socket.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_base.cc b/tests/gtest/tcp/tcp_base.cc index c32eedf1c..a61151d54 100644 --- a/tests/gtest/tcp/tcp_base.cc +++ b/tests/gtest/tcp/tcp_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_base.h b/tests/gtest/tcp/tcp_base.h index 89e81fc22..e28058519 100644 --- a/tests/gtest/tcp/tcp_base.h +++ b/tests/gtest/tcp/tcp_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_bind.cc b/tests/gtest/tcp/tcp_bind.cc index f2b4726cd..f251adce8 100644 --- a/tests/gtest/tcp/tcp_bind.cc +++ b/tests/gtest/tcp/tcp_bind.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_connect.cc b/tests/gtest/tcp/tcp_connect.cc index 63a3f9af5..d37050e7b 100644 --- a/tests/gtest/tcp/tcp_connect.cc +++ b/tests/gtest/tcp/tcp_connect.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_connect_nb.cc b/tests/gtest/tcp/tcp_connect_nb.cc index b4e3f46ca..bb7c92360 100644 --- a/tests/gtest/tcp/tcp_connect_nb.cc +++ b/tests/gtest/tcp/tcp_connect_nb.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_event.cc b/tests/gtest/tcp/tcp_event.cc index e5c0d33ca..10806fa4a 100644 --- a/tests/gtest/tcp/tcp_event.cc +++ b/tests/gtest/tcp/tcp_event.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_send.cc b/tests/gtest/tcp/tcp_send.cc index 56530aa16..2d4a3a99c 100644 --- a/tests/gtest/tcp/tcp_send.cc +++ b/tests/gtest/tcp/tcp_send.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ #include diff --git a/tests/gtest/tcp/tcp_send_zc.cc b/tests/gtest/tcp/tcp_send_zc.cc index dc6910a3b..0418971c3 100644 --- a/tests/gtest/tcp/tcp_send_zc.cc +++ b/tests/gtest/tcp/tcp_send_zc.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_sendfile.cc b/tests/gtest/tcp/tcp_sendfile.cc index c0e4b145f..af695343c 100644 --- a/tests/gtest/tcp/tcp_sendfile.cc +++ b/tests/gtest/tcp/tcp_sendfile.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_sendto.cc b/tests/gtest/tcp/tcp_sendto.cc index 5c9ea9540..66dffd4e3 100644 --- a/tests/gtest/tcp/tcp_sendto.cc +++ b/tests/gtest/tcp/tcp_sendto.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_socket.cc b/tests/gtest/tcp/tcp_socket.cc index bd22585ac..f2253da52 100644 --- a/tests/gtest/tcp/tcp_socket.cc +++ b/tests/gtest/tcp/tcp_socket.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_sockopt.cc b/tests/gtest/tcp/tcp_sockopt.cc index f30516d08..18a3c6af9 100644 --- a/tests/gtest/tcp/tcp_sockopt.cc +++ b/tests/gtest/tcp/tcp_sockopt.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2023-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/tcp/tcp_tls.cc b/tests/gtest/tcp/tcp_tls.cc index 87eee7ee8..6b9a15f97 100644 --- a/tests/gtest/tcp/tcp_tls.cc +++ b/tests/gtest/tcp/tcp_tls.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/udp/udp_base.cc b/tests/gtest/udp/udp_base.cc index 86a6c2b5e..d06f35911 100644 --- a/tests/gtest/udp/udp_base.cc +++ b/tests/gtest/udp/udp_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/udp/udp_base.h b/tests/gtest/udp/udp_base.h index 288a2c4de..de990f570 100644 --- a/tests/gtest/udp/udp_base.h +++ b/tests/gtest/udp/udp_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/udp/udp_bind.cc b/tests/gtest/udp/udp_bind.cc index 13b0b8e4e..467c2efb8 100644 --- a/tests/gtest/udp/udp_bind.cc +++ b/tests/gtest/udp/udp_bind.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/udp/udp_connect.cc b/tests/gtest/udp/udp_connect.cc index b455ad7f3..34bdc0f0e 100644 --- a/tests/gtest/udp/udp_connect.cc +++ b/tests/gtest/udp/udp_connect.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/udp/udp_send.cc b/tests/gtest/udp/udp_send.cc index 6cc282cc0..28208ac31 100644 --- a/tests/gtest/udp/udp_send.cc +++ b/tests/gtest/udp/udp_send.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/udp/udp_sendto.cc b/tests/gtest/udp/udp_sendto.cc index 16259416b..77844dcbf 100644 --- a/tests/gtest/udp/udp_sendto.cc +++ b/tests/gtest/udp/udp_sendto.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vma/vma_base.cc b/tests/gtest/vma/vma_base.cc index 66edda40f..bf4c87dc5 100644 --- a/tests/gtest/vma/vma_base.cc +++ b/tests/gtest/vma/vma_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vma/vma_base.h b/tests/gtest/vma/vma_base.h index 1b4113d05..5c7332f07 100644 --- a/tests/gtest/vma/vma_base.h +++ b/tests/gtest/vma/vma_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vma/vma_ioctl.cc b/tests/gtest/vma/vma_ioctl.cc index 245c778e8..998f7b9f0 100644 --- a/tests/gtest/vma/vma_ioctl.cc +++ b/tests/gtest/vma/vma_ioctl.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vma/vma_poll.cc b/tests/gtest/vma/vma_poll.cc index ba3bb7570..53dded88e 100644 --- a/tests/gtest/vma/vma_poll.cc +++ b/tests/gtest/vma/vma_poll.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vma/vma_recvfrom_zcopy.cc b/tests/gtest/vma/vma_recvfrom_zcopy.cc index 364d91aac..2c9ebff73 100644 --- a/tests/gtest/vma/vma_recvfrom_zcopy.cc +++ b/tests/gtest/vma/vma_recvfrom_zcopy.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vma/vma_ring.cc b/tests/gtest/vma/vma_ring.cc index 02fcce4e9..6e58e7f7d 100644 --- a/tests/gtest/vma/vma_ring.cc +++ b/tests/gtest/vma/vma_ring.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vma/vma_sockopt.cc b/tests/gtest/vma/vma_sockopt.cc index 506017c68..edec824f5 100644 --- a/tests/gtest/vma/vma_sockopt.cc +++ b/tests/gtest/vma/vma_sockopt.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vmad/vmad_base.cc b/tests/gtest/vmad/vmad_base.cc index 644099a47..bbbdf538c 100644 --- a/tests/gtest/vmad/vmad_base.cc +++ b/tests/gtest/vmad/vmad_base.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vmad/vmad_base.h b/tests/gtest/vmad/vmad_base.h index f5cc1c7bd..1770f6e1f 100644 --- a/tests/gtest/vmad/vmad_base.h +++ b/tests/gtest/vmad/vmad_base.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vmad/vmad_bitmap.cc b/tests/gtest/vmad/vmad_bitmap.cc index 8677d481e..8561e2971 100644 --- a/tests/gtest/vmad/vmad_bitmap.cc +++ b/tests/gtest/vmad/vmad_bitmap.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vmad/vmad_flow.cc b/tests/gtest/vmad/vmad_flow.cc index ff7ab63b2..d0106bf8c 100644 --- a/tests/gtest/vmad/vmad_flow.cc +++ b/tests/gtest/vmad/vmad_flow.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vmad/vmad_hash.cc b/tests/gtest/vmad/vmad_hash.cc index 6162c74ad..68ed54dc1 100644 --- a/tests/gtest/vmad/vmad_hash.cc +++ b/tests/gtest/vmad/vmad_hash.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vmad/vmad_init.cc b/tests/gtest/vmad/vmad_init.cc index b4891f3d3..16b10d2fb 100644 --- a/tests/gtest/vmad/vmad_init.cc +++ b/tests/gtest/vmad/vmad_init.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/gtest/vmad/vmad_state.cc b/tests/gtest/vmad/vmad_state.cc index 1d7a4e7ce..bc35a0794 100644 --- a/tests/gtest/vmad/vmad_state.cc +++ b/tests/gtest/vmad/vmad_state.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/latency_test/tcp_lat.cpp b/tests/latency_test/tcp_lat.cpp index a8a85acef..e9403cbf3 100644 --- a/tests/latency_test/tcp_lat.cpp +++ b/tests/latency_test/tcp_lat.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/latency_test/udp_lat.c b/tests/latency_test/udp_lat.c index bc383a145..4d57c3893 100644 --- a/tests/latency_test/udp_lat.c +++ b/tests/latency_test/udp_lat.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/listen/tcp_client.py b/tests/listen/tcp_client.py index 2a8f20d6e..6d8ab0c46 100755 --- a/tests/listen/tcp_client.py +++ b/tests/listen/tcp_client.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/listen/tcp_server.py b/tests/listen/tcp_server.py index f7e737536..ad88957bc 100755 --- a/tests/listen/tcp_server.py +++ b/tests/listen/tcp_server.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/low_pps_tcp_send_test/exchange.cpp b/tests/low_pps_tcp_send_test/exchange.cpp index 15fdd3acb..8d7557cd1 100755 --- a/tests/low_pps_tcp_send_test/exchange.cpp +++ b/tests/low_pps_tcp_send_test/exchange.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/low_pps_tcp_send_test/trader.cpp b/tests/low_pps_tcp_send_test/trader.cpp index 037ea7c8a..e4968c07b 100755 --- a/tests/low_pps_tcp_send_test/trader.cpp +++ b/tests/low_pps_tcp_send_test/trader.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/mc_loop_test/mc_loop_test.c b/tests/mc_loop_test/mc_loop_test.c index 976d27f4e..e0d25f38d 100644 --- a/tests/mc_loop_test/mc_loop_test.c +++ b/tests/mc_loop_test/mc_loop_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/multithread_test/exchange.cpp b/tests/multithread_test/exchange.cpp index 693b27dbb..f76c42a95 100755 --- a/tests/multithread_test/exchange.cpp +++ b/tests/multithread_test/exchange.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/multithread_test/trader.cpp b/tests/multithread_test/trader.cpp index df85d189c..20ebcd34a 100755 --- a/tests/multithread_test/trader.cpp +++ b/tests/multithread_test/trader.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/pps_test/pps_test.c b/tests/pps_test/pps_test.c index 9a6b69e16..7f7815f2f 100644 --- a/tests/pps_test/pps_test.c +++ b/tests/pps_test/pps_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py index caa2f6e6e..aa6814ccc 100755 --- a/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_receive_and_recreate_loop.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # #@copyright: diff --git a/tests/resource_release_checker/server_socket_recreate_loop.py b/tests/resource_release_checker/server_socket_recreate_loop.py index 35a30c211..dac8967d5 100755 --- a/tests/resource_release_checker/server_socket_recreate_loop.py +++ b/tests/resource_release_checker/server_socket_recreate_loop.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # #@copyright: diff --git a/tests/reuse_ud_test.c b/tests/reuse_ud_test.c index 7c4c5d67e..b6b0fd92b 100644 --- a/tests/reuse_ud_test.c +++ b/tests/reuse_ud_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/select_t1.c b/tests/select_t1.c index 90b785703..5858e3fe5 100644 --- a/tests/select_t1.c +++ b/tests/select_t1.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/client.cc b/tests/server_test/client.cc index cbefd6488..bd63fa295 100644 --- a/tests/server_test/client.cc +++ b/tests/server_test/client.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/client.h b/tests/server_test/client.h index 0bd4900bd..c81ca8816 100644 --- a/tests/server_test/client.h +++ b/tests/server_test/client.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/main.cc b/tests/server_test/main.cc index 2ea8a22c8..fa2763cad 100644 --- a/tests/server_test/main.cc +++ b/tests/server_test/main.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/options.cc b/tests/server_test/options.cc index eabdec519..4d6181bd8 100644 --- a/tests/server_test/options.cc +++ b/tests/server_test/options.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/options.h b/tests/server_test/options.h index 58d849118..104249433 100644 --- a/tests/server_test/options.h +++ b/tests/server_test/options.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/server.cc b/tests/server_test/server.cc index 6f459544f..a3b4efb4f 100644 --- a/tests/server_test/server.cc +++ b/tests/server_test/server.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/server.h b/tests/server_test/server.h index 585a8f134..593c87581 100644 --- a/tests/server_test/server.h +++ b/tests/server_test/server.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/vtime.cc b/tests/server_test/vtime.cc index 01807f712..52b6f844c 100644 --- a/tests/server_test/vtime.cc +++ b/tests/server_test/vtime.cc @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/server_test/vtime.h b/tests/server_test/vtime.h index e4ba10f63..8710efc1f 100644 --- a/tests/server_test/vtime.h +++ b/tests/server_test/vtime.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/simple_fork/fork.py b/tests/simple_fork/fork.py index 2eef9d07f..305c883cc 100755 --- a/tests/simple_fork/fork.py +++ b/tests/simple_fork/fork.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2015-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/tcp_window_size_exerciser/Makefile b/tests/tcp_window_size_exerciser/Makefile index f436f36f8..2789ab7b7 100644 --- a/tests/tcp_window_size_exerciser/Makefile +++ b/tests/tcp_window_size_exerciser/Makefile @@ -1,6 +1,6 @@ # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause # # This software is available to you under a choice of one of two diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test.h b/tests/tcp_window_size_exerciser/tcp_wnd_test.h index ccb72676f..e39d5a699 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test.h +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c index 017b64eb3..d45c50e3d 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_client.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c index 6c5c04ea8..191ce886a 100644 --- a/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c +++ b/tests/tcp_window_size_exerciser/tcp_wnd_test_server.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/testbed/testbed.c b/tests/testbed/testbed.c index b0a1236ee..bce6f98ef 100644 --- a/tests/testbed/testbed.c +++ b/tests/testbed/testbed.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/throughput_test/bandwidth_test.c b/tests/throughput_test/bandwidth_test.c index 41a68a077..2a044ef44 100644 --- a/tests/throughput_test/bandwidth_test.c +++ b/tests/throughput_test/bandwidth_test.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/timetest/timetest.cpp b/tests/timetest/timetest.cpp index 7b2aa3642..c81c85ef5 100644 --- a/tests/timetest/timetest.cpp +++ b/tests/timetest/timetest.cpp @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2014-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tests/vma_perf_envelope/vma_multiplexers_test.sh b/tests/vma_perf_envelope/vma_multiplexers_test.sh index 9240aef14..ff6ab9357 100755 --- a/tests/vma_perf_envelope/vma_multiplexers_test.sh +++ b/tests/vma_perf_envelope/vma_multiplexers_test.sh @@ -1,7 +1,7 @@ #!/bin/bash # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tests/vma_perf_envelope/vma_perf_envelope.sh b/tests/vma_perf_envelope/vma_perf_envelope.sh index 4f3d81efa..c972d1fa8 100755 --- a/tests/vma_perf_envelope/vma_perf_envelope.sh +++ b/tests/vma_perf_envelope/vma_perf_envelope.sh @@ -1,7 +1,7 @@ #!/bin/bash # # SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -# Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2013-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause # diff --git a/tools/daemon/bitmap.h b/tools/daemon/bitmap.h index ff8d71db7..10b795417 100644 --- a/tools/daemon/bitmap.h +++ b/tools/daemon/bitmap.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/daemon.c b/tools/daemon/daemon.c index 601243449..e411aa3ce 100644 --- a/tools/daemon/daemon.c +++ b/tools/daemon/daemon.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/daemon.h b/tools/daemon/daemon.h index 1793a6e67..820ff4cbb 100644 --- a/tools/daemon/daemon.h +++ b/tools/daemon/daemon.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/flow.c b/tools/daemon/flow.c index b910f4759..a43d5539f 100644 --- a/tools/daemon/flow.c +++ b/tools/daemon/flow.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/hash.c b/tools/daemon/hash.c index d850b9081..2655fd082 100644 --- a/tools/daemon/hash.c +++ b/tools/daemon/hash.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/hash.h b/tools/daemon/hash.h index 057934e1d..d92096c40 100644 --- a/tools/daemon/hash.h +++ b/tools/daemon/hash.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/loop.c b/tools/daemon/loop.c index f4377e051..4f2beb83c 100644 --- a/tools/daemon/loop.c +++ b/tools/daemon/loop.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/message.c b/tools/daemon/message.c index 380e45678..e0e7edcad 100644 --- a/tools/daemon/message.c +++ b/tools/daemon/message.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2016-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/nl.c b/tools/daemon/nl.c index 2d2d194a6..aec83cd8f 100644 --- a/tools/daemon/nl.c +++ b/tools/daemon/nl.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/nl.h b/tools/daemon/nl.h index 0a89406d1..0d1f4f5f0 100644 --- a/tools/daemon/nl.h +++ b/tools/daemon/nl.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/notify.c b/tools/daemon/notify.c index 1ba46783b..1bd3a90d7 100644 --- a/tools/daemon/notify.c +++ b/tools/daemon/notify.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/store.c b/tools/daemon/store.c index 22a1b8196..ffe83e4f2 100644 --- a/tools/daemon/store.c +++ b/tools/daemon/store.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/tc.c b/tools/daemon/tc.c index f4a242475..d64b5822c 100644 --- a/tools/daemon/tc.c +++ b/tools/daemon/tc.c @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ diff --git a/tools/daemon/tc.h b/tools/daemon/tc.h index 20023aeaf..3350b1fa4 100644 --- a/tools/daemon/tc.h +++ b/tools/daemon/tc.h @@ -1,6 +1,6 @@ /* * SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - * Copyright (c) 2001-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2001-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */ From 4082714635579deadc27f2cd90dafe3d6b099fad Mon Sep 17 00:00:00 2001 From: Tomer Cabouly Date: Thu, 1 Jan 2026 11:41:55 +0000 Subject: [PATCH 133/150] issue: 4817116 fix CQ notification return check The Coverity fix in commit c4f0ae924 incorrectly checked the return value of wait_for_notification_and_process_element(). The check `if (!ret)` treats 0 as an error, but 0 is a valid return meaning "no elements processed". Return value semantics: >0 : processed N elements (success) 0 : no elements processed (normal) -1 : error, check errno EAGAIN = lock contention or notification not armed (expected) other = actual error The warning "Resource temporarily unavailable" (errno=11/EAGAIN) was flooding logs because EAGAIN is expected when the notification channel is not armed or another thread holds the lock. Fix by only warning on actual errors (ret < 0 && errno != EAGAIN), consistent with the pattern in net_device_table_mgr.cpp. Signed-off-by: Tomer Cabouly --- src/vma/sock/sockinfo_tcp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vma/sock/sockinfo_tcp.cpp b/src/vma/sock/sockinfo_tcp.cpp index 2b60fddf4..90f170350 100644 --- a/src/vma/sock/sockinfo_tcp.cpp +++ b/src/vma/sock/sockinfo_tcp.cpp @@ -4162,7 +4162,8 @@ int sockinfo_tcp::rx_wait_helper(int &poll_count, bool is_blocking) if (p_cq_ch_info) { ring* p_ring = p_cq_ch_info->get_ring(); if (p_ring) { - if (!p_ring->wait_for_notification_and_process_element(fd, &poll_sn)){ + const int cq_ret = p_ring->wait_for_notification_and_process_element(fd, &poll_sn); + if (cq_ret < 0 && errno != EAGAIN) { si_tcp_logwarn("Error in ring->wait_for_notification_and_process_element() of %p (errno=%d %m)", p_ring, errno); } } From 464539ec265db59d830a86e7c50d332b139a689a Mon Sep 17 00:00:00 2001 From: Gal Noam Date: Mon, 5 Jan 2026 21:02:15 +0200 Subject: [PATCH 134/150] issue: 321712 ****************** VMA 9.8.83 ****************** Signed-off-by: Gal Noam --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index ed8d5ffa8..8ef026f7e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.8.83-1: +Date + Time 2026-01-05 +============================================================= +Fixed: + - RM #4817116 fix CQ notification return check + Version 9.8.82-1: Date + Time 2025-12-24 ============================================================= diff --git a/configure.ac b/configure.ac index cfe385f59..4bffd107c 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 82) +define([prj_ver_revision], 83) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 98dc9d7f2..3590c7746 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Wed Dec 24 2025 NVIDIA CORPORATION 9.8.82-1 -- Bump version to 9.8.82 +* Mon Jan 5 2026 NVIDIA CORPORATION 9.8.83-1 +- Bump version to 9.8.83 - Please refer to CHANGES for full changelog. From d96916cf1a71f4086039651df8059bb788637565 Mon Sep 17 00:00:00 2001 From: Alexander Grissik Date: Tue, 6 Jan 2026 14:48:58 +0000 Subject: [PATCH 135/150] issue: 4825350 Fixing max allowed QP work elements After driver update the max amount of QP work elements reported by ibv_query_device is 8K instead of 32K. This limits us to create big QPs. ibv_create_qp supports up to 32K. Signed-off-by: Alexander Grissik --- src/vma/dev/ib_ctx_handler.cpp | 2 +- src/vma/dev/qp_mgr.cpp | 8 +++++++- src/vma/dev/qp_mgr_eth_direct.cpp | 4 ++-- src/vma/dev/ring_simple.cpp | 2 +- src/vma/ib/base/verbs_extra.h | 2 ++ 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 2a923694b..62b3c31f6 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -170,7 +170,7 @@ void ib_ctx_handler::set_str() strcat(m_str, str_x); str_x[0] = '\0'; - sprintf(str_x, " max_qp_wr: %d", get_ibv_device_attr()->max_qp_wr); + sprintf(str_x, " max_qp_wr: %d", VMA_MAX_QP_WR); strcat(m_str, str_x); str_x[0] = '\0'; diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index 9f6151123..ef2a3fb07 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -141,7 +141,7 @@ int qp_mgr::configure(struct qp_mgr_desc *desc) m_p_ib_ctx_handler->get_ibname(), m_p_ib_ctx_handler->get_ibv_device(), m_port_num); // Check device capabilities for max QP work requests - m_max_qp_wr = ALIGN_WR_DOWN(m_p_ib_ctx_handler->get_ibv_device_attr()->max_qp_wr - 1); + m_max_qp_wr = ALIGN_WR_DOWN(VMA_MAX_QP_WR - 1); if (m_rx_num_wr > m_max_qp_wr) { qp_logwarn("Allocating only %d Rx QP work requests while user " "requested %s=%d for QP on <%p, %d>", @@ -190,6 +190,12 @@ int qp_mgr::configure(struct qp_mgr_desc *desc) qp_init_attr.send_cq = m_p_cq_mgr_tx->get_ibv_cq_hndl(); qp_init_attr.sq_sig_all = 0; + qp_logdbg("Calling ibv_create_qp. qp_init_attr.cap: max_send_wr=%d, max_recv_wr=%d, " + "max_inline_data=%d, max_send_sge=%d, max_recv_sge=%d\n", + qp_init_attr.cap.max_send_wr, qp_init_attr.cap.max_recv_wr, + qp_init_attr.cap.max_inline_data, qp_init_attr.cap.max_send_sge, + qp_init_attr.cap.max_recv_sge); + // Create the QP if (prepare_ibv_qp(qp_init_attr)) { return -1; diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index d06fc2f03..fb5ce1b28 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -33,14 +33,14 @@ qp_mgr_eth_direct::qp_mgr_eth_direct(struct qp_mgr_desc *desc, cq_mgr* qp_mgr_eth_direct::init_tx_cq_mgr() { - m_tx_num_wr = m_p_ib_ctx_handler->get_ibv_device_attr()->max_qp_wr; + m_tx_num_wr = VMA_MAX_QP_WR; return new cq_mgr_mlx5(m_p_ring, m_p_ib_ctx_handler, m_tx_num_wr, m_p_ring->get_tx_comp_event_channel(), false); } int qp_mgr_eth_direct::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) { qp_init_attr.cap.max_recv_wr = 0; // Wrapper Round for Bugs SW #2080510,SW #2020853 issue,[VMA - Feature #2076088] Support creation of VMA Direct QP only with TX HW resources - qp_init_attr.cap.max_send_wr = m_p_ib_ctx_handler->get_ibv_device_attr()->max_qp_wr; + qp_init_attr.cap.max_send_wr = VMA_MAX_QP_WR; qp_init_attr.cap.max_send_sge = 1; qp_init_attr.cap.max_recv_sge = 1; qp_init_attr.cap.max_inline_data = 0; diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index 9cb894527..c9e19f294 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -222,7 +222,7 @@ void ring_simple::create_resources() BULLSEYE_EXCLUDE_BLOCK_END VALGRIND_MAKE_MEM_DEFINED(m_p_tx_comp_event_channel, sizeof(struct ibv_comp_channel)); // Check device capabilities for max QP work requests - uint32_t max_qp_wr = ALIGN_WR_DOWN(m_p_ib_ctx->get_ibv_device_attr()->max_qp_wr - 1); + uint32_t max_qp_wr = ALIGN_WR_DOWN(VMA_MAX_QP_WR - 1); m_tx_num_wr = safe_mce_sys().tx_num_wr; if (m_tx_num_wr > max_qp_wr) { ring_logwarn("Allocating only %d Tx QP work requests while user requested %s=%d for QP on interface", diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index 9c43302fb..dffadd11f 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -67,6 +67,8 @@ int priv_ibv_query_flow_tag_supported(struct ibv_qp *qp, uint8_t port_num); int priv_ibv_create_flow_supported(struct ibv_qp *qp, uint8_t port_num); int priv_ibv_query_burst_supported(struct ibv_qp *qp, uint8_t port_num); +#define VMA_MAX_QP_WR 32768 // Override the uncompatible number returned by the driver. + //ibv_create_qp #ifdef DEFINED_IBV_QP_INIT_SOURCE_QPN #define vma_ibv_create_qp(pd, attr) ibv_create_qp_ex((pd)->context, attr) From 796cf290b377408a42f570444c149e992e95fc2f Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Thu, 26 Jun 2025 12:02:08 +0300 Subject: [PATCH 136/150] issue: 4504533 Fix VMA_BF environment variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, VMA_BF didn’t affect BF usuage, because is_bf() checks based on MLX5_SHUT_UP_BF, and VMA_BF never adjusted it. To correctly enable/disable Blueflame, we should set MLX5_SHUT_UP_BF RDMA CORE environment variable. Signed-off-by: Bashar Abdelgafer --- src/vma/util/sys_vars.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vma/util/sys_vars.cpp b/src/vma/util/sys_vars.cpp index d8bbc3a1e..37781070b 100644 --- a/src/vma/util/sys_vars.cpp +++ b/src/vma/util/sys_vars.cpp @@ -1257,10 +1257,12 @@ void set_env_params() if (safe_mce_sys().handle_bf) { setenv("MLX4_POST_SEND_PREFER_BF", "1", 1); setenv("MLX5_POST_SEND_PREFER_BF", "1", 1); + setenv("MLX5_SHUT_UP_BF", "0", 1); } else { /* todo - these seem not to work if inline is on, since libmlx is doing (inl || bf) when deciding to bf*/ setenv("MLX4_POST_SEND_PREFER_BF", "0", 1); setenv("MLX5_POST_SEND_PREFER_BF", "0", 1); + setenv("MLX5_SHUT_UP_BF", "1", 1); } switch (safe_mce_sys().mem_alloc_type) { From 22ebdcabeffb538ff9cab9cdffa4e1293dd33165 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Wed, 7 Jan 2026 15:44:27 +0200 Subject: [PATCH 137/150] issue: 4504533 Add warning when BlueFlame setup fails Add a warning message when BlueFlame (BF) is requested via handle_bf but cannot be set up due to hardware or environment limitations. Signed-off-by: Bashar Abdelgafer --- src/vma/dev/qp_mgr_eth_mlx5.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/vma/dev/qp_mgr_eth_mlx5.cpp b/src/vma/dev/qp_mgr_eth_mlx5.cpp index 2e5cb7f0b..c75924737 100644 --- a/src/vma/dev/qp_mgr_eth_mlx5.cpp +++ b/src/vma/dev/qp_mgr_eth_mlx5.cpp @@ -56,6 +56,7 @@ static inline uint64_t align_to_WQEBB_up(uint64_t val) static bool is_bf(struct ibv_context *ib_ctx) { char *env; + bool bf_supported = false; /* This limitation is done for RM: 1557652, 1894523, 1914464, 2069198 */ if (safe_mce_sys().hypervisor != mce_sys_var::HYPER_NONE) { @@ -68,7 +69,7 @@ static bool is_bf(struct ibv_context *ib_ctx) struct mlx5dv_devx_uar *uar = mlx5dv_devx_alloc_uar(ib_ctx, MLX5DV_UAR_ALLOC_TYPE_BF); if (uar) { mlx5dv_devx_free_uar(uar); - return true; + bf_supported = true; } #else #define VMA_MLX5_MMAP_GET_WC_PAGES_CMD 2 // Corresponding to MLX5_MMAP_GET_WC_PAGES_CMD @@ -84,11 +85,16 @@ static bool is_bf(struct ibv_context *ib_ctx) ib_ctx->cmd_fd, page_size * offset); if (addr != MAP_FAILED) { (void)munmap(addr, page_size); - return true; + bf_supported = true; } #endif /* MLX5DV_UAR_ALLOC_TYPE_BF */ } - return false; + + if (safe_mce_sys().handle_bf && !bf_supported) { + __log_warn("Unable to initialize BlueFlame. Performance may be affected."); + } + + return bf_supported; } //! Maps ibv_wr_opcode to real MLX5 opcode. From 841fda8da60a6b43412670ba8cf6e4104436277d Mon Sep 17 00:00:00 2001 From: Gal Noam <75246446+galnoam@users.noreply.github.com> Date: Tue, 6 Jan 2026 19:45:21 +0200 Subject: [PATCH 138/150] Revert "issue: 4825350 Fixing max allowed QP work elements" This reverts commit d96916cf1a71f4086039651df8059bb788637565. --- src/vma/dev/ib_ctx_handler.cpp | 2 +- src/vma/dev/qp_mgr.cpp | 8 +------- src/vma/dev/qp_mgr_eth_direct.cpp | 4 ++-- src/vma/dev/ring_simple.cpp | 2 +- src/vma/ib/base/verbs_extra.h | 2 -- 5 files changed, 5 insertions(+), 13 deletions(-) diff --git a/src/vma/dev/ib_ctx_handler.cpp b/src/vma/dev/ib_ctx_handler.cpp index 62b3c31f6..2a923694b 100644 --- a/src/vma/dev/ib_ctx_handler.cpp +++ b/src/vma/dev/ib_ctx_handler.cpp @@ -170,7 +170,7 @@ void ib_ctx_handler::set_str() strcat(m_str, str_x); str_x[0] = '\0'; - sprintf(str_x, " max_qp_wr: %d", VMA_MAX_QP_WR); + sprintf(str_x, " max_qp_wr: %d", get_ibv_device_attr()->max_qp_wr); strcat(m_str, str_x); str_x[0] = '\0'; diff --git a/src/vma/dev/qp_mgr.cpp b/src/vma/dev/qp_mgr.cpp index ef2a3fb07..9f6151123 100644 --- a/src/vma/dev/qp_mgr.cpp +++ b/src/vma/dev/qp_mgr.cpp @@ -141,7 +141,7 @@ int qp_mgr::configure(struct qp_mgr_desc *desc) m_p_ib_ctx_handler->get_ibname(), m_p_ib_ctx_handler->get_ibv_device(), m_port_num); // Check device capabilities for max QP work requests - m_max_qp_wr = ALIGN_WR_DOWN(VMA_MAX_QP_WR - 1); + m_max_qp_wr = ALIGN_WR_DOWN(m_p_ib_ctx_handler->get_ibv_device_attr()->max_qp_wr - 1); if (m_rx_num_wr > m_max_qp_wr) { qp_logwarn("Allocating only %d Rx QP work requests while user " "requested %s=%d for QP on <%p, %d>", @@ -190,12 +190,6 @@ int qp_mgr::configure(struct qp_mgr_desc *desc) qp_init_attr.send_cq = m_p_cq_mgr_tx->get_ibv_cq_hndl(); qp_init_attr.sq_sig_all = 0; - qp_logdbg("Calling ibv_create_qp. qp_init_attr.cap: max_send_wr=%d, max_recv_wr=%d, " - "max_inline_data=%d, max_send_sge=%d, max_recv_sge=%d\n", - qp_init_attr.cap.max_send_wr, qp_init_attr.cap.max_recv_wr, - qp_init_attr.cap.max_inline_data, qp_init_attr.cap.max_send_sge, - qp_init_attr.cap.max_recv_sge); - // Create the QP if (prepare_ibv_qp(qp_init_attr)) { return -1; diff --git a/src/vma/dev/qp_mgr_eth_direct.cpp b/src/vma/dev/qp_mgr_eth_direct.cpp index fb5ce1b28..d06fc2f03 100644 --- a/src/vma/dev/qp_mgr_eth_direct.cpp +++ b/src/vma/dev/qp_mgr_eth_direct.cpp @@ -33,14 +33,14 @@ qp_mgr_eth_direct::qp_mgr_eth_direct(struct qp_mgr_desc *desc, cq_mgr* qp_mgr_eth_direct::init_tx_cq_mgr() { - m_tx_num_wr = VMA_MAX_QP_WR; + m_tx_num_wr = m_p_ib_ctx_handler->get_ibv_device_attr()->max_qp_wr; return new cq_mgr_mlx5(m_p_ring, m_p_ib_ctx_handler, m_tx_num_wr, m_p_ring->get_tx_comp_event_channel(), false); } int qp_mgr_eth_direct::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr) { qp_init_attr.cap.max_recv_wr = 0; // Wrapper Round for Bugs SW #2080510,SW #2020853 issue,[VMA - Feature #2076088] Support creation of VMA Direct QP only with TX HW resources - qp_init_attr.cap.max_send_wr = VMA_MAX_QP_WR; + qp_init_attr.cap.max_send_wr = m_p_ib_ctx_handler->get_ibv_device_attr()->max_qp_wr; qp_init_attr.cap.max_send_sge = 1; qp_init_attr.cap.max_recv_sge = 1; qp_init_attr.cap.max_inline_data = 0; diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index c9e19f294..9cb894527 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -222,7 +222,7 @@ void ring_simple::create_resources() BULLSEYE_EXCLUDE_BLOCK_END VALGRIND_MAKE_MEM_DEFINED(m_p_tx_comp_event_channel, sizeof(struct ibv_comp_channel)); // Check device capabilities for max QP work requests - uint32_t max_qp_wr = ALIGN_WR_DOWN(VMA_MAX_QP_WR - 1); + uint32_t max_qp_wr = ALIGN_WR_DOWN(m_p_ib_ctx->get_ibv_device_attr()->max_qp_wr - 1); m_tx_num_wr = safe_mce_sys().tx_num_wr; if (m_tx_num_wr > max_qp_wr) { ring_logwarn("Allocating only %d Tx QP work requests while user requested %s=%d for QP on interface", diff --git a/src/vma/ib/base/verbs_extra.h b/src/vma/ib/base/verbs_extra.h index dffadd11f..9c43302fb 100644 --- a/src/vma/ib/base/verbs_extra.h +++ b/src/vma/ib/base/verbs_extra.h @@ -67,8 +67,6 @@ int priv_ibv_query_flow_tag_supported(struct ibv_qp *qp, uint8_t port_num); int priv_ibv_create_flow_supported(struct ibv_qp *qp, uint8_t port_num); int priv_ibv_query_burst_supported(struct ibv_qp *qp, uint8_t port_num); -#define VMA_MAX_QP_WR 32768 // Override the uncompatible number returned by the driver. - //ibv_create_qp #ifdef DEFINED_IBV_QP_INIT_SOURCE_QPN #define vma_ibv_create_qp(pd, attr) ibv_create_qp_ex((pd)->context, attr) From 4555b4bcef0158139eb78004f31fe7a7f7b21ea7 Mon Sep 17 00:00:00 2001 From: Gal Noam Date: Thu, 8 Jan 2026 16:37:09 +0200 Subject: [PATCH 139/150] issue: 321712 ****************** VMA 9.8.84 ****************** Signed-off-by: Gal Noam --- CHANGES | 6 ++++++ configure.ac | 2 +- contrib/scripts/libvma.spec.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 8ef026f7e..4e14ca7bd 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 9.8.84-1: +Date + Time 2026-01-08 +============================================================= +Fixed: + - RM #4504533 Fix VMA_BF environment variable + Version 9.8.83-1: Date + Time 2026-01-05 ============================================================= diff --git a/configure.ac b/configure.ac index 4bffd107c..99407ad0f 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ dnl===-----------------------------------------------------------------------=== # define([prj_ver_major], 9) define([prj_ver_minor], 8) -define([prj_ver_revision], 83) +define([prj_ver_revision], 84) define([prj_ver_release], esyscmd([echo ${PRJ_RELEASE:=0}])) diff --git a/contrib/scripts/libvma.spec.in b/contrib/scripts/libvma.spec.in index 3590c7746..b378b9548 100644 --- a/contrib/scripts/libvma.spec.in +++ b/contrib/scripts/libvma.spec.in @@ -187,7 +187,7 @@ fi %{_mandir}/man8/vma_stats.* %changelog -* Mon Jan 5 2026 NVIDIA CORPORATION 9.8.83-1 -- Bump version to 9.8.83 +* Thu Jan 8 2026 NVIDIA CORPORATION 9.8.84-1 +- Bump version to 9.8.84 - Please refer to CHANGES for full changelog. From 70d6daac3e7b19253bebdb79a84bb8dd240b5b88 Mon Sep 17 00:00:00 2001 From: Noam Tsemah Date: Mon, 12 Jan 2026 17:28:40 +0200 Subject: [PATCH 140/150] [CI] issue: 4705805 Update DOCA version to 3.3.0 Update DOCA version from 2.8.0 to 3.3.0. Fix doca_install.sh to use major version for DOCA repo path. Signed-off-by: Noam Tsemah --- .ci/proj_jjb.yaml | 2 +- .ci/scripts/doca_install.sh | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index b5fa70afd..1220aa57c 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -33,7 +33,7 @@ description: "Enable debug prints and traces, valid values are 0-9." - string: name: "DOCA_VERSION" - default: "2.8.0" + default: "3.3.0" description: "DOCA version - see https://developer.nvidia.com/doca-downloads?deployment_platform=Host-Server&deployment_package=DOCA-Host" - choice: name: DOCA_BRANCH diff --git a/.ci/scripts/doca_install.sh b/.ci/scripts/doca_install.sh index 5252ab1cc..1682f1224 100755 --- a/.ci/scripts/doca_install.sh +++ b/.ci/scripts/doca_install.sh @@ -4,7 +4,7 @@ set -xvEe -o pipefail DOCA_REPO_PATH="https://doca-repo-prod.nvidia.com/internal/repo/doca" TARGET=${TARGET:=all} -DOCA_VERSION=${DOCA_VERSION:='2.8.0'} +DOCA_VERSION=${DOCA_VERSION:='3.3.0'} DOCA_BRANCH=${DOCA_BRANCH:="latest"} GPG_KEY="GPG-KEY-Mellanox.pub" @@ -56,7 +56,8 @@ function map_os_and_arch { ;; rhel|ol) - OS="${ID}${VERSION_ID}" + # Extract major version only (e.g., 9.6 -> 9) + OS="${ID}${VERSION_ID%%.*}" GPG_KEY_CMD='rpm --import "${GPG_KEY}"' REPO_CMD='yum install -y yum-utils && yum-config-manager --add-repo "${REPO_URL}"' PKG_MGR="yum --nogpgcheck" @@ -64,8 +65,8 @@ function map_os_and_arch { CURL_INSTALL="" ;; sles) - VERSION_ID=${VERSION_ID/./sp} - OS="${ID}${VERSION_ID}" + # Extract major version only (e.g., 9.6 -> 9) + OS="${ID}${VERSION_ID%%.*}" GPG_KEY_CMD='rpm --import "${GPG_KEY}"' REPO_CMD='zypper addrepo "${REPO_URL}" doca' PKG_MGR="zypper --no-gpg-checks" @@ -90,7 +91,7 @@ function map_os_and_arch { map_os_and_arch # Install DOCA repo GPG key -${CURL_INSTALL}; curl -o "${GPG_KEY}" "${DOCA_REPO_PATH}/${DOCA_VERSION}/${OS}/${ARCH}/${DOCA_BRANCH}/${GPG_KEY}" +${CURL_INSTALL}; curl -o "${GPG_KEY}" "${DOCA_REPO_PATH}/${DOCA_VERSION}/${OS}/${ARCH}/${DOCA_BRANCH}/${GPG_KEY}" eval "${GPG_KEY_CMD}" # Install DOCA repo @@ -98,12 +99,12 @@ REPO_URL="${DOCA_REPO_PATH}/${DOCA_VERSION}/${OS}/${ARCH}/${DOCA_BRANCH}/" eval "${REPO_CMD}" # Install DOCA -${PKG_MGR} ${UPDATE_CMD} +${PKG_MGR} ${UPDATE_CMD} ${PKG_MGR} install -y doca-ofed-userspace echo "==============================================" -echo +echo echo "DOCA for Host has been successfully installed" echo echo "==============================================" From 22151cf12647f91b39b2c0636d84e6cf6fdbc101 Mon Sep 17 00:00:00 2001 From: Noam Tsemah Date: Mon, 12 Jan 2026 17:33:46 +0200 Subject: [PATCH 141/150] [CI] issue: 4705805 Replace rhel8.6 with rhel9.6 Signed-off-by: Noam Tsemah --- .ci/dockerfiles/Dockerfile.rhel9.6 | 21 +++++++++++++++++++++ .ci/matrix_job.yaml | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .ci/dockerfiles/Dockerfile.rhel9.6 diff --git a/.ci/dockerfiles/Dockerfile.rhel9.6 b/.ci/dockerfiles/Dockerfile.rhel9.6 new file mode 100644 index 000000000..71f939396 --- /dev/null +++ b/.ci/dockerfiles/Dockerfile.rhel9.6 @@ -0,0 +1,21 @@ +ARG HARBOR_URL=nbu-harbor.gtm.nvidia.com +ARG ARCH=x86_64 +ARG OS_VERSION=9.6 + +FROM $HARBOR_URL/swx-infra/media/$ARCH/base/rhel:$OS_VERSION +ARG _UID=6213 +ARG _GID=101 +ARG _LOGIN=swx-jenkins +ARG _HOME=/var/home/$_LOGIN +RUN echo "${_LOGIN} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ + echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ + mkdir -p ${_HOME} && \ + groupadd -f -g "$_GID" "$_LOGIN" && \ + useradd -u "$_UID" -g "$_GID" -s /bin/bash -m -d ${_HOME} "${_LOGIN}" && \ + chown -R ${_LOGIN} ${_HOME} + +RUN dnf install --allowerasing -y json-c-devel curl \ + autoconf automake make libtool \ + gcc-c++ diffutils rpm-build \ + && dnf clean all \ + && rm -rf /var/cache/dnf diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index d069e900f..5d8a3f212 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -42,7 +42,7 @@ env: runs_on_dockers: # doca-host - - {name: 'rhel8.6-x86_64', url: '${registry_host}/hpcx/x86_64/rhel8.6/base', category: 'base', arch: 'x86_64'} + - {name: 'rhel9.6-x86_64', file: '.ci/dockerfiles/Dockerfile.rhel9.6', uri: 'vma/$arch/$name/build', category: 'base', arch: 'x86_64', tag: '20261201', build_args: '--build-arg ARCH=x86_64 --no-cache'} - {name: 'rhel9.0-x86_64', url: '${registry_host}/hpcx/x86_64/rhel9.0/base', category: 'base', arch: 'x86_64'} - {name: 'rhel9.4-aarch64', file: '.ci/dockerfiles/Dockerfile.rhel9.4', category: 'base', arch: 'aarch64', tag: '20250203', uri: 'vma/$arch/$name/build', build_args: '--build-arg ARCH=aarch64 --no-cache'} - {name: 'ub24.04-x86_64', url: '${registry_host}/hpcx/x86_64/ubuntu24.04/base', category: 'base', arch: 'x86_64'} From d48665e5285b24bbd6bb5b2e553f40fb77b30215 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Tue, 30 Dec 2025 10:59:06 +0200 Subject: [PATCH 142/150] [CI] issue: 4568257 Blackduck fails creating log file sha1 might contain tag/ as input, causing files created in the blackduck script to be under a new sub folder that does not exist Remove "tags/" prefix from sha1 Signed-off-by: NirWolfer --- .ci/pipeline/release_jjb.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.ci/pipeline/release_jjb.yaml b/.ci/pipeline/release_jjb.yaml index ef3a2c760..f5e30dcf5 100644 --- a/.ci/pipeline/release_jjb.yaml +++ b/.ci/pipeline/release_jjb.yaml @@ -21,7 +21,7 @@ description: "Tag to release" - string: name: sha1 - default: 'tags/$release_tag' + default: '$release_tag' description: 'commit to use, defaults to the commit tag provided under release_tag' - string: name: "revision" @@ -62,8 +62,7 @@ credentials-id: 'svc-nbu-swx-media_ssh_key' branches: ['$sha1'] shallow-clone: false - depth: 2 - refspec: "+refs/pull/*:refs/remotes/origin/pr/*" + refspec: "+refs/pull/*:refs/remotes/origin/pr/* +refs/tags/*:refs/remotes/origin/tags/*" browser: githubweb browser-url: "{jjb_git}" script-path: ".ci/Jenkinsfile" From dae265e33a2119ef4fe3c173165b720d8e940e6d Mon Sep 17 00:00:00 2001 From: Noam Tsemah Date: Sun, 19 Apr 2026 09:54:02 +0300 Subject: [PATCH 143/150] [CI] issue: 4705805 Run header check on changed files only Signed-off-by: Noam Tsemah --- contrib/jenkins_tests/copyrights.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/jenkins_tests/copyrights.sh b/contrib/jenkins_tests/copyrights.sh index 3e7d44276..286d448c9 100755 --- a/contrib/jenkins_tests/copyrights.sh +++ b/contrib/jenkins_tests/copyrights.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash set -xvEe -o pipefail @@ -26,7 +26,7 @@ cat /opt/nvidia/ProjectConfig/header-types.json /opt/nvidia/header_check.py \ --config ${WORKSPACE}/contrib/jenkins_tests/copyright-check-map.yaml \ - --path ${WORKSPACE} \ + --revs HEAD \ --git-repo ${WORKSPACE} | tee copyrights.log exit_code=$? echo "exit_code=${exit_code}" @@ -39,7 +39,7 @@ if [ ${exit_code} -eq 0 ]; then echo "Please refer to https://confluence.nvidia.com/pages/viewpage.action?pageId=788418816" /opt/nvidia/header_check.py \ --config contrib/jenkins_tests/copyright-check-map.yaml \ - --path ${WORKSPACE} \ + --revs HEAD \ --repair \ --git-repo ${WORKSPACE} | tee copyrights_repair.log # create list of modified files From 0d727ff22ac133b7e4eef7052dadf74d80c5e6f7 Mon Sep 17 00:00:00 2001 From: Bashar Abdelgafer Date: Mon, 11 May 2026 10:56:49 +0300 Subject: [PATCH 144/150] issue: 5022366 Valgrind sockperf leak suppression Add Valgrind suppression for a sockperf memory leaks, This is a genuine sockperf leak unrelated to libvma. Signed-off-by: Bashar Abdelgafer --- contrib/valgrind/valgrind_vma.supp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/contrib/valgrind/valgrind_vma.supp b/contrib/valgrind/valgrind_vma.supp index 1fac86aa1..12bdce8fe 100644 --- a/contrib/valgrind/valgrind_vma.supp +++ b/contrib/valgrind/valgrind_vma.supp @@ -491,6 +491,33 @@ fun:_ZN6ServerI10IoRecvfrom9SwitchOffS1_E13server_acceptEi fun:_ZN6ServerI10IoRecvfrom9SwitchOffS1_E6doLoopEv } +{ + sockperf_free_check + Memcheck:Free + fun:free + fun:_Z9close_ifdiiP8fds_data + fun:server_receive_then_send_impl + fun:server_receive_then_send<> + fun:_ZN6ServerI10IoRecvfrom9SwitchOffE6doLoopEv + fun:doHandler + fun:server_handler + fun:_Z14server_handlerI10IoRecvfromEviii + fun:_Z7do_testv + fun:main +} +{ + sockperf_leak_on_sigint + Memcheck:Leak + match-leak-kinds: definite + fun:_Znwm + fun:_ZN6ServerI10IoRecvfrom9SwitchOffE13server_acceptEi + fun:_ZN6ServerI10IoRecvfrom9SwitchOffE6doLoopEv + fun:doHandler + fun:server_handler + fun:_Z14server_handlerI10IoRecvfromEviii + fun:_Z7do_testv + fun:main +} ########################################################### # libnl1 { From fd1679ddeb534feaf384f936c0b7e3e076b503a0 Mon Sep 17 00:00:00 2001 From: NirWolfer Date: Wed, 22 Oct 2025 17:17:20 +0300 Subject: [PATCH 145/150] [CI] issue: 4684071 Terminate Valgrind gracefully Valgrind today is being terminated with -9 which prevents it from printing all the summaries at the end which are needed for debuging. Change -9 signal to -SIGINT af the first try of shutting down Valgrind Signed-off-by: NirWolfer --- contrib/jenkins_tests/vg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/jenkins_tests/vg.sh b/contrib/jenkins_tests/vg.sh index 75b8cc861..5b397e3f6 100755 --- a/contrib/jenkins_tests/vg.sh +++ b/contrib/jenkins_tests/vg.sh @@ -95,7 +95,7 @@ for test_link in $test_ip_list; do if [ `ps -ef | grep $test_app | wc -l` -gt 1 ]; then - ${sudo_cmd} pkill -9 -f $test_app 2>/dev/null || true + ${sudo_cmd} pkill -SIGINT -f $test_app 2>/dev/null || true sleep 10 # in case SIGINT didn't work if [ `ps -ef | grep $test_app | wc -l` -gt 1 ]; From 3d05c132b6c08ae9662c7483927bd35b28b78a60 Mon Sep 17 00:00:00 2001 From: Tomer Cabouly Date: Thu, 5 Mar 2026 07:55:33 +0000 Subject: [PATCH 146/150] issue: 4917201 Fix non-c-typedef-for-linkage build error Name anonymous structs socket_stats_t and socket_instance_block_t to fix -Werror=non-c-typedef-for-linkage with newer compilers. Structs with member functions require a tag name for C++ linkage. Matches the existing pattern used by sh_mem_t in the same file. Signed-off-by: Thomas Cabouly --- src/vma/util/vma_stats.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vma/util/vma_stats.h b/src/vma/util/vma_stats.h index 3d7f6026e..5613843d5 100644 --- a/src/vma/util/vma_stats.h +++ b/src/vma/util/vma_stats.h @@ -139,7 +139,7 @@ typedef struct { uint32_t n_tx_dummy; } socket_counters_t; -typedef struct { +typedef struct socket_stats_t { int fd; uint32_t inode; uint32_t tcp_state; // enum tcp_state @@ -184,7 +184,7 @@ typedef struct { }; } socket_stats_t; -typedef struct { +typedef struct socket_instance_block_t { bool b_enabled; socket_stats_t skt_stats; From 7c8731e8778f1baca47ea7189c0ca2fe33928865 Mon Sep 17 00:00:00 2001 From: Tomer Cabouly Date: Sun, 10 May 2026 06:08:06 +0000 Subject: [PATCH 147/150] issue: 4917201 Fix unused-but-set warnings in ring_simple/ring_tap Build with --enable-opt-log=no compiles ring_logfunc to ((void)0), leaving 'freed' / 'count' assigned but unread and breaking -Werror=unused-but-set-variable. - ring_simple.cpp::put_tx_buffers: NOT_IN_USE(freed) before logfunc - ring_tap.cpp::mem_buf_tx_release: NOT_IN_USE(freed) before logfunc - ring_tap.cpp::mem_buf_desc_return_single_to_owner_tx: drop dead 'count' (incremented but never logged or returned) Signed-off-by: Tomer Cabouly --- src/vma/dev/ring_simple.cpp | 3 +++ src/vma/dev/ring_tap.cpp | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/vma/dev/ring_simple.cpp b/src/vma/dev/ring_simple.cpp index 9cb894527..c08fd0383 100644 --- a/src/vma/dev/ring_simple.cpp +++ b/src/vma/dev/ring_simple.cpp @@ -833,6 +833,9 @@ int ring_simple::put_tx_buffers(mem_buf_desc_t* buff_list) count++; buff_list = next; } + + // to suppress warning in case ring_logfunc is compiled out + NOT_IN_USE(freed); ring_logfunc("buf_list: %p count: %d freed: %d\n", buff_list, count, freed); return_to_global_pool(); diff --git a/src/vma/dev/ring_tap.cpp b/src/vma/dev/ring_tap.cpp index e4f56d695..9e4a4b957 100644 --- a/src/vma/dev/ring_tap.cpp +++ b/src/vma/dev/ring_tap.cpp @@ -495,8 +495,6 @@ void ring_tap::mem_buf_desc_return_single_to_owner_tx(mem_buf_desc_t* p_mem_buf_ { auto_unlocker lock(m_lock_ring_tx); - int count = 0; - if (likely(p_mem_buf_desc)) { //potential race, ref is protected here by ring_tx lock, and in dst_entry_tcp & sockinfo_tcp by tcp lock if (likely(p_mem_buf_desc->lwip_pbuf.pbuf.ref)) @@ -508,7 +506,6 @@ void ring_tap::mem_buf_desc_return_single_to_owner_tx(mem_buf_desc_t* p_mem_buf_ p_mem_buf_desc->p_next_desc = NULL; free_lwip_pbuf(&p_mem_buf_desc->lwip_pbuf); m_tx_pool.push_back(p_mem_buf_desc); - count++; } } @@ -547,6 +544,8 @@ int ring_tap::mem_buf_tx_release(mem_buf_desc_t* buff_list, bool b_accounting, b count++; buff_list = next; } + // to suppress warning in case ring_logfunc is compiled out + NOT_IN_USE(freed); ring_logfunc("buf_list: %p count: %d freed: %d\n", buff_list, count, freed); return_to_global_pool(); From 74d51c1603cc6bf8a16c34177a4160052187b43e Mon Sep 17 00:00:00 2001 From: Tomer Cabouly Date: Mon, 11 May 2026 12:09:58 +0000 Subject: [PATCH 148/150] issue: 4917201 Fix more unused-but-set warnings w/ --enable-opt-log=no Build with --enable-opt-log=no compiles __log_funcall / __if_dbg / si_udp_logfunc to ((void)0), and the BURST variant of vma_ibv_modify_qp_rate_limit drops its mask argument, leaving variables assigned but unread and breaking -Werror=unused-but-set-variable. - verbs_extra.cpp::priv_ibv_modify_qp_ratelimit: NOT_IN_USE(attr_mask) after the modify call (mask is dropped by the macro under DEFINED_IBV_QP_SUPPORT_BURST). - io_mux_call.cpp::polling_loops: NOT_IN_USE(poll_counter) after the trailing __if_dbg (only consumer when log levels are enabled). - sockinfo_udp.cpp::rx_request_notification: NOT_IN_USE(ring_armed_count) before si_udp_logfunc (only consumer when log levels are enabled). Signed-off-by: Tomer Cabouly --- src/vma/ib/base/verbs_extra.cpp | 1 + src/vma/iomux/io_mux_call.cpp | 1 + src/vma/sock/sockinfo_udp.cpp | 2 ++ 3 files changed, 4 insertions(+) diff --git a/src/vma/ib/base/verbs_extra.cpp b/src/vma/ib/base/verbs_extra.cpp index e7c1a8538..444adb949 100644 --- a/src/vma/ib/base/verbs_extra.cpp +++ b/src/vma/ib/base/verbs_extra.cpp @@ -317,6 +317,7 @@ int priv_ibv_modify_qp_ratelimit(struct ibv_qp *qp, struct vma_rate_limit_t &rat return -2; } ENDIF_VERBS_FAILURE; BULLSEYE_EXCLUDE_BLOCK_END + NOT_IN_USE(attr_mask); /* vma_ibv_modify_qp_rate_limit may drop mask under DEFINED_IBV_QP_SUPPORT_BURST */ #ifdef DEFINED_IBV_QP_SUPPORT_BURST vlog_printf(VLOG_DEBUG, "qp was set to rate limit %d, burst size %d, packet size %d\n", rate_limit.rate, rate_limit.max_burst_sz, rate_limit.typical_pkt_sz); diff --git a/src/vma/iomux/io_mux_call.cpp b/src/vma/iomux/io_mux_call.cpp index 99ed4f7f2..39bae13d1 100644 --- a/src/vma/iomux/io_mux_call.cpp +++ b/src/vma/iomux/io_mux_call.cpp @@ -368,6 +368,7 @@ void io_mux_call::polling_loops() } __if_dbg("2nd scenario exit (loop %d, elapsed %d)", poll_counter, m_elapsed.tv_usec); + NOT_IN_USE(poll_counter); /* to suppress warning in case VMA_MAX_DEFINED_LOG_LEVEL */ } void io_mux_call::blocking_loops() diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index 41d315c28..8438b5f79 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1498,6 +1498,8 @@ int sockinfo_udp::rx_request_notification(uint64_t poll_sn) } m_rx_ring_map_lock.unlock(); + // to suppress warning in case si_udp_logfunc is compiled out + NOT_IN_USE(ring_armed_count); si_udp_logfunc("armed or busy %d ring(s) and %d ring are pending processing", ring_armed_count, ring_ready_count); return ring_ready_count; } From 97748dc1bffc218e1bfc194e78eb1b03f9ee60fb Mon Sep 17 00:00:00 2001 From: Noam Tsemah Date: Thu, 9 Apr 2026 16:29:28 +0300 Subject: [PATCH 149/150] [CI] issue: 4705805 Add Fedora CI pipeline Add CI job that builds libvma in a Fedora Rawhide container Signed-off-by: Noam Tsemah --- .ci/dockerfiles/Dockerfile.fedora-rawhide | 9 ++++ .ci/fedora_matrix_job.yaml | 37 ++++++++++++++ .ci/proj_jjb.yaml | 61 +++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 .ci/dockerfiles/Dockerfile.fedora-rawhide create mode 100644 .ci/fedora_matrix_job.yaml diff --git a/.ci/dockerfiles/Dockerfile.fedora-rawhide b/.ci/dockerfiles/Dockerfile.fedora-rawhide new file mode 100644 index 000000000..c8fe1d9fa --- /dev/null +++ b/.ci/dockerfiles/Dockerfile.fedora-rawhide @@ -0,0 +1,9 @@ +FROM docker.io/library/fedora:rawhide + +RUN dnf install --allowerasing -y procps-ng \ + bsdtar git-core autoconf automake \ + libtool gcc gcc-c++ make pkgconf-pkg-config \ + rdma-core-devel libnl3-devel gzip\ + && ln -sf /usr/bin/bsdtar /usr/local/bin/tar \ + && dnf clean all \ + && rm -rf /var/cache/dnf diff --git a/.ci/fedora_matrix_job.yaml b/.ci/fedora_matrix_job.yaml new file mode 100644 index 000000000..c5a4b8f59 --- /dev/null +++ b/.ci/fedora_matrix_job.yaml @@ -0,0 +1,37 @@ +--- +job: LIBVMA + +timeout_minutes: 30 + +registry_host: nbu-harbor.gtm.nvidia.com +registry_auth: swx-infra_harbor_credentials +registry_path: /swx-infra/media + +kubernetes: + privileged: true + cloud: il-ipp-blossom-prod + namespace: swx-media + nodeSelector: 'beta.kubernetes.io/os=linux' + limits: '{memory: 8Gi, cpu: 8000m}' + requests: '{memory: 8Gi, cpu: 8000m}' + arch_table: + x86_64: + nodeSelector: 'kubernetes.io/arch=amd64' + jnlpImage: '${registry_host}/toolbox/c3po-jnlp:latest' + +runs_on_dockers: + - {name: 'fedora-rawhide', file: '.ci/dockerfiles/Dockerfile.fedora-rawhide', uri: 'vma/$arch/$name', arch: 'x86_64', tag: '20260420', build_args: '--no-cache --pull'} + +matrix: + axes: + flags: + - default + +steps: + - name: Build + run: | + env WORKSPACE=$PWD TARGET=${flags} jenkins_test_build=yes ./contrib/test_jenkins.sh + onfail: | + ./.ci/artifacts.sh + archiveArtifacts-onfail: | + jenkins/**/arch-*.tar.gz diff --git a/.ci/proj_jjb.yaml b/.ci/proj_jjb.yaml index 1220aa57c..dcd2a1ee0 100644 --- a/.ci/proj_jjb.yaml +++ b/.ci/proj_jjb.yaml @@ -136,6 +136,66 @@ browser: githubweb browser-url: "{jjb_git}" script-path: ".ci/Jenkinsfile" + +- job-template: + name: "{jjb_proj}-fedora" + project-type: pipeline + folder: libvma + properties: + - github: + url: "https://github.com/Mellanox/libvma" + - build-discarder: + days-to-keep: 50 + num-to-keep: 20 + - inject: + keep-system-variables: true + properties-content: | + jjb_proj={jjb_proj}-fedora + description: Do NOT edit this job through the Web GUI ! + concurrent: false + parameters: + - string: + name: "sha1" + default: master + description: "Commit to be checked, set by PR" + - bool: + name: "build_dockers" + default: true + description: "Rebuild docker containers. Check this box if .ci/DockerFile* was changed" + - string: + name: "conf_file" + default: ".ci/fedora_matrix_job.yaml" + description: "Regex to select job config file. Do not change it" + - string: + name: "DEBUG" + default: 0 + description: "Enable debug prints and traces, valid values are 0-9." + triggers: + - github-pull-request: + cron: 'H/5 * * * *' + trigger-phrase: '.*\bbot:(?:fedora:)?retest\b.*' + status-context: "{jjb_proj}-fedora" + success-status: "[PASS]" + failure-status: "[FAIL]" + error-status: "[FAIL]" + status-add-test-results: true + auth-id: 'svc-nbu-swx-media_GHPRB_ID' + org-list: ["Mellanox"] + white-list: ["swx-jenkins","mellanox-github"] + allow-whitelist-orgs-as-admins: true + cancel-builds-on-update: true + pipeline-scm: + scm: + - git: + url: "{jjb_git}" + credentials-id: 'svc-nbu-swx-media_ssh_key' + branches: ['$sha1'] + shallow-clone: true + depth: 2 + refspec: "+refs/pull/*:refs/remotes/origin/pr/*" + browser: githubweb + browser-url: "{jjb_git}" + script-path: ".ci/Jenkinsfile" - project: name: libvma jjb_email: 'nwolfer@nvidia.com' @@ -144,3 +204,4 @@ jjb_owner: 'Nir Wolfer' jobs: - "{jjb_proj}" + - "{jjb_proj}-fedora" From 4b23a85252c8ddf13de6cdfa641ca053a04f4a3f Mon Sep 17 00:00:00 2001 From: Elyasaf Date: Sun, 19 Jul 2026 13:00:22 +0300 Subject: [PATCH 150/150] issue: 770 [CI] Update secret-scan container registry ## What Use the devops-stable secret-scan image from swx-storage. ## Why ? The previous secret-scan registry path is obsolete. ## How ? Update the image URL and tag in the CI matrix. --- .ci/matrix_job.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/matrix_job.yaml b/.ci/matrix_job.yaml index 5d8a3f212..13578059c 100644 --- a/.ci/matrix_job.yaml +++ b/.ci/matrix_job.yaml @@ -55,7 +55,7 @@ runs_on_dockers: - {name: 'toolbox', url: '${registry_host}/hpcx/x86_64/rhel8.6/builder:inbox', category: 'tool', arch: 'x86_64'} - {name: 'blackduck', file: '.ci/dockerfiles/Dockerfile.rhel8.6', category: 'tool', arch: 'x86_64', tag: '20250630', uri: 'vma/$arch/$name/bduck', build_args: '--no-cache --target bduck'} - {name: 'header-check', url: '${registry_host}/toolbox/header_check:0.0.58', category: 'tool', arch: 'x86_64', tag: '0.0.58'} - - {name: 'secret-scan', url: '${registry_host}/toolbox/secret_scan:0.0.27', arch: 'x86_64', tag: '0.0.27', category: 'tool'} + - {name: 'secret-scan', url: '${registry_host}/swx-storage/tools/secret_scan:devops-stable', arch: 'x86_64', tag: 'devops-stable', category: 'tool'} runs_on_agents: - {nodeLabel: 'beni09', category: 'base'}