diff options
author | Filip Varga <fivarga@cisco.com> | 2019-01-21 00:05:03 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-01-21 15:33:22 +0000 |
commit | 8254ab87f2b975c4c3324dc9ac08b7f7b6c167ee (patch) | |
tree | 58b93cfd5a3cbb1f2a18b988660b09051391b602 /src/plugins/nat/nat_reass.c | |
parent | b951ad84ab542aaebb646bf61130618b5fef8bda (diff) |
NAT: VPP-1537 IPFIX per worker processing
Change-Id: I428bd25a513eb9fe65bea56572fea8cab7c51681
Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat_reass.c')
-rwxr-xr-x | src/plugins/nat/nat_reass.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/nat/nat_reass.c b/src/plugins/nat/nat_reass.c index 1185e1bb4af..ed827a9038b 100755 --- a/src/plugins/nat/nat_reass.c +++ b/src/plugins/nat/nat_reass.c @@ -335,8 +335,8 @@ unlock: } int -nat_ip4_reass_add_fragment (nat_reass_ip4_t * reass, u32 bi, - u32 ** bi_to_drop) +nat_ip4_reass_add_fragment (u32 thread_index, nat_reass_ip4_t * reass, + u32 bi, u32 ** bi_to_drop) { nat_reass_main_t *srm = &nat_reass_main; dlist_elt_t *elt; @@ -344,7 +344,7 @@ nat_ip4_reass_add_fragment (nat_reass_ip4_t * reass, u32 bi, if (reass->frag_n >= srm->ip4_max_frag) { - nat_ipfix_logging_max_fragments_ip4 (srm->ip4_max_frag, + nat_ipfix_logging_max_fragments_ip4 (thread_index, srm->ip4_max_frag, &reass->key.src); reass->flags |= NAT_REASS_FLAG_MAX_FRAG_DROP; nat_ip4_reass_get_frags_inline (reass, bi_to_drop); @@ -541,8 +541,8 @@ unlock: } int -nat_ip6_reass_add_fragment (nat_reass_ip6_t * reass, u32 bi, - u32 ** bi_to_drop) +nat_ip6_reass_add_fragment (u32 thread_index, nat_reass_ip6_t * reass, + u32 bi, u32 ** bi_to_drop) { nat_reass_main_t *srm = &nat_reass_main; dlist_elt_t *elt; @@ -550,7 +550,7 @@ nat_ip6_reass_add_fragment (nat_reass_ip6_t * reass, u32 bi, if (reass->frag_n >= srm->ip6_max_frag) { - nat_ipfix_logging_max_fragments_ip6 (srm->ip6_max_frag, + nat_ipfix_logging_max_fragments_ip6 (thread_index, srm->ip6_max_frag, &reass->key.src); reass->flags |= NAT_REASS_FLAG_MAX_FRAG_DROP; nat_ip6_reass_get_frags_inline (reass, bi_to_drop); |