]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Fix enables field in HWRM_QUEUE_COS2BW_CFG request
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Fri, 5 Oct 2018 04:26:01 +0000 (00:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 04:41:16 +0000 (21:41 -0700)
commit82ae3726f02dedae7c616fbcbb9ed61847623e38
treeb069515368af1eaa93c0a87e04770641ec8c7bff
parent45710f6b9fd1ddff9c7f465c048eda95ec339f1e
bnxt_en: Fix enables field in HWRM_QUEUE_COS2BW_CFG request

In HWRM_QUEUE_COS2BW_CFG request, enables field should have the bits
set only for the queue ids which are having the valid parameters.

This causes firmware to return error when the TC to hardware CoS queue
mapping is not 1:1 during DCBNL ETS setup.

Fixes: 0972df98e813 ("bnxt_en: Add TC to hardware QoS queue mapping logic.")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c