* finish processing of packets successfully decrypted by an inline processor */
| 194 | * finish processing of packets successfully decrypted by an inline processor |
| 195 | */ |
| 196 | static uint32_t |
| 197 | ipsec_process_inline_group(struct rte_ipsec_session *ips, void *sa, |
| 198 | struct ipsec_traffic *trf, struct rte_mbuf *mb[], uint32_t cnt) |
| 199 | { |
| 200 | uint64_t satp; |
| 201 | uint32_t k; |
| 202 | |
| 203 | /* get SA type */ |
| 204 | satp = rte_ipsec_sa_type(ips->sa); |
| 205 | prep_process_group(sa, mb, cnt); |
| 206 | |
| 207 | k = rte_ipsec_pkt_process(ips, mb, cnt); |
| 208 | copy_to_trf(trf, satp, mb, k); |
| 209 | return k; |
| 210 | } |
| 211 | |
| 212 | /* |
| 213 | * process packets synchronously |
no test coverage detected