From: Stephen Hemminger <stephen@networkplumber.org>
To: liwencheng <liwencheng@phytium.com.cn>
Cc: dev@dpdk.org
Subject: Re: [PATCH v4 3/4] net/macb: add NEON vectorized Rx/Tx
Date: Sun, 26 Oct 2025 11:02:22 -0700 [thread overview]
Message-ID: <20251026110222.1f24c933@phoenix> (raw)
In-Reply-To: <1743577152-119846-1-git-send-email-liwencheng@phytium.com.cn>
On Wed, 2 Apr 2025 06:59:12 +0000
liwencheng <liwencheng@phytium.com.cn> wrote:
> To optimize Rx/Tx burst process,
> add NEON vector instructions on arm architecture.
>
> v4:
> * Support hardware Rx checksum offload.
> * Fixed some code style issues.
>
> Signed-off-by: liwencheng <liwencheng@phytium.com.cn>
Build is failing on Fedora for this.
FAILED: [code=1] drivers/libtmp_rte_net_macb.a.p/net_macb_macb_rxtx_vec_neon.c.o
clang -Idrivers/libtmp_rte_net_macb.a.p -Idrivers -I../drivers -Idrivers/net/macb -I../drivers/net/macb -Idrivers/net/macb/base -I../drivers/net/macb/base -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wd
eprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=armv8.1-a+crc+crypto -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-comma -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.macb -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_macb.a.p/net_macb_macb_rxtx_vec_neon.c.o -MF drivers/libtmp_rte_net_macb.a.p/net_macb_macb_rxtx_vec_neon.c.o.d -o drivers/libtmp_rte_net_macb.a.p/net_macb_macb_rxtx_vec_neon.c.o -c ../drivers/net/macb/macb_rxtx_vec_neon.c
../drivers/net/macb/macb_rxtx_vec_neon.c:59:30: error: cast from 'volatile unsigned long (*)[1]' to 'unsigned long *' drops volatile qualifier [-Werror,-Wcast-qual]
59 | vset_lane_u64(*(uint64_t *)(&mbuf.rearm_data), mbuf_initializer, 0);
| ^
next prev parent reply other threads:[~2025-10-26 18:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-02 6:59 [PATCH v4 3/4] net/macb: add NEON vectorized Rx/Tx liwencheng
2025-04-07 6:39 ` [PATCH v5 " liwencheng
2025-04-08 6:21 ` [PATCH v6 2/3] " liwencheng
2025-04-18 3:26 ` [PATCH v7 " Wencheng Li
2025-06-04 7:01 ` [PATCH v8 " Wencheng Li
2025-06-06 9:07 ` [PATCH v9 " Wencheng Li
2025-08-20 4:33 ` [PATCH v10 " Wencheng Li
2025-10-28 8:32 ` [PATCH v11 " Wencheng Li
2025-10-28 13:40 ` Stephen Hemminger
2025-10-26 18:02 ` Stephen Hemminger [this message]
2025-10-26 18:17 ` [PATCH v4 3/4] " Stephen Hemminger
-- strict thread matches above, loose matches on Subject: below --
2024-12-10 7:05 [PATCH v3 2/6] " Wencheng Li
2025-04-02 7:10 ` [PATCH v4 3/4] " liwencheng
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=20251026110222.1f24c933@phoenix \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=liwencheng@phytium.com.cn \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.