Home
last modified time | relevance | path

Searched +full:num +full:- +full:txq (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/sys/dev/netmap/
H A Dif_vtnet_netmap.h2 * Copyright (C) 2014-2018 Vincenzo Maffione, Luigi Rizzo.
39 if_t ifp = na->ifp; in vtnet_netmap_reg()
60 struct netmap_adapter *na = kring->na; in vtnet_netmap_txsync()
61 if_t ifp = na->ifp; in vtnet_netmap_txsync()
62 struct netmap_ring *ring = kring->ring; in vtnet_netmap_txsync()
63 u_int ring_nr = kring->ring_id; in vtnet_netmap_txsync()
65 u_int const lim = kring->nkr_num_slots - 1; in vtnet_netmap_txsync()
66 u_int const head = kring->rhead; in vtnet_netmap_txsync()
68 /* device-specific */ in vtnet_netmap_txsync()
70 struct vtnet_txq *txq = &sc->vtnet_txqs[ring_nr]; in vtnet_netmap_txsync() local
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dbrcm,systemport.txt4 - compatible: should be one of:
5 "brcm,systemport-v1.00"
6 "brcm,systemportlite-v1.00" or
8 - reg: address and length of the register set for the device.
9 - interrupts: interrupts for the device, first cell must be for the rx
11 optional third interrupt cell for Wake-on-LAN can be specified
12 - local-mac-address: Ethernet MAC address (48 bits) of this adapter
13 - phy-mode: Should be a string describing the PHY interface to the
15 - fixed-link: see Documentation/devicetree/bindings/net/fixed-link.txt for
19 - systemport,num-tier2-arb: number of tier 2 arbiters, an integer
[all …]
H A Dbrcm,systemport.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Florian Fainelli <f.fainelli@gmail.com>
15 - brcm,systemport-v1.00
16 - brcm,systemportlite-v1.00
17 - brcm,systemport
25 - description: interrupt line for RX queues
26 - description: interrupt line for TX queues
27 - description: interrupt line for Wake-on-LAN
[all …]
/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2004-2006 Kip Macy
64 #include <xen/xen-os.h>
206 struct netfront_txq *txq; member
222 struct netfront_txq *txq; member
241 struct netif_extra_info extras[XEN_NETIF_EXTRA_TYPE_MAX - 1];
244 #define XN_RX_LOCK(_q) mtx_lock(&(_q)->lock)
245 #define XN_RX_UNLOCK(_q) mtx_unlock(&(_q)->lock)
247 #define XN_TX_LOCK(_q) mtx_lock(&(_q)->lock)
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dtx.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
18 hdr = (struct ieee80211_hdr *)skb->data; in rtw_tx_stats()
20 if (!ieee80211_is_data(hdr->frame_control)) in rtw_tx_stats()
23 if (!is_broadcast_ether_addr(hdr->addr1) && in rtw_tx_stats()
24 !is_multicast_ether_addr(hdr->addr in rtw_tx_stats()
589 struct ieee80211_txq *txq = rtwtxq_to_txq(rtwtxq); rtw_txq_check_agg() local
621 struct ieee80211_txq *txq = rtwtxq_to_txq(rtwtxq); rtw_txq_push_skb() local
643 struct ieee80211_txq *txq = rtwtxq_to_txq(rtwtxq); rtw_txq_dequeue() local
690 struct ieee80211_txq *txq = rtwtxq_to_txq(rtwtxq); __rtw_tx_work() local
712 rtw_txq_init(struct rtw_dev * rtwdev,struct ieee80211_txq * txq) rtw_txq_init() argument
723 rtw_txq_cleanup(struct rtw_dev * rtwdev,struct ieee80211_txq * txq) rtw_txq_cleanup() argument
[all...]
H A Dmain.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
163 .n_bitrates = ARRAY_SIZE(rtw_ratetable) - 4,
176 struct rtw_bf_info *bf_info = &rtwdev->bf_info; in rtw_dynamic_csi_rate()
180 if (rtwvif->bfee.role != RTW_BFEE_SU && in rtw_dynamic_csi_rate()
181 rtwvif->bfe in rtw_dynamic_csi_rate()
694 struct ieee80211_txq *txq; rtw_txq_ba_iter() local
[all...]
/freebsd/sys/dev/ixl/
H A Dixl_pf_iov.c3 Copyright (c) 2013-2018, Intel Corporation
91 device_t dev = pf->dev; in ixl_initialize_sriov()
92 struct i40e_hw *hw = &pf->hw; in ixl_initialize_sriov()
98 pci_iov_schema_add_unicast_mac(vf_schema, "mac-addr", 0, NULL); in ixl_initialize_sriov()
99 pci_iov_schema_add_bool(vf_schema, "mac-anti-spoof", in ixl_initialize_sriov()
101 pci_iov_schema_add_bool(vf_schema, "allow-set-mac", in ixl_initialize_sriov()
103 pci_iov_schema_add_bool(vf_schema, "allow-promisc", in ixl_initialize_sriov()
105 pci_iov_schema_add_uint16(vf_schema, "num-queues", in ixl_initialize_sriov()
107 max(1, min(hw->func_caps.num_msix_vectors_vf - 1, IAVF_MAX_QUEUES))); in ixl_initialize_sriov()
112 "Failed to initialize SR-IOV (error=%d)\n", in ixl_initialize_sriov()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/queue/
H A Dtx.c
/freebsd/sys/dev/mana/
H A Dmana_en.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
104 ifmr->ifm_status = IFM_AVALID; in mana_ifmedia_status()
105 ifmr->ifm_active = IFM_ETHER; in mana_ifmedia_status()
107 if (!apc->port_is_up) { in mana_ifmedia_status()
109 mana_dbg(NULL, "Port %u link is down\n", apc->port_idx); in mana_ifmedia_status()
113 ifmr->ifm_status |= IFM_ACTIVE; in mana_ifmedia_status()
114 ifmr->ifm_active |= IFM_100G_DR | IFM_FDX; in mana_ifmedia_status()
123 struct mana_port_stats *stats = &apc->port_stats; in mana_get_counter()
127 return (counter_u64_fetch(stats->rx_packets)); in mana_get_counter()
[all …]
/freebsd/sys/dev/ath/
H A Dif_ath_tx.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2010-2012 Adrian Chadd, Xenion Pty Ltd
116 * What queue to throw the non-QoS TID traffic into
148 if (bf->bf_nseg == 0) in ath_tx_alq_post()
150 n = ((bf->bf_nseg - 1) / sc->sc_tx_nmaps) + 1; in ath_tx_alq_post()
151 for (i = 0, ds = (const char *) bf->bf_desc; in ath_tx_alq_post()
153 i++, ds += sc->sc_tx_desclen) { in ath_tx_alq_post()
154 if_ath_alq_post(&sc->sc_alq, in ath_tx_alq_post()
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c2 * Copyright (c) 2017-2018 Cavium, Inc.
147 struct qlnx_tx_queue *txq);
149 struct qlnx_tx_queue *txq);
278 &qlnxe_queue_count, 0, "Multi-Queue queue count");
309 device_id = ha->device_id; in qlnx_vf_device()
314 return -1; in qlnx_vf_device()
322 device_id = ha->device_id; in qlnx_valid_device()
336 return -1; in qlnx_valid_device()
345 device_id = pci_get_device(ha->pci_dev); in qlnx_rdma_supported()
353 return (-1); in qlnx_rdma_supported()
[all …]
/freebsd/sys/dev/ice/
H A Dif_ice_iflib.c1 /* SPDX-License-Identifier: BSD-3-Clause */
252 * scctx->isc_tx_tso_size_max + the VLAN header is a valid size.
256 * DMA tag. However, scctx->isc_tx_tso_segsize_max is used to set the
285 * IFLIB_SKIP_MSIX allows the driver to handle allocating MSI-X
308 /* Static driver-wide sysctls */
312 * ice_pci_mapping - Map PCI BAR memory
323 rc = ice_map_bar(sc->dev, &sc->bar0, 0); in ice_pci_mapping()
331 * ice_free_pci_mapping - Release PCI BAR memory
340 ice_free_bar(sc->dev, &sc->bar0); in ice_free_pci_mapping()
348 * ice_register - register device method callback
[all …]
H A Dice_lib.c1 /* SPDX-License-Identifier: BSD-3-Clause */
69 static int ice_setup_tx_ctx(struct ice_tx_queue *txq,
267 * ice_map_bar - Map PCIe BAR memory in ice_map_bar()
278 if (bar->res != NULL) { in ice_map_bar()
283 bar->rid = PCIR_BAR(bar_num);
284 bar->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &bar->ri
1394 struct ice_tx_queue *txq = &vsi->tx_queues[i]; ice_configure_all_txq_interrupts() local
1458 struct ice_tx_queue *txq = &vsi->tx_queues[i]; ice_flush_txq_interrupts() local
1516 struct ice_tx_queue *txq = &vsi->tx_queues[i]; ice_configure_tx_itr() local
1532 ice_setup_tx_ctx(struct ice_tx_queue * txq,struct ice_tlan_ctx * tlan_ctx,u16 pf_q) ice_setup_tx_ctx() argument
1606 struct ice_tx_queue *txq = &vsi->tx_queues[i]; ice_cfg_vsi_for_tx() local
6893 struct ice_tx_queue *txq = &vsi->tx_queues[j]; ice_vsi_disable_tx() local
7065 ice_add_txq_sysctls(struct ice_tx_queue * txq) ice_add_txq_sysctls() argument
[all...]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhtt_rx.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
34 hash_for_each_possible(ar->htt.rx_ring.skb_table, rxcb, hlist, paddr) in ath10k_htt_rx_find_skb_paddr()
35 if (rxcb->paddr == paddr) in ath10k_htt_rx_find_skb_paddr()
49 if (htt->rx_ring.in_ord_rx) { in ath10k_htt_rx_ring_free()
50 hash_for_each_safe(htt->rx_ring.skb_table, i, n, rxcb, hlist) { in ath10k_htt_rx_ring_free()
52 dma_unmap_single(htt->ar->dev, rxcb->paddr, in ath10k_htt_rx_ring_free()
53 skb->len + skb_tailroom(skb), in ath10k_htt_rx_ring_free()
55 hash_del(&rxcb->hlist); in ath10k_htt_rx_ring_free()
[all …]
H A Dhtt_tx.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
38 struct ieee80211_txq *txq) in __ath10k_htt_tx_txq_recalc() argument
40 struct ath10k *ar = hw->priv; in __ath10k_htt_tx_txq_recalc()
42 struct ath10k_vif *arvif = (void *)txq->vif->drv_priv; in __ath10k_htt_tx_txq_recalc()
51 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_recalc()
53 if (!ar->htt.tx_q_state.enabled) in __ath10k_htt_tx_txq_recalc()
56 if (ar->htt.tx_q_state.mode != HTT_TX_MODE_SWITCH_PUSH_PULL) in __ath10k_htt_tx_txq_recalc()
59 if (txq->sta) { in __ath10k_htt_tx_txq_recalc()
[all …]
H A Dmac.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
26 #include "wmi-tlv.h"
27 #include "wmi-ops.h"
100 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \
135 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx()
136 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx()
138 if (ath10k_mac_bitrate_is_cck(rate->bitrate) != cck) in ath10k_mac_hw_rate_to_idx()
[all …]
H A Dhtt.h1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
31 /* bits 5-23 currently reserved */
36 enum htt_h2t_msg_type { /* host-to-target */
59 u8 pad[sizeof(u32) - sizeof(struct htt_cmd_hdr)];
76 * but the host shall use the bit-mast + bit-shift defs, to be endian-
178 * htt_data_tx_desc - used for data tx path
181 * ext_tid: for qos-data frames (0-15), see %HTT_DATA_TX_EXT_TID_
243 #define HTT_RX_RING_FILL_LEVEL (((HTT_RX_RING_SIZE) / 2) - 1)
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dsta.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2015, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
24 fw_has_api(&mvm->f in iwl_mvm_add_sta_cmd_size()
706 iwl_mvm_redirect_queue(struct iwl_mvm * mvm,int queue,int tid,int ac,int ssn,unsigned int wdg_timeout,bool force,struct iwl_mvm_txq * txq) iwl_mvm_redirect_queue() argument
1518 struct ieee80211_txq *txq; iwl_mvm_add_new_dqa_stream_wk() local
2227 int txq; iwl_mvm_add_int_sta_with_queue() local
[all...]
H A Dmvm.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
26 #include "iwl-o
777 iwl_mvm_txq_from_mac80211(struct ieee80211_txq * txq) iwl_mvm_txq_from_mac80211() argument
[all...]
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dtx.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2016-2017 Intel Deutschland GmbH
11 * enum iwl_tx_flags - bitmasks for tx_flags in TX command
12 * @TX_CMD_FLG_PROT_REQUIRE: use RTS or CTS-t
[all...]
/freebsd/sys/dev/iwm/
H A Dif_iwm.c20 /*-
21 * Based on BSD-licensed source modules in the Linux iwlwifi driver,
34 * Copyright(c) 2007 - 2013 Intel Corporation. All rights reserved.
55 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
60 * Copyright(c) 2005 - 2013 Intel Corporation. All rights reserved.
90 /*-
91 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
173 #define mtodoff(m, t, off) ((t)((m)->m_data + (off)))
223 #define IWM_RIDX_MAX (nitems(iwm_rates)-1)
412 dlen < sizeof(l->size) + l->size * sizeof(*l->cs)) in iwm_store_cscheme()
[all …]
H A Dif_iwmreg.h10 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
31 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
35 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
73 * BEGIN iwl-csr.h
81 * low power states due to driver-invoked device resets
82 * (e.g. IWM_CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes.
95 #define IWM_CSR_INT_COALESCING (0x004) /* accum ints, 32-usec units */
109 * 31-16: Reserved
110 * 15-4: Type of device: see IWM_CSR_HW_REV_TYPE_xxx definitions
111 * 3-2: Revision step: 0 = A, 1 = B, 2 = C, 3 = D
[all …]
/freebsd/sys/dev/sfxge/common/
H A Defx_regs_mcdi.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright 2008-2013 Solarflare Communications Inc. All rights reserved.
32 /* Power-on reset state */
54 /* The 'doorbell' addresses are hard-wired to alert the MC when written */
57 /* The rest of these are firmware-defined */
65 /* Values to be written to the per-port status dword in shared
94 * | | \--- Response
95 * | \------- Error
96 * \------------------------------ Resync (always set)
[all …]
/freebsd/sys/dev/iwn/
H A Dif_iwn.c1 /*-
2 * Copyright (c) 2007-2009 Damien Bergamini <damien.bergamini@free.fr>
6 * Copyright (c) 2013 Cedric GROSS <c.gross@kreiz-it.fr>
84 { 0x8086, IWN_DID_6x05_1, "Intel Centrino Advanced-N 6205" },
85 { 0x8086, IWN_DID_1000_1, "Intel Centrino Wireless-N 1000" },
86 { 0x8086, IWN_DID_1000_2, "Intel Centrino Wireless-N 1000" },
87 { 0x8086, IWN_DID_6x05_2, "Intel Centrino Advanced-N 6205" },
88 { 0x8086, IWN_DID_6050_1, "Intel Centrino Advanced-N + WiMAX 6250" },
89 { 0x8086, IWN_DID_6050_2, "Intel Centrino Advanced-N + WiMAX 6250" },
90 { 0x8086, IWN_DID_x030_1, "Intel Centrino Wireless-N 1030" },
[all …]
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_sysctl.c1 /*-
2 * Broadcom NetXtreme-C/E network driver.
60 sysctl_ctx_init(&softc->hw_stats); in bnxt_init_sysctl_ctx()
61 ctx = device_get_sysctl_ctx(softc->dev); in bnxt_init_sysctl_ctx()
62 softc->hw_stats_oid = SYSCTL_ADD_NODE(ctx, in bnxt_init_sysctl_ctx()
63 SYSCTL_CHILDREN(device_get_sysctl_tree(softc->dev)), OID_AUTO, in bnxt_init_sysctl_ctx()
65 if (!softc->hw_stats_oid) { in bnxt_init_sysctl_ctx()
66 sysctl_ctx_free(&softc->hw_stats); in bnxt_init_sysctl_ctx()
70 sysctl_ctx_init(&softc->ver_info->ver_ctx); in bnxt_init_sysctl_ctx()
71 ctx = device_get_sysctl_ctx(softc->dev); in bnxt_init_sysctl_ctx()
[all …]

12