iflib tx watchdog doesn't appear that it can work anymore

Eric Joyner erj at freebsd.org
Mon Nov 9 19:48:28 UTC 2020


I'll add Piotr, the author of your linked patch, to this thread.

Are you seeing a problem connected to the watchdog? Piotr tells me that
IFLIB_QUEUE_WORKING isn't used now, but it wasn't even used before his
patch.

- Eric

On Wed, Nov 4, 2020 at 8:47 AM Ryan Stone <rysto32 at gmail.com> wrote:

> https://svnweb.freebsd.org/base?view=revision&revision=356310
>
> As of r356310, there does not appear to be a way that ift_qstatus can
> be set to anything but IFLIB_QUEUE_IDLE.  As a result, I don't see
> that there is any way for the watchdog to ever fire.
>
> I think that iflib has missed setting ift_qstatus to
> IFLIB_QUEUE_WORKING when packets are enqueued on the rx ring.
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list