nfp: add support for control messages for flower app
authorSimon Horman <simon.horman@netronome.com>
Fri, 23 Jun 2017 20:12:07 +0000 (22:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:42:01 +0000 (11:42 -0400)
commit948faa46c05b5fb48f0bd39df426596197fa5d7e
treeb54c4a7a63cd9885f0a10de6f469a3562e9cf01a
parent91bf82ca9eed1aa3e700a1b9fcaaa7922df6a4c7
nfp: add support for control messages for flower app

In preparation for adding a new flower app - targeted at offloading
the flower classifier - provide support for control message that it will
use to communicate with the NFP.

Based in part on work by Bert van Leeuwen.

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/flower/cmsg.c [new file with mode: 0644]
drivers/net/ethernet/netronome/nfp/flower/cmsg.h [new file with mode: 0644]
drivers/net/ethernet/netronome/nfp/nfp_app.c
drivers/net/ethernet/netronome/nfp/nfp_app.h