All of lore.kernel.org
 help / color / mirror / Atom feed
From: Til Kaiser <mail@tk154.de>
To: nbd@nbd.name, sean.wang@mediatek.com, Mark-MC.Lee@mediatek.com,
	lorenzo@kernel.org
Cc: netdev@vger.kernel.org
Subject: [PATCH net] mediathek: mtk_eth_soc: fix netdev inside xdp_rxq_info
Date: Tue, 26 Nov 2024 14:41:53 +0100	[thread overview]
Message-ID: <20241126134707.253572-1-mail@tk154.de> (raw)

Hi,

I have noticed on a Banana Pi BPI-R4 running OpenWrt that the
ingress interface index is always 0 when I attach an eBPF/XDP
program to one of its SFP ports or its switch in native/driver mode.

Attached, you can find a fix/patch and a simple eBPF/XDP program
I used for testing.

Kind regards
Til


             reply	other threads:[~2024-11-26 13:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-26 13:41 Til Kaiser [this message]
2024-11-26 13:41 ` [PATCH net] mediathek: mtk_eth_soc: fix netdev inside xdp_rxq_info Til Kaiser
2024-11-26 18:16   ` Lorenzo Bianconi
2024-11-27 13:31     ` Ido Schimmel
2024-11-27 14:30       ` Lorenzo Bianconi
2024-12-03  3:16   ` Jakub Kicinski

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=20241126134707.253572-1-mail@tk154.de \
    --to=mail@tk154.de \
    --cc=Mark-MC.Lee@mediatek.com \
    --cc=lorenzo@kernel.org \
    --cc=nbd@nbd.name \
    --cc=netdev@vger.kernel.org \
    --cc=sean.wang@mediatek.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.