diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-12-17 14:00:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 14:00:35 +0200 |
commit | c3789c8e6ec34faee0b59080c1ab187cff1dc356 (patch) | |
tree | b19561c2fdf7e26201237004b0344d21b0038ef2 /platform/linux-generic/odp_ipsec_events.c | |
parent | 2ed1489ccc354300037bad2e718fe63cd6fdd7ba (diff) | |
parent | a4f277eb71029ecf61c6b4dda7894d5e949c4852 (diff) |
Merge ODP v1.33.0.0v1.33.0.0_DPDK_19.11
Merge ODP linux-generic v1.33.0.0 into linux-dpdk
Diffstat (limited to 'platform/linux-generic/odp_ipsec_events.c')
-rw-r--r-- | platform/linux-generic/odp_ipsec_events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-generic/odp_ipsec_events.c b/platform/linux-generic/odp_ipsec_events.c index a199ffdf3..f229a5cf2 100644 --- a/platform/linux-generic/odp_ipsec_events.c +++ b/platform/linux-generic/odp_ipsec_events.c @@ -93,7 +93,7 @@ static odp_event_t ipsec_status_to_event(ipsec_status_t status) static ipsec_status_hdr_t *ipsec_status_hdr_from_buf(odp_buffer_t buf) { - return (ipsec_status_hdr_t *)(void *)buf_hdl_to_hdr(buf); + return (ipsec_status_hdr_t *)(void *)_odp_buf_hdr(buf); } static ipsec_status_hdr_t *ipsec_status_hdr(ipsec_status_t status) @@ -110,7 +110,7 @@ static ipsec_status_t odp_ipsec_status_alloc(void) if (odp_unlikely(buf == ODP_BUFFER_INVALID)) return ODP_IPSEC_STATUS_INVALID; - _odp_buffer_event_type_set(buf, ODP_EVENT_IPSEC_STATUS); + _odp_event_type_set(odp_buffer_to_event(buf), ODP_EVENT_IPSEC_STATUS); return _odp_ipsec_status_from_event(odp_buffer_to_event(buf)); } |