[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231213130807.503e1332@kernel.org>
Date: Wed, 13 Dec 2023 13:08:07 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Jamal Hadi Salim <jhs@...atatu.com>
Cc: Jamal Hadi Salim <hadi@...atatu.com>, Eric Dumazet
<edumazet@...gle.com>, Victor Nogueira <victor@...atatu.com>,
xiyou.wangcong@...il.com, jiri@...nulli.us, davem@...emloft.net,
pabeni@...hat.com, daniel@...earbox.net, dcaratti@...hat.com,
netdev@...r.kernel.org, kernel@...atatu.com
Subject: Re: [PATCH net-next v3 2/3] net: sched: Make tc-related drop reason
more flexible for remaining qdiscs
On Wed, 13 Dec 2023 13:36:31 -0500 Jamal Hadi Salim wrote:
> Putting this to rest:
> Other than fq codel, the others that deal with multiple skbs due to
> gso segments. So the conclusion is: if we have a bunch in the list
> then they all suffer the same fate. So a single reason for the list is
> sufficient.
Alright.
I'm still a bit confused about the cb, tho.
struct qdisc_skb_cb is the state struct.
But we put the drop reason in struct tc_skb_cb.
How does that work. Qdiscs will assume they own all of
qdisc_skb_cb::data ?
Maybe some documentation about the lifetimes of these things
would clarify things?
Powered by blists - more mailing lists