diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-06-27 10:50:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-27 22:48:50 +0300 |
commit | 57ae676ee63ec810c64aea67fc451ae0900a05f9 (patch) | |
tree | 1034257ad3d5de3a434669ff3b9637588d7d6a67 /drivers/net/ethernet/netronome/nfp/nfp_app.c | |
parent | 6d48ceb27af1420882f092495fc796cfcbf92a14 (diff) | |
download | linux-57ae676ee63ec810c64aea67fc451ae0900a05f9.tar.xz |
nfp: flower: add Kconfig for flower app
Give users an option not to build the flower-offload related code.
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>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_app.c')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/nfp_app.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/nfp_app.c b/drivers/net/ethernet/netronome/nfp/nfp_app.c index 5620de05c996..c704c022574f 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_app.c +++ b/drivers/net/ethernet/netronome/nfp/nfp_app.c @@ -43,7 +43,9 @@ static const struct nfp_app_type *apps[] = { &app_nic, &app_bpf, +#ifdef CONFIG_NFP_APP_FLOWER &app_flower, +#endif }; const char *nfp_app_mip_name(struct nfp_app *app) |