Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/bnxt: cap maximum number of unicast MAC addresses
[ upstream commit 604a6be ] The Maximum number of receive mac addr is hard coded to 128 in the ethdev library(RTE_ETH_NUM_RECEIVE_MAC_ADDR). But the bnxt devices support more than 128 unicast MAC filters which could result in a segfault while user tries to add more than 128 unicast MAC addresses to the port. Fixes: a2033fd ("net/bnxt: fix number of MAC addresses for VMDq") Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
- Loading branch information