nfp: abm: add simple RED offload
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 26 May 2018 04:53:29 +0000 (21:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 13:49:15 +0000 (09:49 -0400)
commit8c8e6406f593ce21694ce7da6d86af49b4610e69
tree36fea61a7f6112868fe084fec6ee36d7efc81c00
parent25e0036fcd241fcb4541522e511168871d7c8bed
nfp: abm: add simple RED offload

Offload simple RED configurations.  For now support only DCTCP
like scenarios where min and max are the same.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/abm/main.c
drivers/net/ethernet/netronome/nfp/abm/main.h