mcusim / freebsd-src

sys/dev/dpaa2 drivers work-in-progress
https://www.FreeBSD.org/
Other
4 stars 3 forks source link

dpaa2_ni_tx_task: can't load TX buffer: error=27 #10

Closed snail59 closed 2 years ago

snail59 commented 2 years ago

Hello,

On a traverse ten64 , I installed FreeBSD in different ways:

The network is set as: /etc/rc.conf.d/network

ifconfig_mlxen0="DHCP"
ifconfig_mlxen0_ipv6="inet6 accept_rtadv up"

Nothing else fancy, no other network interface is configured/used.

I rsynced multiple times a 40GB file without any problem. But each time I run a verbose command such as ssh root@traverse_machine dmesg

I instantly lose connection and can see in the serial console "dpaa2_ni_tx_task: can't load TX buffer: error=27" repeatedly. Then, I can do nothing but reboot the appliance.

dsalychev commented 2 years ago

I've prepared and initial support for the scatter/gather Tx frames. Could you try 1e289803537dcd0b05017806002953138d6f378a?

dsalychev commented 2 years ago

I've re-worked dpaa2_ni_tx_task() as a part of the S/G Tx frames support and it should fail to DMA load Tx buffers less frequently, i.e. you shouldn't see "dpaa2_ni_tx_task: can't load TX buffer: error=27".

snail59 commented 2 years ago

Hello, OK, I will try tonight and report the results.

snail59 commented 2 years ago

So, tonight has arrived, and I did test. I can confirm that it works flawlessly, congrats @dsalychev \o/.

dsalychev commented 2 years ago

Thanks for testing and reporting!