diff options
author | 2017-02-06 14:38:42 -0800 | |
---|---|---|
committer | 2017-03-20 16:45:20 -0700 | |
commit | 377cc24980588d03abf3a2a843b8c53dfc8b5a1b (patch) | |
tree | 17190bea8a246b2cb7bf9703cb69a67ce88e7973 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i40e: return immediately when failing to add fdir filter (diff) | |
download | linux-rng-377cc24980588d03abf3a2a843b8c53dfc8b5a1b.tar.xz linux-rng-377cc24980588d03abf3a2a843b8c53dfc8b5a1b.zip |
i40e: exit ATR mode only when adding TCP/IPv4 filter succeeds
Move ATR exit check after we have sent the TCP/IPv4 filter to the ring
successfully. This avoids an issue where we potentially update the
filter count without actually succeeding in adding the filter. Now, we
only increment the fd_tcp_rule after we've succeeded. Additionally, we
will re-enable ATR mode only after deletion of the filter is actually
posted to the FDIR ring.
Change-ID: If5c1dea422081cc5e2de65618b01b4c3bf6bd586
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions