lkml.org 
[lkml]   [2020]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [RFC PATCH 5/5] scsi: ufs: Prepare HPB read for cached sub-region
    Date


    > > +static inline bool ufshpb_is_support_chunk(int transfer_len)
    > > +{
    > > + return transfer_len <= HPB_MULTI_CHUNK_HIGH;
    > > +}
    >
    > The names used in the above function are mysterious. What is a support
    > chunk? What does "multi chunk high" mean? Please add a comment.
    HPB1.0 limits transfer_len to be at most 1.
    HPB2.0, which is in its final draft, allows transfer_len to be at most 128,
    But introduce some new behavior depends on transfer_len.
    This is just preparing for that.

    Thanks,
    Avri
    \
     
     \ /
      Last update: 2020-06-11 08:44    [W:4.298 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site