[qca-nss-sfe] Add support for Tun6rd handling

Create IPv4 outer rule acceleration.

Change-Id: I0116c8c9d86208cf27908ffbba1f7eeeed08a8ae
Signed-off-by: Tian Yang <quic_tiany@quicinc.com>
diff --git a/sfe.c b/sfe.c
index 868e912..81be6d2 100644
--- a/sfe.c
+++ b/sfe.c
@@ -175,12 +175,14 @@
 		}
 
 		/*
-		 * Does it have an IPv4 address?  If it doesn't then it could be MAP-T
-		 * (or dslite) interface, else we can't do anything interesting here!
+		 * Does it have an IPv4 address?  If it doesn't then it
+		 * could be map-t, dslite or tun6rd interface, otherwise we
+		 * can't do anything interesting here!
 		 */
 		if (likely(in4_dev->ifa_list || (dev->priv_flags_ext & IFF_EXT_MAPT)
 					     || (dev->rtnl_link_ops
-					     && !strcmp(dev->rtnl_link_ops->kind, "ip6tnl")))) {
+					     && (!strcmp(dev->rtnl_link_ops->kind, "ip6tnl")
+					     || !strcmp(dev->rtnl_link_ops->kind, "sit"))))) {
 			return true;
 		}
 		return false;
@@ -684,6 +686,9 @@
 	case IPPROTO_GRE:
 		break;
 
+	case IPPROTO_IPV6:
+		break;
+
 	default:
 		ret = SFE_CMN_RESPONSE_EMSG;
 		sfe_incr_exceptions(SFE_EXCEPTION_PROTOCOL_NOT_SUPPORT);