sync with OpenBSD -current
This commit is contained in:
parent
62d64fa864
commit
4574748555
13806 changed files with 1142078 additions and 937084 deletions
|
@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
***************************************************************************/
|
||||
|
||||
/* $OpenBSD: if_em.c,v 1.366 2023/09/05 13:06:42 naddy Exp $ */
|
||||
/* $OpenBSD: if_em.c,v 1.367 2023/11/10 15:51:20 bluhm Exp $ */
|
||||
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
|
||||
|
||||
#include <dev/pci/if_em.h>
|
||||
|
@ -1963,7 +1963,7 @@ em_setup_interface(struct em_softc *sc)
|
|||
ifp->if_watchdog = em_watchdog;
|
||||
ifp->if_hardmtu =
|
||||
sc->hw.max_frame_size - ETHER_HDR_LEN - ETHER_CRC_LEN;
|
||||
ifq_set_maxlen(&ifp->if_snd, sc->sc_tx_slots - 1);
|
||||
ifq_init_maxlen(&ifp->if_snd, sc->sc_tx_slots - 1);
|
||||
|
||||
ifp->if_capabilities = IFCAP_VLAN_MTU;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue