Message ID | 20231004125909.1385272-2-ndabilpuram@marvell.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Ferruh Yigit |
Headers | |
Series | [1/2] ethdev: add IPsec event subtype range for PMD specific code | |
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/loongarch-compilation | success | Compilation OK |
ci/loongarch-unit-testing | success | Unit Testing PASS |
ci/github-robot: build | success | github build: passed |
ci/iol-mellanox-Performance | success | Performance Testing PASS |
ci/iol-broadcom-Performance | success | Performance Testing PASS |
ci/iol-intel-Performance | success | Performance Testing PASS |
ci/iol-broadcom-Functional | success | Functional Testing PASS |
ci/iol-intel-Functional | success | Functional Testing PASS |
ci/iol-unit-arm64-testing | success | Testing PASS |
ci/iol-compile-amd64-testing | success | Testing PASS |
ci/iol-unit-amd64-testing | success | Testing PASS |
ci/iol-compile-arm64-testing | success | Testing PASS |
ci/iol-sample-apps-testing | success | Testing PASS |
ci/Intel-compilation | success | Compilation OK |
ci/intel-Testing | success | Testing PASS |
ci/intel-Functional | success | Functional PASS |
Commit Message
diff --git a/drivers/net/cnxk/cn10k_ethdev_sec.c b/drivers/net/cnxk/cn10k_ethdev_sec.c index b98fc9378e..d1df4a01e6 100644 --- a/drivers/net/cnxk/cn10k_ethdev_sec.c +++ b/drivers/net/cnxk/cn10k_ethdev_sec.c @@ -522,7 +522,7 @@ cn10k_eth_sec_sso_work_cb(uint64_t *gw, void *args, uint32_t soft_exp_event) plt_warn("Outbound error, bad ip pkt, mbuf %p," " sa_index %u (total warnings %" PRIu64 ")", mbuf, sess_priv.sa_idx, warn_cnt); - desc.subtype = RTE_ETH_EVENT_IPSEC_UNKNOWN; + desc.subtype = -res->uc_compcode; break; default: warn_cnt++; @@ -532,7 +532,7 @@ cn10k_eth_sec_sso_work_cb(uint64_t *gw, void *args, uint32_t soft_exp_event) " (total warnings %" PRIu64 ")", mbuf, sess_priv.sa_idx, res->compcode, res->uc_compcode, warn_cnt); - desc.subtype = RTE_ETH_EVENT_IPSEC_UNKNOWN; + desc.subtype = -res->uc_compcode; break; }