diff --git a/drivers/net/ethernet/3snic/sssnic/kcompat/sss_kcompat_opencloudos.h b/drivers/net/ethernet/3snic/sssnic/kcompat/sss_kcompat_opencloudos.h index 73d78e0d6b93..2cc8121b1be8 100644 --- a/drivers/net/ethernet/3snic/sssnic/kcompat/sss_kcompat_opencloudos.h +++ b/drivers/net/ethernet/3snic/sssnic/kcompat/sss_kcompat_opencloudos.h @@ -3,8 +3,16 @@ #ifdef __OPENCLOUDOS__ +#ifndef HAVE_ETHTOOL_COALESCE_EXTACK +#define HAVE_ETHTOOL_COALESCE_EXTACK +#endif + +#ifndef HAVE_ETHTOOL_RINGPARAM_EXTACK +#define HAVE_ETHTOOL_RINGPARAM_EXTACK +#endif + /* for opencloudos-8.6 */ #endif -#endif \ No newline at end of file +#endif diff --git a/drivers/net/ethernet/3snic/sssnic/kcompat/sss_kcompat_tencentos.h b/drivers/net/ethernet/3snic/sssnic/kcompat/sss_kcompat_tencentos.h index c1b5309000a6..fdd757b8c8b5 100644 --- a/drivers/net/ethernet/3snic/sssnic/kcompat/sss_kcompat_tencentos.h +++ b/drivers/net/ethernet/3snic/sssnic/kcompat/sss_kcompat_tencentos.h @@ -3,8 +3,16 @@ #ifdef __TENCENTOS__ +#ifndef HAVE_ETHTOOL_COALESCE_EXTACK +#define HAVE_ETHTOOL_COALESCE_EXTACK +#endif + +#ifndef HAVE_ETHTOOL_RINGPARAM_EXTACK +#define HAVE_ETHTOOL_RINGPARAM_EXTACK +#endif + /* for tencentos 2.4 2209.1 / 3.1 2209.3 */ #endif -#endif \ No newline at end of file +#endif