summaryrefslogtreecommitdiff
path: root/service/include/sc_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'service/include/sc_common.h')
-rw-r--r--service/include/sc_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/service/include/sc_common.h b/service/include/sc_common.h
index d2254f3..eefa5c9 100644
--- a/service/include/sc_common.h
+++ b/service/include/sc_common.h
@@ -8,6 +8,7 @@
#include <mr_core.h>
#include <mr_rtdev.h>
#include <sk_stack.h>
+#include <rte_keepalive.h>
//TODO: �����豸��Ϣ�����ع������豸��Ϣ������һ���ṹ��
struct sc_device
@@ -83,6 +84,8 @@ struct sc_param
unsigned int distmode;
/* Ӳ��RSS��ʽ */
unsigned int rssmode;
+ /* Keepalive �߳�������� */
+ unsigned int keepalive;
};
struct sc_ctrlzone
@@ -124,4 +127,6 @@ struct sc_instance
struct sk_instance * sk_instance;
/* Э��ջ����Ӧ�þ�� */
struct sk_app_instance * sk_serv_instance;
+ /* keepalive��� */
+ struct rte_keepalive * keepalive;
}; \ No newline at end of file