Home
last modified time | relevance | path

Searched +full:dsa +full:- +full:master +full:- +full:port (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Ddsa.h4 * SPDX-License-Identifier: Apache-2.0
8 * @brief DSA definitions and handlers
18 * @brief DSA definitions and helpers
19 * @defgroup DSA Distributed Switch Architecture definitions and helpers
32 * Size of the DSA TAG:
33 * - KSZ8794 - 1 byte
48 * @brief DSA generic transmit function
50 * This is a generic function for passing packets from slave DSA interface to
51 * master.
57 * - 0 if ok (packet sent via master iface), < 0 if error
[all …]
Dethernet.h10 * SPDX-License-Identifier: Apache-2.0
30 #include <zephyr/net/dsa.h>
128 * Extend the max frame size for DSA (KSZ8794) by one byte (to 1519) to
172 /** IEEE 802.1Qav (credit-based shaping) supported */
190 /** DSA switch slave port */
193 /** DSA switch master port */
205 /** TX-Injection supported */
258 * 10Base-T1S standard.
271 * compliant vendor (like for e.g. LAN865x - e.g. [2]).
274 * [1] - "OPEN Alliance 10BASE-T1x MAC-PHY Serial
[all …]
/Zephyr-latest/dts/bindings/dsa/
Dmicrochip_dsa.yaml2 # SPDX-License-Identifier: Apache-2.0
5 DSA Device
7 include: [spi-device.yaml]
9 dsa-master-port:
11 description: Phandle to master port.
12 dsa-slave-ports:
15 reset-gpios:
16 type: phandle-array
20 child-binding:
21 description: Properties of slave port
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/dsa/
Ddsa.c2 * @brief DSA related functions
8 * SPDX-License-Identifier: Apache-2.0
20 #include <zephyr/net/dsa.h>
23 * Store, in the ethernet_context for master interface, the original
30 ctx->dsa_send = fn; in dsa_register_master_tx()
56 * RECEIVE HANDLING CODE - ingress (ETH -> DSA slave ports)
62 return -ENOENT; in dsa_check_iface()
67 return -ESRCH; in dsa_check_iface()
86 ctx->dsa_recv_cb = cb; in dsa_register_recv_callback()
104 ctx = c->dsa_ctx; in dsa_net_recv()
[all …]
/Zephyr-latest/subsys/net/ip/
Dpacket_socket.c8 * SPDX-License-Identifier: Apache-2.0
18 #include <zephyr/net/dsa.h>
30 * For DSA the master port is not supporting raw packets. Only the in net_packet_socket_input()
/Zephyr-latest/samples/net/dsa/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/net/dsa.h>
23 if (ifaces->master == NULL) { in iface_cb()
24 ifaces->master = iface; in iface_cb()
27 for (int i = 0; i < ARRAY_SIZE(ifaces->lan); i++) { in iface_cb()
35 ifaces->lan[i] = slave; in iface_cb()
43 /* MAC address of other device - for filtering testing */
54 lladst.len = sizeof(hdr->dst.addr); in dsa_ll_addr_switch_cb()
55 lladst.addr = &hdr->dst.addr[0]; in dsa_ll_addr_switch_cb()
74 pd->sock = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in start_slave_port_packet_socket()
[all …]
/Zephyr-latest/boards/segger/ip_k66f/
Dip_k66f.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
11 #include "ip_k66f-pinctrl.dtsi"
20 dsa-spi = &spi1;
26 zephyr,code-partition = &slot0_partition;
30 compatible = "gpio-leds";
44 clock-frequency = <120000000>;
48 pllfll-select = <KINETIS_SIM_PLLFLLSEL_MCGPLLCLK>;
49 er32k-select = <KINETIS_SIM_ER32KSEL_RTC>;
52 clock-div = <3>;
[all …]
Dlinker.ld4 * SPDX-License-Identifier: Apache-2.0
20 * eth0 is the "master" port for the DSA switch and hence shall be
22 * internally '_net_if_list_start[index - 1]' linker generated symbol).
27 * If ip_k66f have had eth1 interface - it shall be placed afterwards
30 * interfaces created in tests/samples - like e.g. _net_if.static.eth_test)
/Zephyr-latest/drivers/ethernet/
Ddsa_ksz8xxx.c4 * SPDX-License-Identifier: Apache-2.0
7 #define LOG_MODULE_NAME dsa
45 #define PRV_DATA(ctx) ((struct ksz8xxx_data *const)(ctx)->prv_data)
66 spi_write_dt(&pdev->spi, &tx); in dsa_ksz8xxx_write_reg()
98 if (!spi_transceive_dt(&pdev->spi, &tx, &rx)) { in dsa_ksz8xxx_read_reg()
108 uint8_t port) in dsa_ksz8xxx_port_link_status() argument
112 if (port < KSZ8XXX_FIRST_PORT || port > KSZ8XXX_LAST_PORT || in dsa_ksz8xxx_port_link_status()
113 port == KSZ8XXX_CPU_PORT) { in dsa_ksz8xxx_port_link_status()
117 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_STAT2_PORTn(port), &tmp); in dsa_ksz8xxx_port_link_status()
139 * Wait for SPI of KSZ8794 being fully operational - up to 10 ms in dsa_ksz8xxx_probe()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-1.6.rst7 release introduces the unified Kernel replacing the separate nano- and
8 micro-kernels and simplifying the overall Zephyr architecture and programming
10 Support for the ARM Cortex-M0/M0+ family was added and board support for
11 Cortex-M was expanded.
22 * Added support for several ARM Cortex-M boards
34 * Added DLIST to operate in all elements of a doubly-linked list.
52 * ARM: Added support for ARM Cortex-M0/M0+.
55 * x86: Changed IRQ controller to return -1 if cannot determine source vector.
77 * SPI: Fixed typos in SPI port numbers.
99 * Added raw HCI API to enable physical HCI transport for a Controller-only build.
[all …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]
Drelease-notes-2.2.rst18 * Fix CVE-2020-10028
19 * Fix CVE-2020-10060
20 * Fix CVE-2020-10063
21 * Fix CVE-2020-10066
32 * :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disa…
33 * :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or …
34 * :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong
35 * :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up
36 * :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence
37 * :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection…
[all …]
Drelease-notes-3.6.rst12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications.
13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`.
16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2.
23 * Over 30 new supported boards, spanning all Zephyr-supported architectures.
37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47
38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_
40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc
41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_
43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw
44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_
[all …]
Drelease-notes-3.7.rst10 This release is the last non-maintenance 3.x release and, as such, will be the next
18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API,
21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017
25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio
29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and
35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr.
39 1588) allows to synchronize time across devices with sub-microsecond accuracy.
52 * 1-Wire
71 :ref:`pinctrl-guide` for more details.
88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Diface.c5 * SPDX-License-Identifier: Apache-2.0
57 EC(ETHERNET_DSA_SLAVE_PORT, "DSA slave port"),
58 EC(ETHERNET_DSA_MASTER_PORT, "DSA master port"),
60 EC(ETHERNET_TXINJECTION_MODE, "TX-Injection supported"),
94 PR("%s-duplex\n", PHY_LINK_IS_FULL_DUPLEX(link.speed) ? "full" : "half"); in print_phy_link_state()
107 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
112 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
117 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
120 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
125 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str()
[all …]