Message ID | 20240401035730.306790-8-pavan.chebbi@broadcom.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | bnxt_en: Update for net-next | expand |
On Sun, 31 Mar 2024 20:57:30 -0700 Pavan Chebbi wrote: > + netdev_warn(bp->dev, > + "Speed change not supported with dual rate transceivers on this board\n" > + ); closing bracket goes on the end of the previous line
On Tue, Apr 2, 2024 at 10:24 AM Jakub Kicinski <kuba@kernel.org> wrote: > > On Sun, 31 Mar 2024 20:57:30 -0700 Pavan Chebbi wrote: > > + netdev_warn(bp->dev, > > + "Speed change not supported with dual rate transceivers on this board\n" > > + ); > > closing bracket goes on the end of the previous line Thanks for all the comments, will get back with v2.
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index 1494b550299a..e64c681e2be8 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -2525,6 +2525,11 @@ static bool bnxt_event_error_report(struct bnxt *bp, u32 data1, u32 data2) } return false; } + case ASYNC_EVENT_CMPL_ERROR_REPORT_BASE_EVENT_DATA1_ERROR_TYPE_DUAL_DATA_RATE_NOT_SUPPORTED: + netdev_warn(bp->dev, + "Speed change not supported with dual rate transceivers on this board\n" + ); + break; default: netdev_err(bp->dev, "FW reported unknown error type %u\n", err_type);