-
Notifications
You must be signed in to change notification settings - Fork 155
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
can't write frame size large than 2000 via nff-go with igb_uio in AWS EC2 #575
Comments
more result from iperf3 test
|
Hi guesslin, Currently we don't support Jumbo frames (we can add this in our TODO list if you need it). It seems that the problem is the size of mbuf in DPDK. As a quick workaround you can try to change RTE_MBUF_DEFAULT_BUF_SIZE (which is 2048) to 10000 in createMempool function in low/low.h I will now do some deep research about supporting jumbo frames. |
Hi guesslin, I suppose that my previous workaround will not work due to network cards limitations. Also it is quite inefficient from memory usage point of view. After some investigation I found that it is common to implement Jumbo frames support via chaining packets. I will have a patch in a couple days. It will use "Next" pointer of a packet structure for access to next part of data. Are you OK with this solution? |
Hi @ifilippov thanks for the quick replies.
I'll try to patch for it in our local test :)
As fast as we can handle the jumbo frame it's good to me. Just some ideas about it. |
Hi guesslin, you can check develop branch after 5a6b5d6 commit. You can use ether memory jumbo or chained jumbo. You should enable jumbo in config for initialization like here https://github.com/intel-go/nff-go/blob/develop/examples/jumbo.go Feel free to report any problems with new functionality. |
Hi @ifilippov |
Hi @ifilippov, I tried the |
Hi, I hit a problem that I can't write a jumbo size frame to network interface even I can read it from there on AWS EC2, we just use the default configuration from network interface which set the MTU to 9001 (see Jumbo frame instances )
linux kernel version: 4.4.0-142-generic
nff-go version: 0.7.0
ethtool -i ens6
The text was updated successfully, but these errors were encountered: