nfp: abm: enable advanced queuing on demand
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 26 May 2018 04:53:27 +0000 (21:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 13:49:15 +0000 (09:49 -0400)
commit055ee0d69887af1d511246d745610bdf9d627e75
tree3c65bb6efab5c4b57d00828141507db1020f9c8b
parentca14573272e8cedb947426654992ae4d7c20c985
nfp: abm: enable advanced queuing on demand

ABM NIC FW has a cut-through mode where the PCIe queuing
is bypassed, thus working like our standard NIC FWs.  Use this
mode by default and only enable queuing in switchdev mode where
users can configure it.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/abm/ctrl.c
drivers/net/ethernet/netronome/nfp/abm/main.c
drivers/net/ethernet/netronome/nfp/abm/main.h
drivers/net/ethernet/netronome/nfp/nfp_abi.h