| #
cc792250
|
| 11-Oct-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: add three skeleton functions to etherdevice.h
We will see how much we will need them and how to fill them at that point. They are left with a pr_debug("TODO") for now.
MFC after: 3 days
LinuxKPI: add three skeleton functions to etherdevice.h
We will see how much we will need them and how to fill them at that point. They are left with a pr_debug("TODO") for now.
MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D53204
show more ...
|
| #
a4618caa
|
| 03-May-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: add is_unicast_ether_addr()
Needed by mediatek/mt76 wireless driver.
While here adjust the way is_multicast_ether_addr() is implemented to not look weird. [1]
Sponsored by: The FreeBSD F
LinuxKPI: add is_unicast_ether_addr()
Needed by mediatek/mt76 wireless driver.
While here adjust the way is_multicast_ether_addr() is implemented to not look weird. [1]
Sponsored by: The FreeBSD Foundation Suggested by: emaste [1] MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D50152
show more ...
|
| #
a1295b24
|
| 08-Aug-2024 |
Ed Maste <emaste@FreeBSD.org> |
linuxkpi: use canonical tests for is_{zero,broadcast}_ether_addr
They are functionally equivalent, but the updated form mirrors the tests in sys/net/ethernet.h and avoids confusion.
Reviewed by: ki
linuxkpi: use canonical tests for is_{zero,broadcast}_ether_addr
They are functionally equivalent, but the updated form mirrors the tests in sys/net/ethernet.h and avoids confusion.
Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21037
show more ...
|
| #
95ee2897
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
3cd6d6ff
|
| 09-Feb-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: add eth_random_addr() and device_get_mac_address()
Add eth_random_addr() and a dummy of device_get_mac_address() pending OF (FDT) support needed by drivers.
While here remove a white spac
LinuxKPI: add eth_random_addr() and device_get_mac_address()
Add eth_random_addr() and a dummy of device_get_mac_address() pending OF (FDT) support needed by drivers.
While here remove a white space in random_ether_addr().
MFC after: 3 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D34228
show more ...
|
| #
307f78f3
|
| 19-Dec-2021 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards
MFC after: 1 week Reviewed by: bz, emaste, hselasky, manu Differential Revision: https://reviews.freebsd.org/D33562
|
| #
834227ba
|
| 24-May-2021 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: add ether_addr_equal_unaligned()
Replace the implementation for ether_addr_equal() with ether_addr_equal_unaligned() and add a define for ether_addr_equal() pointing to the now ether_addr_
LinuxKPI: add ether_addr_equal_unaligned()
Replace the implementation for ether_addr_equal() with ether_addr_equal_unaligned() and add a define for ether_addr_equal() pointing to the now ether_addr_equal_unaligned() implementation. This way ether_addr_equal_unaligned() cannot be broken by accident [1].
Suggested by: emaste [1] Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D30425
show more ...
|
| #
9a696dc6
|
| 04-Apr-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead@r345880
|
| #
a8a16c71
|
| 04-Apr-2019 |
Conrad Meyer <cem@FreeBSD.org> |
Replace read_random(9) with more appropriate arc4rand(9) KPIs
Reviewed by: ae, delphij Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D19760
|
| #
cc792250
|
| 11-Oct-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: add three skeleton functions to etherdevice.h
We will see how much we will need them and how to fill them at that point. They are left with a pr_debug("TODO") for now.
MFC after: 3 days
LinuxKPI: add three skeleton functions to etherdevice.h
We will see how much we will need them and how to fill them at that point. They are left with a pr_debug("TODO") for now.
MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D53204
show more ...
|
| #
a4618caa
|
| 03-May-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: add is_unicast_ether_addr()
Needed by mediatek/mt76 wireless driver.
While here adjust the way is_multicast_ether_addr() is implemented to not look weird. [1]
Sponsored by: The FreeBSD F
LinuxKPI: add is_unicast_ether_addr()
Needed by mediatek/mt76 wireless driver.
While here adjust the way is_multicast_ether_addr() is implemented to not look weird. [1]
Sponsored by: The FreeBSD Foundation Suggested by: emaste [1] MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D50152
show more ...
|
| #
a1295b24
|
| 08-Aug-2024 |
Ed Maste <emaste@FreeBSD.org> |
linuxkpi: use canonical tests for is_{zero,broadcast}_ether_addr
They are functionally equivalent, but the updated form mirrors the tests in sys/net/ethernet.h and avoids confusion.
Reviewed by: ki
linuxkpi: use canonical tests for is_{zero,broadcast}_ether_addr
They are functionally equivalent, but the updated form mirrors the tests in sys/net/ethernet.h and avoids confusion.
Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21037
show more ...
|
| #
95ee2897
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
3cd6d6ff
|
| 09-Feb-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: add eth_random_addr() and device_get_mac_address()
Add eth_random_addr() and a dummy of device_get_mac_address() pending OF (FDT) support needed by drivers.
While here remove a white spac
LinuxKPI: add eth_random_addr() and device_get_mac_address()
Add eth_random_addr() and a dummy of device_get_mac_address() pending OF (FDT) support needed by drivers.
While here remove a white space in random_ether_addr().
MFC after: 3 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D34228
show more ...
|
| #
307f78f3
|
| 19-Dec-2021 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards
MFC after: 1 week Reviewed by: bz, emaste, hselasky, manu Differential Revision: https://reviews.freebsd.org/D33562
|
| #
834227ba
|
| 24-May-2021 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: add ether_addr_equal_unaligned()
Replace the implementation for ether_addr_equal() with ether_addr_equal_unaligned() and add a define for ether_addr_equal() pointing to the now ether_addr_
LinuxKPI: add ether_addr_equal_unaligned()
Replace the implementation for ether_addr_equal() with ether_addr_equal_unaligned() and add a define for ether_addr_equal() pointing to the now ether_addr_equal_unaligned() implementation. This way ether_addr_equal_unaligned() cannot be broken by accident [1].
Suggested by: emaste [1] Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D30425
show more ...
|
| #
9a696dc6
|
| 04-Apr-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead@r345880
|
| #
a8a16c71
|
| 04-Apr-2019 |
Conrad Meyer <cem@FreeBSD.org> |
Replace read_random(9) with more appropriate arc4rand(9) KPIs
Reviewed by: ae, delphij Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D19760
|
| #
83630517
|
| 23-Mar-2018 |
Ed Maste <emaste@FreeBSD.org> |
linuxkpi whitespace cleanup
Reviewed by: hselasky, markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D14807
|
| #
0e3bbe91
|
| 08-Mar-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Implement eth_zero_addr() in the LinuxKPI.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
d8571d3e
|
| 07-Jun-2016 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Fallback to arc4rand() in the LinuxKPI when read_random() returns zero. This can happen for virtual machines.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
510ebed7
|
| 03-Mar-2016 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add more functions to the LinuxKPI.
Define strnicmp as a function macro instead of a regular macro while at it.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
e6ef991e
|
| 26-Jan-2016 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Implement ether_addr_equal(), ether_addr_equal_64bits() and random_ether_addr() for the LinuxKPI.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
f837e46d
|
| 03-Dec-2015 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add some structures and defines which will be used when decoding small form factor, SFF, standards compliant ethernet EEPROMs.
MFC after: 1 week Obtained from: Linux Sponsored by: Mellanox Technolog
Add some structures and defines which will be used when decoding small form factor, SFF, standards compliant ethernet EEPROMs.
MFC after: 1 week Obtained from: Linux Sponsored by: Mellanox Technologies
show more ...
|
| #
8d59ecb2
|
| 29-Oct-2015 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Finish process of moving the LinuxKPI module into the default kernel build.
- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders. - Update sys/conf/files and some M
Finish process of moving the LinuxKPI module into the default kernel build.
- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders. - Update sys/conf/files and some Makefiles to use new file locations. - Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn adds the LinuxKPI to all LINT builds. - The LinuxKPI can be added to the kernel by setting the COMPAT_LINUXKPI option. The OFED kernel option no longer builds the LinuxKPI into the kernel. This was done to keep the build rules for the LinuxKPI in sys/conf/files simple. - Extend the LinuxKPI module to include support for USB by moving the Linux USB compat from usb.ko to linuxkpi.ko. - Bump the FreeBSD_version. - A universe kernel build has been done.
Reviewed by: np @ (cxgb and cxgbe related changes only) Sponsored by: Mellanox Technologies
show more ...
|