X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvppcom.c;h=cb450d9905541903032a3789925b2e8ba41ce12e;hb=57660d9df62756c5db1516be0dbb48505f996e82;hp=9a19348cad46bc63971e1631168db1054e43910e;hpb=a2ffc6c2fee60a2289aa9aa549de8a88e4ca2d98;p=vpp.git diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c index 9a19348cad4..cb450d99055 100644 --- a/src/vcl/vppcom.c +++ b/src/vcl/vppcom.c @@ -656,6 +656,7 @@ vcl_session_migrated_handler (vcl_worker_t * wrk, void *data) } s->vpp_thread_index = mp->vpp_thread_index; + s->vpp_handle = mp->new_handle; s->vpp_evt_q = uword_to_pointer (mp->vpp_evt_q, svm_msg_q_t *); vec_validate (wrk->vpp_event_queues, s->vpp_thread_index); @@ -669,7 +670,8 @@ vcl_session_migrated_handler (vcl_worker_t * wrk, void *data) app_send_io_evt_to_vpp (s->vpp_evt_q, s->tx_fifo->master_session_index, SESSION_IO_EVT_TX, SVM_Q_WAIT); - VDBG (0, "Migrated 0x%x to thread %u", mp->handle, s->vpp_thread_index); + VDBG (0, "Migrated 0x%lx to thread %u 0x%lx", mp->handle, + s->vpp_thread_index, mp->new_handle); } static vcl_session_t *