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_det.h | |
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_det.h')
-rw-r--r-- | src/plugins/nat/nat_det.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/nat/nat_det.h b/src/plugins/nat/nat_det.h index 7878a4c4ed6..d2966356d8a 100644 --- a/src/plugins/nat/nat_det.h +++ b/src/plugins/nat/nat_det.h @@ -147,8 +147,9 @@ snat_det_find_ses_by_in (snat_det_map_t * dm, ip4_address_t * in_addr, } always_inline snat_det_session_t * -snat_det_ses_create (snat_det_map_t * dm, ip4_address_t * in_addr, - u16 in_port, snat_det_out_key_t * out) +snat_det_ses_create (u32 thread_index, snat_det_map_t * dm, + ip4_address_t * in_addr, u16 in_port, + snat_det_out_key_t * out) { u32 user_offset; u16 i; @@ -171,7 +172,8 @@ snat_det_ses_create (snat_det_map_t * dm, ip4_address_t * in_addr, } } - snat_ipfix_logging_max_entries_per_user (SNAT_DET_SES_PER_USER, + snat_ipfix_logging_max_entries_per_user (thread_index, + SNAT_DET_SES_PER_USER, in_addr->as_u32); return 0; } |