vhost/crypto: use function to access mbuf private area
authorDan Gora <dg@adax.com>
Mon, 18 Jun 2018 23:37:33 +0000 (16:37 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 21:14:41 +0000 (23:14 +0200)
commit9f976204f5da713375f39ad7be272937d8520973
treeee0c46afd47a83a21c5bcb1149bd3649d7179efe
parentb1d295e69e75eefaf5aaa8cef0808e36f5b0817e
vhost/crypto: use function to access mbuf private area

Use rte_mbuf_to_priv() to access the private data area in the mbuf.

Signed-off-by: Dan Gora <dg@adax.com>
lib/librte_vhost/vhost_crypto.c