aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2019-04-15 16:55:58 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-15 15:45:36 -0700
commitcf4172d5751fcf8531c3df43cbd490bac7a8c84a (patch)
tree1e1cb9e52e77f364f4fbb6b3b1b2288abe418a0d /Documentation
parentnfp: flower: allow tunnels to output to internal port (diff)
downloadlinux-dev-cf4172d5751fcf8531c3df43cbd490bac7a8c84a.tar.xz
linux-dev-cf4172d5751fcf8531c3df43cbd490bac7a8c84a.zip
nfp: flower: get flows by host context
Each flow is given a context ID that the fw uses (along with its cookie) to identity the flow. The flows stats are updated by the fw via this ID which is a reference to a pre-allocated array entry. In preparation for flow merge code, enable the nfp_fl_payload structure to be accessed via this stats context ID. Rather than increasing the memory requirements of the pre-allocated array, add a new rhashtable to associate each active stats context ID with its rule payload. While adding new code to the compile metadata functions, slightly restructure the existing function to allow for cleaner, easier to read error handling. Signed-off-by: John Hurley <john.hurley@netronome.com> Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions