[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL+tcoA0=DWr-eQbL39xwVjKb4ZiBtMXBFTB2QPVoDQAzy0AEQ@mail.gmail.com>
Date: Tue, 4 Nov 2025 07:43:48 +0800
From: Jason Xing <kerneljasonxing@...il.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
Kuniyuki Iwashima <kuniyu@...gle.com>, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] net: mark deliver_skb() as unlikely and not inlined
Hi Eric,
On Tue, Nov 4, 2025 at 12:53 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> deliver_skb() should not be inlined as is it not called
> in the fast path.
IIUC, it can be the fast path only when an af_packet socket attached to
ptype_all is used because it controls the filters in the rx/tx
directions? It even could be much hotter than __dev_queue_xmit() when
multiple af_packet sockets are created?
Thanks,
Jason
Powered by blists - more mailing lists