Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 18.11.2
[deb_dpdk.git]
/
examples
/
ipsec-secgw
/
esp.c
diff --git
a/examples/ipsec-secgw/esp.c
b/examples/ipsec-secgw/esp.c
index
e33232c
..
faa84dd
100644
(file)
--- a/
examples/ipsec-secgw/esp.c
+++ b/
examples/ipsec-secgw/esp.c
@@
-162,7
+162,7
@@
esp_inbound_post(struct rte_mbuf *m, struct ipsec_sa *sa,
}
if (cop->status != RTE_CRYPTO_OP_STATUS_SUCCESS) {
}
if (cop->status != RTE_CRYPTO_OP_STATUS_SUCCESS) {
- RTE_LOG(ERR, IPSEC_ESP, "
failed crypto op\n"
);
+ RTE_LOG(ERR, IPSEC_ESP, "
%s() failed crypto op\n", __func__
);
return -1;
}
return -1;
}
@@
-455,7
+455,8
@@
esp_outbound_post(struct rte_mbuf *m,
} else {
RTE_ASSERT(cop != NULL);
if (cop->status != RTE_CRYPTO_OP_STATUS_SUCCESS) {
} else {
RTE_ASSERT(cop != NULL);
if (cop->status != RTE_CRYPTO_OP_STATUS_SUCCESS) {
- RTE_LOG(ERR, IPSEC_ESP, "Failed crypto op\n");
+ RTE_LOG(ERR, IPSEC_ESP, "%s() failed crypto op\n",
+ __func__);
return -1;
}
}
return -1;
}
}