diff options
author | IJsbrand Wijnands <ice@cisco.com> | 2020-05-04 17:57:33 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-18 09:54:33 +0000 |
commit | 84c13e6b0246ca037183d3f8f3916777bc22ed56 (patch) | |
tree | 4d9f60278bd452515b313c5b03ecf8bdeb6240f1 /test/vpp_gre_interface.py | |
parent | a3ac7bc3c818169fef9fd169adafe71492b4441f (diff) |
vcl: allow vcl worker index to be set by applications
When using vppcom_session* apis to setup TCP sessions in applications build outside of the VPP repository, it is necessary to set the worker_index explicitly when these apis are called from the none-VCL worker threads. An example is when data is to be sent to the TCP session that is originated from a different thread, like the main program thread or from the bin api thread. This change allows the application to set it.
Type: fix
Signed-off-by: IJsbrand Wijnands <ice@cisco.com>
Change-Id: I37f3654a49ea9a8cf3a0d3d0e672583018c12299
(cherry picked from commit 6017ff0dd7a27c062d0ad4687bfc70a69747ac55)
Diffstat (limited to 'test/vpp_gre_interface.py')
0 files changed, 0 insertions, 0 deletions