nfp: add VF and PF representors to flower app
authorSimon Horman <simon.horman@netronome.com>
Fri, 23 Jun 2017 20:12:09 +0000 (22:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:42:02 +0000 (11:42 -0400)
commit24a021ed77ef8d090bf15ad1ac24d29fcfe9a410
tree3ec952e7b6406a110428dbfd37994ef230a601b4
parent1025351a88a49cb2fed7d023858ce182718c0c43
nfp: add VF and PF representors to flower app

Initialise VF and PF representors in flower app.

Based in part on work by Benjamin LaHaise, Bert van Leeuwen and
Jakub Kicinski.

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/main.c