diff options
author | Florin Coras <fcoras@cisco.com> | 2020-12-09 12:51:13 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-12-26 16:58:10 +0000 |
commit | af588825ba4586fadbdb742953ca640e94cd59ef (patch) | |
tree | fc4e36bd9b9ef760247ec6e8ab41ba70f9e84152 /src/plugins/unittest/session_test.c | |
parent | 2c1084a69bccac812bf2d763b113d1e5b7f08686 (diff) |
svm: change fifo pointers to offsets
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I113a630d6db4741f54e508f7e0ed77be139df0e4
Diffstat (limited to 'src/plugins/unittest/session_test.c')
-rw-r--r-- | src/plugins/unittest/session_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/unittest/session_test.c b/src/plugins/unittest/session_test.c index 862d81f4acb..f54ed9ff1ac 100644 --- a/src/plugins/unittest/session_test.c +++ b/src/plugins/unittest/session_test.c @@ -1850,7 +1850,7 @@ session_test_mq_speed (vlib_main_t * vm, unformat_input_t * input) s.rx_fifo = rx_fifo; s.tx_fifo = tx_fifo; s.session_state = SESSION_STATE_READY; - counter = (u64 *) rx_fifo->shr->head_chunk->data; + counter = (u64 *) f_head_cptr (rx_fifo)->data; start = vlib_time_now (vm); pid = fork (); |