Subject: Re: [PATCH net-next 6/8] devlink: support directly reading from region memory

From: Jakub Kicinski <[email-masked]>
Date: Fri, 18 Nov 2022 17:49:57 -0800

On Thu, 17 Nov 2022 14:08:01 -0800 Jacob Keller wrote:
> +Regions may optionally allow directly reading from their contents without a
> +snapshot. A driver wishing to enable this for a region should implement the
> +``.read`` callback in the ``devlink_region_ops`` structure.

Perhaps worth adding that direct read has weaker atomicity guarantees
than snapshot? User at the CLI level may not expect the read request
to be broken up into smaller chunks.