#
aa386085 |
| 28-Jun-2024 |
Zhenlei Huang <zlei@FreeBSD.org> |
net: Remove unneeded NULL check for the allocated ifnet
Change 4787572d0580 made if_alloc_domain() never fail, then also do the wrappers if_alloc(), if_alloc_dev(), and if_gethandle().
No functiona
net: Remove unneeded NULL check for the allocated ifnet
Change 4787572d0580 made if_alloc_domain() never fail, then also do the wrappers if_alloc(), if_alloc_dev(), and if_gethandle().
No functional change intended.
Reviewed by: kp, imp, glebius, stevek MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D45740
show more ...
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
685dc743 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
95ee2897 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
b9545c57 |
| 17-Aug-2022 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Mechanically convert vnic to IfAPI
Reviewed by: zlei Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37827
|
Revision tags: release/13.1.0 |
|
#
94412ad7 |
| 09-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
vnic: Remove unused devclass arguments to DRIVER_MODULE.
|
#
21653635 |
| 14-Apr-2022 |
John Baldwin <jhb@FreeBSD.org> |
vnic: Use __diagused for variables only used in KASSERT().
|
Revision tags: release/12.3.0 |
|
#
c007408c |
| 27-Jul-2021 |
Andrew Turner <andrew@FreeBSD.org> |
Fix the spelling of '*/' in the vnic driver
Sponsored by: The FreeBSD Foundation
|
#
941650aa |
| 27-Jul-2021 |
Ed Maste <emaste@FreeBSD.org> |
vnic: add TODO list item for non-promisc mode
Also drop ARM64TODO comments; this is an issue with this specific driver, not a general arm64 issue.
PR: 223575
|
Revision tags: release/13.0.0, release/12.2.0 |
|
#
78ee2406 |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
vnic: clean up empty lines in .c and .h files
|
Revision tags: release/11.4.0, release/12.1.0 |
|
#
c5c3ba6b |
| 03-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351317 through r351731.
|
#
73f4b4eb |
| 01-Sep-2019 |
Ed Maste <emaste@FreeBSD.org> |
vnic: correct and simplify SIOCSIFFLAGS
PR: 223573, 223575 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D13028
|
Revision tags: release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
4fc74049 |
| 29-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r327169 through r327340.
|
#
151ba793 |
| 25-Dec-2017 |
Alexander Kabaev <kan@FreeBSD.org> |
Do pass removing some write-only variables from the kernel.
This reduces noise when kernel is compiled by newer GCC versions, such as one used by external toolchain ports.
Reviewed by: kib, andrew(
Do pass removing some write-only variables from the kernel.
This reduces noise when kernel is compiled by newer GCC versions, such as one used by external toolchain ports.
Reviewed by: kib, andrew(sys/arm and sys/arm64), emaste(partial), erj(partial) Reviewed by: jhb (sys/dev/pci/* sys/kern/vfs_aio.c and sys/kern/kern_synch.c) Differential Revision: https://reviews.freebsd.org/D10385
show more ...
|
#
55b1c6e7 |
| 15-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325663 through r325841.
|
#
3bfef74a |
| 14-Nov-2017 |
Ed Maste <emaste@FreeBSD.org> |
vnic: report that the driver supports multicast
The driver is currently hardcoded to force promiscuous mode, so all of the MAC filtering code is presently unused and multicast should "just work." R
vnic: report that the driver supports multicast
The driver is currently hardcoded to force promiscuous mode, so all of the MAC filtering code is presently unused and multicast should "just work." Report to the higher layers that multicast is supported.
PR: 223573 Reported by: bz Sponsored by: The FreeBSD Foundation, Packet.net (hardware)
show more ...
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
9b3ece1c |
| 04-Feb-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r313243
|
#
71fe94fd |
| 01-Feb-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r312968 through r313054.
|
#
d0b2cad1 |
| 31-Jan-2017 |
Stephen J. Kiernan <stevek@FreeBSD.org> |
Add the folowing set accessor functions for recently-added members of ifnet structure:
if_gethwtsomax(), if_sethwtsomax() - if_hw_tsomax if_gethwtsomaxsegcount(), if_sethwtsomaxsegco
Add the folowing set accessor functions for recently-added members of ifnet structure:
if_gethwtsomax(), if_sethwtsomax() - if_hw_tsomax if_gethwtsomaxsegcount(), if_sethwtsomaxsegcount() - if_hw_tsomaxsegcount if_gethwtsomaxsegsize(), if_sethwtsomaxsegsize() - if_hw_tsomaxsegsize
Update em and vnic drivers which had already been coverted to use accessor functions for the other ifnet structure members.
Reviewed by: erj Approved by: sjg (mentor) Obtained from: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D8544
show more ...
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
f4aafb9e |
| 20-May-2016 |
Wojciech Macek <wma@FreeBSD.org> |
Allow building VNIC as a module
Add directory structure and fix dependencies to be able to build and use Cavium VNIC driver as a module.
Reviewed by: zbb Obtained from: Semihalf Sponsored by: Caviu
Allow building VNIC as a module
Add directory structure and fix dependencies to be able to build and use Cavium VNIC driver as a module.
Reviewed by: zbb Obtained from: Semihalf Sponsored by: Cavium Differential Revision: https://reviews.freebsd.org/D6345
show more ...
|
#
0ef477ea |
| 11-May-2016 |
Zbigniew Bodek <zbb@FreeBSD.org> |
Add support for MTU chaning and Jumbo frames to VNIC
Enable previously added code for MTU handling (based on Cavium 1.0 driver released on BSD license). This commit enables possibility to change MTU
Add support for MTU chaning and Jumbo frames to VNIC
Enable previously added code for MTU handling (based on Cavium 1.0 driver released on BSD license). This commit enables possibility to change MTU on VNIC driver.
Obtained from: Semihalf Sponsored by: Cavium
show more ...
|
#
8191a879 |
| 11-May-2016 |
Zbigniew Bodek <zbb@FreeBSD.org> |
Add HW RSS support to VNIC driver
Based on v1.0 driver provided by Cavium under BSD license. Support in-hardware RSS to distribute IP, UDP and TCP traffic among available RX Queues and hence multipl
Add HW RSS support to VNIC driver
Based on v1.0 driver provided by Cavium under BSD license. Support in-hardware RSS to distribute IP, UDP and TCP traffic among available RX Queues and hence multiple CPUs.
Reviewed by: wma Obtained from: Semihalf Sponsored by: Cavium Differential Revision: https://reviews.freebsd.org/D6230
show more ...
|
#
ec6f8f42 |
| 11-May-2016 |
Zbigniew Bodek <zbb@FreeBSD.org> |
Bind CQ interrupts and tasks to separate CPUs in VNIC
Delegate interrupts and completion tasks on separate CPUs for each VNIC.
Reviewed by: wma Obtained from: Semihalf Sponsored by: Cavium Differen
Bind CQ interrupts and tasks to separate CPUs in VNIC
Delegate interrupts and completion tasks on separate CPUs for each VNIC.
Reviewed by: wma Obtained from: Semihalf Sponsored by: Cavium Differential Revision: https://reviews.freebsd.org/D6229
show more ...
|
#
d6084013 |
| 05-Apr-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
36a947e9 |
| 31-Mar-2016 |
Zbigniew Bodek <zbb@FreeBSD.org> |
Don't omit m_dup() for non-writeable mbufs that need checksum calculation
If the driver is not active or link is down the packet could remain non-writeable. This commit makes all mbufs enqueued to t
Don't omit m_dup() for non-writeable mbufs that need checksum calculation
If the driver is not active or link is down the packet could remain non-writeable. This commit makes all mbufs enqueued to the driver's ring buffer to have correct attributes.
Pointed out by: wma Reviewed by: wma Obtained from: Semihalf Sponsored by: Cavium Differential Revision: https://reviews.freebsd.org/D5800
show more ...
|
#
7c617ace |
| 31-Mar-2016 |
Zbigniew Bodek <zbb@FreeBSD.org> |
Improve TX path of the VNIC driver
- Avoid memory leak when nicvf_tx_mbuf_locked() fails - Introduce nicvf_xmit_locked() routine that uses drbr_peek(), drbr_advance() or drbr_putback() for a speci
Improve TX path of the VNIC driver
- Avoid memory leak when nicvf_tx_mbuf_locked() fails - Introduce nicvf_xmit_locked() routine that uses drbr_peek(), drbr_advance() or drbr_putback() for a specific ifnet. This gives more clear and efficient design as well as prevents from dropping mbufs that where not sent due to temporary lack of descriptors. - Add missing ETHER_BPF_MTAP() hook
Pointed out by: yongari Reviewed by: wma Obtained from: Semihalf Sponsored by: Cavium Differential Revision: https://reviews.freebsd.org/D5534
show more ...
|