/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_dsa.c | 34 int prestera_dsa_parse(struct prestera_dsa *dsa, const u8 *dsa_buf) in prestera_dsa_parse() argument 62 dsa->vlan.is_tagged = FIELD_GET(PRESTERA_DSA_W0_IS_TAGGED, words[0]); in prestera_dsa_parse() 63 dsa->vlan.cfi_bit = FIELD_GET(PRESTERA_DSA_W1_CFI_BIT, words[1]); in prestera_dsa_parse() 64 dsa->vlan.vpt = FIELD_GET(PRESTERA_DSA_W0_VPT, words[0]); in prestera_dsa_parse() 65 dsa->vlan.vid = FIELD_GET(PRESTERA_DSA_W0_VID, words[0]); in prestera_dsa_parse() 66 dsa->vlan.vid &= ~PRESTERA_DSA_VID; in prestera_dsa_parse() 67 dsa->vlan.vid |= FIELD_PREP(PRESTERA_DSA_VID, field); in prestera_dsa_parse() 71 dsa->hw_dev_num = FIELD_GET(PRESTERA_DSA_W0_DEV_NUM, words[0]); in prestera_dsa_parse() 72 dsa->hw_dev_num |= FIELD_PREP(PRESTERA_DSA_DEV_NUM, field); in prestera_dsa_parse() 74 dsa->port_num = (FIELD_GET(PRESTERA_DSA_W0_PORT_NUM, words[0]) << 0) | in prestera_dsa_parse() [all …]
|
H A D | prestera_rxtx.c | 216 struct prestera_dsa dsa; in prestera_rxtx_process_skb() local 224 err = prestera_dsa_parse(&dsa, skb->data - ETH_TLEN); in prestera_rxtx_process_skb() 228 dev_id = dsa.hw_dev_num; in prestera_rxtx_process_skb() 229 hw_port = dsa.port_num; in prestera_rxtx_process_skb() 251 if (dsa.vlan.is_tagged) { in prestera_rxtx_process_skb() 252 u16 tci = dsa.vlan.vid & VLAN_VID_MASK; in prestera_rxtx_process_skb() 254 tci |= dsa.vlan.vpt << VLAN_PRIO_SHIFT; in prestera_rxtx_process_skb() 255 if (dsa.vlan.cfi_bit) in prestera_rxtx_process_skb() 261 cpu_code = dsa.cpu_code; in prestera_rxtx_process_skb() 814 struct prestera_dsa dsa; in prestera_rxtx_xmit() local [all …]
|
H A D | prestera_dsa.h | 33 int prestera_dsa_parse(struct prestera_dsa *dsa, const u8 *dsa_buf); 34 int prestera_dsa_build(const struct prestera_dsa *dsa, u8 *dsa_buf);
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | brcm,bcm7445-switch-v4.0.txt | 3 See dsa/brcm,bcm7445-switch-v4.0.yaml for the documentation. 7 - dsa,mii-bus: phandle to the MDIO bus controller, see dsa/dsa.txt 8 - dsa,ethernet: phandle to the CPU network interface controller, see dsa/dsa.txt 9 - #address-cells: must be 2, see dsa/dsa.txt
|
H A D | hisilicon-hns-dsaf.txt | 7 - mode: dsa fabric mode string. only support one of dsaf modes like these: 21 The fourth region is dsa fabric base register and size. It is not required for 58 dsaf0: dsa@c7000000 {
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw1.h | 272 RADDR_1 (dsa), 275 RADDR_1 (dsa), 332 RADDR_1 (dsa), 672 RADDR_1 (dsa), 718 RADDR_1 (dsa), 824 RADDR_1 (dsa), 861 SCR_LOAD_REG (dsa, 0xff), 899 RADDR_1 (dsa), 900 SCR_SFBR_REG (dsa, SCR_SHL, 0), 902 SCR_REG_REG (dsa, SCR_SHL, 0), [all …]
|
H A D | sym_fw2.h | 244 SCR_LOAD_ABS (dsa, 4), 251 SCR_LOAD_REL (dsa, 4), 691 SCR_STORE_ABS (dsa, 4), 693 SCR_LOAD_ABS (dsa, 4), 824 SCR_LOAD_REG (dsa, 0xff), 859 SCR_LOAD_ABS (dsa, 4), 861 SCR_SFBR_REG (dsa, SCR_SHL, 0), 863 SCR_REG_REG (dsa, SCR_SHL, 0), 865 SCR_REG_REG (dsa, SCR_AND, 0x3c), 867 SCR_LOAD_REL (dsa, 4), [all …]
|
H A D | sym_hipd.h | 297 #define CCB_HASH_CODE(dsa) \ argument 298 (((dsa) >> (_LGRU16_(sizeof(struct sym_ccb)))) & CCB_HASH_MASK) 300 #define CCB_HASH_CODE(dsa) (((dsa) >> 9) & CCB_HASH_MASK) argument
|
/linux/drivers/net/dsa/ |
H A D | Kconfig | 5 source "drivers/net/dsa/b53/Kconfig" 27 source "drivers/net/dsa/hirschmann/Kconfig" 78 source "drivers/net/dsa/microchip/Kconfig" 80 source "drivers/net/dsa/mv88e6xxx/Kconfig" 82 source "drivers/net/dsa/ocelot/Kconfig" 84 source "drivers/net/dsa/qca/Kconfig" 86 source "drivers/net/dsa/sja1105/Kconfig" 88 source "drivers/net/dsa/xrs700x/Kconfig" 90 source "drivers/net/dsa/realtek/Kconfig"
|
/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vf610-zii-dev-rev-b.dts | 35 dsa,member = <0 0>; 66 label = "dsa"; 119 dsa,member = <0 1>; 150 label = "dsa"; 162 label = "dsa"; 204 dsa,member = <0 2>; 256 label = "dsa";
|
H A D | vf610-zii-scu4-aib.dts | 53 dsa,member = <0 0>; 113 label = "dsa"; 136 dsa,member = <0 1>; 160 label = "dsa"; 173 label = "dsa"; 194 dsa,member = <0 2>; 259 label = "dsa"; 282 dsa,member = <0 3>; 315 label = "dsa"; 327 label = "dsa";
|
H A D | vf610-zii-dev-rev-c.dts | 34 dsa,member = <0 0>; 82 label = "dsa"; 134 dsa,member = <0 1>; 179 label = "dsa";
|
/linux/Documentation/networking/dsa/ |
H A D | b53.rst | 16 The driver is located in ``drivers/net/dsa/b53/`` and is implemented as a 17 DSA driver; see ``Documentation/networking/dsa/dsa.rst`` for details on the 24 ``net/dsa/tag_brcm.c``. 30 configuration described in the :ref:`dsa-config-showcases`. 38 See :ref:`dsa-tagged-configuration`. 48 The configuration slightly differ from the :ref:`dsa-vlan-configuration`. 54 In difference to the configuration described in :ref:`dsa-vlan-configuration`
|
H A D | lan9303.rst | 13 The driver is implemented as a DSA driver, see ``Documentation/networking/dsa/dsa.rst``. 15 See ``Documentation/devicetree/bindings/net/dsa/lan9303.txt`` for device tree
|
H A D | bcm_sf2.rst | 41 The driver is located in ``drivers/net/dsa/bcm_sf2.c`` and is implemented as a DSA 42 driver; see ``Documentation/networking/dsa/dsa.rst`` for details on the subsystem 49 ``net/dsa/tag_brcm.c``. 58 provided in ``net/dsa/dsa.c``. The reason for that is because the DSA subsystem gets
|
H A D | configuration.rst | 395 DSA uses the ``rtnl_link_ops`` mechanism (with a "dsa" ``kind``) to allow 409 dsa master eth0 412 ip link set swp0 type dsa master eth1 413 ip link set swp1 type dsa master eth0 414 ip link set swp2 type dsa master eth1 415 ip link set swp3 type dsa master eth0 420 ip link set swp0 type dsa master bond0 421 ip link set swp1 type dsa master bond0 422 ip link set swp2 type dsa master bond0 423 ip link set swp3 type dsa master bond0 [all …]
|
H A D | index.rst | 8 dsa
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-event_source-devices-dsa | 1 What: /sys/bus/event_source/devices/dsa*/format 24 What: /sys/bus/event_source/devices/dsa*/cpumask 29 IDXD DSA pmu is bound for access to all dsa pmu
|
H A D | sysfs-class-net-dsa | 1 What: /sys/class/net/<iface>/dsa/tagging
|
/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | dsa.txt | 4 See Documentation/devicetree/bindings/net/dsa/dsa.yaml for the documentation.
|
H A D | lan9303.txt | 19 described in dsa/dsa.txt. The CPU port of this switch is always port 0.
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-3720-turris-mox.dts | 315 dsa,member = <0 0>; 419 label = "dsa"; 441 dsa,member = <0 0>; 509 dsa,member = <0 1>; 605 label = "dsa"; 613 label = "dsa"; 635 dsa,member = <0 1>; 691 label = "dsa"; 703 dsa,member = <0 2>; 799 label = "dsa"; [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm958625-meraki-alamo.dtsi | 111 dsa,member = <1 0>; 189 dsa,member = <2 0>; 244 dsa,member = <0 0>;
|
H A D | bcm47094-asus-rt-ac88u.dts | 26 dsa,member = <1 0>; 111 dsa,member = <0 0>;
|
H A D | bcm47094-linksys-panamera.dts | 147 dsa,member = <1 0>; 207 dsa,member = <0 0>;
|