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

EtherateMT doesn't check interface MTU #43

Open
jwbensley opened this issue Jan 14, 2020 · 0 comments
Open

EtherateMT doesn't check interface MTU #43

jwbensley opened this issue Jan 14, 2020 · 0 comments

Comments

@jwbensley
Copy link
Owner

bensley@ubuntu-htpc:~/c/EtherateMT$ sudo ./build/etherate_mt -I 6 -p1 -f 3000
Using inteface enp1s0f0 (6).
WARNING: Make sure your device supports baby giants or jumbo frames as required.
Setting interface promiscuous mode
Frame size set to 3000 bytes.
Using raw socket with PACKET_MMAP and TX/RX_RING v2.
Running in Tx mode.
16494:Trying to increase to 1048576 bytes...
16494:Write buffer size set to 425984 bytes
tx_bytes == 0
tx_bytes == 0
tx_bytes == 0
tx_bytes == 0
tx_bytes == 0
tx_bytes == 0
tx_bytes == 0
tx_bytes == 0

From: http://man7.org/linux/man-pages/man7/netdevice.7.html

   SIOCGIFMTU, SIOCSIFMTU
          Get or set the MTU (Maximum Transfer Unit) of a  device  using
          ifr_mtu.   Setting the MTU is a privileged operation.  Setting
          the MTU to too small values may cause kernel crashes.
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

1 participant