Skip to content

Commit 095d5dc

Browse files
pavanchebbiPaolo Abeni
authored andcommitted
bnxt_en: Fix bnxt_hwrm_update_rss_hash_cfg()
We must specify the vnic id of the vnic in the input structure of this firmware message. Otherwise we will get an error from the firmware. Fixes: 98a4322 ("bnxt_en: update RSS config using difference algorithm") Reviewed-by: Kalesh Anakkur Purayil <kalesh-anakkur.purayil@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 182620a commit 095d5dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/net/ethernet/broadcom/bnxt

drivers/net/ethernet/broadcom/bnxt/bnxt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5350,6 +5350,7 @@ static void bnxt_hwrm_update_rss_hash_cfg(struct bnxt *bp)
53505350
if (hwrm_req_init(bp, req, HWRM_VNIC_RSS_QCFG))
53515351
return;
53525352

5353+
req->vnic_id = cpu_to_le16(vnic->fw_vnic_id);
53535354
/* all contexts configured to same hash_type, zero always exists */
53545355
req->rss_ctx_idx = cpu_to_le16(vnic->fw_rss_cos_lb_ctx[0]);
53555356
resp = hwrm_req_hold(bp, req);

0 commit comments

Comments
 (0)