| /linux/drivers/net/ethernet/engleder/ |
| H A D | tsnep_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2021 Gerhard Engleder <gerhard@engleder-embedded.com> */ 6 * The TSN endpoint Ethernet MAC is a FPGA based network device for real-time 10 * It supports multiple TX/RX queue pairs. The first TX/RX queue pair is used 14 * - ww 114 struct tsnep_queue *queue = arg; tsnep_irq_txrx() local 126 tsnep_set_irq_coalesce(struct tsnep_queue * queue,u32 usecs) tsnep_set_irq_coalesce() argument 142 tsnep_get_irq_coalesce(struct tsnep_queue * queue) tsnep_get_irq_coalesce() argument 951 tsnep_rx_ring_cleanup(struct tsnep_rx * rx) tsnep_rx_ring_cleanup() argument 983 tsnep_rx_ring_create(struct tsnep_rx * rx) tsnep_rx_ring_create() argument 1038 tsnep_rx_init(struct tsnep_rx * rx) tsnep_rx_init() argument 1051 tsnep_rx_enable(struct tsnep_rx * rx) tsnep_rx_enable() argument 1059 tsnep_rx_disable(struct tsnep_rx * rx) tsnep_rx_disable() argument 1069 tsnep_rx_desc_available(struct tsnep_rx * rx) tsnep_rx_desc_available() argument 1077 tsnep_rx_free_page_buffer(struct tsnep_rx * rx) tsnep_rx_free_page_buffer() argument 1092 tsnep_rx_alloc_page_buffer(struct tsnep_rx * rx) tsnep_rx_alloc_page_buffer() argument 1111 tsnep_rx_set_page(struct tsnep_rx * rx,struct tsnep_rx_entry * entry,struct page * page) tsnep_rx_set_page() argument 1120 tsnep_rx_alloc_buffer(struct tsnep_rx * rx,int index) tsnep_rx_alloc_buffer() argument 1133 tsnep_rx_reuse_buffer(struct tsnep_rx * rx,int index) tsnep_rx_reuse_buffer() argument 1142 tsnep_rx_activate(struct tsnep_rx * rx,int index) tsnep_rx_activate() argument 1169 tsnep_rx_alloc(struct tsnep_rx * rx,int count,bool reuse) tsnep_rx_alloc() argument 1197 tsnep_rx_refill(struct tsnep_rx * rx,int count,bool reuse) tsnep_rx_refill() argument 1208 tsnep_rx_set_xdp(struct tsnep_rx * rx,struct tsnep_rx_entry * entry,struct xdp_buff * xdp) tsnep_rx_set_xdp() argument 1217 tsnep_rx_reuse_buffer_zc(struct tsnep_rx * rx,int index) tsnep_rx_reuse_buffer_zc() argument 1226 tsnep_rx_alloc_zc(struct tsnep_rx * rx,int count,bool reuse) tsnep_rx_alloc_zc() argument 1254 tsnep_rx_free_zc(struct tsnep_rx * rx) tsnep_rx_free_zc() argument 1267 tsnep_rx_refill_zc(struct tsnep_rx * rx,int count,bool reuse) tsnep_rx_refill_zc() argument 1278 tsnep_xsk_rx_need_wakeup(struct tsnep_rx * rx,int desc_available) tsnep_xsk_rx_need_wakeup() argument 1286 tsnep_xdp_run_prog(struct tsnep_rx * rx,struct bpf_prog * prog,struct xdp_buff * xdp,int * status,struct netdev_queue * tx_nq,struct tsnep_tx * tx) tsnep_xdp_run_prog() argument 1330 tsnep_xdp_run_prog_zc(struct tsnep_rx * rx,struct bpf_prog * prog,struct xdp_buff * xdp,int * status,struct netdev_queue * tx_nq,struct tsnep_tx * tx) tsnep_xdp_run_prog_zc() argument 1381 tsnep_build_skb(struct tsnep_rx * rx,struct page * page,int length) tsnep_build_skb() argument 1412 tsnep_rx_page(struct tsnep_rx * rx,struct napi_struct * napi,struct page * page,int length) tsnep_rx_page() argument 1434 tsnep_rx_poll(struct tsnep_rx * rx,struct napi_struct * napi,int budget) tsnep_rx_poll() argument 1540 tsnep_rx_poll_zc(struct tsnep_rx * rx,struct napi_struct * napi,int budget) tsnep_rx_poll_zc() argument 1655 tsnep_rx_pending(struct tsnep_rx * rx) tsnep_rx_pending() argument 1670 tsnep_rx_open(struct tsnep_rx * rx) tsnep_rx_open() argument 1708 tsnep_rx_close(struct tsnep_rx * rx) tsnep_rx_close() argument 1716 tsnep_rx_reopen(struct tsnep_rx * rx) tsnep_rx_reopen() argument 1744 tsnep_rx_reopen_xsk(struct tsnep_rx * rx) tsnep_rx_reopen_xsk() argument 1796 tsnep_pending(struct tsnep_queue * queue) tsnep_pending() argument 1809 struct tsnep_queue *queue = container_of(napi, struct tsnep_queue, tsnep_poll() local 1849 tsnep_request_irq(struct tsnep_queue * queue,bool first) tsnep_request_irq() argument 1883 tsnep_free_irq(struct tsnep_queue * queue,bool first) tsnep_free_irq() argument 1899 tsnep_queue_close(struct tsnep_queue * queue,bool first) tsnep_queue_close() argument 1901 struct tsnep_rx *rx = queue->rx; tsnep_queue_close() local 1916 tsnep_queue_open(struct tsnep_adapter * adapter,struct tsnep_queue * queue,bool first) tsnep_queue_open() argument 1918 struct tsnep_rx *rx = queue->rx; tsnep_queue_open() local 1974 tsnep_queue_enable(struct tsnep_queue * queue) tsnep_queue_enable() argument 1995 tsnep_queue_disable(struct tsnep_queue * queue) tsnep_queue_disable() argument 2096 tsnep_enable_xsk(struct tsnep_queue * queue,struct xsk_buff_pool * pool) tsnep_enable_xsk() argument 2136 tsnep_disable_xsk(struct tsnep_queue * queue) tsnep_disable_xsk() argument 2369 struct tsnep_queue *queue; tsnep_netdev_xsk_wakeup() local [all...] |
| H A D | tsnep_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2021 Gerhard Engleder <gerhard@engleder-embedded.com> */ 83 strscpy(drvinfo->driver, TSNEP, sizeof(drvinfo->driver)); in tsnep_ethtool_get_drvinfo() 84 strscpy(drvinfo->bus_info, dev_name(&adapter->pdev->dev), in tsnep_ethtool_get_drvinfo() 85 sizeof(drvinfo->bus_info)); in tsnep_ethtool_get_drvinfo() 96 /* first queue pair is within TSNEP_MAC_SIZE, only queues additional to in tsnep_ethtool_get_regs_len() 97 * the first queue pair extend the register length by TSNEP_QUEUE_SIZE in tsnep_ethtool_get_regs_len() 100 max(adapter->num_tx_queues, adapter->num_rx_queues) - 1; in tsnep_ethtool_get_regs_len() 112 regs->version = 1; in tsnep_ethtool_get_regs() 114 memcpy_fromio(p, adapter->addr, regs->len); in tsnep_ethtool_get_regs() [all …]
|
| /linux/drivers/net/ |
| H A D | xen-netfront.c | 4 * Copyright (c) 2002-2005, K A Fraser 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 I 144 struct xen_netif_rx_front_ring rx; global() member 187 struct xen_netif_rx_response rx; global() member 218 xennet_get_rx_skb(struct netfront_queue * queue,RING_IDX ri) xennet_get_rx_skb() argument 227 xennet_get_rx_ref(struct netfront_queue * queue,RING_IDX ri) xennet_get_rx_ref() argument 248 struct netfront_queue *queue = timer_container_of(queue, t, rx_refill_timeout() local 253 netfront_tx_slot_available(struct netfront_queue * queue) netfront_tx_slot_available() argument 259 xennet_maybe_wake_tx(struct netfront_queue * queue) xennet_maybe_wake_tx() argument 271 xennet_alloc_one_rx_buffer(struct netfront_queue * queue) xennet_alloc_one_rx_buffer() argument 299 xennet_alloc_rx_buffers(struct netfront_queue * queue) xennet_alloc_rx_buffers() argument 366 struct netfront_queue *queue = NULL; xennet_open() local 390 xennet_tx_buf_gc(struct netfront_queue * queue) xennet_tx_buf_gc() argument 466 struct netfront_queue *queue; global() member 483 struct netfront_queue *queue = info->queue; xennet_tx_setup_grant() local 604 xennet_mark_tx_pending(struct netfront_queue * queue) xennet_mark_tx_pending() argument 614 xennet_xdp_xmit_one(struct net_device * dev,struct netfront_queue * queue,struct xdp_frame * xdpf) xennet_xdp_xmit_one() argument 649 struct netfront_queue *queue = NULL; xennet_xdp_xmit() local 718 struct netfront_queue *queue = NULL; xennet_start_xmit() local 868 struct netfront_queue *queue; xennet_close() local 885 struct netfront_queue *queue = &info->queues[i]; xennet_destroy_queues() local 902 xennet_set_rx_rsp_cons(struct netfront_queue * queue,RING_IDX val) xennet_set_rx_rsp_cons() argument 912 xennet_move_rx_slot(struct netfront_queue * queue,struct sk_buff * skb,grant_ref_t ref) xennet_move_rx_slot() argument 925 xennet_get_extras(struct netfront_queue * queue,struct xen_netif_extra_info * extras,RING_IDX rp) xennet_get_extras() argument 967 xennet_run_xdp(struct netfront_queue * queue,struct page * pdata,struct xen_netif_rx_response * rx,struct bpf_prog * prog,struct xdp_buff * xdp,bool * need_xdp_flush) xennet_run_xdp() argument 968 xennet_run_xdp(struct netfront_queue * queue,struct page * pdata,struct xen_netif_rx_response * rx,struct bpf_prog * prog,struct xdp_buff * xdp,bool * need_xdp_flush) xennet_run_xdp() argument 1021 xennet_get_responses(struct netfront_queue * queue,struct netfront_rx_info * rinfo,RING_IDX rp,struct sk_buff_head * list,bool * need_xdp_flush) xennet_get_responses() argument 1026 struct xen_netif_rx_response *rx = &rinfo->rx, rx_local; xennet_get_responses() local 1164 xennet_fill_frags(struct netfront_queue * queue,struct sk_buff * skb,struct sk_buff_head * list) xennet_fill_frags() argument 1172 struct xen_netif_rx_response rx; xennet_fill_frags() local 1227 handle_incoming_queue(struct netfront_queue * queue,struct sk_buff_head * rxq) handle_incoming_queue() argument 1265 struct netfront_queue *queue = container_of(napi, struct netfront_queue, napi); xennet_poll() local 1269 struct xen_netif_rx_response *rx = &rinfo.rx; xennet_poll() local 1423 xennet_release_tx_bufs(struct netfront_queue * queue) xennet_release_tx_bufs() argument 1445 xennet_release_rx_bufs(struct netfront_queue * queue) xennet_release_rx_bufs() argument 1514 xennet_handle_tx(struct netfront_queue * queue,unsigned int * eoi) xennet_handle_tx() argument 1539 xennet_handle_rx(struct netfront_queue * queue,unsigned int * eoi) xennet_handle_rx() argument 1823 struct netfront_queue *queue = &info->queues[i]; xennet_disconnect_backend() local 1905 setup_netfront_single(struct netfront_queue * queue) setup_netfront_single() argument 1931 setup_netfront_split(struct netfront_queue * queue) setup_netfront_split() argument 1976 setup_netfront(struct xenbus_device * dev,struct netfront_queue * queue,unsigned int feature_split_evtchn) setup_netfront() argument 2026 xennet_init_queue(struct netfront_queue * queue) xennet_init_queue() argument 2082 write_queue_xenstore_keys(struct netfront_queue * queue,struct xenbus_transaction * xbt,int write_hierarchical) write_queue_xenstore_keys() argument 2166 xennet_create_page_pool(struct netfront_queue * queue) xennet_create_page_pool() argument 2221 struct netfront_queue *queue = &info->queues[i]; xennet_create_queues() local 2266 struct netfront_queue *queue = NULL; talk_to_netback() local 2430 struct netfront_queue *queue = NULL; xennet_connect() local [all...] |
| /linux/drivers/net/xen-netback/ |
| H A D | rx.c | 3 * Copyright (c) 2002-2005, K A Fraser 38 * Note that any call sequence outside the RX thread calling this function 39 * needs to wake up the RX thread via a call of xenvif_kick_thread() 42 static void xenvif_update_needed_slots(struct xenvif_queue *queue, in xenvif_update_needed_slots() argument 48 needed = DIV_ROUND_UP(skb->len, XEN_PAGE_SIZE); in xenvif_update_needed_slots() 51 if (skb->sw_hash) in xenvif_update_needed_slots() 55 WRITE_ONCE(queue->rx_slots_needed, needed); in xenvif_update_needed_slots() 58 static bool xenvif_rx_ring_slots_available(struct xenvif_queue *queue) in xenvif_rx_ring_slots_available() argument 63 needed = READ_ONCE(queue->rx_slots_needed); in xenvif_rx_ring_slots_available() 68 prod = queue->rx.sring->req_prod; in xenvif_rx_ring_slots_available() [all …]
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | r9a09g087.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/clock/renesas,r9a09g087-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #address-cells = <2>; 14 #size-cells = <2>; 15 interrupt-parent = <&gic>; 18 #address-cells = <1>; 19 #size-cells = <0>; 22 compatible = "arm,cortex-a55"; 25 next-level-cache = <&L3_CA55>; [all …]
|
| H A D | r9a09g077.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/clock/renesas,r9a09g077-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #address-cells = <2>; 14 #size-cells = <2>; 15 interrupt-parent = <&gic>; 18 #address-cells = <1>; 19 #size-cells = <0>; 22 compatible = "arm,cortex-a55"; 25 next-level-cache = <&L3_CA55>; [all …]
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 21 /* Mailbox Queue */ 29 /* Number of descriptors in a queue should be a multiple of 32. RX queue 71 * given RX completion queue has descriptors. This includes _ALL_ buffer 73 * you have a total of 1024 buffers so your RX queue _must_ have at least that 74 * many descriptors. This macro divides a given number of RX descriptors by 75 * number of buffer queues to calculate how many descriptors each buffer queue 76 * can have without overrunning the RX queue. 88 #define IDPF_RX_BUFQ_WORKING_SET(rxq) ((rxq)->desc_count - 1) 92 if (unlikely(++(ntc) == (rxq)->desc_count)) { \ [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 21 #include <linux/io-64-nonatomic-hi-lo.h> 32 if (__nn->dp.netdev) \ 33 netdev_printk(lvl, __nn->dp.netdev, fmt, ## args); \ 35 dev_printk(lvl, __nn->dp.dev, "ctrl: " fmt, ## args); \ 48 if (__dp->netdev) \ 49 netdev_warn(__dp->netdev, fmt, ## args); \ 51 dev_warn(__dp->dev, fmt, ## args); \ 78 /* Queue/Ring definitions */ [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | intel,ixp4xx-ethernet.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/intel,ixp4xx-ethernet.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - $ref: ethernet-controller.yaml# 14 - Linus Walleij <linus.walleij@linaro.org> 18 Processing Engine) and the IXP4xx Queue Manager to process 24 const: intel,ixp4xx-ethernet 30 queue-rx: 31 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
| H A D | intel,ixp4xx-hss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/intel,ixp4xx-hss.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Linus Walleij <linus.walleij@linaro.org> 15 Processing Engine) and the IXP4xx Queue Manager to process 20 const: intel,ixp4xx-hss 26 intel,npe-handle: 27 $ref: /schemas/types.yaml#/definitions/phandle-array 30 - description: phandle to the NPE this HSS instance is using [all …]
|
| H A D | keystone-netcp.txt | 6 switch sub-module to send and receive packets. NetCP also includes a packet 13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates 16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP 17 sub-modules exist as a loadable kernel module which plug in to the netcp core. 18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is 19 mandatory to have the ethernet switch sub-module for the ethernet interface to 20 be operational. Any other sub-module like the PA is optional. 24 ----------------------------- 26 ----------------------------- 28 |-> NetCP Devices -> | [all …]
|
| /linux/drivers/firmware/samsung/ |
| H A D | exynos-acpm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/firmware/samsung/exynos-acpm-protocol.h> 19 #include <linux/mailbox/exynos-message.h> 31 #include "exynos-acpm.h" 32 #include "exynos-acpm-pmic.h" 42 * struct acpm_shmem - shared memory configuration information. 56 * struct acpm_chan_shmem - descriptor of a shared memory channel. 60 * @rx_rear: rear pointer of APM RX queue (TX for AP). 61 * @rx_front: front pointer of APM RX queue (TX for AP). 62 * @rx_base: base address of APM RX queue (TX for AP). [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_mfw_req.h | 3 * Copyright (c) 2012-2013 Broadcom Corporation 94 u32 promiscuous_mode; /* Promiscuous Mode. non-zero true */ 95 u32 txq_size; /* TX Descriptors Queue Size */ 96 u32 rxq_size; /* RX Descriptors Queue Size */ 97 /* TX Descriptor Queue Avg Depth. % Avg Queue Depth since last poll */ 99 /* RX Descriptors Queue Avg Depth. % Avg Queue Depth since last poll */ 114 /* QoS Priority (per 802.1p). 0-7255 */ 116 u32 txq_size; /* FCoE TX Descriptors Queue Size. */ 117 u32 rxq_size; /* FCoE RX Descriptors Queue Size. */ 118 /* FCoE TX Descriptor Queue Avg Depth. */ [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/amazon/ |
| H A D | ena.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 through an Admin Queue. 17 The driver supports a range of ENA devices, is link-speed independent 21 Some ENA devices support SR-IOV. This driver is used for both the 22 SR-IOV Physical Function (PF) and Virtual Function (VF) devices. 25 processing by providing multiple Tx/Rx queue pairs (the maximum number 26 is advertised by the device via the Admin Queue), a dedicated MSI-X 27 interrupt vector per Tx/Rx queue pair, adaptive interrupt moderation, 31 checksum offload. Receive-side scaling (RSS) is supported for multi-core 39 Some of the ENA devices support a working mode called Low-latency [all …]
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/dma-mapping.h> 46 (HINIC_GET_RX_PKT_TYPE(be32_to_cpu((cqe)->offload_type)) == \ 50 * hinic_rxq_clean_stats - Clean the statistics of specific queue 51 * @rxq: Logical Rx Queue 55 struct hinic_rxq_stats *rxq_stats = &rxq->rxq_stats; in hinic_rxq_clean_stats() 57 u64_stats_update_begin(&rxq_stats->syncp); in hinic_rxq_clean_stats() 58 rxq_stats->pkts = 0; in hinic_rxq_clean_stats() 59 rxq_stats->bytes = 0; in hinic_rxq_clean_stats() 60 rxq_stats->errors = 0; in hinic_rxq_clean_stats() [all …]
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00queue.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 10 Abstract: rt2x00 queue datastructures and routines 33 * enum data_queue_qid: Queue identification 35 * @QID_AC_VO: AC VO queue 36 * @QID_AC_VI: AC VI queue 37 * @QID_AC_BE: AC BE queue 38 * @QID_AC_BK: AC BK queue 39 * @QID_HCCA: HCCA queue 40 * @QID_MGMT: MGMT queue (prio queue) [all …]
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 61 /* Checksum generation is a per-queue option in hardware, so each 62 * queue visible to the networking core is backed by two hardware TX 68 #define EFX_TXQ_TYPE_HIGHPRI 4 /* High-priority (for TC) */ 70 /* HIGHPRI is Siena-only, and INNER_CSUM is EF10, so no need for both */ 83 /* Size of an RX scatter buffer. Small enough to pack 2 into a 4K page, 86 #define EFX_RX_USR_BUF_SIZE (2048 - 256) 89 * of every buffer. Otherwise, we just need to ensure 4-byte [all …]
|
| /linux/Documentation/networking/ |
| H A D | af_xdp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 XDP programs to redirect frames to a memory buffer in a user-space 24 syscall. Associated with each XSK are two rings: the RX ring and the 25 TX ring. A socket can receive packets on the RX ring and it can send 28 to have at least one of these rings for each socket. An RX or TX 30 UMEM. RX and TX can share the same UMEM so that a packet does not have 31 to be copied between RX and TX. Moreover, if a packet needs to be kept 44 to fill in with RX packet data. References to these frames will then 45 appear in the RX ring once each packet has been received. The 48 space, for either TX or RX. Thus, the frame addrs appearing in the [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 63 /* Checksum generation is a per-queue option in hardware, so each 64 * queue visible to the networking core is backed by two hardware TX 83 /* Size of an RX scatter buffer. Small enough to pack 2 into a 4K page, 86 #define EFX_RX_USR_BUF_SIZE (2048 - 256) 89 * of every buffer. Otherwise, we just need to ensure 4-byte 98 /* Non-standard XDP_PACKET_HEADROOM and tailroom to satisfy XDP_REDIRECT and 111 * struct efx_buffer - A general-purpose DMA buffer [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | rx.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2024-2025 Intel Corporation 11 * enum iwl_mld_internal_rxq_notif_type - RX queue sync notif types 22 * struct iwl_mld_internal_rxq_notif - [all...] |
| /linux/Documentation/devicetree/bindings/crypto/ |
| H A D | intel,ixp4xx-crypto.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/crypto/intel,ixp4xx-crypto.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Linus Walleij <linus.walleij@linaro.org> 21 const: intel,ixp4xx-crypto 23 intel,npe-handle: 24 $ref: /schemas/types.yaml#/definitions/phandle-array 26 - items: 27 - description: phandle to the NPE this crypto engine [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/aquantia/ |
| H A D | atlantic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 For the aQuantia Multi-Gigabit PCI Express Family of Ethernet Adapters 12 - Identifying Your Adapter 13 - Configuration 14 - Supported ethtool options 15 - Command Line Parameters 16 - Config file parameters 17 - Support 18 - License 23 The driver in this release is compatible with AQC-100, AQC-107, AQC-108 [all …]
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2024 Google LLC 10 #include <linux/dma-mapping.h> 35 /* 1 for management, 1 for rx, 1 for tx */ 38 /* Numbers of gve tx/rx stats in stats report. */ 45 /* Numbers of NIC tx/rx stats in stats report. */ 51 #define GVE_DATA_SLOT_ADDR_PAGE_MASK (~(PAGE_SIZE - 1)) 71 (GVE_ADMINQ_BUFFER_SIZE / sizeof(((struct gve_adminq_queried_flow_rule *)0)->location)) 89 /* 2K buffers for DQO-QPL */ 95 * allocs and uses a non-qpl page on the receive path of DQO QPL to free [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | netdev_rx.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 8 * This file contains HFI1 support for netdev RX functionality 20 static int hfi1_netdev_setup_ctxt(struct hfi1_netdev_rx *rx, in hfi1_netdev_setup_ctxt() argument 24 struct hfi1_devdata *dd = rx->dd; in hfi1_netdev_setup_ctxt() 27 uctxt->rhf_rcv_function_map = netdev_rhf_rcv_functions; in hfi1_netdev_setup_ctxt() 28 uctxt->do_interrupt = &handle_receive_interrupt_napi_sp; in hfi1_netdev_setup_ctxt() 30 /* Now allocate the RcvHdr queue and eager buffers. */ in hfi1_netdev_setup_ctxt() 44 if (!HFI1_CAP_KGET_MASK(uctxt->flags, MULTI_PKT_EGR)) in hfi1_netdev_setup_ctxt() 46 if (HFI1_CAP_KGET_MASK(uctxt->flags, NODROP_EGR_FULL)) in hfi1_netdev_setup_ctxt() 48 if (HFI1_CAP_KGET_MASK(uctxt->flags, NODROP_RHQ_FULL)) in hfi1_netdev_setup_ctxt() [all …]
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers. 6 Copyright(C) 2007-2011 STMicroelectronics Ltd 29 #include <linux/dma-mapping.h> 59 * with fine resolution and binary rollover. This avoid non-monotonic behavior 65 #define TSO_MAX_BUFF_SIZE (SZ_16K - 1) 73 static int debug = -1; 75 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)"); 77 static int phyaddr = -1; 81 #define STMMAC_TX_THRESH(x) ((x)->dma_conf.dma_tx_size / 4) [all …]
|