Using structure to pass metadata Signed-off-by: Anoob Joseph <anoob.jos...@caviumnetworks.com> --- drivers/net/ixgbe/ixgbe_ipsec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ipsec.c b/drivers/net/ixgbe/ixgbe_ipsec.c index 85305c6..6c8d6b4 100644 --- a/drivers/net/ixgbe/ixgbe_ipsec.c +++ b/drivers/net/ixgbe/ixgbe_ipsec.c @@ -444,9 +444,10 @@ ixgbe_crypto_compute_pad_len(struct rte_mbuf *m) static int ixgbe_crypto_update_mb(void *device __rte_unused, - struct rte_security_session *session, - struct rte_mbuf *m, void *params __rte_unused) + struct rte_security_mdata *sec_mdata, + struct rte_mbuf *m) { + struct rte_security_session *session = sec_mdata->sess; struct ixgbe_crypto_session *ic_session = get_sec_session_private_data(session); if (ic_session->op == IXGBE_OP_AUTHENTICATED_ENCRYPTION) { -- 2.7.4