nfp: add app pointer to port representors
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 22 May 2018 05:12:49 +0000 (22:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 18:26:18 +0000 (14:26 -0400)
commit634c6b7a85d46a891b2edee075bb422043dcb8da
tree8d795f5bd0b0d5ccb2ea114e2948cb2d1572cb94
parentcc54dc2804f2b038af299aee89a9ff47454248de
nfp: add app pointer to port representors

nfp_apps can currently associate their structures with vNICs but
not representors.  Add app priv pointer to representors as well.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_repr.h