Home
last modified time | relevance | path

Searched +full:has +full:- +full:hash +full:- +full:multicast +full:- +full:filter (Results 1 – 25 of 195) sorted by relevance

12345678

/openbmc/u-boot/doc/device-tree-bindings/net/
H A Daltera_tse.txt1 * Altera Triple-Speed Ethernet MAC driver (TSE)
4 - compatible: Should be "altr,tse-1.0" for legacy SGDMA based TSE, and should
5 be "altr,tse-msgdma-1.0" for the preferred MSGDMA based TSE.
6 - reg: Address and length of the register set for the device. It contains
7 the information of registers in the same order as described by reg-names
8 - reg-names: Should contain the reg names
16 - interrupts: Should contain the TSE interrupts and it's mode.
17 - interrupt-names: Should contain the interrupt names
20 - rx-fifo-depth: MAC receive FIFO buffer depth in bytes
21 - tx-fifo-depth: MAC transmit FIFO buffer depth in bytes
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Daltr,tse.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maxime Chevallier <maxime.chevallier@bootlin.com>
15 - const: altr,tse-1.0
16 - const: ALTR,tse-1.0
18 - const: altr,tse-msgdma-1.0
23 interrupt-names:
25 - const: rx_irq
26 - const: tx_irq
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dmcdi_filters.h1 /* SPDX-License-Identifier: GPL-2.0-only */
14 #include "filter.h"
40 /* Per-VLAN filters information */
77 /* Whether in multicast promiscuous mode when last changed */
84 /* Multicast filter chaining allows less-specific filters to receive
85 * multicast packets that matched more-specific filters. Early EF10
104 * The filter table(s) are managed by firmware and we have write-only
106 * firmware by a 64-bit handle, but this is too wide for Linux kernel
107 * interfaces (32-bit for RX NFC, 16-bit for RFS). Also, we need to
109 * replace an existing filter. Therefore we maintain a software hash
[all …]
H A Dmcdi_filters.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2018 Solarflare Communications Inc.
5 * Copyright 2019-2020 Xilinx Inc.
23 /* An arbitrary search limit for the software hash table */
30 return (struct efx_filter_spec *)(table->entry[filter_idx].spec & in efx_mcdi_filter_entry_spec()
38 return table->entry[filter_idx].spec & EFX_EF10_FILTER_FLAGS; in efx_mcdi_filter_entry_flags()
44 return filter_id & (EFX_MCDI_FILTER_TBL_ROWS - 1); in efx_mcdi_filter_get_unsafe_id()
58 * Decide whether a filter should be exclusive or else should allow
65 if (spec->match_flags & EFX_FILTER_MATCH_LOC_MAC && in efx_mcdi_filter_is_exclusive()
66 !is_multicast_ether_addr(spec->loc_mac)) in efx_mcdi_filter_is_exclusive()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igbvf/
H A Dvf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009 - 2018 Intel Corporation. */
22 * e1000_init_mac_params_vf - Inits MAC params
27 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_vf()
29 /* VF's have no MTA Registers - PF feature only */ in e1000_init_mac_params_vf()
30 mac->mta_reg_count = 128; in e1000_init_mac_params_vf()
32 mac->rar_entry_count = 1; in e1000_init_mac_params_vf()
36 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf()
38 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf()
40 mac->ops.check_for_link = e1000_check_for_link_vf; in e1000_init_mac_params_vf()
[all …]
/openbmc/linux/include/xen/interface/io/
H A Dnetif.h1 /* SPDX-License-Identifier: MIT */
5 * Unified network-device I/O interface for Xen guest OSes.
7 * Copyright (c) 2003-2004, Keir Fraser
17 * Older implementation of Xen network frontend / backend has an
38 * feature 'feature-rx-notify' via xenbus. Otherwise the backend will assume
43 * "feature-split-event-channels" is introduced to separate guest TX
49 * "event-channel-tx" and "event-channel-rx" respectively. If frontend
50 * doesn't want to use this feature, it just writes "event-channel"
56 * If supported, the backend will write the key "multi-queue-max-queues" to
60 * key "multi-queue-num-queues", set to the number they wish to use, which
[all …]
/openbmc/qemu/include/hw/xen/interface/io/
H A Dnetif.h1 /* SPDX-License-Identifier: MIT */
5 * Unified network-device I/O interface for Xen guest OSes.
7 * Copyright (c) 2003-2004, Keir Fraser
17 * Older implementation of Xen network frontend / backend has an
38 * feature 'feature-rx-notify' via xenbus. Otherwise the backend will assume
43 * "feature-split-event-channels" is introduced to separate guest TX
49 * "event-channel-tx" and "event-channel-rx" respectively. If frontend
50 * doesn't want to use this feature, it just writes "event-channel"
56 * If supported, the backend will write the key "multi-queue-max-queues" to
60 * key "multi-queue-num-queues", set to the number they wish to use, which
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ctrl.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
17 /* 64-bit per app capabilities */
23 * THB-350, 32k needs to be reserved.
44 #define NFP_NET_META_HASH 1 /* next field carries hash type */
61 /* Hash type pre-pended when a RSS hash was computed */
80 /* Read/Write config words (0x0000 - 0x002c)
87 * %NFP_NET_CFG_EXN: MSI-X table entry for exceptions
88 * %NFP_NET_CFG_LSC: MSI-X table entry for link state changes
92 * - define Error details in UPDATE
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_mac.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
18 * igb_get_bus_info_pcie - Get PCIe bus information
27 struct e1000_bus_info *bus = &hw->bus; in igb_get_bus_info_pcie()
32 bus->type = e1000_bus_type_pci_express; in igb_get_bus_info_pcie()
38 bus->width = e1000_bus_width_unknown; in igb_get_bus_info_pcie()
39 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie()
43 bus->speed = e1000_bus_speed_2500; in igb_get_bus_info_pcie()
46 bus->speed = e1000_bus_speed_5000; in igb_get_bus_info_pcie()
49 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Drx_desc.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
154 * after (MPDU level) reordering has finished. Values are defined
161 * hash[3:0]} using the chosen Toeplitz hash from Common Parser
165 * {lmac_peer_id_msb, hash[2:0]} using the chosen Toeplitz
166 * hash from Common Parser if flow search fails.
170 * on the chosen Toeplitz hash from Common Parser, in case
174 * Filter pass Unicast data frame (matching rxpcu_filter_pass
178 * Filter pass Multicast data frame (matching rxpcu_filter_pass
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dnet_driver.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2005-2013 Solarflare Communications Inc.
33 #include "filter.h"
61 /* Checksum generation is a per-queue option in hardware, so each
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 */
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
[all …]
/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_mac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* ZD1211 USB-WLAN driver for Linux
4 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de>
5 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org>
6 * Copyright (C) 2006-2007 Michael Wu <flamingice@sourmilk.net>
7 * Copyright (C) 2007-2008 Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
86 * - packet is sent using 4 different rates
87 * - 1st rate is index 3 (ie 11 Mbits)
88 * - 2nd rate is index 2 (ie 5.5 Mbits)
89 * - 3rd rate is index 1 (ie 2 Mbits)
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dnet_driver.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2005-2013 Solarflare Communications Inc.
33 #include "filter.h"
63 /* Checksum generation is a per-queue option in hardware, so each
82 #define EF4_RX_USR_BUF_SIZE (2048 - 256)
85 * of every buffer. Otherwise, we just need to ensure 4-byte
97 * struct ef4_buffer - A general-purpose DMA buffer
112 * struct ef4_special_buffer - DMA buffer entered into buffer table
117 * The NIC has a buffer table that maps buffers of size %EF4_BUF_SIZE.
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100_core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 This is the driver for the MAC 10/100 on-chip Ethernet controller
6 DWC Ether MAC 10/100 Universal version 4.0 has been used for developing
11 Copyright (C) 2007-2009 STMicroelectronics Ltd
25 void __iomem *ioaddr = hw->pcsr; in dwmac100_core_init()
39 void __iomem *ioaddr = hw->pcsr; in dwmac100_dump_mac_regs()
66 void __iomem *ioaddr = hw->pcsr; in dwmac100_set_umac_addr()
74 void __iomem *ioaddr = hw->pcsr; in dwmac100_get_umac_addr()
81 void __iomem *ioaddr = (void __iomem *)dev->base_addr; in dwmac100_set_filter()
84 if (dev->flags & IFF_PROMISC) { in dwmac100_set_filter()
[all …]
H A Ddwmac1000_core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 This is the driver for the GMAC on-chip Ethernet controller for ST SoCs.
4 DWC Ether MAC 10/100/1000 Universal version 3.41a has been used for
9 Copyright (C) 2007-2009 STMicroelectronics Ltd
26 void __iomem *ioaddr = hw->pcsr; in dwmac1000_core_init()
28 int mtu = dev->mtu; in dwmac1000_core_init()
38 if (hw->ps) { in dwmac1000_core_init()
41 value &= ~hw->link.speed_mask; in dwmac1000_core_init()
42 switch (hw->ps) { in dwmac1000_core_init()
44 value |= hw->link.speed1000; in dwmac1000_core_init()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dvirtio_net.h39 #define VIRTIO_NET_F_MAC 5 /* Host has given MAC address. */
64 #define VIRTIO_NET_F_HASH_REPORT 57 /* Supports hash report */
80 /* supported/enabled hash types */
109 * 0x00 - half duplex
110 * 0x01 - full duplex
123 * This header comes first in the scatter-gather list. If you don't
126 * This is bitwise-equivalent to the legacy struct virtio_net_hdr_mrg_rxbuf,
139 #define VIRTIO_NET_HDR_GSO_ECN 0x80 /* TCP has ECN set */
184 /* This header comes first in the scatter-gather list.
186 * be the first element of the scatter-gather list. If you don't
[all …]
/openbmc/linux/drivers/net/usb/
H A Dsmsc95xx.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2007-2008 SMSC
23 #define RX_STS_FF_ (0x40000000) /* Filter Fail */
29 #define RX_STS_MF_ (0x00000400) /* Multicast Frame */
38 /* SCSRs - System Control and Status Registers */
167 #define STRAP_STATUS_PWR_SEL_ (0x00000020) /* Device self-powered */
168 #define STRAP_STATUS_AMDIX_EN_ (0x00000010) /* Auto-MDIX Enabled */
169 #define STRAP_STATUS_PORT_SWAP_ (0x00000008) /* USBD+/USBD- Swapped */
196 #define INT_EP_CTL_RX_FIFO_ (0x00040000) /* RX FIFO Has Frame */
209 /* MAC CSRs - MAC Control and Status Registers */
[all …]
/openbmc/qemu/net/
H A Dvhost-vdpa.c2 * vhost-vdpa.c
4 * Copyright(c) 2017-2018 Intel Corporation.
8 * See the COPYING file in the top-level directory.
14 #include "hw/virtio/virtio-net.h"
16 #include "net/vhost-vdpa.h"
17 #include "hw/virtio/vhost-vdpa.h"
18 #include "qemu/config-file.h"
19 #include "qemu/error-report.h"
27 #include "standard-headers/linux/virtio_net.h"
138 assert(nc->inf in vhost_vdpa_get_vhost_net()
[all...]
/openbmc/linux/include/net/
H A Ddropreason-core.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
86 * enum skb_drop_reason - the reasons of skb drops
92 * @SKB_NOT_DROPPED_YET: skb is not dropped yet (used for no-drop case)
95 /** @SKB_CONSUMED: packet has been consumed */
105 /** @SKB_DROP_REASON_SOCKET_FILTER: dropped by socket filter */
125 * document for rp_filter in ip-sysctl.rst for more information
130 * multicast, but L3 is unicast.
145 * @SKB_DROP_REASON_TCP_MD5NOTFOUND: no MD5 hash and one expected,
150 * @SKB_DROP_REASON_TCP_MD5UNEXPECTED: MD5 hash and we're not expecting
155 * @SKB_DROP_REASON_TCP_MD5FAILURE: MD5 hash and its wrong, corresponding
[all …]
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dmac.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
7 * e1000e_get_bus_info_pcie - Get PCIe bus information
16 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie()
17 struct e1000_bus_info *bus = &hw->bus; in e1000e_get_bus_info_pcie()
18 struct e1000_adapter *adapter = hw->adapter; in e1000e_get_bus_info_pcie()
21 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
23 bus->width = e1000_bus_width_unknown; in e1000e_get_bus_info_pcie()
25 pci_read_config_word(adapter->pdev, in e1000e_get_bus_info_pcie()
28 bus->width = (enum e1000_bus_width)((pcie_link_status & in e1000e_get_bus_info_pcie()
[all …]
/openbmc/linux/drivers/net/ethernet/sgi/
H A Dmeth.h4 #define TX_RING_ENTRIES 64 /* 64-512?*/
11 #define METH_RX_HEAD 34 /* status + 3 quad garbage-fill + 2 byte zero-pad */
32 * It consists of header, 0-3 concatination
40 u64 tx_int_flag:1; /*Generate TX intrrupt when packet has been sent*/
43 u64 data_len:16; /*Length of valid data in bytes-1*/
48 u64 len:16; /*length of buffer data - 1*/
80 u64 multicast:1; member
91 u64 pad[3]; /* For whatever reason, there needs to be 4 double-word offset */
93 char buf[METH_RX_BUFF_SIZE-sizeof(rx_status_vector)-3*sizeof(u64)-sizeof(u16)];/* data */
110 /* Bits 5 and 6 are used to determine the Destination address filter mode */
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_mac.c1 // SPDX-License-Identifier: GPL-2.0
11 * igc_disable_pcie_master - Disables PCI-express master access
14 * Returns 0 (0) if successful, else returns -10
15 * (-IGC_ERR_MASTER_REQUESTS_PENDING) if master disable bit has not caused
18 * Disables PCI-Express master access and verifies there are no pending
36 timeout--; in igc_disable_pcie_master()
41 ret_val = -IGC_ERR_MASTER_REQUESTS_PENDING; in igc_disable_pcie_master()
50 * igc_init_rx_addrs - Initialize receive addresses
66 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in igc_init_rx_addrs()
68 /* Zero out the other (rar_entry_count - 1) receive addresses */ in igc_init_rx_addrs()
[all …]
/openbmc/linux/Documentation/networking/
H A Dip-sysctl.rst1 .. SPDX-License-Identifier: GPL-2.0
10 ip_forward - BOOLEAN
11 - 0 - disabled (default)
12 - not 0 - enabled
20 ip_default_ttl - INTEGER
25 ip_no_pmtu_disc - INTEGER
27 fragmentation-required ICMP is received, the PMTU to this
38 accept fragmentation-needed errors if the underlying protocol
48 Possible values: 0-3
52 min_pmtu - INTEGER
[all …]
/openbmc/linux/Documentation/networking/devlink/
H A Ddevlink-dpipe.rst1 .. SPDX-License-Identifier: GPL-2.0
12 ``devlink-dpipe`` provides a standardized way to provide visibility into the
34 Level Path Compression trie (LPC-trie) in hardware.
45 The ``devlink-dpipe`` interface closes this gap. The hardware's pipeline is
49 Traditionally it has been used as an alternative model for hardware
50 configuration, but the ``devlink-dpipe`` interface uses it for visibility
52 ``devlink-dpipe`` should change according to the changes done by the
59 TCAM regions have a predefined lookup key. Offloading the TC filter rules
62 filter new tables should be created describing those regions.
84 ``devlink-dpipe`` generally is not intended for configuration. The exception
[all …]
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_net.h28 #include "standard-headers/linux/types.h"
29 #include "standard-headers/linux/virtio_ids.h"
30 #include "standard-headers/linux/virtio_config.h"
31 #include "standard-headers/linux/virtio_types.h"
32 #include "standard-headers/linux/if_ether.h"
39 #define VIRTIO_NET_F_MAC 5 /* Host has given MAC address. */
59 #define VIRTIO_NET_F_DEVICE_STATS 50 /* Device can provide device-level statistics. */
65 #define VIRTIO_NET_F_HASH_REPORT 57 /* Supports hash report */
81 /* supported/enabled hash types */
110 * 0x00 - half duplex
[all …]

12345678