FreeBSD/src 28497d1sys/dev/bnxt bnxt_mgmt.c bnxt_mgmt.h, sys/modules/bnxt Makefile

if_bnxt: Added support for mgmt interface for passthrough hwrms

Added support for application management interface. There are two types of commands supported:

1. Firmware IOCTLs: These ioctls are meant for firmware
   consumption. Driver acts as a transport for these.
2. Driver only IOCTLs: These ioctls are meant for driver
   consumption. Driver will serve these ioctls without sending them down
   to firmware.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36448

(cherry picked from commit 58d84ef87094691bf1ad9608964ec85f120cd34a)
DeltaFile
+373-0sys/dev/bnxt/bnxt_mgmt.c
+126-0sys/dev/bnxt/bnxt_mgmt.h
+42-1sys/dev/bnxt/if_bnxt.c
+32-3sys/dev/bnxt/bnxt_hwrm.c
+13-0sys/dev/bnxt/bnxt.h
+3-2sys/modules/bnxt/Makefile
+589-62 files not shown
+592-68 files

FreeBSD/src 74eacabsys/dev/bnxt bnxt_hwrm.c bnxt_hwrm.h

if_bnxt: Add support for smaller backing_store_cfg message size

Add compat logic to fallback to the older/smaller backing_store_cfg
message size.

Reviewed by: imp
Differentil Revision: https://reviews.freebsd.org/D36447

(cherry picked from commit 2ed061f08d9e2fe35bb8ff925cc19768d2430e77)
DeltaFile
+6-2sys/dev/bnxt/bnxt_hwrm.c
+1-0sys/dev/bnxt/bnxt_hwrm.h
+7-22 files

FreeBSD/src ef55d4asys/dev/bnxt bnxt_hwrm.c

if_bnxt: Fix the PORT_PHY_CFG HWRM requests while setting Pause

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36446

(cherry picked from commit 19a57f85baac915a3642733c8a856517f4e95cb3)
DeltaFile
+3-0sys/dev/bnxt/bnxt_hwrm.c
+3-01 files

FreeBSD/src 5fe5b15sys/dev/bnxt bnxt_sysctl.c bnxt.h

if_bnxt: Remove sysctl node vlan_only which is not being used

Removed sysctl node vlan_only which is not being used after migrating
from l2_set_rx_mask to l2_filter_alloc.

Reviewed by: imp
Differential Revsion: https://reviews.freebsd.org/D36444

(cherry picked from commit 72e9dbb58cad5262190cf2eae47f764021072128)
DeltaFile
+1-37sys/dev/bnxt/bnxt_sysctl.c
+0-1sys/dev/bnxt/bnxt.h
+1-382 files

FreeBSD/src 9142a68sys/dev/bnxt bnxt_hwrm.c bnxt.h

if_bnxt: Display firmware version along with SIT package version

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36441

(cherry picked from commit 6033382aab2e6108e6faa273fd945274e161cd5b)
DeltaFile
+28-0sys/dev/bnxt/bnxt_hwrm.c
+3-0sys/dev/bnxt/bnxt.h
+3-0sys/dev/bnxt/bnxt_sysctl.c
+34-03 files

FreeBSD/src 2bab173sys/dev/bnxt if_bnxt.c bnxt_hwrm.c

if_bnxt: Add support for RSS on Thor

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36442

(cherry picked from commit cfdca95f7834d2c10749fb14e12495d8aa7d1be0)
DeltaFile
+19-9sys/dev/bnxt/if_bnxt.c
+5-4sys/dev/bnxt/bnxt_hwrm.c
+24-132 files

FreeBSD/src 2f1d2b9sys/dev/bnxt if_bnxt.c bnxt_hwrm.c

if_bnxt: Add support for async link status update

Reivewed by: imp
Differential Revision: https://reviews.freebsd.org/D36440

(cherry picked from commit fb4b7e02d236c2c06a87fc3dacd8af6bcfbfb5c1)
DeltaFile
+59-16sys/dev/bnxt/if_bnxt.c
+10-17sys/dev/bnxt/bnxt_hwrm.c
+4-0sys/dev/bnxt/bnxt.h
+73-333 files

FreeBSD/src eed0ac1sys/dev/bnxt if_bnxt.c bnxt.h

if_bnxt: Fix the issue when kernel invokes _init() again without _stop()

Fixed the issue when kernel invokes _init() when it is already in
_init() state by invoking _stop() in such case.

Reviewed by: imp
Differential Revsion: https://reviews.freebsd.org/D36445

(cherry picked from commit baef1301a2bc60be3908f44dff1f83dbbd8f812a)
DeltaFile
+5-1sys/dev/bnxt/if_bnxt.c
+1-0sys/dev/bnxt/bnxt.h
+6-12 files

FreeBSD/src 2db3527sys/dev/bnxt bnxt_hwrm.c bnxt_hwrm.h

if_bnxt: Add support for VLAN on Thor

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36443

(cherry picked from commit 91fcacc355971f74aa26fc7861020dc3a2a2d717)
DeltaFile
+65-45sys/dev/bnxt/bnxt_hwrm.c
+5-2sys/dev/bnxt/bnxt_hwrm.h
+3-4sys/dev/bnxt/if_bnxt.c
+1-2sys/dev/bnxt/bnxt.h
+74-534 files

FreeBSD/src c4cad5csys/dev/bnxt bnxt_hwrm.c if_bnxt.c

if_bnxt: Add support for admin down/up and jumbo

Make ifconfig up/down work, as well as adding support for jumbo frames.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36439

(cherry picked from commit 055196a7d777509bebab0e718a0d333cf2660178)
DeltaFile
+175-6sys/dev/bnxt/bnxt_hwrm.c
+110-6sys/dev/bnxt/if_bnxt.c
+9-1sys/dev/bnxt/bnxt_hwrm.h
+1-1sys/dev/bnxt/bnxt_txrx.c
+1-0sys/dev/bnxt/bnxt.h
+296-145 files

FreeBSD/src e1741d6sys/dev/bnxt hsi_struct_def.h bnxt_hwrm.c

if_bnxt: update hsi_struct_def.h headers

Updates the drivers to Broadcom's latest:
        HWRM Version 1.10.2.34 using HSI definition version 1.8.4

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36436

(cherry picked from commit 97315f68fe87ae391d2dd2f8c636beac9754ab73)
DeltaFile
+57,309-23,497sys/dev/bnxt/hsi_struct_def.h
+17-17sys/dev/bnxt/bnxt_hwrm.c
+7-7sys/dev/bnxt/bnxt_sysctl.c
+2-2sys/dev/bnxt/bnxt_txrx.c
+57,335-23,5234 files

FreeBSD/src 86bf3fdsys/dev/bnxt bnxt.h if_bnxt.c

if_bnxt: Convert all doorbell writes into function pointers

This is preparatory patch for making a base for Broadcom's Thor
controller support. It converts all doorbell writes into function
pointers.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36437

(cherry picked from commit 49a3df78c75f29dfa4991314535c0eac4f5a73fa)
DeltaFile
+14-81sys/dev/bnxt/bnxt.h
+68-19sys/dev/bnxt/if_bnxt.c
+4-10sys/dev/bnxt/bnxt_txrx.c
+86-1103 files

FreeBSD/src de0aaf9sys/dev/bnxt if_bnxt.c bnxt_hwrm.c

if_bnxt: add support for Thor controller

Added support for Thor controller.
Below are the supported operations:

1. IPv4 ping (ICMP)
2. iperf / netperf (IPv4 TCP)
3. Promiscuous (tcpdump)
4. Can achieve 20 Gbps on a 25 G link (Uni-Di)
5. Can achieve 60 Gbps on a 100 G link (Uni-Di)
6. Port level and queue level driver stats.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36438

(cherry picked from commit 8945584f93ee3689c90fd6b6ee6d824381813ef2)
DeltaFile
+743-97sys/dev/bnxt/if_bnxt.c
+464-56sys/dev/bnxt/bnxt_hwrm.c
+148-137sys/dev/bnxt/bnxt_sysctl.c
+182-5sys/dev/bnxt/bnxt.h
+8-3sys/dev/bnxt/bnxt_hwrm.h
+2-3sys/dev/bnxt/bnxt_txrx.c
+1,547-3016 files

FreeBSD/src 58d84efsys/dev/bnxt bnxt_mgmt.c bnxt_mgmt.h, sys/modules/bnxt Makefile

if_bnxt: Added support for mgmt interface for passthrough hwrms

Added support for application management interface. There are two types of commands supported:

1. Firmware IOCTLs: These ioctls are meant for firmware
   consumption. Driver acts as a transport for these.
2. Driver only IOCTLs: These ioctls are meant for driver
   consumption. Driver will serve these ioctls without sending them down
   to firmware.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36448
DeltaFile
+373-0sys/dev/bnxt/bnxt_mgmt.c
+126-0sys/dev/bnxt/bnxt_mgmt.h
+42-1sys/dev/bnxt/if_bnxt.c
+32-3sys/dev/bnxt/bnxt_hwrm.c
+13-0sys/dev/bnxt/bnxt.h
+3-2sys/modules/bnxt/Makefile
+589-62 files not shown
+592-68 files

FreeBSD/src 2ed061fsys/dev/bnxt bnxt_hwrm.c bnxt_hwrm.h

if_bnxt: Add support for smaller backing_store_cfg message size

Add compat logic to fallback to the older/smaller backing_store_cfg
message size.

Reviewed by: imp
Differentil Revision: https://reviews.freebsd.org/D36447
DeltaFile
+6-2sys/dev/bnxt/bnxt_hwrm.c
+1-0sys/dev/bnxt/bnxt_hwrm.h
+7-22 files

FreeBSD/src 19a57f8sys/dev/bnxt bnxt_hwrm.c

if_bnxt: Fix the PORT_PHY_CFG HWRM requests while setting Pause

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36446
DeltaFile
+3-0sys/dev/bnxt/bnxt_hwrm.c
+3-01 files

FreeBSD/src baef130sys/dev/bnxt if_bnxt.c bnxt.h

if_bnxt: Fix the issue when kernel invokes _init() again without _stop()

Fixed the issue when kernel invokes _init() when it is already in
_init() state by invoking _stop() in such case.

Reviewed by: imp
Differential Revsion: https://reviews.freebsd.org/D36445
DeltaFile
+5-1sys/dev/bnxt/if_bnxt.c
+1-0sys/dev/bnxt/bnxt.h
+6-12 files

FreeBSD/src 72e9dbbsys/dev/bnxt bnxt_sysctl.c bnxt.h

if_bnxt: Remove sysctl node vlan_only which is not being used

Removed sysctl node vlan_only which is not being used after migrating
from l2_set_rx_mask to l2_filter_alloc.

Reviewed by: imp
Differential Revsion: https://reviews.freebsd.org/D36444
DeltaFile
+1-37sys/dev/bnxt/bnxt_sysctl.c
+0-1sys/dev/bnxt/bnxt.h
+1-382 files

FreeBSD/src 91fcaccsys/dev/bnxt bnxt_hwrm.c bnxt_hwrm.h

if_bnxt: Add support for VLAN on Thor

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36443
DeltaFile
+65-45sys/dev/bnxt/bnxt_hwrm.c
+5-2sys/dev/bnxt/bnxt_hwrm.h
+3-4sys/dev/bnxt/if_bnxt.c
+1-2sys/dev/bnxt/bnxt.h
+74-534 files

FreeBSD/src cfdca95sys/dev/bnxt if_bnxt.c bnxt_hwrm.c

if_bnxt: Add support for RSS on Thor

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36442
DeltaFile
+19-9sys/dev/bnxt/if_bnxt.c
+5-4sys/dev/bnxt/bnxt_hwrm.c
+24-132 files

FreeBSD/src 6033382sys/dev/bnxt bnxt_hwrm.c bnxt.h

if_bnxt: Display firmware version along with SIT package version

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36441
DeltaFile
+28-0sys/dev/bnxt/bnxt_hwrm.c
+3-0sys/dev/bnxt/bnxt.h
+3-0sys/dev/bnxt/bnxt_sysctl.c
+34-03 files

FreeBSD/src fb4b7e0sys/dev/bnxt if_bnxt.c bnxt_hwrm.c

if_bnxt: Add support for async link status update

Reivewed by: imp
Differential Revision: https://reviews.freebsd.org/D36440
DeltaFile
+59-16sys/dev/bnxt/if_bnxt.c
+10-17sys/dev/bnxt/bnxt_hwrm.c
+4-0sys/dev/bnxt/bnxt.h
+73-333 files

FreeBSD/src 055196asys/dev/bnxt bnxt_hwrm.c if_bnxt.c

if_bnxt: Add support for admin down/up and jumbo

Make ifconfig up/down work, as well as adding support for jumbo frames.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36439
DeltaFile
+175-6sys/dev/bnxt/bnxt_hwrm.c
+110-6sys/dev/bnxt/if_bnxt.c
+9-1sys/dev/bnxt/bnxt_hwrm.h
+1-1sys/dev/bnxt/bnxt_txrx.c
+1-0sys/dev/bnxt/bnxt.h
+296-145 files

FreeBSD/src 8945584sys/dev/bnxt if_bnxt.c bnxt_hwrm.c

if_bnxt: add support for Thor controller

Added support for Thor controller.
Below are the supported operations:

1. IPv4 ping (ICMP)
2. iperf / netperf (IPv4 TCP)
3. Promiscuous (tcpdump)
4. Can achieve 20 Gbps on a 25 G link (Uni-Di)
5. Can achieve 60 Gbps on a 100 G link (Uni-Di)
6. Port level and queue level driver stats.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36438
DeltaFile
+743-97sys/dev/bnxt/if_bnxt.c
+464-56sys/dev/bnxt/bnxt_hwrm.c
+148-137sys/dev/bnxt/bnxt_sysctl.c
+182-5sys/dev/bnxt/bnxt.h
+8-3sys/dev/bnxt/bnxt_hwrm.h
+2-3sys/dev/bnxt/bnxt_txrx.c
+1,547-3016 files

FreeBSD/src 49a3df7sys/dev/bnxt bnxt.h if_bnxt.c

if_bnxt: Convert all doorbell writes into function pointers

This is preparatory patch for making a base for Broadcom's Thor
controller support. It converts all doorbell writes into function
pointers.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36437
DeltaFile
+14-81sys/dev/bnxt/bnxt.h
+68-19sys/dev/bnxt/if_bnxt.c
+4-10sys/dev/bnxt/bnxt_txrx.c
+86-1103 files

FreeBSD/src 97315f6sys/dev/bnxt hsi_struct_def.h bnxt_hwrm.c

if_bnxt: update hsi_struct_def.h headers

Updates the drivers to Broadcom's latest:
        HWRM Version 1.10.2.34 using HSI definition version 1.8.4

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36436
DeltaFile
+57,309-23,497sys/dev/bnxt/hsi_struct_def.h
+17-17sys/dev/bnxt/bnxt_hwrm.c
+7-7sys/dev/bnxt/bnxt_sysctl.c
+2-2sys/dev/bnxt/bnxt_txrx.c
+57,335-23,5234 files