luigirizzo / netmap

Automatically exported from code.google.com/p/netmap
BSD 2-Clause "Simplified" License
1.86k stars 537 forks source link

add offset support to host rings #925

Closed msaare123 closed 1 year ago

msaare123 commented 1 year ago

Slot offsets were not taken into account in host rings and caused malformed packets were send/received to/from host network stack when offsets were configured to NIC ring slots.

giuseppelettieri commented 1 year ago

Looks good, thanks! May you add it to the txsync as well?

msaare123 commented 1 year ago

Looks good, thanks! May you add it to the txsync as well?

Which one? netmap_grab_packets() is called from netmap_txsync_to_host()

giuseppelettieri commented 1 year ago

Sorry, I don't know what I was thinking.