diff options
author | Radu Bulie <radu.bulie@freescale.com> | 2013-07-17 09:18:35 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-07-22 22:11:24 (GMT) |
commit | e3d4cf2fddb7980238a9dfab4463e0911c0d0f01 (patch) | |
tree | d7e0c244bda8b0e78ff44ae8123768314d918537 /drivers/staging | |
parent | ff82c482582aeea4e5c822d2183b21909d277386 (diff) | |
download | linux-fsl-qoriq-e3d4cf2fddb7980238a9dfab4463e0911c0d0f01.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>
Diffstat (limited to 'drivers/staging')
-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; } |