Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net/lagg rename lagg_enqueue to lagg_output



details:   https://anonhg.NetBSD.org/src/rev/09b3a7786b6a
branches:  trunk
changeset: 364613:09b3a7786b6a
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Thu Mar 31 07:59:05 2022 +0000

description:
rename lagg_enqueue to lagg_output

NFC

diffstat:

 sys/net/lagg/if_lagg.c      |  6 +++---
 sys/net/lagg/if_lagg_lacp.c |  6 +++---
 sys/net/lagg/if_laggproto.c |  8 ++++----
 sys/net/lagg/if_laggproto.h |  4 ++--
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (108 lines):

diff -r 8aafe4b31d7d -r 09b3a7786b6a sys/net/lagg/if_lagg.c
--- a/sys/net/lagg/if_lagg.c    Thu Mar 31 06:23:18 2022 +0000
+++ b/sys/net/lagg/if_lagg.c    Thu Mar 31 07:59:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_lagg.c,v 1.43 2022/03/31 03:21:33 yamaguchi Exp $   */
+/*     $NetBSD: if_lagg.c,v 1.44 2022/03/31 07:59:05 yamaguchi Exp $   */
 
 /*
  * Copyright (c) 2005, 2006 Reyk Floeter <reyk%openbsd.org@localhost>
@@ -20,7 +20,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.43 2022/03/31 03:21:33 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.44 2022/03/31 07:59:05 yamaguchi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1041,7 +1041,7 @@
 }
 
 void
-lagg_enqueue(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m)
+lagg_output(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m)
 {
        struct ifnet *ifp;
        int len, error;
diff -r 8aafe4b31d7d -r 09b3a7786b6a sys/net/lagg/if_lagg_lacp.c
--- a/sys/net/lagg/if_lagg_lacp.c       Thu Mar 31 06:23:18 2022 +0000
+++ b/sys/net/lagg/if_lagg_lacp.c       Thu Mar 31 07:59:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_lagg_lacp.c,v 1.20 2022/03/31 03:15:15 yamaguchi Exp $      */
+/*     $NetBSD: if_lagg_lacp.c,v 1.21 2022/03/31 07:59:05 yamaguchi Exp $      */
 
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-NetBSD
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_lagg_lacp.c,v 1.20 2022/03/31 03:15:15 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_lagg_lacp.c,v 1.21 2022/03/31 07:59:05 yamaguchi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_lagg.h"
@@ -647,7 +647,7 @@
                return ENOENT;
        }
 
-       lagg_enqueue(lsc->lsc_softc, lp, m);
+       lagg_output(lsc->lsc_softc, lp, m);
        lagg_port_putref(lp, &psref);
 
        return 0;
diff -r 8aafe4b31d7d -r 09b3a7786b6a sys/net/lagg/if_laggproto.c
--- a/sys/net/lagg/if_laggproto.c       Thu Mar 31 06:23:18 2022 +0000
+++ b/sys/net/lagg/if_laggproto.c       Thu Mar 31 07:59:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_laggproto.c,v 1.5 2022/03/31 03:12:31 yamaguchi Exp $       */
+/*     $NetBSD: if_laggproto.c,v 1.6 2022/03/31 07:59:05 yamaguchi Exp $       */
 
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-NetBSD
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_laggproto.c,v 1.5 2022/03/31 03:12:31 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_laggproto.c,v 1.6 2022/03/31 07:59:05 yamaguchi Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -412,7 +412,7 @@
                return ENOENT;
        }
 
-       lagg_enqueue(psc->psc_softc, lp, m);
+       lagg_output(psc->psc_softc, lp, m);
        lagg_port_putref(lp, &psref);
        return 0;
 }
@@ -613,7 +613,7 @@
                return ENOENT;
        }
 
-       lagg_enqueue(psc->psc_softc, lp, m);
+       lagg_output(psc->psc_softc, lp, m);
        lagg_port_putref(lp, &psref);
 
        return 0;
diff -r 8aafe4b31d7d -r 09b3a7786b6a sys/net/lagg/if_laggproto.h
--- a/sys/net/lagg/if_laggproto.h       Thu Mar 31 06:23:18 2022 +0000
+++ b/sys/net/lagg/if_laggproto.h       Thu Mar 31 07:59:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_laggproto.h,v 1.14 2022/03/31 03:15:15 yamaguchi Exp $      */
+/*     $NetBSD: if_laggproto.h,v 1.15 2022/03/31 07:59:05 yamaguchi Exp $      */
 
 /*
  * Copyright (c) 2021 Internet Initiative Japan Inc.
@@ -280,7 +280,7 @@
 
 void           lagg_port_getref(struct lagg_port *, struct psref *);
 void           lagg_port_putref(struct lagg_port *, struct psref *);
-void           lagg_enqueue(struct lagg_softc *,
+void           lagg_output(struct lagg_softc *,
                    struct lagg_port *, struct mbuf *);
 uint32_t       lagg_hashmbuf(struct lagg_softc *, struct mbuf *);
 



Home | Main Index | Thread Index | Old Index