RE: bge(4) one packet wedge



Finally I got a NIC that has a chip that does tagged status
block - 5701.

I've prepared a patch, that mimics Linux. If a chip can do status tag,
then we write it to mailbox register at end of ISR, as you have
described. If the chip can't, then we force coalescing once
per second.
This should fix the problem correctly on the chips that support
status tag, and it is an ugly fix for chips that does not.

Unfortunately, the attached patch doesn't fix the problem on 5701. The
wedge occurs as before. And I see status tag updated, while
the netperf
test has wedged:

(kgdb) p $sc->bge_last_tag
$45 = 239
(kgdb) p $sc->bge_last_tag
$46 = 240
(kgdb) p $sc->bge_last_tag
$47 = 241
(kgdb) p $sc->bge_last_tag
$48 = 242

I have no idea. :( May be you have one?

What's happening to the status block consumer/producer indices
at this time? Are they advancing? Do they match the driver maintained
consumer/producer indices? I forget if this was a send or receive
problem, is the packet sitting in the send or receive return ring?

Dave

_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [PATCH] de2104x: remove BUG_ON() when changing media type
    ... The above patch was applied and fixes the 'panic' part of the problme. ... Can you take a look at this patch to fix the "chip is still running" ...
    (Linux-Kernel)
  • Re: McMahon Planning On Pushing Justin Credible
    ... They should tag him with Test and call them Chip and Dale. ... The PWTorch Newsletter reports that Justin Credible is not suspended, ...
    (rec.sport.pro-wrestling)
  • Re: OT: my dog
    ... After the chip was shot into the dog, we were given a tag to put on her ... She already has an ID tag! ... There was a huge flap among pet owners 2-3 years ago about competing ...
    (rec.sport.billiard)
  • Re: Im in the doghouse, LOL!
    ... collar and tag anyway. ... Every time a stray cat gets taken to a vet, ... I've only heard of a chip getting checked once, ...
    (rec.pets.cats.anecdotes)
  • Re: Im in the doghouse, LOL!
    ... as she has an ID chip, but I like her to wear a reflective collar and ... tag anyway. ... I've only heard of a chip getting checked once, ...
    (rec.pets.cats.anecdotes)