/freebsd-src/sys/dev/ixgbe/ |
H A D | ixgbe_api.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 61 * ixgbe_dcb_get_rtrup2tc - read rtrup2tc reg 69 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc() 70 hw->mac in ixgbe_dcb_get_rtrup2tc() [all...] |
H A D | ixgbe_vf.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 42 * ixgbe_init_ops_vf - Initialize the pointers for vf 45 * This will assign function pointers, adapter-specific functions can 47 * their own adapter-specific function pointers. 54 /* MAC */ in ixgbe_init_ops_vf() 55 hw->ma in ixgbe_init_ops_vf() 609 struct ixgbe_mac_info *mac = &hw->mac; ixgbe_check_mac_link_vf() local [all...] |
H A D | ixgbe_common.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 64 * ixgbe_init_ops_generic - Inits function ptrs 71 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_ops_generic() 72 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_generic() local 1006 struct ixgbe_mac_info *mac = &hw->mac; ixgbe_set_pci_config_data_generic() local 1164 struct ixgbe_mac_info *mac = &hw->mac; ixgbe_init_led_link_act_generic() local [all...] |
/freebsd-src/share/man/man4/ |
H A D | ng_macfilter.4 | 1 .\" Copyright (c) 2012-2017 Pekka Nikander 34 .Nd packet filtering netgraph node using ethernet MAC addresses 41 allows routing ethernet packets over different hooks based on the sender MAC 42 address. 54 is present and used for all packets which have no MAC address in the MAC table. 55 By adding MAC addresses to the MAC table traffic coming from this host can be 58 keeps track of packets and bytes from and to this MAC address in the MAC table. 70 hook where packets are sent if the MAC address is not found in the table. 81 .Bl -tag -width foo 83 Resets the MAC table in the node. [all …]
|
H A D | bridge.4 | 46 .Bd -ragged -offset indent 53 .Bd -literal -offset indent 81 interface randomly chooses a link (MAC) address in the range reserved for 83 This address is guaranteed to be unique 90 The address can be changed by assigning the desired link address using 97 has a non-zero value, the newly created bridge will inherit the MAC 98 address from its first member instead of choosing a random link-level 99 address. 100 This will provide more predictable bridge MAC addresses without any 110 802.11-to-Ethernet bridge for wireless hosts, or traffic isolation. [all …]
|
H A D | mac_ipacl.4 | 32 .Nd "IP Address access control policy" 35 IP address access control policy into your kernel: 36 .Bd -ragged -offset indent 37 .Cd "options MAC" 43 .Bd -ragged -offset indent 44 .Cd "options MAC" 68 .Va security.mac.ipacl.rules 74 MIBs are used to control enforcement and behavior of this MAC Policy. 75 .Bl -tag -width indent 76 .It Va security.mac.ipacl.ipv4 [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/net/ |
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 …]
|
H A D | ethernet-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/ethernet-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David S. Miller <davem@davemloft.net> 19 local-ma [all...] |
H A D | engleder,tsnep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TSN endpoint Ethernet MAC 10 - Gerhard Engleder <gerhard@engleder-embedded.com> 13 - $ref: ethernet-controller.yaml# 26 interrupt-names: 29 - const: mac 30 - const: txrx-1 31 - const: txrx-2 [all …]
|
H A D | marvell,prestera.txt | 2 ------------------------------------- 5 - compatible: must be "marvell,prestera" and one of the following 6 "marvell,prestera-98dx3236", 7 "marvell,prestera-98dx3336", 8 "marvell,prestera-98dx4251", 9 - reg: address and length of the register set for the device. 10 - interrupts: interrupt for the device 13 - dfx: phandle reference to the "DFX Server" node 18 compatible = "simple-bus"; 19 #address-cells = <1>; [all …]
|
H A D | hisilicon-femac.txt | 1 Hisilicon Fast Ethernet MAC controller 4 - compatible: should contain one of the following version strings: 5 * "hisilicon,hisi-femac-v1" 6 * "hisilicon,hisi-femac-v2" 7 and the soc string "hisilicon,hi3516cv300-femac". 8 - reg: specifies base physical address(s) and size of the device registers. 9 The first region is the MAC core register base and size. 10 The second region is the global MAC control register. 11 - interrupts: should contain the MAC interrupt. 12 - clocks: A phandle to the MAC main clock. [all …]
|
H A D | sunplus,sp7021-emac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/sunplus,sp7021-emac.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Sunplus SP7021 Dual Ethernet MAC 11 - Wells Lu <wellslutw@gmail.com> 14 Sunplus SP7021 dual 10M/100M Ethernet MAC controller. 19 const: sunplus,sp7021-emac 33 ethernet-ports: 39 "#address-cells": [all …]
|
H A D | qcom-emac.txt | 3 This network controller consists of two devices: a MAC and an SGMII 5 connects the MAC node to its corresponding internal phy node. Another 10 MAC node: 11 - compatible : Should be "qcom,fsm9900-emac". 12 - reg : Offset and length of the register regions for the device 13 - interrupts : Interrupt number used by this controller 14 - mac-address : The 6-byte MAC address. If present, it is the default 15 MAC address. 16 - internal-phy : phandle to the internal PHY node 17 - phy-handle : phandle to the external PHY node [all …]
|
/freebsd-src/sys/dev/igc/ |
H A D | igc_mac.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 13 * igc_init_mac_ops_generic - Initialize MAC function pointers 16 * Setups up the function pointers to no-op functions 20 struct igc_mac_info *mac = &hw->mac; in igc_init_mac_ops_generic() local 24 mac->ops.init_params = igc_null_ops_generic; in igc_init_mac_ops_generic() 25 mac->ops.config_collision_dist = igc_config_collision_dist_generic; in igc_init_mac_ops_generic() 26 mac->ops.rar_set = igc_rar_set_generic; in igc_init_mac_ops_generic() 30 * igc_null_ops_generic - No-op function, returns 0 40 * igc_null_mac_generic - No-op function, return void [all …]
|
/freebsd-src/sys/dev/e1000/ |
H A D | e1000_82542.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 55 * e1000_init_phy_params_82542 - Init PHY func ptrs. 60 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_82542() 65 phy->type = e1000_phy_none; in e1000_init_phy_params_82542() 71 * e1000_init_nvm_params_82542 - Init NVM func ptrs. 76 struct e1000_nvm_info *nvm = &hw->nvm; in e1000_init_nvm_params_82542() 80 nvm->address_bits = 6; in e1000_init_nvm_params_82542() 81 nvm->delay_usec = 50; in e1000_init_nvm_params_82542() 82 nvm->opcode_bits = 3; in e1000_init_nvm_params_82542() [all …]
|
H A D | e1000_mac.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 42 * e1000_init_mac_ops_generic - Initialize MAC function pointers 45 * Setups up the function pointers to no-op functions 49 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic() local 53 mac->ops.init_params = e1000_null_ops_generic; in e1000_init_mac_ops_generic() 54 mac->ops.init_hw = e1000_null_ops_generic; in e1000_init_mac_ops_generic() 55 mac->ops.reset_hw = e1000_null_ops_generic; in e1000_init_mac_ops_generic() 56 mac->ops.setup_physical_interface = e1000_null_ops_generic; in e1000_init_mac_ops_generic() 57 mac->ops.get_bus_info = e1000_null_ops_generic; in e1000_init_mac_ops_generic() [all …]
|
H A D | e1000_vf.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 56 * e1000_init_phy_params_vf - Inits PHY params 59 * Doesn't do much - there's no PHY available to the VF. 64 hw->phy.type = e1000_phy_vf; in e1000_init_phy_params_vf() 65 hw->phy.ops.acquire = e1000_acquire_vf; in e1000_init_phy_params_vf() 66 hw->phy.ops.release = e1000_release_vf; in e1000_init_phy_params_vf() 72 * e1000_init_nvm_params_vf - Inits NVM params 75 * Doesn't do much - there's no NVM available to the VF. 80 hw->nvm.type = e1000_nvm_none; in e1000_init_nvm_params_vf() [all …]
|
/freebsd-src/sys/dev/cas/ |
H A D | if_casreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 * from: FreeBSD: if_gemreg.h 174987 2007-12-30 01:32:03Z marius 54 #define CAS_BIM_BUF_ADDR 0x1024 /* BIM buffer address */ 84 * Bits 0-9 of CAS_STATUS auto-clear when read. CAS_CLEAR_ALIAS specifies 85 * which of bits 0-9 auto-clear when reading CAS_STATUS_ALIAS. 100 #define CAS_INTR_TX_MAC_INT 0x00004000 /* TX MAC interrupt */ 101 #define CAS_INTR_RX_MAC_INT 0x00008000 /* RX MAC interrupt */ 102 #define CAS_INTR_MAC_CTRL_INT 0x00010000 /* MAC control interrupt */ 116 #define CAS_BIM_CONF_BD64_DIS 0x00000004 /* 64-bit mode disable */ [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/nvmem/ |
H A D | brcm,nvram.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A9 20 - Rafał Miłecki <rafal@milecki.pl> 23 - $ref: nvmem.yaml# 38 description: First Ethernet interface's MAC address 40 "#nvmem-cell-cells": 41 description: The first argument is a MAC address offset. 47 description: Second Ethernet interface's MAC address [all …]
|
/freebsd-src/sys/dev/vte/ |
H A D | if_vtereg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 41 #define DEVICEID_RDC_R6040 0x6040 /* PMX-1000 */ 43 /* MAC control register 0 */ 59 /* MAC control register 1 */ 82 /* MAC bus control register */ 100 /* MAC TX interrupt control register */ 115 /* MAC RX interrupt control register */ 122 /* MAC TX poll command register */ 126 /* MAC RX buffer size register */ [all …]
|
/freebsd-src/sys/contrib/device-tree/src/mips/cavium-octeon/ |
H A D | octeon_3xxx.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * use. Because of this, it contains a super-set of the available 15 phy0: ethernet-phy@0 { 17 marvell,reg-init = 21 <3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */ 22 /* irq, blink-activity, blink-link */ 23 <3 0x10 0 0x0242>; /* Reg 3,16 <- 0x0242 */ 27 phy1: ethernet-phy@1 { 29 marvell,reg-init = 33 <3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */ [all …]
|
H A D | octeon_68xx.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 * use. Because of this, it contains a super-set of the available 11 compatible = "cavium,octeon-6880"; 12 #address-cells = <2>; 13 #size-cells = <2>; 14 interrupt-parent = <&ciu2>; 17 compatible = "simple-bus"; 18 #address-cells = <2>; 19 #size-cells = <2>; [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/nvmem/layouts/ |
H A D | kontron,sl28-vpd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/kontron,sl28-vpd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVMEM layout of the Kontron SMARC-sAL28 vital product data 10 - Michael Walle <michael@walle.cc> 14 number and a base MAC address. The actual MAC addresses for the 15 on-board ethernet devices are derived from this base MAC address by 22 const: kontron,sl28-vpd 24 serial-number: [all …]
|
/freebsd-src/share/man/man9/ |
H A D | ether_gen_addr.9 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 34 .Nd "generate an arbitrary MAC address for use" 46 function generates an arbitrary MAC address for use by an ethernet interface 47 that does not have an assigned address. 51 attempts to generate a stable MAC address using the hostid of the jail that 62 can fail to derive a MAC address due to memory allocation failure, or because 64 In these cases, a locally-administered unicast MAC address will be randomly 71 succeeds, then it will return a MAC address in the FreeBSD Foundation OUI,
|
/freebsd-src/sys/contrib/dev/athk/ |
H A D | hw.c | 23 #define REG_READ (common->ops->read) 24 #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) 27 * ath_hw_setbssidmask - filter out bssids we listen 32 * which bits of the interface's MAC address should be looked at when trying 36 * accept frames for all BSSes and so we tweak some bits of our mac address 44 * set of ~ ( MAC XOR BSSID ) for all bssids we handle. 48 * the MAC address to obtain the relevant bits and compare the result with 52 * BSSID-01 and BSSID-02. Lets assume BSSID-01 will not use the MAC address. 53 * There is another BSSID-03 but you are not part of it. For simplicity's sake, 54 * assuming only 4 bits for a mac address and for BSSIDs you can then have: [all …]
|