Commit graph

9 commits

Author SHA1 Message Date
Justin Hibbits
d98887c2f6 IfAPI: Retire if_etherbpfmtap() and if_bpfmtap()
Summary:
These came in the original DrvAPI commits in 2014, and are obsoleted by
bpf_mtap_if() and ether_bpf_mtap_if().  The `_if` suffix, rather than
prefix, conveys that it's operating on the bpf of the interface, instead
than the interface itself.

Reviewed by:	glebius
Sponsored by:	Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D41146

(cherry picked from commit 2a3716432d209c5fef1eb1a719f4c1914e7c8b5a)
2025-09-08 10:26:04 +02:00
Emmanuel Vadot
91badda4a2 eqos: Call init earlier
Call the subclassed IF_EQOS_INIT before trying to read the mac, clocks
and reset needs to dealt with before we can read the registers.

(cherry picked from commit bd0771390ef532ce0ae3f39350acd540125e5620)
2024-06-05 10:16:33 +02:00
Emmanuel Vadot
0181a0e67c eqos: Unbreak fdt support
We need to enable the clocks and deassert the resets for eqos to work
correctly.

(cherry picked from commit 22029445cbef0ffc71196a6f38cee4738e9a6d0f)
2024-06-05 10:16:33 +02:00
Emmanuel Vadot
7c2a21107d eqos: Remove extra x in printf
No functional changes intended.

(cherry picked from commit 96812bd10b42294dbcd5ebe6dc006569ba85887c)
2024-06-05 10:16:33 +02:00
Gordon Bergling
adac86cd7b if_eqos: Fix a typo in a kernel error message
- s/errer/error/

(cherry picked from commit 551921a757758353af51cd0283e9e4bcee9a84d2)
2024-02-17 21:30:23 +01:00
Warner Losh
4d846d260e spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix
2023-05-12 10:44:03 -06:00
Justin Hibbits
a472fd7a57 eqos: Mechanically convert to IfAPI
Reviewed by:	zlei
Sponsored by:	Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D38963
2023-03-08 10:18:16 -05:00
Søren Schmidt
5ba0691da9 Rename left off of eqos to if_eqos accordingly. 2022-12-23 05:28:50 +00:00
Søren Schmidt
702b53dd2a Add initial support for the RK356X SOC Ethernet QoS controller (DesignWare)
Eqos driver works in all combinations of single/double ports with different layout.
2022-12-22 03:38:10 +00:00