On 8/5/2022 12:47 PM, mike tancsa wrote:
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 ?
I build stable/13 from yesterday and still haven't found a working
configuration. When I turn off Flow Control on both NICs my first iperf
test always causes the NIC to bounce, and sometimes subsequent tests
will work OK, but only sometimes. Most of the time the subsequent iperf
runs also cause the NIC to bounce.
I also tried -rxcsum and -txcsum on the NIC, which had no effect.
Anything interesting come up in
sysctl -a dev.igc
?
Nothing that catches my eye, but I don't have much experience with this
kind of troubleshooting.
Jim