Article 4YB71 Outer checksum offload (Vxlan/Geneve)

Outer checksum offload (Vxlan/Geneve)

by
ronak123
from LinuxQuestions.org on (#4YB71)
Hello,

With UDP tunnel segmentation offload feature, it is possible to send large (TSO) packets encapsulated by either Vxlan or Geneve. With such udp encapsulation, the outer checksum can either be 0 or offloaded to the nic to calculate (i.e. pseudo checksum populated).

My question - Is there any field in skb or any api which can let the nic know if the outer checksum is offloaded or not? We can always parse the header to udp and then check if its 0 or not, but I feel this is some sort of hack. So, I wanted to know if there is any API in linux stack through which I can get to know if the outer checksum is offloaded or not?

Any help is appreciated.

Thankslatest?d=yIl2AUoC8zA latest?i=v6nGQcQWj2k:VJew26M10TU:F7zBnMy latest?i=v6nGQcQWj2k:VJew26M10TU:V_sGLiP latest?d=qj6IDK7rITs latest?i=v6nGQcQWj2k:VJew26M10TU:gIN9vFwv6nGQcQWj2k
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments