/openbmc/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | ti,omap-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/ti,omap-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 19 Each mailbox IP block/cluster has a certain number of h/w fifo queues and 26 interrupt configuration registers, and have a rx and tx interrupt source per 28 appropriate programming of the rx and tx interrupt sources on the appropriate 31 The number of h/w fifo queues and interrupt lines dictate the usable 34 h/w fifo queues and interrupt lines between different instances. The interrupt [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | brcm,systemport.yaml | 1 # 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 …]
|
H A D | fsl,fec.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 11 - Wei Fang <wei.fang@nxp.com> 12 - NXP Linux Team <linux-imx@nxp.com> 15 - $ref: ethernet-controller.yaml# 20 - enum: 21 - fsl,imx25-fec 22 - fsl,imx27-fec [all …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | rt_link.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 name: rt-link 4 protocol: netlink-raw 11 - 12 name: ifinfo-flags 15 - 17 - 19 - 21 - 23 - [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3568.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 compatible = "rockchip,rk3568-dwc-ahci", "snps,dwc-ahci"; 16 clock-names = "sata", "pmalive", "rxoob"; 19 phy-names = "sata-phy"; 20 ports-implemented = <0x1>; 21 power-domains = <&power RK3568_PD_PIPE>; 26 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon"; 31 compatible = "rockchip,rk3568-qos", "syscon"; 36 compatible = "rockchip,rk3568-qos", "syscon"; 41 compatible = "rockchip,rk3568-qos", "syscon"; [all …]
|
H A D | rk3588.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "rk3588-pinctrl.dtsi" 11 compatible = "rockchip,rk3588-pcie3-phy-grf", "syscon"; 16 compatible = "rockchip,rk3588-pipe-phy-grf", "syscon"; 21 compatible = "rockchip,rk3588-i2s-tdm"; 25 clock-names = "mclk_tx", "mclk_rx", "hclk"; 26 assigned-clocks = <&cru CLK_I2S8_8CH_TX_SRC>; 27 assigned-clock-parents = <&cru PLL_AUPLL>; 29 dma-names = "tx"; 30 power-domains = <&power RK3588_PD_VO0>; [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | dpseci.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * Copyright 2013-2016 Freescale Semiconductor Inc. 4 * Copyright 2017-2018 NXP 21 * Maximum number of Tx/Rx queues per DPSECI object 26 * All queues considered; see dpseci_set_rx_queue() 28 #define DPSECI_ALL_QUEUES (u8)(-1) 41 * struct dpseci_cfg - Structure representing DPSECI configuration 44 * @num_tx_queues: num of queues towards the SEC 45 * @num_rx_queues: num of queues back from the SEC 49 * valid priorities are configured with values 1-8; [all …]
|
/openbmc/linux/arch/arm/boot/dts/axis/ |
H A D | artpec6.dtsi | 2 * Device Tree Source for the Axis ARTPEC-6 SoC 4 * This file is dual-licensed: you can use it either under the terms 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 44 #include <dt-bindings/dma/nbpfaxi.h> 45 #include <dt-bindings/clock/axis,artpec6-clkctrl.h> 48 #address-cells = <1>; 49 #size-cells = <1>; 51 interrupt-parent = <&intc>; 54 #address-cells = <1>; 55 #size-cells = <0>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8-ss-conn.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 #include <dt-bindings/clock/imx8-lpcg.h> 8 #include <dt-bindings/firmware/imx/rsrc.h> 11 compatible = "simple-bus"; 12 #address-cells = <1>; 13 #size-cells = <1>; 16 conn_axi_clk: clock-conn-axi { 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; [all …]
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. 60 #define ENA_DEFAULT_RX_COPYBREAK (256 - NET_IP_ALIGN) 77 /* Refill Rx queue when number of required descriptors is above 83 /* Number of queues to check for missing queues per timer service */ 88 #define ENA_TX_RING_IDX_NEXT(idx, ring_size) (((idx) + 1) & ((ring_size) - 1)) 90 #define ENA_RX_RING_IDX_NEXT(idx, ring_size) (((idx) + 1) & ((ring_size) - 1)) 92 (((idx) + (n)) & ((ring_size) - 1)) 97 #define ENA_IO_RXQ_IDX_TO_COMBINED_IDX(q) (((q) - 1) / 2) 134 /* num of ena desc for this specific skb [all …]
|
H A D | ena_xdp.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 3 * Copyright 2015-2021 Amazon.com, Inc. or its affiliates. All rights reserved. 12 tx_info = &tx_ring->tx_buffer_info[req_id]; in validate_xdp_req_id() 13 if (likely(tx_info->xdpf)) in validate_xdp_req_id() 24 struct ena_adapter *adapter = tx_ring->adapter; in ena_xdp_tx_map_frame() 31 tx_info->xdpf = xdpf; in ena_xdp_tx_map_frame() 32 data = tx_info->xdpf->data; in ena_xdp_tx_map_frame() 33 size = tx_info->xdpf->len; in ena_xdp_tx_map_frame() 35 if (tx_ring->tx_mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_DEV) { in ena_xdp_tx_map_frame() 37 push_len = min_t(u32, size, tx_ring->tx_max_header_size); in ena_xdp_tx_map_frame() [all …]
|
H A D | ena_netdev.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. 56 if (test_and_set_bit(ENA_FLAG_TRIGGER_RESET, &adapter->flags)) in ena_tx_timeout() 60 ena_increase_stat(&adapter->dev_stats.tx_timeout, 1, &adapter->syncp); in ena_tx_timeout() 69 for (i = 0; i < adapter->num_io_queues; i++) in update_rx_ring_mtu() 70 adapter->rx_ring[i].mtu = mtu; in update_rx_ring_mtu() 78 ret = ena_com_set_dev_mtu(adapter->ena_dev, new_mtu); in ena_change_mtu() 82 dev->mtu = new_mtu; in ena_change_mtu() 100 if (unlikely(ena_com_is_doorbell_needed(ring->ena_com_io_sq, in ena_xmit_common() 102 netif_dbg(adapter, tx_queued, adapter->netdev, in ena_xmit_common() [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_config.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 25 /*--------------------------CONFIG VALUES------------------------*/ 121 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) 122 #define CFG_GET_IQ_MAX_Q(cfg) ((cfg)->iq.max_iqs) 123 #define CFG_GET_IQ_PENDING_LIST_SIZE(cfg) ((cfg)->iq.pending_list_size) 124 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) 125 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) 126 #define CFG_GET_IQ_DB_TIMEOUT(cfg) ((cfg)->iq.db_timeout) 128 #define CFG_GET_IQ_INTR_PKT(cfg) ((cfg)->iq.iq_intr_pkt) [all …]
|
H A D | octeon_device.c | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 80 /* Num of desc for rx rings */ 83 /* Num of desc for tx rings */ 109 /* Num of desc for rx rings */ 112 /* Num of desc for tx rings */ 188 /* Num of desc for rx rings */ 191 /* Num of desc for tx rings */ 217 /* Num of desc for rx rings */ 220 /* Num of desc for tx rings */ [all …]
|
/openbmc/u-boot/drivers/qe/ |
H A D | uec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2006-2010 Freescale Semiconductor, Inc. 35 #define UPSMR_TBIM 0x00010000 /* Ten-bit Interface Mode */ 39 #define UPSMR_RES1 0x00002000 /* Reserved feild - must be 1 */ 46 #define MACCFG1_FLOW_RX 0x00000020 /* Flow Control Rx */ 48 #define MACCFG1_ENABLE_SYNCHED_RX 0x00000008 /* Enable Rx Sync */ 49 #define MACCFG1_ENABLE_RX 0x00000004 /* Enable Rx */ 58 #define MACCFG2_PREL_SHIFT (31 - 19) 129 #define TEMODER_NUM_OF_QUEUES_SHIFT (15-15) 137 #define REMODER_VLAN_OPERATION_TAGGED_SHIFT (31-9 ) [all …]
|
/openbmc/linux/include/xen/interface/io/ |
H A D | netif.h | 1 /* SPDX-License-Identifier: MIT */ 5 * Unified network-device I/O interface for Xen guest OSes. 7 * Copyright (c) 2003-2004, Keir Fraser 37 * If the client sends notification for rx requests then it should specify 38 * feature 'feature-rx-notify' via xenbus. Otherwise the backend will assume 43 * "feature-split-event-channels" is introduced to separate guest TX 44 * and RX notification. Backend either doesn't support this feature or 48 * channels for TX and RX, advertise them to backend as 49 * "event-channel-tx" and "event-channel-rx" respectively. If frontend 50 * doesn't want to use this feature, it just writes "event-channel" [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2013 - 2021 Intel Corporation. */ 26 #define I40E_MAX_CSR_SPACE (4 * 1024 * 1024 - 64 * 1024) 35 (((pf)->hw_features & I40E_HW_RSS_AQ_CAPABLE) ? 4 : 1) 39 (((pf)->hw_features & I40E_HW_128_QP_RSS_CAPABLE) ? 128 : 64) 70 (&(((union i40e_rx_desc *)((R)->desc))[i])) 72 (&(((struct i40e_tx_desc *)((R)->desc))[i])) 74 (&(((struct i40e_tx_context_desc *)((R)->desc))[i])) 76 (&(((struct i40e_filter_program_desc *)((R)->desc))[i])) 154 #define I40E_IWARP_IRQ_PILE_ID (I40E_PILE_VALID_BIT - 2) [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2014-2024 Broadcom 23 #include <linux/dma-mapping.h> 44 /* Maximum number of hardware queues, downsized if needed */ 51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q) 53 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q) 58 /* Tx/Rx DMA register offset, skip 256 descriptors */ 59 #define WORDS_PER_BD(p) (p->hw_params->words_per_bd) 62 #define GENET_TDMA_REG_OFF (priv->hw_params->tdma_offset + \ 65 #define GENET_RDMA_REG_OFF (priv->hw_params->rdma_offset + \ [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include <linux/dma-mapping.h> 110 #define ICE_MAX_RXQS_PER_TC 256 /* Used when setting VSI context per TC Rx queues */ 120 #define ICE_MAX_MTU (ICE_AQ_SET_MAC_FRAME_SIZE_MAX - ICE_ETH_PKT_HDR_PAD) 128 #define ICE_TX_DESC(R, i) (&(((struct ice_tx_desc *)((R)->desc))[i])) 129 #define ICE_RX_DESC(R, i) (&(((union ice_32b_rx_flex_desc *)((R)->desc))[i])) 130 #define ICE_TX_CTX_DESC(R, i) (&(((struct ice_tx_ctx_desc *)((R)->desc))[i])) 131 #define ICE_TX_FDIRDESC(R, i) (&(((struct ice_fltr_desc *)((R)->desc))[i])) 157 for ((i) = 0; (i) < (pf)->num_alloc_vsi; (i)++) 159 /* Macros for each Tx/Xdp/Rx ring in a VSI */ [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | cpsw.rst | 1 .. SPDX-License-Identifier: GPL-2.0 26 - TX queues must be rated starting from txq0 that has highest priority 27 - Traffic classes are used starting from 0, that has highest priority 28 - CBS shapers should be used with rated queues 29 - The bandwidth for CBS shapers has to be set a little bit more then 30 potential incoming rate, thus, rate of all incoming tx queues has 32 - Real rates can differ, due to discreetness 33 - Map skb-priority to txq is not enough, also skb-priority to l2 prio 35 - Any l2/socket prio (0 - 7) for classes can be used, but for 37 - only 2 classes tested: A and B, but checked and can work with more, [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hnae.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2014-2015 Hisilicon Limited. 11 * a set of queues provided by AE 13 * the channel between upper layer and the AE, can do tx and rx 15 * a tx or rx channel within a rbq 21 * "num" means a static number set as a parameter, "count" mean a dynamic 68 /* some said the RX and TX RCB format should not be the same in the future. But 79 #define RCB_REG_OFFSET 0x24 /* pkt num to be handled */ 209 } rx; member 231 /* hnae_ring->flags fields */ [all …]
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2021 Google, Inc. 10 #include <linux/dma-mapping.h> 30 /* 1 for management, 1 for rx, 1 for tx */ 33 /* Numbers of gve tx/rx stats in stats report. */ 40 /* Numbers of NIC tx/rx stats in stats report. */ 44 #define GVE_DATA_SLOT_ADDR_PAGE_MASK (~(PAGE_SIZE - 1)) 63 /* 2K buffers for DQO-QPL */ 69 * allocs and uses a non-qpl page on the receive path of DQO QPL to free 82 /* The page info for a single slot in the RX data queue */ [all …]
|
/openbmc/qemu/include/hw/xen/interface/io/ |
H A D | netif.h | 1 /* SPDX-License-Identifier: MIT */ 5 * Unified network-device I/O interface for Xen guest OSes. 7 * Copyright (c) 2003-2004, Keir Fraser 37 * If the client sends notification for rx requests then it should specify 38 * feature 'feature-rx-notify' via xenbus. Otherwise the backend will assume 43 * "feature-split-event-channels" is introduced to separate guest TX 44 * and RX notification. Backend either doesn't support this feature or 48 * channels for TX and RX, advertise them to backend as 49 * "event-channel-tx" and "event-channel-rx" respectively. If frontend 50 * doesn't want to use this feature, it just writes "event-channel" [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx7d.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 49 operating-points = < 54 clock-frequency = <996000000>; 58 compatible = "arm,cortex-a7"; 61 clock-frequency = <996000000>; 67 compatible = "arm,coresight-etm3x", "arm,primecell"; 72 * without arm,primecell-periphid because amba bus try to 75 arm,primecell-periphid = <0xbb956>; 78 clock-names = "apb_pclk"; 82 remote-endpoint = <&ca_funnel_in_port1>; [all …]
|
/openbmc/linux/drivers/net/ |
H A D | xen-netfront.c | 4 * Copyright (c) 2002-2005, K A Fraser 67 "Maximum number of queues per virtual interface"); 81 #define NETFRONT_SKB_CB(skb) ((struct netfront_cb *)((skb)->cb)) 88 /* Minimum number of Rx slots (includes slot for GSO metadata). */ 91 /* Queue name is interface name with "-qNNN" appended */ 94 /* IRQ name is queue name with "-tx" or "-rx" appended */ 108 unsigned int id; /* Queue ID, 0-based */ 109 char name[QUEUE_NAME_SIZE]; /* DEVNAME-qN */ 122 char tx_irq_name[IRQ_NAME_SIZE]; /* DEVNAME-qN-tx */ 123 char rx_irq_name[IRQ_NAME_SIZE]; /* DEVNAME-qN-rx */ [all …]
|