Thread (22 messages) 22 messages, 4 authors, 2024-10-24

Re: [PATCH net-next 1/8] lib: packing: create __pack() and __unpack() variants without error checking

From: Jacob Keller <jacob.e.keller@intel.com>
Date: 2024-10-14 18:52:54
Also in: lkml


On 10/14/2024 7:27 AM, Vladimir Oltean wrote:
On Fri, Oct 11, 2024 at 11:48:29AM -0700, Jacob Keller wrote:
quoted
From: Vladimir Oltean <vladimir.oltean@nxp.com>

A future variant of the API, which works on arrays of packed_field
structures, will make most of these checks redundant. The idea will be
that we want to perform sanity checks only once at boot time, not once
for every function call. So we need faster variants of pack() and
unpack(), which assume that the input was pre-sanitized.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
All patches with an author different than the submitter must have the
submitter sign off on them as well.
Yep, just forgot to add it to this one :)
Please do not resend without some reviewer activity first on the code
generation portion from patch 3/8, though.
Agreed, no reason to move the discussion to a new version yet.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help