This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 0e2b3a3597d139df1ff5d3f0338aa5cf26e34a43 (commit) from 320bb2e9a29256de37bfdb10b9dde3fd0f0d4a5d (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 0e2b3a3597d139df1ff5d3f0338aa5cf26e34a43 Author: Xuelin Shi forrest.shi@linaro.org Date: Fri Dec 2 15:42:32 2016 +0800
linux-generic: only enable pktout when egress kind is pktio
Signed-off-by: Xuelin Shi forrest.shi@linaro.org Reviewed-by: Balasubramanian Manoharan bala.manoharan@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/odp_traffic_mngr.c b/platform/linux-generic/odp_traffic_mngr.c index 32702d2..62e5c63 100644 --- a/platform/linux-generic/odp_traffic_mngr.c +++ b/platform/linux-generic/odp_traffic_mngr.c @@ -2841,10 +2841,9 @@ odp_tm_t odp_tm_create(const char *name, return ODP_TM_INVALID; }
- if (odp_pktout_queue(egress->pktio, &pktout, 1) != 1) - return ODP_TM_INVALID; + if (egress->egress_kind == ODP_TM_EGRESS_PKT_IO) + tm_system->pktout = pktout;
- tm_system->pktout = pktout; tm_system->name_tbl_id = name_tbl_id; max_tm_queues = requirements->max_tm_queues; memcpy(&tm_system->egress, egress, sizeof(odp_tm_egress_t));
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_traffic_mngr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
hooks/post-receive