From: Harald Welte <laforge@gnumonks.org>
To: Anil Kaushik <anilkaushikwireless@gmail.com>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>,
Donald Hunter <donald.hunter@gmail.com>,
Jakub Kicinski <kuba@kernel.org>,
netdev@vger.kernel.org, osmocom-net-gprs@lists.osmocom.org
Subject: Re: [RFC] gtp: add 5G PDU Session Container (QFI) support?
Date: Sat, 3 Oct 2026 13:58:06 +0800 [thread overview]
Message-ID: <asCZbsGo90ROQIS6@nataraja> (raw)
In-Reply-To: <20261002134002.3529706-1-anilkaushikwireless@gmail.com>
Hi Anil,
On Fri, Oct 02, 2026 at 01:40:02PM +0000, Anil Kaushik wrote:
> 1) Is this something you'd welcome in mainline gtp.c? I'm aware a lot of
> 5G user-plane work lives in out-of-tree datapaths (gtp5g, the eBPF
> eUPF), so I don't want to add datapath complexity you'd rather not
> carry here.
I think the big question is about the use case. Do you yourself have a use case
for this? Which userspace programs (ideally open source ones) will be using your
proposed mechanism? For the existing GTPv0/v1 code we have a couple of different
FOSS applications (osmo-ggsn and ergw) as well as know of a number of proprietary
applications using it.
So I'm wondering if this proposed enhancement is "just for the sake of completeness",
or if you have any application (or will contribute patches to existing applications) so
they will make use of this feature.
> 2) If yes: on RX, once the QFI has been parsed out of the PSC, what would
> you like the driver to do with it? The options I see are:
> - stash it in skb->mark, so tc/nftables can classify uplink traffic
> by QoS flow;
> - attach it as skb metadata (tc_skb_ext / metadata_dst); or
> - just validate it and otherwise ignore it.
> The shape of the RX patch depends on this, so I'd rather ask than
> guess.
I would say skb->mark would make sense to me.
Regards,
Harald
p.s.: Answers might be slow, I'm just about to go on a motorbike tour in remote
mountainous areas with limited connectivity and/or time for e-mails
--
- Harald Welte <laforge@gnumonks.org> https://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
next prev parent reply other threads:[~2026-10-03 6:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-02 13:40 [RFC] gtp: add 5G PDU Session Container (QFI) support? Anil Kaushik
2026-10-03 5:58 ` Harald Welte [this message]
2026-10-03 10:26 ` Anil Kaushik
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=asCZbsGo90ROQIS6@nataraja \
--to=laforge@gnumonks.org \
--cc=anilkaushikwireless@gmail.com \
--cc=donald.hunter@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=osmocom-net-gprs@lists.osmocom.org \
--cc=pablo@netfilter.org \
/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