On 8/5/2022 11:41 AM, Jim King wrote:
If I fiddle with the Flow Control settings it seems to make a difference.  I can do it without bouncing the link.  I wonder what the Linux driver has as default ?

ie.

sysctl -w dev.igc.1.fc=1
sysctl -w dev.igc.0.fc=1

Does it help in your case ?

Thanks for the suggestion.  Unfortunately it doesn't seem to help in my case.  All four values for flow control give pretty much the same results with my iperf test.


Are you able to boot a RELENG_13 stable kernel and test ? I am using a stable kernel from a couple of days ago and setting the fc=0 (you set that on all nics right ?) does work for me both at 2.5G and 1G. Leaving the default causes the nic to bounce on my test boxes. I dont see any obvious big changes in the driver itself since 13.1 came out so I am guessing something else fixed or worked around this bug ?

https://cgit.freebsd.org/src/log/?h=stable%2F13&qt=grep&q=igc

Been running this loop for 30min without any link bounces

#!/bin/sh

TARGET=10.1.255.168
I=/usr/local/bin/iperf3


while true
do
$I -t 60 -c $TARGET
sleep 2
$I -P4 -t 60 -c $TARGET
sleep 2
$I -R -t 60 -c $TARGET
sleep 2
$I  -R -P4 -t 60 -c $TARGET
done


Anything interesting come up in

sysctl -a dev.igc

?



    ---Mike


Reply via email to