diff options
author | Radu Bulie <radu.bulie@freescale.com> | 2013-07-17 09:18:35 (GMT) |
---|---|---|
committer | Schmitt Richard-B43082 <B43082@freescale.com> | 2013-08-09 17:45:15 (GMT) |
commit | 39d855d7071f77ac8dd697ed34f75c4be94f2f07 (patch) | |
tree | ebfe36fc4edd2c9c5ce64b035fa7c431c11eff46 | |
parent | ffbd247893eb0baf52925b2d7b4a3dbc2dfd3b8e (diff) | |
download | linux-fsl-qoriq-39d855d7071f77ac8dd697ed34f75c4be94f2f07.tar.xz |
dpa_offload: Copy multicast group and header manipulation descriptors to userspace during look-up by key or by ref operations
Multicast group and hmanip descriptors were copied to userspace in classifier
wrapper during look-up by key or by ref operations.
The patch fixes the above issue.
Signed-off-by: Radu Bulie <radu.bulie@freescale.com>
Change-Id: Ibba7869bcbe339a3ef23bd4071a3aaa682fe7b9d
Reviewed-on: http://git.am.freescale.net:8181/3353
Reviewed-by: Bulie Radu-Andrei-B37577 <Radu.Bulie@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Reviewed-by: Schmitt Richard-B43082 <B43082@freescale.com>
Tested-by: Schmitt Richard-B43082 <B43082@freescale.com>
-rw-r--r-- | drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c b/drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c index 26cab69..1e35b09 100644 --- a/drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c +++ b/drivers/staging/fsl_dpa_offload/wrp_dpa_classifier.c @@ -2430,6 +2430,10 @@ int dpa_cls_tbl_action_params_rcompatcpy( kparam->next_table_params.next_td; uparam->next_table_params.hmd = kparam->next_table_params.hmd; break; + case DPA_CLS_TBL_ACTION_MCAST: + uparam->mcast_params.grpd = kparam->mcast_params.grpd; + uparam->mcast_params.hmd = kparam->mcast_params.hmd; + break; default: break; } |