nfp: general representor implementation
authorSimon Horman <simon.horman@netronome.com>
Fri, 23 Jun 2017 20:12:02 +0000 (22:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:42:01 +0000 (11:42 -0400)
commit5de73ee46704c22097e46bfc276a05360d3a1ba7
tree5ee94c086aa3733a34dfbe0f0bd597c2703947d7
parenta5950182c00eb6d53a68db9f6b6c878f795657f6
nfp: general representor implementation

Provide infrastructure to create and destroy representors of a given type.

Parts based on work by Bert van Leeuwen, Benjamin LaHaise,
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/Makefile
drivers/net/ethernet/netronome/nfp/nfp_app.c
drivers/net/ethernet/netronome/nfp/nfp_app.h
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c [new file with mode: 0644]
drivers/net/ethernet/netronome/nfp/nfp_net_repr.h [new file with mode: 0644]