Home
last modified time | relevance | path

Searched +full:rx +full:- +full:stash +full:- +full:idx (Results 1 – 5 of 5) sorted by relevance

/linux/Documentation/devicetree/bindings/net/
H A Dfsl,gianfar.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale Three-Speed Ethernet Controller (TSEC), "Gianfar"
10 - J. Neuschäfer <j.ne@posteo.net>
12 # This is needed to distinguish gianfar.yaml and gianfar-mdio.yaml, because
16 - properties:
23 - device_type
25 - properties:
30 - compatible
[all …]
/linux/drivers/net/ethernet/freescale/
H A Dgianfar.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * This driver is designed for the non-CPM ethernet controllers
13 * Copyright 2002-2009, 2011-2013 Freescale Semiconductor, Inc.
20 * B-V +1.62
25 * is therefore conveyed through an OF-style device tree.
45 * pre-allocated skb, and so after the skb is passed up to the
93 #include <linux/dma-mapping.h>
115 bdp->bufPtr = cpu_to_be32(buf); in gfar_init_rxbdp()
118 if (bdp == rx_queue->rx_bd_base + rx_queue->rx_ring_size - 1) in gfar_init_rxbdp()
123 bdp->lstatus = cpu_to_be32(lstatus); in gfar_init_rxbdp()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /* Copyright (C) 2015-2019 Netronome Systems, Inc. */
59 * nfp_net_get_fw_version() - Read and parse the FW version
74 queue &= dev_info->qc_idx_mask; in nfp_qcp_queue_offset()
75 return dev_info->qc_addr_offset + NFP_QCP_QUEUE_ADDR_SZ * queue; in nfp_qcp_queue_offset()
80 * Firmware reconfig may take a while so we have two versions of it -
89 nfp_qcp_wr_ptr_add(nn->qcp_cfg, 1); in nfp_net_reconfig_start()
90 nn->reconfig_in_progress_update = update; in nfp_net_reconfig_start()
96 update |= nn->reconfig_posted; in nfp_net_reconfig_start_async()
97 nn->reconfig_posted = 0; in nfp_net_reconfig_start_async()
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_lib.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * idpf_init_vector_stack - Fill the MSIX vector stack with vector index
24 mutex_lock(&adapter->vector_lock); in idpf_init_vector_stack()
25 min_vec = adapter->num_msix_entries - adapter->num_avail_msix; in idpf_init_vector_stack()
26 stack = &adapter->vector_stack; in idpf_init_vector_stack()
27 stack->size = adapter->num_msix_entries; in idpf_init_vector_stack()
29 * distribute the unused vectors on-demand basis in idpf_init_vector_stack()
31 stack->base = min_vec; in idpf_init_vector_stack()
32 stack->top = min_vec; in idpf_init_vector_stack()
34 stack->vec_idx = kcalloc(stack->size, sizeof(u16), GFP_KERNEL); in idpf_init_vector_stack()
[all …]
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005 - 2016 Broadcom
7 * linux-drivers@emulex.com
38 /* Per-module error detection/recovery workq shared across all functions.
146 struct be_dma_mem *mem = &q->dma_mem; in be_queue_free()
148 if (mem->va) { in be_queue_free()
149 dma_free_coherent(&adapter->pdev->dev, mem->size, mem->va, in be_queue_free()
150 mem->dma); in be_queue_free()
151 mem->va = NULL; in be_queue_free()
158 struct be_dma_mem *mem = &q->dma_mem; in be_queue_alloc()
[all …]