From: Konstantin Ananyev <konstantin.ananyev@huawei.com>
To: Marat Khalili <marat.khalili@huawei.com>,
"dev@dpdk.org" <dev@dpdk.org>,
Wathsala Vithanage <wathsala.vithanage@arm.com>
Subject: RE: [PATCH v2 1/2] bpf: add atomic xchg support
Date: Fri, 19 Dec 2025 13:03:58 +0000 [thread overview]
Message-ID: <6d981cf05ad34f19a0956db69faf99b6@huawei.com> (raw)
In-Reply-To: <20251218170914.7737-2-marat.khalili@huawei.com>
> Add support for BPF atomic xchg instruction, and tests for it. This
> instruction can be produced using compiler intrinsics.
>
> Signed-off-by: Marat Khalili <marat.khalili@huawei.com>
> ---
> app/test/test_bpf.c | 459 ++++++++++++++++++++++++++++++++++++++++
> lib/bpf/bpf_def.h | 5 +
> lib/bpf/bpf_exec.c | 35 ++-
> lib/bpf/bpf_jit_arm64.c | 59 ++++--
> lib/bpf/bpf_jit_x86.c | 37 +++-
> lib/bpf/bpf_validate.c | 22 +-
> 6 files changed, 580 insertions(+), 37 deletions(-)
Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
> 2.43.0
next prev parent reply other threads:[~2025-12-19 13:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-17 17:20 [PATCH 0/2] bpf: add xchg and fix rte_bpf_dump Marat Khalili
2025-12-17 17:20 ` [PATCH 1/2] bpf: add atomic xchg support Marat Khalili
2025-12-17 17:20 ` [PATCH 2/2] bpf: dump additional instructions Marat Khalili
2025-12-18 17:09 ` [PATCH v2 0/2] bpf: add xchg and fix rte_bpf_dump Marat Khalili
2025-12-18 17:09 ` [PATCH v2 1/2] bpf: add atomic xchg support Marat Khalili
2025-12-19 13:03 ` Konstantin Ananyev [this message]
2025-12-18 17:09 ` [PATCH v2 2/2] bpf: dump additional instructions Marat Khalili
2025-12-19 13:04 ` Konstantin Ananyev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6d981cf05ad34f19a0956db69faf99b6@huawei.com \
--to=konstantin.ananyev@huawei.com \
--cc=dev@dpdk.org \
--cc=marat.khalili@huawei.com \
--cc=wathsala.vithanage@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).