Searched hist:280374 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/dev/sfxge/
H A Dsfxge_tx.cdiff 280374 Mon Mar 23 13:46:46 MDT 2015 arybchik sfxge: assert either kernel or internal copy of interface flags

ioctl to put interface down sets ifp->if_flags which holds the intended
administratively defined state and calls driver callback to apply it.
When everything is done, driver updates internal copy of
interface flags sc->if_flags which holds the operational state.
So, transmit from Rx path is possible when interface is intended to be
administratively down in accordance with ifp->if_flags, but not applied
yet and the operational state is up in accordance with sc->if_flags.

Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D2075

Completed in 120 milliseconds