diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:26:43 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:26:43 +0000 |
commit | 7c591251f4b453772c5304abafc8b31add427963 (patch) | |
tree | c3c81adfd569e3d58b2cd875be6a5bd88d1b8bfb /sys/dev/pci/if_oce.c | |
parent | 75620858502cb86710140bab76d93d2cfc2277d4 (diff) |
Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.
ok dlg@ tobhe@
Diffstat (limited to 'sys/dev/pci/if_oce.c')
-rw-r--r-- | sys/dev/pci/if_oce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_oce.c b/sys/dev/pci/if_oce.c index 7d104f016cf..662e58ae91a 100644 --- a/sys/dev/pci/if_oce.c +++ b/sys/dev/pci/if_oce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_oce.c,v 1.102 2020/07/10 13:22:21 patrick Exp $ */ +/* $OpenBSD: if_oce.c,v 1.103 2020/07/10 13:26:38 patrick Exp $ */ /* * Copyright (c) 2012 Mike Belopuhov @@ -823,7 +823,7 @@ oce_attach_ifp(struct oce_softc *sc) ifp->if_watchdog = oce_watchdog; ifp->if_hardmtu = OCE_MAX_MTU; ifp->if_softc = sc; - IFQ_SET_MAXLEN(&ifp->if_snd, sc->sc_tx_ring_size - 1); + ifq_set_maxlen(&ifp->if_snd, sc->sc_tx_ring_size - 1); ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_CSUM_IPv4 | IFCAP_CSUM_TCPv4 | IFCAP_CSUM_UDPv4; |