Bug 282113 - net-mgmt/ipfixcol2: port to aarch64
Summary: net-mgmt/ipfixcol2: port to aarch64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-15 16:48 UTC by Robert Clausecker
Modified: 2024-10-21 09:42 UTC (History)
1 user (show)

See Also:
zarychtam: maintainer-feedback+


Attachments
net-mgmt/ipfixcol2: port to aarch64 (2.18 KB, patch)
2024-10-15 16:48 UTC, Robert Clausecker
fuz: maintainer-approval? (zarychtam)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2024-10-15 16:48:57 UTC
Created attachment 254266 [details]
net-mgmt/ipfixcol2: port to aarch64

The attached patch uses sse2neon to port this project to aarch64.
While it would be better to rewrite the hashTable code to use NEON,
this should do just fine.

It depends on a new port devel/sse2neon which I have not yet committed.
In lieu of the port, you can simply copy sse2neon.h from up stream to
/usr/local/include:

    https://github.com/DLTcollab/sse2neon

Please review the patch and set "maintainer-approval" to "+" i you approve of it.
Comment 1 Marek Zarychta 2024-10-16 04:53:53 UTC
Thanks for this patch Robert. I understand you'll commit it after adding devel/sse2neon to the ports tree.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-10-21 09:37:52 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dfeab5d38571c9b6bc90c0c23c948d55d0659caf

commit dfeab5d38571c9b6bc90c0c23c948d55d0659caf
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-10-15 16:39:08 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-10-21 09:36:01 +0000

    net-mgmt/ipfixcol2: port to aarch64

     - use sse2neon to implement SSE intrinsics on AArch64

    Approved by:    zarychtam@plan-b.pwste.edu.pl (maintainer)
    PR:             282113

 net-mgmt/ipfixcol2/Makefile                                |  7 ++++---
 ...ch-src_tools_fdsdump_src_aggregator_hashTable.cpp (new) | 14 ++++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2024-10-21 09:42:51 UTC
Thank you for the review.