From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Hall Subject: [PATCH 5/6] rte_log.h: add RTE_SYSLOG_LEVEL_MAX Date: Fri, 13 Nov 2015 06:47:37 +0000 Message-ID: <1447397258-27233-6-git-send-email-mhall@mhcomputing.net> References: <1447397258-27233-1-git-send-email-mhall@mhcomputing.net> To: dev@dpdk.org Return-path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id C7ADC93B0 for ; Fri, 13 Nov 2015 07:48:00 +0100 (CET) In-Reply-To: <1447397258-27233-1-git-send-email-mhall@mhcomputing.net> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Matthew Hall --- lib/librte_eal/common/include/rte_log.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_eal/common/include/rte_log.h b/lib/librte_eal/common/include/rte_log.h index 4a70ce5..d7e11f1 100644 --- a/lib/librte_eal/common/include/rte_log.h +++ b/lib/librte_eal/common/include/rte_log.h @@ -102,6 +102,9 @@ extern struct rte_logs rte_logs; #define RTE_LOG_FINER 10U /**< Finer-level messages. */ #define RTE_LOG_FINEST 11U /**< Finest-level messages. */ +/* Syslog only supports 7 (DEBUG) and higher levels. */ +#define RTE_SYSLOG_LEVEL_MAX 7U + /** The default log stream. */ extern FILE *eal_default_log_stream; -- 1.9.1