CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/06/07 17:52:05
Modified files:
sys/dev/pci : if_ix.c if_ix.h
Log message:
build on mpi's work toward ix multiq support.
this calls if_attach_queues and if_attach_iqueues to allocate an
ifq and ifiq per tx ring and rx ring respectivly, and then tie them
together. ix rx rings deliver packets into ifiqs, and ifqs push
packets onto ix tx rings. the return value from ifiq_input is also
used to tell the if_rxr stuff to back off.
this also makes the rx refill timeout per rx ring instead of per
interface, and makes it only schedule the timeout when the ring is
completely empty to avoid races with normal rx ring operation.
tested by hrvoje popovski
ok jmatthew@