summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl_dpa_offload
diff options
context:
space:
mode:
authorRadu Bulie <radu.bulie@freescale.com>2014-07-21 07:41:08 (GMT)
committerMatthew Weigel <Matthew.Weigel@freescale.com>2014-12-11 18:39:24 (GMT)
commite7f4fc129c826f041676c1908118182ad642e05c (patch)
tree252f04859df94fc1071cb4949274ad41ed3c39a2 /drivers/staging/fsl_dpa_offload
parentbcfc0b3673656149bc26d120ff774bfdacba952e (diff)
downloadlinux-fsl-qoriq-e7f4fc129c826f041676c1908118182ad642e05c.tar.xz
dpa_classifier: Get the header manip descriptor for a multicast entry
The hm descriptor for an entry of type multicast was not fetched correctly. This patch fixes the above issue. Change-Id: I4ec4bad9ae3d65fe997b5b9047ef705c2eb052b5 Signed-off-by: Radu Bulie <radu.bulie@freescale.com> Reviewed-by: Marian Chereji <marian.chereji@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/14840
Diffstat (limited to 'drivers/staging/fsl_dpa_offload')
-rw-r--r--drivers/staging/fsl_dpa_offload/dpa_classifier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/fsl_dpa_offload/dpa_classifier.c b/drivers/staging/fsl_dpa_offload/dpa_classifier.c
index 63f3010..f94e2bd 100644
--- a/drivers/staging/fsl_dpa_offload/dpa_classifier.c
+++ b/drivers/staging/fsl_dpa_offload/dpa_classifier.c
@@ -3185,7 +3185,7 @@ static int action_to_next_engine_params(const struct dpa_cls_tbl_action *action,
return -EINVAL;
}
next_engine_params->h_Manip = (t_Handle)
- dpa_classif_hm_lock_chain(action->enq_params.hmd);
+ dpa_classif_hm_lock_chain(action->mcast_params.hmd);
if (!next_engine_params->h_Manip) {
log_err("Failed to attach HM op hmd=%d to "
"classification entry.\n",
@@ -3193,7 +3193,7 @@ static int action_to_next_engine_params(const struct dpa_cls_tbl_action *action,
return -EINVAL;
}
- *hmd = action->enq_params.hmd;
+ *hmd = action->mcast_params.hmd;
} else
next_engine_params->h_Manip = NULL;
next_engine_params->nextEngine = e_FM_PCD_FR;