On 02/07/25 12:55PM, Ira Weiny wrote:
Neeraj Kumar wrote:
In order to accommodate cxl lsa 2.1 format region label, renamed
nd_namespace_label to nd_lsa_label.

This does not really make it clear why a name change is required.

Could you elaborate here?

Hi Ira,

LSA 2.1 format introduces region label, which can also reside into LSA
along with only namespace label as per v1.1 and v1.2

As both namespace and region labels are of same size, i.e, 256 bytes.
Therefore I have introduced nd_lsa_label as following

  struct nd_lsa_label {
        union {
                struct nd_namespace_label ns_label;
                struct cxl_region_label rg_label;
        };
  };

Sure, I will update commit message with above information in next
patch-set.


Thanks,
Neeraj


Reply via email to