From: Stephen Hemminger <stephen@networkplumber.org>
To: Xiaohua Wang <xiaohua.wang@ericsson.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: Can DPDK AF_XDP PMD support macvlan driver in container?
Date: Wed, 23 Oct 2024 19:12:55 -0700 [thread overview]
Message-ID: <20241023191255.505a1068@hermes.local> (raw)
In-Reply-To: <DB5PR07MB95159C226487EC0A1E3A93A4FB4D2@DB5PR07MB9515.eurprd07.prod.outlook.com>
On Wed, 23 Oct 2024 06:07:22 +0000
Xiaohua Wang <xiaohua.wang@ericsson.com> wrote:
> eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
> libbpf: elf: skipping unrecognized data section(8) .xdp_run_config
> libbpf: elf: skipping unrecognized data section(9) xdp_metadata
> libbpf: elf: skipping unrecognized data section(7) xdp_metadata
> libbpf: prog 'xdp_pass': BPF program load failed: Invalid argument
> libbpf: prog 'xdp_pass': failed to load: -22
Is xdp_pass your own BPF program?
It maybe that the kernel device driver (in this case macvlan)
needs to have support for BPF programs. Macvlan does not see
macvlan.c:macvlan_netdev_ops
next prev parent reply other threads:[~2024-10-24 2:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-23 6:07 Can DPDK AF_XDP PMD support macvlan driver in container? Xiaohua Wang
2024-10-23 16:09 ` Stephen Hemminger
2024-10-24 1:57 ` Xiaohua Wang
2025-01-02 1:52 ` Is it possible to add a new option (XDP_ATTACH_MODE) to AF_XDP PMD https://doc.dpdk.org/guides/nics/af_xdp.html#options ?//Re: " Xiaohua Wang
2024-10-24 2:12 ` Stephen Hemminger [this message]
2024-10-24 9:16 ` Maryam Tahhan
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=20241023191255.505a1068@hermes.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=xiaohua.wang@ericsson.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 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.