From 6335cc5bbdc0dec6df4e8bb9e447078c48b5367a Mon Sep 17 00:00:00 2001 From: narayanr Date: Wed, 22 Jan 2020 20:02:24 +0530 Subject: [PATCH] nvethernetrm: eqos: allow arp offload allow arp offload for mac version greater than or equal to 5 Bug 200585972 Change-Id: I6cefc16f0c8362a26619489f25e2636618eb0761 Signed-off-by: narayanr Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2283676 Tested-by: mobile promotions Reviewed-by: mobile promotions --- osi/core/eqos_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osi/core/eqos_core.c b/osi/core/eqos_core.c index 9a26c71..ad6766e 100644 --- a/osi/core/eqos_core.c +++ b/osi/core/eqos_core.c @@ -2265,7 +2265,7 @@ static int eqos_config_arp_offload(const unsigned int mac_ver, void *addr, if (mac_ver == OSI_EQOS_MAC_4_10) { osi_writel(val, (unsigned char *)addr + EQOS_4_10_MAC_ARPPA); - } else if (mac_ver == OSI_EQOS_MAC_5_00) { + } else if (mac_ver >= OSI_EQOS_MAC_5_00) { osi_writel(val, (unsigned char *)addr + EQOS_5_00_MAC_ARPPA); } else {