nfp: send control message when MAC representors are created
authorSimon Horman <simon.horman@netronome.com>
Fri, 11 Aug 2017 08:25:44 +0000 (10:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 21:51:17 +0000 (14:51 -0700)
commit12acb133ece5a0b25b0984d31d870619966f63fe
treeee460789b16b8d25ffc4124c1cdbd6bf79261615
parent939912216fa8f62331de7d04edff492d5dc8e6e9
nfp: send control message when MAC representors are created

The firmware expects a MAC_REPR control message when a MAC representor
is created. The driver should expect a PORTMOD message to follow which
will provide the link states of the physical port associated with the MAC
representor.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/cmsg.c
drivers/net/ethernet/netronome/nfp/flower/cmsg.h
drivers/net/ethernet/netronome/nfp/flower/main.c