summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2020-12-22 06:55:17 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2020-12-22 06:55:17 +0000
commitc60698906549f8366dad99150365b67698ec801f (patch)
tree8f6b7640c5e6ae04f634d7192c3e9ee4ef845b27 /sys/dev
parent8d44c30cfe9fef21153ddab7ff3ec3c52d3a144b (diff)
name the rx rings like ix does for systat mb
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_ixl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_ixl.c b/sys/dev/pci/if_ixl.c
index d6e80b64bf7..9bd90116b68 100644
--- a/sys/dev/pci/if_ixl.c
+++ b/sys/dev/pci/if_ixl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ixl.c,v 1.70 2020/12/12 11:48:53 jan Exp $ */
+/* $OpenBSD: if_ixl.c,v 1.71 2020/12/22 06:55:16 dlg Exp $ */
/*
* Copyright (c) 2013-2015, Intel Corporation
@@ -3302,6 +3302,7 @@ ixl_rxrinfo(struct ixl_softc *sc, struct if_rxrinfo *ifri)
for (i = 0; i < ixl_nqueues(sc); i++) {
ring = ifp->if_iqs[i]->ifiq_softc;
ifr[i].ifr_size = MCLBYTES;
+ snprintf(ifr[i].ifr_name, sizeof(ifr[i].ifr_name), "%d", i);
ifr[i].ifr_info = ring->rxr_acct;
}