<marex>
there has been something I noticed with multiple MACs in U-Boot network stack that's been bothering me for a while
<marex>
the fail mode is such that you run tftp download in U-Boot of some larger file from $serverip, and at the same time, unrelated station sends ARP who-has to the U-Boot machine
<marex>
that seems to clog the transfer and it happens on multiple MACs too
<marex>
I wonder if there is some issue with tftp and arp interaction in the network stack
<vagrantc>
/15/15
<vagrantc>
well.
* vagrantc
waves
<marex>
vagrantc: hunter2
qschulz has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 276 seconds]
qschulz has joined #u-boot
apritzel_ has quit [Ping timeout: 246 seconds]
thopiekar has quit [Ping timeout: 240 seconds]
thopiekar has joined #u-boot
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #u-boot
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #u-boot
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #u-boot
vagrantc has quit [Quit: leaving]
<rfried>
marex. Interesting
Net147 has quit [Quit: Quit]
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has joined #u-boot
Net147 has quit [Quit: Quit]
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has joined #u-boot
Net147 has quit [Quit: Quit]
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has joined #u-boot
Net147 has quit [Quit: Quit]
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has joined #u-boot
apritzel_ has joined #u-boot
stefanro has quit [Quit: Leaving.]
stefanro has joined #u-boot
apritzel_ has quit [Ping timeout: 272 seconds]
mmu_man has joined #u-boot
apritzel_ has joined #u-boot
apritzel_ has quit [Ping timeout: 240 seconds]
eternalforms has joined #u-boot
davlefou has quit [Ping timeout: 240 seconds]
<rfried>
marex: I'll try to create a test case for it.
camus has quit [Ping timeout: 250 seconds]
davlefou_ has joined #u-boot
___nick___ has joined #u-boot
<marex>
rfried: if you have no immediate idea, I might have to debug it ;-)
<rfried>
marex: I will debug if you can provide me with an easy way to reproduce
<marex>
rfried: well run tftp download on the machine of some large file, like 64 MiB , and while it is running, use another machine and send ARP who-has to the board
<marex>
at least that is what wireshark would imply is happening
<marex>
rfried: maybe I'll just dig in further and then give you some better input
<marex>
rfried: one more thing, unrelated, do we have some way to pull out the entire FIFO worth of packets from a MAC in one "recv" callback , or , do we have to do it one packet at a time ?
thopiekar has quit [Ping timeout: 240 seconds]
apritzel_ has joined #u-boot
thopiekar has joined #u-boot
montjoie has quit [Ping timeout: 276 seconds]
vagrantc has joined #u-boot
apritzel_ has quit [Ping timeout: 240 seconds]
<marex>
rfried: so ... don't use too large tftp block size if your MAC RX packet buffer is too short, sigh
<rfried>
marex: so everything okay?
<marex>
rfried: I _think_ so, we'll see during extensive testing
<marex>
rfried: one more thing, unrelated, do we have some way to pull out the entire FIFO worth of packets from a MAC in one "recv" callback , or , do we have to do it one packet at a time ?
<rfried>
marex: If I recall correctly it's one at a time. but I'm not positive.