net/bnxt: fix number of MAC addresses for VMDq
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 5 Oct 2017 15:06:44 +0000 (10:06 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:50 +0000 (02:49 +0200)
commita2033fda22ab20df22f98978b1ee0c28de5d5797
tree77d2e1518d1f0cfbf527c0d64d9a1da485e9cb92
parentb7435d660a8cde0f7a9b20e6ecea4207376d74f8
net/bnxt: fix number of MAC addresses for VMDq

We were hardcoding the max MAC addresses to 32, while the HW
can support more than that. This was restricting the number of VMDQ
pools that we could support. Use the value obtained from FW instead.

Fixes: 804e746c7b73 ("net/bnxt: add hardware resource manager init code")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c
drivers/net/bnxt/bnxt_rxq.c