Skip to content

Instantly share code, notes, and snippets.

@alexalouit
Last active April 12, 2020 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexalouit/37ea1274c88d9834290a79faf6367fc1 to your computer and use it in GitHub Desktop.
Save alexalouit/37ea1274c88d9834290a79faf6367fc1 to your computer and use it in GitHub Desktop.
Marvell 88E8053 - sky2 driver

symptoms under loads:

[84579.236440] sky2 0000:01:00.0: error interrupt status=0x40000008
[84579.268416] sky2 0000:01:00.0 enp1s0: rx error, status 0x7ffc0001 length 132

$ iptables -A FORWARD -o enp1s0 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1492

$ nano /etc/network/interfaces

iface enp1s0 inet static
 mtu 1492

$ ifconfig enp1s0 mtu 1492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment