Skip to content

Commit 095d5dc

Browse files
Pavan ChebbiPaolo 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 <[email protected]> Reviewed-by: Somnath Kotur <[email protected]> Signed-off-by: Pavan Chebbi <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
1 parent 182620a commit 095d5dc

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/ethernet/broadcom/bnxt

1 file changed

+1
-0
lines changed

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)