net/nfp: read PF port MAC addr using NSP
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Fri, 1 Sep 2017 14:12:18 +0000 (15:12 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commitad60bca348997453cd5f1774c26dc74d98d9e939
treebe5e2ee501fb7d98c606fc5876459bfcd7d49899
parentc95c8c8b60fddcc0cbeef1aa1ebe19a5dec4f9e4
net/nfp: read PF port MAC addr using NSP

During initialization, mac address is read from configuration bar. This is
the default option when using VFs.

This patch adds support for reading the mac address using the NSPU
interface when PMD works with the PF.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c
drivers/net/nfp/nfp_net_pmd.h
drivers/net/nfp/nfp_nspu.c
drivers/net/nfp/nfp_nspu.h