Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux ethtool disable offloading recommendation #268

Closed
john-gress opened this issue Jan 12, 2017 · 3 comments
Closed

Linux ethtool disable offloading recommendation #268

john-gress opened this issue Jan 12, 2017 · 3 comments

Comments

@john-gress
Copy link

Looking at the LINUX/README, I noticed this new section:

* netmap does not program the NICs to perform offloadings such as TSO,
  UFO, RX/TX checksum offloadings, etc. As a result, in order to let
  netmap applications correctly interact with the host rings, you need
  to disable these offloadings

      # ethtool -K eth0 tx off rx off gso off tso off gro off lro off

If I am using the NS_MOREFRAG flag as discussed here, #110, do I still need to disable the offloadings?

@vmaffione
Copy link
Collaborator

Yes, it's unrelated. Disabling the offloading affects the interaction between netmap and the host stack. If you don't disable those, the host stack will give netmap unchecksummed (and possibly > 2KB) packets, and so netmap would drop those, because it does not know how to handle them.

@john-gress
Copy link
Author

Thanks. Appreciate the support.

@vmaffione
Copy link
Collaborator

Yeah, in particular disabling the offloadings is not related to the fact that you may use the NS_MOREFRAG flag with your hardware rings or the rings of a VALE port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants