lkml.org 
[lkml]   [2023]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v7 2/4] riscv: Checksum header
    On Wed, Oct 25, 2023, at 23:11, Charlie Jenkins wrote:
    >
    > Thank you for pointing that out, I had not realized that macro existed.
    > Since riscv keeps NET_IP_ALIGN at 0 it should be expected that
    > ip_fast_csum is only called with 32-bit aligned addresses. I will update
    > the comment and refer to that macro. riscv supports misaligned accesses
    > but there are no guarantees of speed.

    Just to clarify for your comment: riscv gets the default value of '2',
    which is the one that makes the header aligned.

    Arnd

    \
     
     \ /
      Last update: 2023-10-25 23:19    [W:2.695 / U:0.680 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site