Re: [PATCH net-next v2 05/18] xdp, xsk: constify read-only arguments of some static inline helpers
From: Alexander Lobakin
Date: Mon Oct 21 2024 - 09:58:18 EST
From: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx>
Date: Thu, 17 Oct 2024 13:14:22 +0200
> On Tue, Oct 15, 2024 at 04:53:37PM +0200, Alexander Lobakin wrote:
>> Lots of read-only helpers for &xdp_buff and &xdp_frame, such as getting
>> the frame length, skb_shared_info etc., don't have their arguments
>> marked with `const` for no reason. Add the missing annotations to leave
>> less place for mistakes and more for optimization.
>
> Same comment as in previous patch.
> Good stuff regardless.
Same comment as in the reply to the previous patch :D
Thanks,
Olek