]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Support short HWRM commands
authorshurd <shurd@FreeBSD.org>
Tue, 19 Dec 2017 21:07:30 +0000 (21:07 +0000)
committershurd <shurd@FreeBSD.org>
Tue, 19 Dec 2017 21:07:30 +0000 (21:07 +0000)
commit1e2a1ebf2aa13a8d6767c531dfafbfccff8db4be
tree45665b9fc42edf00f3368516e71c0326e268b391
parent1e9f31c0df2a237bbe3b69a3970cc7005dac0d7f
Support short HWRM commands

New Stratus bnxt devices require support for short HWRM commands for VFs
to function.  Enable their use, but only use them if it's both supported
and required... prefer the long HWRM commands when possible.

Submitted by: Bhargava Chenna Marreddy <bhargava.marreddy@broadcom.com>
Sponsored by: Broadcom Limited
Differential Revision: https://reviews.freebsd.org/D13269?id=36180
sys/dev/bnxt/bnxt.h
sys/dev/bnxt/bnxt_hwrm.c
sys/dev/bnxt/bnxt_hwrm.h
sys/dev/bnxt/if_bnxt.c