summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2020-12-22 23:25:38 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2020-12-22 23:25:38 +0000
commit8cc23ea0fa7a8a314c6518793c07994f73f0f351 (patch)
tree88e1f1840ba1937fda1147f5355a57a3650decb2 /sys
parentd26ad61c5ffcb2cd917b378cc14bcc75bbe80c68 (diff)
have the ifrxr info stuff report the buffer size the hw handles.
this makes it more consistent with other drivers.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_ix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index 08079146bfc..546ee3ad3ee 100644
--- a/sys/dev/pci/if_ix.c
+++ b/sys/dev/pci/if_ix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.c,v 1.177 2020/12/12 11:48:53 jan Exp $ */
+/* $OpenBSD: if_ix.c,v 1.178 2020/12/22 23:25:37 dlg Exp $ */
/******************************************************************************
@@ -605,7 +605,7 @@ ixgbe_rxrinfo(struct ix_softc *sc, struct if_rxrinfo *ifri)
for (i = 0; i < sc->num_queues; i++) {
rxr = &sc->rx_rings[i];
- ifr[n].ifr_size = sc->rx_mbuf_sz;
+ ifr[n].ifr_size = MCLBYTES;
snprintf(ifr[n].ifr_name, sizeof(ifr[n].ifr_name), "%d", i);
ifr[n].ifr_info = rxr->rx_ring;
n++;