| From 150fb26b15858c7b2605d4ed2a1db721c1f439bb Mon Sep 17 00:00:00 2001 |
| From: Michael Chan <michael.chan@broadcom.com> |
| Date: Fri, 17 Jan 2020 00:32:45 -0500 |
| Subject: [PATCH] bnxt_en: Fix NTUPLE firmware command failures. |
| |
| commit ceb3284c588eee5ea256c70e4d8d7cf399b8134e upstream. |
| |
| The NTUPLE related firmware commands are sent to the wrong firmware |
| channel, causing all these commands to fail on new firmware that |
| supports the new firmware channel. Fix it by excluding the 3 |
| NTUPLE firmware commands from the list for the new firmware channel. |
| |
| Fixes: 760b6d33410c ("bnxt_en: Add support for 2nd firmware message channel.") |
| Signed-off-by: Michael Chan <michael.chan@broadcom.com> |
| Signed-off-by: David S. Miller <davem@davemloft.net> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.h b/drivers/net/ethernet/broadcom/bnxt/bnxt.h |
| index be438d82f939..c7381f7f8cfb 100644 |
| --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.h |
| +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.h |
| @@ -1715,9 +1715,6 @@ static inline bool bnxt_cfa_hwrm_message(u16 req_type) |
| case HWRM_CFA_ENCAP_RECORD_FREE: |
| case HWRM_CFA_DECAP_FILTER_ALLOC: |
| case HWRM_CFA_DECAP_FILTER_FREE: |
| - case HWRM_CFA_NTUPLE_FILTER_ALLOC: |
| - case HWRM_CFA_NTUPLE_FILTER_FREE: |
| - case HWRM_CFA_NTUPLE_FILTER_CFG: |
| case HWRM_CFA_EM_FLOW_ALLOC: |
| case HWRM_CFA_EM_FLOW_FREE: |
| case HWRM_CFA_EM_FLOW_CFG: |
| -- |
| 2.7.4 |
| |