]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_bnxt: Added support for mgmt interface for passthrough hwrms
authorSumit Saxena <sumit.saxena@broadcom.com>
Fri, 4 Nov 2022 22:40:29 +0000 (16:40 -0600)
committerWarner Losh <imp@FreeBSD.org>
Thu, 19 Jan 2023 01:00:07 +0000 (18:00 -0700)
commit28497d1445dbf7b5e7a858ada1623920a5a76dd1
tree59f0079ad3853a591bec02d779253803bb4808bc
parent74eacab8dc479a343e93c13aa9cff466706b26bc
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)
sys/conf/files
sys/dev/bnxt/bnxt.h
sys/dev/bnxt/bnxt_hwrm.c
sys/dev/bnxt/bnxt_hwrm.h
sys/dev/bnxt/bnxt_mgmt.c [new file with mode: 0644]
sys/dev/bnxt/bnxt_mgmt.h [new file with mode: 0644]
sys/dev/bnxt/if_bnxt.c
sys/modules/bnxt/Makefile