octeontx2-af: Support for setting MAC address
authorSunil Goutham <sgoutham@marvell.com>
Mon, 22 Oct 2018 17:56:03 +0000 (23:26 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 03:15:38 +0000 (20:15 -0700)
commit6f03cf10fcdf56fd72777c60e9dbd75bd4228dae
tree625e1f88a6445d4fee076dfb41f904cefadcef46
parentcc96b0e9b4c66e9dee02456e918541da91bdd4e3
octeontx2-af: Support for setting MAC address

Added a new mailbox message for a PF/VF to set/update
it's NIXLF's MAC address. Also updates unicast NPC
MCAM entry with this address as matching DMAC.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c