netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mpls_xmit() calls skb_orphan()
@ 2023-12-08 21:06 Christoph Paasch
  2023-12-08 21:15 ` Christoph Paasch
  2024-02-22 16:34 ` Paolo Abeni
  0 siblings, 2 replies; 4+ messages in thread
From: Christoph Paasch @ 2023-12-08 21:06 UTC (permalink / raw)
  To: netdev, Roopa Prabhu; +Cc: Craig Taylor

Hello,

we observed an issue when running a TCP-connection with BBR on top of an MPLS-tunnel in that we saw a lot of CPU-time spent coming from tcp_pace_kick(), although sch_fq was configured on this host.

The reason for this seems to be because mpls_xmit() calls skb_orphan(), thus settings skb->sk to NULL, preventing the qdisc to set sk_pacing_status (which would allow to avoid the call to tcp_pace_kick()).

The question is: Why is this call to skb_orphan in mpls_xmit necessary ?


Thanks,
Christoph

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

end of thread, other threads:[~2024-02-22 16:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-08 21:06 mpls_xmit() calls skb_orphan() Christoph Paasch
2023-12-08 21:15 ` Christoph Paasch
2023-12-08 23:44   ` Jakub Kicinski
2024-02-22 16:34 ` Paolo Abeni

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