[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220215080452.2898495a@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 15 Feb 2022 08:04:52 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: menglong8.dong@...il.com
Cc: dsahern@...nel.org, edumazet@...gle.com, davem@...emloft.net,
rostedt@...dmis.org, mingo@...hat.com, yoshfuji@...ux-ipv6.org,
ast@...nel.org, daniel@...earbox.net, hawk@...nel.org,
john.fastabend@...il.com, imagedong@...cent.com,
talalahmad@...gle.com, keescook@...omium.org,
ilias.apalodimas@...aro.org, alobakin@...me, memxor@...il.com,
atenart@...nel.org, bigeasy@...utronix.de, pabeni@...hat.com,
linyunsheng@...wei.com, arnd@...db.de, yajun.deng@...ux.dev,
roopa@...dia.com, willemb@...gle.com, vvs@...tuozzo.com,
cong.wang@...edance.com, luiz.von.dentz@...el.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
bpf@...r.kernel.org, flyingpeng@...cent.com
Subject: Re: [PATCH net-next 00/19] net: add skb drop reasons for TCP, IP,
dev and neigh
On Tue, 15 Feb 2022 19:27:53 +0800 menglong8.dong@...il.com wrote:
> From: Menglong Dong <imagedong@...cent.com>
>
> In this series patches, reasons for skb drops are added to TCP, IP, dev
> and neigh.
>
> For TCP layer, the path of TCP data receive and enqueue are considered.
> However, it's more complex for TCP state processing, as I find that it's
> hard to report skb drop reasons to where it is freed. For example,
> when skb is dropped in tcp_rcv_state_process(), the reason can be caused
> by the call of tcp_v4_conn_request(), and it's hard to return a drop
> reason from tcp_v4_conn_request(). So I just skip such case for this
> moment.
>
> For IP layer, skb drop reasons are added to the packet outputting path.
> Seems the reasons are not complex, so I didn't split the commits by
> functions.
>
> For neighbour part, SKB_DROP_REASON_NEIGH_FAILED and
> SKB_DROP_REASON_NEIGH_QUEUEFULL are added.
>
> For link layer, reasons are added for both packet inputting and
> outputting path.
>
> The amount of patches in this series seems a bit too many, maybe I should
> join some of them? For example, combine the patches of dev to one.
This series does not apply cleanly.
There's no reason to send 19 patches at a time. Please try to send
smaller series, that's are easier to review, under 10 patches
preferably, certainly under 15.
Powered by blists - more mailing lists