From 75fa2a4a3309c181dd64a1a7ded69ab0615b646c Mon Sep 17 00:00:00 2001 From: Mandy Lavi Date: Thu, 30 Apr 2015 17:04:21 +0900 Subject: fmd: add replication of relative_storage_profile_id in compat layer Change-Id: I408d577d952f3ce9237dce1105ef1e577ad2cc6b Signed-off-by: Mandy Lavi Reviewed-on: http://git.am.freescale.net:8181/35819 Reviewed-by: Eyal Harari Reviewed-by: Honghua Yin Tested-by: Honghua Yin diff --git a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c index b5ffe5c..ea0885a 100644 --- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c +++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c @@ -310,12 +310,18 @@ static inline void compat_copy_fm_pcd_cc_next_kg( { param->new_fqid = compat_param->new_fqid; param->override_fqid = compat_param->override_fqid; +#if DPAA_VERSION >= 11 + param->new_relative_storage_profile_id = compat_param->new_relative_storage_profile_id; +#endif param->p_direct_scheme = compat_pcd_id2ptr(compat_param->p_direct_scheme); } else { compat_param->new_fqid = param->new_fqid; compat_param->override_fqid = param->override_fqid; +#if DPAA_VERSION >= 11 + compat_param->new_relative_storage_profile_id = param->new_relative_storage_profile_id; +#endif compat_param->p_direct_scheme = compat_pcd_ptr2id(param->p_direct_scheme); } -- cgit v0.10.2