* [dpdk-stable] [PATCH 1/7] bus/dpaa: fix to use right type of memory free
[not found] <20210719135917.26241-1-hemant.agrawal@nxp.com>
@ 2021-07-19 13:59 ` Hemant Agrawal
2021-07-19 13:59 ` [dpdk-stable] [PATCH 2/7] net/dpaa: fix headroom in VSP case Hemant Agrawal
1 sibling, 0 replies; 2+ messages in thread
From: Hemant Agrawal @ 2021-07-19 13:59 UTC (permalink / raw)
To: dev; +Cc: ferruh.yigit, Hemant Agrawal, stable
if was allocated with rte_malloc, free shall be equivalent.
Fixes: 4762b3d419c3 ("bus/dpaa: delay fman device list to bus probe")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/bus/dpaa/base/fman/fman.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/dpaa/base/fman/fman.c b/drivers/bus/dpaa/base/fman/fman.c
index 692071b4b0..a14004d7fc 100644
--- a/drivers/bus/dpaa/base/fman/fman.c
+++ b/drivers/bus/dpaa/base/fman/fman.c
@@ -50,7 +50,7 @@ if_destructor(struct __fman_if *__if)
free(bp);
}
cleanup:
- free(__if);
+ rte_free(__if);
}
static int
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dpdk-stable] [PATCH 2/7] net/dpaa: fix headroom in VSP case
[not found] <20210719135917.26241-1-hemant.agrawal@nxp.com>
2021-07-19 13:59 ` [dpdk-stable] [PATCH 1/7] bus/dpaa: fix to use right type of memory free Hemant Agrawal
@ 2021-07-19 13:59 ` Hemant Agrawal
1 sibling, 0 replies; 2+ messages in thread
From: Hemant Agrawal @ 2021-07-19 13:59 UTC (permalink / raw)
To: dev; +Cc: ferruh.yigit, Nipun Gupta, stable
From: Nipun Gupta <nipun.gupta@nxp.com>
This patch fixes providing the correct headroom size when
VSP is enabled.
Fixes: e4abd4ff183c ("net/dpaa: support virtual storage profile")
Cc: stable@dpdk.org
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
---
drivers/net/dpaa/dpaa_flow.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/dpaa/dpaa_flow.c b/drivers/net/dpaa/dpaa_flow.c
index a0087df670..c5b5ec8695 100644
--- a/drivers/net/dpaa/dpaa_flow.c
+++ b/drivers/net/dpaa/dpaa_flow.c
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright 2017-2019 NXP
+ * Copyright 2017-2019,2021 NXP
*/
/* System headers */
@@ -999,6 +999,9 @@ static int dpaa_port_vsp_configure(struct dpaa_if *dpaa_intf,
buf_prefix_cont.pass_time_stamp = true;
buf_prefix_cont.pass_hash_result = false;
buf_prefix_cont.pass_all_other_pcdinfo = false;
+ buf_prefix_cont.manip_ext_space =
+ RTE_PKTMBUF_HEADROOM - DPAA_MBUF_HW_ANNOTATION;
+
ret = fm_vsp_config_buffer_prefix_content(dpaa_intf->vsp_handle[vsp_id],
&buf_prefix_cont);
if (ret != E_OK) {
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-19 14:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210719135917.26241-1-hemant.agrawal@nxp.com>
2021-07-19 13:59 ` [dpdk-stable] [PATCH 1/7] bus/dpaa: fix to use right type of memory free Hemant Agrawal
2021-07-19 13:59 ` [dpdk-stable] [PATCH 2/7] net/dpaa: fix headroom in VSP case Hemant Agrawal
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).