Home
last modified time | relevance | path

Searched +full:ring +full:- +full:disable +full:- +full:pullup (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/arm64/broadcom/genet/
H A Dif_genet.c1 /*-
80 #define RD4(sc, reg) bus_read_4((sc)->res[_RES_MAC], (reg))
81 #define WR4(sc, reg, val) bus_write_4((sc)->res[_RES_MAC], (reg), (val))
83 #define GEN_LOCK(sc) mtx_lock(&(sc)->mtx)
84 #define GEN_UNLOCK(sc) mtx_unlock(&(sc)->mtx)
85 #define GEN_ASSERT_LOCKED(sc) mtx_assert(&(sc)->mtx, MA_OWNED)
86 #define GEN_ASSERT_UNLOCKED(sc) mtx_assert(&(sc)->mtx, MA_NOTOWNED)
91 #define TX_NEXT(n, count) (((n) + 1) & ((count) - 1))
92 #define RX_NEXT(n, count) (((n) + 1) & ((count) - 1))
119 { "brcm,genet-v1", 1 },
[all …]
/freebsd/sys/netinet/
H A Dip_mroute.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
53 * and PIM-SMv2 and PIM-DM support, advanced API support,
130 #define VIFI_INVALID ((vifi_t) -1)
176 VNET_DEFINE_STATIC(u_char *, nexpire); /* 0..mfchashsize-1 */
207 * Pending upcalls are stored in a ring which is flushed when
231 "Disable IGMP_WHOLEPKT notifications if rendezvous point is unspecified");
380 if (in_hosteq(rt->mfc_origin, *o) && in mfc_find()
381 in_hosteq(rt->mfc_mcastgrp, *g) && in mfc_find()
382 buf_ring_empty(rt->mfc_stall_ring)) in mfc_find()
[all …]
/freebsd/sys/dev/wg/
H A Dif_wg.c1 /* SPDX-License-Identifier: ISC
3 * Copyright (C) 2015-2021 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
4 * Copyright (C) 2019-2021 Matt Dunwoodie <ncon@noconroy.net>
5 * Copyright (c) 2019-2020 Rubicon Communications, LLC (Netgate)
56 #define DEFAULT_MTU (ETHERMTU - 80)
57 #define MAX_MTU (IF_MAXMTU - 80)
61 #define MAX_QUEUED_PKT_MASK (MAX_QUEUED_PKT - 1)
70 #define DPRINTF(sc, ...) if (if_getflags(sc->sc_ifp) & IFF_DEBUG) if_printf(sc->sc_ifp, ##__VA_ARGS…
256 gtaskqueue_drain((gtask)->gt_taskqueue, &(gtask)->gt_task)
385 sx_assert(&sc->sc_lock, SX_XLOCKED); in wg_peer_alloc()
[all …]
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
86 * 0-7 are valid values.
94 * -1: driver should figure out a good value.
95 * 0: disable padding.
98 int fl_pad = -1;
104 * -1: driver should figure out a good value.
107 static int spg_len = -1;
113 * -1: no congestion feedback (not recommended).
129 * -1: let the driver decide whether to enable buffer packing or not.
[all …]