Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 550feebf authored by Michael Chan's avatar Michael Chan Committed by David S. Miller
Browse files

bnxt_en: Enable MRU enables bit when configuring VNIC MRU.



For correctness, the MRU enables bit must be set when passing the
MRU to firmware during vnic configuration.

Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 93e0b4fe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3414,7 +3414,8 @@ static int bnxt_hwrm_vnic_cfg(struct bnxt *bp, u16 vnic_id)
	bnxt_hwrm_cmd_hdr_init(bp, &req, HWRM_VNIC_CFG, -1, -1);
	/* Only RSS support for now TBD: COS & LB */
	req.enables = cpu_to_le32(VNIC_CFG_REQ_ENABLES_DFLT_RING_GRP |
				  VNIC_CFG_REQ_ENABLES_RSS_RULE);
				  VNIC_CFG_REQ_ENABLES_RSS_RULE |
				  VNIC_CFG_REQ_ENABLES_MRU);
	req.rss_rule = cpu_to_le16(vnic->fw_rss_cos_lb_ctx);
	req.cos_rule = cpu_to_le16(0xffff);
	if (vnic->flags & BNXT_VNIC_RSS_FLAG)