]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add IFLIB_SINGLE_IRQ_RX_ONLY.
authormarkj <markj@FreeBSD.org>
Mon, 30 Sep 2019 15:59:07 +0000 (15:59 +0000)
committermarkj <markj@FreeBSD.org>
Mon, 30 Sep 2019 15:59:07 +0000 (15:59 +0000)
commitea2f0b0a80cce8adb27259e8f8c71fd1c598f020
treecab8b4e6a8e1d68669a8c78460c5787f346d6c5a
parent57d7210f04ea131371b7c57fac8325cc0d7f327c
Add IFLIB_SINGLE_IRQ_RX_ONLY.

As of r347221 the iflib legacy interrupt mode setup assumes that drivers
perform both receive and transmit processing from the interrupt handler.
This assumption is invalid in the vmxnet3 driver, so introduce the
IFLIB_SINGLE_IRQ_RX_ONLY flag to make iflib avoid tx processing in the
interrupt handler.

PR: 239118
Reported and tested by: Juraj Lutter <otis@sk.freebsd.org>
Obtained from: marius
Reviewed by: gallatin
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D21831
sys/dev/vmware/vmxnet3/if_vmx.c
sys/net/iflib.c
sys/net/iflib.h