bnxt_en: Check the FW's VNIC flush capability
authorMichael Chan <michael.chan@broadcom.com>
Thu, 8 Aug 2024 05:15:15 +0000 (22:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Aug 2024 12:48:02 +0000 (13:48 +0100)
commit6e360862c08756b13f3eb4b1dcbf0b9b9e4d7382
treebe5a45ce54728febc84a5310e4a996840530782e
parentf2878cdeb7549437c7c47029b4020e535735c5c9
bnxt_en: Check the FW's VNIC flush capability

Check the HWRM_VNIC_QCAPS FW response for the receive engine flush
capability.  This capability indicates that we can reliably support
RX ring restart when calling HWRM_VNIC_UPDATE with MRU set to 0.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David Wei <dw@davidwei.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h