From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: "Johannes Berg" <johannes@sipsolutions.net>,
"Michał Kazior" <kazikcz@gmail.com>,
lorenzo.bianconi@redhat.com
Cc: kvalo@codeaurora.org,
linux-wireless <linux-wireless@vger.kernel.org>,
Felix Fietkau <nbd@nbd.name>,
brouer@redhat.com
Subject: Re: [RFC 0/5] add XDP support to mt76x2e/mt76x0e drivers
Date: Mon, 03 Dec 2018 21:51:20 +0200 [thread overview]
Message-ID: <875zwajsnb.fsf@toke.dk> (raw)
In-Reply-To: <4e2d8543c6e4e48d6b6a9f4fde5c811dd4d71243.camel@sipsolutions.net>
Johannes Berg <johannes@sipsolutions.net> writes:
> On Mon, 2018-12-03 at 21:36 +0200, Toke Høiland-Jørgensen wrote:
>> Hi Johannes
>>
>> I think your email can be basically summed up to:
>>
>> > [ ... ] but really I think it's a can of worms.
>>
>> ...right? :)
>
> Heh, yeah :)
>
>> I sort of had a feeling it would be, but thank you for spelling out in
>> excruciating detail why that is so.
>
> :-)
>
>> Given this, I think I agree that it's not worth it for now, and we
>> should hold off on adding XDP support until we have 802.3/.11
>> conversion offload working... Which I think is also where you ended
>> up? :)
>
> That case is at least easy, yeah. And it seems kinda likely that we'll
> end up with that in all well-maintained drivers in the relatively near
> future anyway?
Right; you probably know that better than me :)
> BTW, in a sense I still kind of want to add eBPF to the mac80211 ingress
> path, just not in the XDP sense. For example, I had a proposal a while
> ago to add a filter to the monitor mode RX path(s) in eBPF; I still
> think that's useful.
>
> I also think it may be useful to put eBPF programs into per-netdev
> ingress path, in order to e.g. collect statistics, rather than hard-
> coding all kinds of statistics into mac80211.
>
> All of these things I consider absolutely useful and helpful. I like
> eBPF and the flexibility it affords. I just really don't think we should
> call it XDP or let it do similar things to XDP like dropping or
> redirecting frames.
Absolutely; totally on board with that!
-Toke
next prev parent reply other threads:[~2018-12-03 19:51 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-27 22:21 [RFC 0/5] add XDP support to mt76x2e/mt76x0e drivers Lorenzo Bianconi
2018-11-27 22:21 ` [RFC 1/5] mac80211: introduce ieee80211_xdp handler Lorenzo Bianconi
2018-11-27 22:21 ` [RFC 2/5] mac80211: introduce ieee80211_vif_to_netdev routine Lorenzo Bianconi
2018-11-27 22:21 ` [RFC 3/5] mt76: split mt76_dma_rx_reset in init_rx_reset and complete_rx_reset Lorenzo Bianconi
2018-11-27 22:21 ` [RFC 4/5] mt76: make mt76x02_vif_init return int Lorenzo Bianconi
2018-11-27 22:21 ` [RFC 5/5] mt76: add XDP support Lorenzo Bianconi
2018-11-28 10:15 ` [RFC 0/5] add XDP support to mt76x2e/mt76x0e drivers Kalle Valo
2018-11-28 10:44 ` Lorenzo Bianconi
2018-11-28 12:36 ` Toke Høiland-Jørgensen
2018-11-28 12:53 ` Michał Kazior
2018-11-28 14:19 ` Toke Høiland-Jørgensen
2018-11-28 13:11 ` Lorenzo Bianconi
2018-11-28 14:21 ` Toke Høiland-Jørgensen
2018-11-28 14:35 ` Lorenzo Bianconi
2018-11-28 14:43 ` Toke Høiland-Jørgensen
2018-11-28 15:35 ` Lorenzo Bianconi
2018-11-28 23:12 ` Toke Høiland-Jørgensen
2018-11-29 12:59 ` Lorenzo Bianconi
2018-11-29 13:29 ` Toke Høiland-Jørgensen
2018-11-29 13:45 ` Michał Kazior
2018-11-29 13:53 ` Toke Høiland-Jørgensen
2018-12-03 17:57 ` Johannes Berg
2018-12-03 19:36 ` Toke Høiland-Jørgensen
2018-12-03 19:41 ` Johannes Berg
2018-12-03 19:51 ` Toke Høiland-Jørgensen [this message]
2018-12-03 20:00 ` Lorenzo Bianconi
2018-11-28 15:43 ` Jesper Dangaard Brouer
2018-11-29 10:30 ` Lorenzo Bianconi
2018-11-29 13:27 ` Toke Høiland-Jørgensen
2018-11-29 13:41 ` Michał Kazior
2018-11-29 13:48 ` Toke Høiland-Jørgensen
2018-11-29 13:58 ` Lorenzo Bianconi
2018-11-29 14:06 ` Toke Høiland-Jørgensen
2018-11-29 15:45 ` Lorenzo Bianconi
2018-11-29 16:06 ` Toke Høiland-Jørgensen
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=875zwajsnb.fsf@toke.dk \
--to=toke@toke.dk \
--cc=brouer@redhat.com \
--cc=johannes@sipsolutions.net \
--cc=kazikcz@gmail.com \
--cc=kvalo@codeaurora.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=nbd@nbd.name \
/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).