How to disable Energy-Efficient Ethernet

“Energy Efficient Ethernet” (EEE) is enabled in Angström per default:

root@apalis-tk1:~# ethtool --show-eee enp1s0                                                                                                                                                                                                                   
EEE Settings for enp1s0:                                                                                                                                                                                                                                       
        EEE status: enabled - active                                                                                                                                                                                                                           
        Tx LPI: 0 (us)                                                                                                                                                                                                                                         
        Supported EEE link modes:  100baseT/Full                                                                                                                                                                                                               
                                   1000baseT/Full                                                                                                                                                                                                              
        Advertised EEE link modes:  100baseT/Full                                                                                                                                                                                                              
                                    1000baseT/Full                                                                                                                                                                                                             
        Link partner advertised EEE link modes:  100baseT/Full                                                                                                                                                                                                 
                                                 1000baseT/Full 

EEE can be disabled with ethtool --set-eee enp1s0 eee off temporarily which means it will be enabled after a reboot again (cold-starts and warm-starts of the SOM).

How can I disable EEE persistently over reboots?

Adding igb.EEE=0 to kernel cmdline disables EEE durign boot.

before:

root@apalis-tk1:~# ethtool --show-eee enp3s0 
EEE Settings for enp3s0:
        EEE status: enabled - inactive
        Tx LPI: 0 (us)
        Supported EEE link modes:  100baseT/Full 
                                   1000baseT/Full 
        Advertised EEE link modes:  100baseT/Full 
                                    1000baseT/Full 
        Link partner advertised EEE link modes:  Not reported

after:

EEE Settings for enp3s0:
        EEE status: disabled
        Tx LPI: disabled
        Supported EEE link modes:  100baseT/Full 
                                   1000baseT/Full 
        Advertised EEE link modes:  Not reported
        Link partner advertised EEE link modes:  Not reported

Great, thanks.