nfp: abm: allow to opt-out of RED offload
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 14 Dec 2018 23:01:54 +0000 (15:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2018 20:41:42 +0000 (12:41 -0800)
commit036b9e7caeb09598afb297a6d4fb36b477a4f6b2
treea520bcf9cb2514b0ea1956b216ec478506b9a26a
parent9c46ae0ea1ee84012737c3da3af2930b494d56f7
nfp: abm: allow to opt-out of RED offload

FW team asks to be able to not support RED even if NIC is capable
of buffering for testing and experimentation.  Add an opt-out flag.

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