lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #16111] Set checksum to zero optimized-out in case of


From: Simon Goldschmidt
Subject: [lwip-devel] [task #16111] Set checksum to zero optimized-out in case of using a HW Checksum Block
Date: Fri, 21 Jan 2022 11:26:41 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0

Follow-up Comment #1, task #16111 (project lwip):

Is this from reading the code or do you actually have a problem?

Is the compiler allowed to delay storing 'iphdr' fields even though 'iphdr' is
passed to the function 'inet_chksum()'? Or is it the cache you have a problem
with? In that case, your 'inet_chksum' function calling the hardware is
responsible to invalidate cache.

Either way, I'm not aware of a problem with this code?

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?16111>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]