* [PATCH] test/crypto: fix mbuf port in Rx inject @ 2023-10-30 6:45 Rahul Bhansali 2023-10-30 7:14 ` Anoob Joseph 0 siblings, 1 reply; 3+ messages in thread From: Rahul Bhansali @ 2023-10-30 6:45 UTC (permalink / raw) To: dev, Akhil Goyal, Fan Zhang, Vidya Sagar Velumuri, Anoob Joseph Cc: Rahul Bhansali By default mbuf port is not initialized and for Rx inject mbuf port update is required before submitting packet. Fixes: 69e1a909aa08 ("test/crypto: add Rx inject") Signed-off-by: Rahul Bhansali <rbhansali@marvell.com> --- app/test/test_cryptodev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 970ca52f7e..96a3f36d73 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -10065,6 +10065,7 @@ test_ipsec_proto_mbuf_enq(struct crypto_testsuite_params *ts_params, hdr->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); ut_params->ibuf->l2_len = sizeof(struct rte_ether_hdr); + ut_params->ibuf->port = 0; sec_sess = &ut_params->sec_session; ret = rte_security_inb_pkt_rx_inject(ctx, &ut_params->ibuf, sec_sess, 1); -- 2.25.1 ^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] test/crypto: fix mbuf port in Rx inject 2023-10-30 6:45 [PATCH] test/crypto: fix mbuf port in Rx inject Rahul Bhansali @ 2023-10-30 7:14 ` Anoob Joseph 2023-10-30 7:23 ` Akhil Goyal 0 siblings, 1 reply; 3+ messages in thread From: Anoob Joseph @ 2023-10-30 7:14 UTC (permalink / raw) To: Rahul Bhansali Cc: Rahul Bhansali, dev, Akhil Goyal, Fan Zhang, Vidya Sagar Velumuri [-- Attachment #1: Type: text/plain, Size: 289 bytes --] > > By default mbuf port is not initialized and for Rx inject mbuf port update is > required before submitting packet. > > Fixes: 69e1a909aa08 ("test/crypto: add Rx inject") > > Signed-off-by: Rahul Bhansali <rbhansali@marvell.com> Acked-by: Anoob Joseph <anoobj@marvell.com> [-- Attachment #2: winmail.dat --] [-- Type: application/ms-tnef, Size: 34820 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] test/crypto: fix mbuf port in Rx inject 2023-10-30 7:14 ` Anoob Joseph @ 2023-10-30 7:23 ` Akhil Goyal 0 siblings, 0 replies; 3+ messages in thread From: Akhil Goyal @ 2023-10-30 7:23 UTC (permalink / raw) To: Anoob Joseph, Rahul Bhansali Cc: Rahul Bhansali, dev, Fan Zhang, Vidya Sagar Velumuri [-- Attachment #1: Type: text/plain, Size: 412 bytes --] > Subject: RE: [PATCH] test/crypto: fix mbuf port in Rx inject > > > > > By default mbuf port is not initialized and for Rx inject mbuf port update is > > required before submitting packet. > > > > Fixes: 69e1a909aa08 ("test/crypto: add Rx inject") > > > > Signed-off-by: Rahul Bhansali <rbhansali@marvell.com> > > Acked-by: Anoob Joseph <anoobj@marvell.com> Applied to dpdk-next-crypto Thanks. [-- Attachment #2: winmail.dat --] [-- Type: application/ms-tnef, Size: 35156 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-30 7:23 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-10-30 6:45 [PATCH] test/crypto: fix mbuf port in Rx inject Rahul Bhansali 2023-10-30 7:14 ` Anoob Joseph 2023-10-30 7:23 ` Akhil Goyal
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).