Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Disabling “Large Send Offload (LSO)”
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 199
Location: South Pacific

PostPosted: Wed Oct 26, 2022 12:49 am    Post subject: [Solved] Disabling “Large Send Offload (LSO)” Reply with quote

Hey how can I completely disable Large Send Offload on my network? Im guessing I need to add something to /etc/conf.d/net but I cant find anything about it. Thanks

Last edited by FilthyPitDog on Wed Oct 26, 2022 2:33 am; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Oct 26, 2022 1:47 am    Post subject: Reply with quote

See: https://nachtsieb.de/2017-02-19-tcp-lso.html
Back to top
View user's profile Send private message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 199
Location: South Pacific

PostPosted: Wed Oct 26, 2022 1:55 am    Post subject: Reply with quote

mike155 wrote:
See: https://nachtsieb.de/2017-02-19-tcp-lso.html


awesome thank you, that worked but one thing so I can use something like this

Code:
#!/bin/bash

/usr/sbin/ethtool --offload enp6s0 tso off gso off gro off


but where would I put a network script to auto start on boot/login?
Back to top
View user's profile Send private message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 199
Location: South Pacific

PostPosted: Wed Oct 26, 2022 2:32 am    Post subject: Reply with quote

i just added it to /etc/local.d/tsooff.start using default run level. cheers
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2004

PostPosted: Wed Oct 26, 2022 12:48 pm    Post subject: Reply with quote

FilthyPitDog wrote:
mike155 wrote:
See: https://nachtsieb.de/2017-02-19-tcp-lso.html


awesome thank you, that worked but one thing so I can use something like this

Code:
#!/bin/bash

/usr/sbin/ethtool --offload enp6s0 tso off gso off gro off


but where would I put a network script to auto start on boot/login?


To do this in /etc/conf.d/net (assuming you are using netifrc with /etc/init.d/net.enp6s0):

Code:
ethtool_offload_enp6s0="tso off gso off gro off"


Then the local.d file is not necessary.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum