net/bnxt: check if MAC address is all zeros
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 26 Jan 2018 17:31:57 +0000 (09:31 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commitbe160484a48db22a82b44d56e4f1a30bcb5e4f5f
tree9a9b62b384ddc8c3590f576304d934a87d718a45
parent12213821a8a39f3783683099807dc3aac196798f
net/bnxt: check if MAC address is all zeros

In certain cases the MAC address of a port could be all zeros.
Catch it early, log a message and fail the initialization.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_filter.c
drivers/net/bnxt/bnxt_filter.h