summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iavf.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2020-07-10 13:26:43 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2020-07-10 13:26:43 +0000
commit7c591251f4b453772c5304abafc8b31add427963 (patch)
treec3c81adfd569e3d58b2cd875be6a5bd88d1b8bfb /sys/dev/pci/if_iavf.c
parent75620858502cb86710140bab76d93d2cfc2277d4 (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_iavf.c')
-rw-r--r--sys/dev/pci/if_iavf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iavf.c b/sys/dev/pci/if_iavf.c
index b6ac8aacf64..fc2fb49a6ae 100644
--- a/sys/dev/pci/if_iavf.c
+++ b/sys/dev/pci/if_iavf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iavf.c,v 1.8 2020/06/25 04:25:55 dlg Exp $ */
+/* $OpenBSD: if_iavf.c,v 1.9 2020/07/10 13:26:38 patrick Exp $ */
/*
* Copyright (c) 2013-2015, Intel Corporation
@@ -890,7 +890,7 @@ iavf_attach(struct device *parent, struct device *self, void *aux)
if (ifp->if_hardmtu == 0)
ifp->if_hardmtu = IAVF_HARDMTU;
strlcpy(ifp->if_xname, DEVNAME(sc), IFNAMSIZ);
- IFQ_SET_MAXLEN(&ifp->if_snd, sc->sc_tx_ring_ndescs);
+ ifq_set_maxlen(&ifp->if_snd, sc->sc_tx_ring_ndescs);
ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_VLAN_HWTAGGING;
#if 0