/linux/Documentation/devicetree/bindings/net/ |
H A D | snps,dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Torgue <alexandre.torgue@foss.st.com> 11 - Giuseppe Cavallaro <peppe.cavallaro@st.com> 12 - Jose Abreu <joabreu@synopsys.com> 23 - snps,dwmac 24 - snps,dwmac-3.40a 25 - snps,dwmac-3.50a 26 - snps,dwmac-3.610 [all …]
|
H A D | intel,dwmac-plat.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/intel,dwmac-plat.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vineetha G. Jaya Kumaran <vineetha.g.jaya.kumaran@intel.com> 17 - intel,keembay-dwmac 19 - compatible 22 - $ref: snps,dwmac.yaml# 27 - items: 28 - enum: [all …]
|
/linux/arch/arm64/boot/dts/st/ |
H A D | stm32mp253.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2023 - All Rights Reserved 11 compatible = "arm,cortex-a35"; 14 enable-method = "psci"; 15 power-domains = <&CPU_PD1>; 16 power-domain-names = "psci"; 20 arm-pmu { 23 interrupt-affinity = <&cpu0>, <&cpu1>; 27 CPU_PD1: power-domain-cpu1 { 28 #power-domain-cells = <0>; [all …]
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_82599.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 10 * ixgbe_dcb_config_rx_arbiter_82599 - Config Rx Data arbiter 70 * ixgbe_dcb_config_tx_desc_arbiter_82599 - Config Tx Desc. arbiter 77 * Configure Tx Descriptor Arbiter and credits for each traffic class. 88 /* Clear the per-Tx queue credits; we use per-TC instead */ in ixgbe_dcb_config_tx_desc_arbiter_82599() 111 * Configure Tx descriptor plane (recycle mode; WSP) and in ixgbe_dcb_config_tx_desc_arbiter_82599() 121 * ixgbe_dcb_config_tx_data_arbiter_82599 - Config Tx Data arbiter 129 * Configure Tx Packet Arbiter and credits for each traffic class. 172 * Configure Tx packet plane (recycle mode; SP; arb delay) and in ixgbe_dcb_config_tx_data_arbiter_82599() [all …]
|
H A D | ixgbe_dcb_82598.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 10 * ixgbe_dcb_config_rx_arbiter_82598 - Config Rx data arbiter 67 * ixgbe_dcb_config_tx_desc_arbiter_82598 - Config Tx Desc. arbiter 74 * Configure Tx Descriptor Arbiter and credits for each traffic class. 113 * ixgbe_dcb_config_tx_data_arbiter_82598 - Config Tx data arbiter 120 * Configure Tx Data Arbiter and credits for each traffic class. 151 /* Enable Tx packet buffer division */ in ixgbe_dcb_config_tx_data_arbiter_82598() 160 * ixgbe_dcb_config_pfc_82598 - Config priority flow control 186 /* Configure PFC Tx thresholds per TC */ in ixgbe_dcb_config_pfc_82598() [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8540p-ride.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include "sa8540p-pmics.dtsi" 17 compatible = "qcom,sa8540p-ride", "qcom,sa8540p"; 29 stdout-path = "serial0:115200n8"; 34 regulators-0 { 35 compatible = "qcom,pm8150-rpmh-regulators"; 36 qcom,pmic-id = "a"; [all …]
|
H A D | sa8775p-ride.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include "sa8775p-pmics.dtsi" 28 stdout-path = "serial0:115200n8"; 33 regulators-0 { 34 compatible = "qcom,pmm8654au-rpmh-regulators"; 35 qcom,pmic-id = "a"; 38 regulator-name = "vreg_s4a"; [all …]
|
/linux/Documentation/netlink/specs/ |
H A D | netdev.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 9 - 11 name: xdp-act 12 render-max: true 14 - 19 - 23 - 24 name: ndo-xmit 27 - 28 name: xsk-zerocopy [all …]
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 25 #define GETMAXVAL(num_bits) GENMASK((num_bits) - 1, 0) 31 #define IDPF_NUM_DFLT_MBX_Q 2 /* includes both TX and RX */ 33 #define IDPF_DFLT_MBX_ID -1 37 ((IDPF_CTLQ_MAX_BUF_LEN - (struct_sz)) / (chunk_sz)) 64 * enum idpf_state - State machine to handle bring up 78 * enum idpf_flags - Hard reset causes. 98 * enum idpf_cap_field - Offsets into capabilities struct for specific caps 112 IDPF_BASE_CAPS = -1, 128 * enum idpf_vport_state - Current vport state [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 config IDPF 18 config IDPF_SINGLEQ 21 This option enables support for legacy single Rx/Tx queues w/no 22 completion and fill queues. Only enable if you have hardware which
|
H A D | virtchnl2.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 * all the structures in this header follow little-endian format. 74 * enum virtchnl2_vport_type - Type of virtual port. 82 * enum virtchnl2_queue_model - Type of queue model. 92 * In the split queue model, hardware uses transmit completion queues to post 94 * descriptor queues to post descriptors to hardware. 96 * queue, while software uses receive buffer queues to post buffers to hardware. 216 * enum virtchnl2_txq_sched_mode - Transmit Queue Scheduling Modes. 231 * enum virtchnl2_rxq_flags - Receive Queue Feature flags. 264 * models. With Split Queue model, 2 additional types are introduced - [all …]
|
/linux/Documentation/networking/ |
H A D | multi-pf-netdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 Multi-PF Netdev 11 - `Background`_ 12 - `Overview`_ 13 - `mlx5 implementation`_ 14 - `Channels distribution`_ 15 - `Observability`_ 16 - `Steering`_ 17 - `Mutually exclusive features`_ 22 The Multi-PF NIC technology enables several CPUs within a multi-socket server to connect directly to [all …]
|
/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 …]
|
/linux/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2004-2006 Atmel Corporation 10 #include <linux/clk-provider.h> 25 #include <linux/dma-mapping.h> 40 #include <linux/firmware/xlnx-zynqmp.h> 58 * (bp)->rx_ring_size) 64 * (bp)->tx_ring_size) 66 /* level of occupied TX descriptors under which we wake up TX process */ 67 #define MACB_TX_WAKEUP_THRESH(bp) (3 * (bp)->tx_ring_size / 4) 78 …MAX_TX_LEN ((unsigned int)((1 << MACB_TX_FRMLEN_SIZE) - 1) & ~((unsigned int)(MACB_TX_LEN_ALIGN -… [all …]
|
/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-extra.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "rk3588-base.dtsi" 7 #include "rk3588-extra-pinctrl.dtsi" 11 compatible = "rockchip,rk3588-dwc3", "snps,dwc3"; 16 clock-names = "ref_clk", "suspend_clk", "bus_clk"; 19 phy-names = "usb2-phy", "usb3-phy"; 21 power-domains = <&power RK3588_PD_USB>; 24 snps,dis-u2-freeclk-exists-quirk; 25 snps,dis-del-phy-power-chg-quirk; 26 snps,dis-tx-ipgap-linecheck-quirk; [all …]
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_common.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 7 * fm10k_get_bus_info_generic - Generic set PCI bus info 17 /* Get the maximum link width and speed from PCIe config space */ in fm10k_get_bus_info_generic() 22 hw->bus_caps.width = fm10k_bus_width_pcie_x1; in fm10k_get_bus_info_generic() 25 hw->bus_caps.width = fm10k_bus_width_pcie_x2; in fm10k_get_bus_info_generic() 28 hw->bus_caps.width = fm10k_bus_width_pcie_x4; in fm10k_get_bus_info_generic() 31 hw->bus_caps.width = fm10k_bus_width_pcie_x8; in fm10k_get_bus_info_generic() 34 hw->bus_caps.width = fm10k_bus_width_unknown; in fm10k_get_bus_info_generic() 40 hw->bus_caps.speed = fm10k_bus_speed_2500; in fm10k_get_bus_info_generic() [all …]
|
/linux/drivers/net/caif/ |
H A D | caif_virtio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson AB 2013 21 #include <linux/dma-mapping.h> 33 /* Defaults used if virtio config space is unavailable */ 41 /* struct cfv_napi_contxt - NAPI context info 46 * used to indicate invalid head-id. 53 /* struct cfv_stats - statistics for debugfs 58 * @tx_full_ring: Number times TX ring was full 59 * @tx_no_mem: Number of times TX went out of memory 60 * @tx_flow_on: Number of flow on (TX) [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 18 reg_wl_bt: regulator-wifi-bt { 19 compatible = "regulator-fixed"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_reg_wl_bt>; 22 regulator-name = "wl-bt-pow-dwn"; 23 regulator-min-microvolt = <3300000>; 24 regulator-max-microvolt = <3300000>; 26 startup-delay-us = <70000>; 27 regulator-always-on; [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
H A D | overview.rst | 16 DPAA2 is a hardware architecture designed for high-speeed network 23 DPAA2 hardware resources. The MC provides an object-based abstraction for 25 The MC uses DPAA2 hardware resources such as queues, buffer pools, and 28 The MC provides memory-mapped I/O command interfaces (MC portals) 34 +--------------------------------------+ 38 +-----------------------------|--------+ 41 | config,use,destroy) 44 +------------------------| mc portal |-+ 46 | +- - - - - - - - - - - - -V- - -+ | 50 | +- - - - - - - - - - - - - - - -+ | [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 Copyright (C) 2007-2011 STMicroelectronics Ltd 26 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins 57 * dwmac1000_validate_ucast_entries - validate the Unicast address entries 88 * stmmac_axi_setup - parse DT parameters for programming the AXI register 91 * if required, from device-tree the AXI internal register can be tuned 99 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); in stmmac_axi_setup() 103 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); in stmmac_axi_setup() 106 return ERR_PTR(-ENOMEM); in stmmac_axi_setup() 109 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); in stmmac_axi_setup() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include <linux/dma-mapping.h> 112 #define ICE_MAX_RXQS_PER_TC 256 /* Used when setting VSI context per TC Rx queues */ 122 #define ICE_MAX_MTU (ICE_AQ_SET_MAC_FRAME_SIZE_MAX - ICE_ETH_PKT_HDR_PAD) 130 #define ICE_TX_DESC(R, i) (&(((struct ice_tx_desc *)((R)->desc))[i])) 131 #define ICE_RX_DESC(R, i) (&(((union ice_32b_rx_flex_desc *)((R)->desc))[i])) 132 #define ICE_TX_CTX_DESC(R, i) (&(((struct ice_tx_ctx_desc *)((R)->desc))[i])) 133 #define ICE_TX_FDIRDESC(R, i) (&(((struct ice_fltr_desc *)((R)->desc))[i])) 159 for ((i) = 0; (i) < (pf)->num_alloc_vsi; (i)++) 161 /* Macros for each Tx/Xdp/Rx ring in a VSI */ [all …]
|
/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_main.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2024 Google LLC 33 #define GVE_VERSION_PREFIX "GVE-" 48 driver_info = dma_alloc_coherent(&priv->pdev->dev, in gve_verify_driver_compatibility() 52 return -ENOMEM; in gve_verify_driver_compatibility() 66 strscpy(driver_info->os_version_str1, utsname()->release, in gve_verify_driver_compatibility() 67 sizeof(driver_info->os_version_str1)); in gve_verify_driver_compatibility() 68 strscpy(driver_info->os_version_str2, utsname()->version, in gve_verify_driver_compatibility() 69 sizeof(driver_info->os_version_str2)); in gve_verify_driver_compatibility() 76 if (err == -EOPNOTSUPP) in gve_verify_driver_compatibility() [all …]
|
/linux/include/net/ |
H A D | netdev_queues.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 50 * struct netdev_stat_ops - netdev ops for fine grained stats 52 * @get_queue_stats_tx: get stats for a given Tx queue 56 * on entry (specifically they are *not* zero-initialized). Drivers should 61 * queues are queried by the per-queue callbacks. This means that per-queue 64 * between events for currently live queues and overall device history. 66 * transferred outside of the main set of queues used by the networking stack. 68 * is issued to collect the delta, and then a series of per-queue callbacks. 78 * the @get_base_stats and subsequent per-queue calls are performed 81 * Device drivers are encouraged to reset the per-queue statistics when [all …]
|
/linux/arch/arm/boot/dts/ti/keystone/ |
H A D | keystone-k2hk-netcp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/ 9 compatible = "ti,keystone-navigator-qmss"; 10 dma-coherent; 11 #address-cells = <1>; 12 #size-cells = <1>; 15 queue-range = <0 0x4000>; 20 #address-cells = <1>; 21 #size-cells = <1>; 24 managed-queues = <0 0x2000>; [all …]
|