net/bnxt: cleanup code
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Wed, 9 Jun 2021 03:13:29 +0000 (08:43 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 8 Jul 2021 03:55:48 +0000 (05:55 +0200)
commit8879ece56832b7f2dd5e5ee10f36e848089f09df
tree00c2e48b9f3bc61086076b515f9040bbaff21a32
parent6253a23491a4ad7dd38d89737ad72229b1dc8c1f
net/bnxt: cleanup code

This is a cleanup commit and no functional change.

1. use macros instead of hard coded values
2. remove unnecessary comments

Fixes: 5cd0e2889c43 ("net/bnxt: support NIC Partitioning")
Fixes: 2ba07b7dbd9d ("net/bnxt: set the hash key size")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c