nfp: introduce very minimal nfp_app
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 22 May 2017 17:59:26 +0000 (10:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 May 2017 18:59:04 +0000 (14:59 -0400)
commit7ac9ebd567252d1799002b9282c658f7229ba21c
treef4b023bd27780eb90eb21b85582e67aa0a254764
parent9140b30d318520e6d7dfe3b48aa62e6a7336b510
nfp: introduce very minimal nfp_app

Introduce a concept of an application.  For now it's just grouping
pointers and serving as a layer of indirection.  It will help us
weaken the dependency on nfp_net in ethtool code.  Later series
will flesh out support for different apps in the driver.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@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 [new file with mode: 0644]
drivers/net/ethernet/netronome/nfp/nfp_app.h [new file with mode: 0644]
drivers/net/ethernet/netronome/nfp/nfp_main.h
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
drivers/net/ethernet/netronome/nfp/nfp_net_main.c