netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] mediathek: mtk_eth_soc: fix netdev inside xdp_rxq_info
@ 2024-11-26 13:41 Til Kaiser
  2024-11-26 13:41 ` Til Kaiser
  0 siblings, 1 reply; 6+ messages in thread
From: Til Kaiser @ 2024-11-26 13:41 UTC (permalink / raw)
  To: nbd, sean.wang, Mark-MC.Lee, lorenzo; +Cc: netdev

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-12-03  3:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-26 13:41 [PATCH net] mediathek: mtk_eth_soc: fix netdev inside xdp_rxq_info Til Kaiser
2024-11-26 13:41 ` 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

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).