From 9a31caf14690b1ec39e907160267b7f67bc95a36 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Fri, 3 May 2019 21:10:19 +0800 Subject: [PATCH] sfe: update to v2.2 --- package/lean/shortcut-fe/Makefile | 2 +- package/lean/shortcut-fe/src/fast-classifier.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/lean/shortcut-fe/Makefile b/package/lean/shortcut-fe/Makefile index a3f7bdca0..4337f4990 100644 --- a/package/lean/shortcut-fe/Makefile +++ b/package/lean/shortcut-fe/Makefile @@ -15,7 +15,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=shortcut-fe -PKG_RELEASE:=3 +PKG_RELEASE:=5 include $(INCLUDE_DIR)/package.mk diff --git a/package/lean/shortcut-fe/src/fast-classifier.c b/package/lean/shortcut-fe/src/fast-classifier.c index 6fba3a9f5..7a58a010b 100644 --- a/package/lean/shortcut-fe/src/fast-classifier.c +++ b/package/lean/shortcut-fe/src/fast-classifier.c @@ -181,7 +181,7 @@ static atomic_t done_fail_msgs = ATOMIC_INIT(0); * only implement ingress for now, because for egress we * want to have the bridge devices qdiscs be used. */ -static bool skip_to_bridge_ingress = 1; +static bool skip_to_bridge_ingress; /* * fast_classifier_incr_exceptions() @@ -761,7 +761,7 @@ static int fast_classifier_nl_genl_msg_DUMP(struct sk_buff *skb, } /* auto offload connection once we have this many packets*/ -static int offload_at_pkts = 16; +static int offload_at_pkts = 128; /* * fast_classifier_post_routing() @@ -1722,7 +1722,7 @@ static int __init fast_classifier_init(void) int result = -1; size_t i, j; - printk(KERN_ALERT "fast-classifier (PBR safe v2.1b): starting up\n"); + printk(KERN_ALERT "fast-classifier (PBR safe v2.2): starting up\n"); DEBUG_INFO("SFE CM init\n"); hash_init(fc_conn_ht); @@ -1813,7 +1813,7 @@ static int __init fast_classifier_init(void) } #endif - printk(KERN_ALERT "fast-classifier (PBR safe v2.1b): registered\n"); + printk(KERN_ALERT "fast-classifier (PBR safe v2.2): registered\n"); spin_lock_init(&sc->lock); @@ -1867,7 +1867,7 @@ static void __exit fast_classifier_exit(void) int result = -1; DEBUG_INFO("SFE CM exit\n"); - printk(KERN_ALERT "fast-classifier (PBR safe v2.1b): shutting down\n"); + printk(KERN_ALERT "fast-classifier (PBR safe v2.2): shutting down\n"); /* * Unregister our sync callback.