Re: [PATCH net-next v2 05/18] xdp, xsk: constify read-only arguments of some static inline helpers

Alexander Lobakin
2024-10-21T13:57:59Z

From: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
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