nfp: flower: use rhashtable for flow caching
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Tue, 9 Oct 2018 01:57:34 +0000 (18:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 05:32:44 +0000 (22:32 -0700)
commitc01d0efa5136c3eaec3ae26d1e0c8c25d3a69c65
tree33fc2c54abf68624fedab4e221a61effbea56946
parent7579d84be12c4645672deeac5bb0eace7dbd6cb5
nfp: flower: use rhashtable for flow caching

Make use of relativistic hash tables for tracking flows instead
of fixed sized hash tables.

Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/bpf/main.c
drivers/net/ethernet/netronome/nfp/flower/main.h
drivers/net/ethernet/netronome/nfp/flower/metadata.c
drivers/net/ethernet/netronome/nfp/flower/offload.c
drivers/net/ethernet/netronome/nfp/nfp_app.c
drivers/net/ethernet/netronome/nfp/nfp_app.h