diff options
author | Radu Bulie <radu.bulie@freescale.com> | 2013-07-17 09:26:59 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-07-18 22:49:19 (GMT) |
commit | acd35c810232a151f4eea778721e7c6c89d64f48 (patch) | |
tree | 39c71cde358ae2641d1f3a5cc9ddd2ac756a7026 /drivers | |
parent | bfcf069ea1681a1174bfdcca2d108110e3841b18 (diff) | |
download | linux-fsl-qoriq-acd35c810232a151f4eea778721e7c6c89d64f48.tar.xz |
dpa_offload: Add direct scheme support for classifier miss action
This patch enables the direct schemesupport when a miss action is configured.
Signed-off-by: Radu Bulie <radu.bulie@freescale.com>
Change-Id: Ie16ab1e611a06b026fb5927ec2efea314bb0e2e1
Reviewed-on: http://git.am.freescale.net:8181/3354
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>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/fsl_dpa_offload/dpa_classifier.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/fsl_dpa_offload/dpa_classifier.c b/drivers/staging/fsl_dpa_offload/dpa_classifier.c index 34758c7..a39fc69 100644 --- a/drivers/staging/fsl_dpa_offload/dpa_classifier.c +++ b/drivers/staging/fsl_dpa_offload/dpa_classifier.c @@ -430,7 +430,8 @@ int dpa_classif_table_modify_miss_action(int td, /* Fill the [miss_engine_params] structure w/ data */ errno = action_to_next_engine_params(miss_action, &miss_engine_params, - NULL, NULL, NULL); + NULL, ptable->params.distribution, + ptable->params.classification); if (errno < 0) { RELEASE_OBJECT(ptable); log_err("Failed verification of miss action params for table " |