From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B2929A034E; Wed, 9 Feb 2022 04:03:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0662C41153; Wed, 9 Feb 2022 04:02:51 +0100 (CET) Received: from out162-62-57-210.mail.qq.com (out162-62-57-210.mail.qq.com [162.62.57.210]) by mails.dpdk.org (Postfix) with ESMTP id A50EA4067E for ; Wed, 9 Feb 2022 04:02:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644375764; bh=PWBTsRpt/fetWP1RCoPFNvAaw2cFR8K6YLqr1L4XEWk=; h=From:To:Subject:Date:In-Reply-To:References; b=RdYS4gW6rHVZdilPEWRG5tcLGqNf1zZSgomwd1WfW5myYgRz2cUO5rv0w+zTI8PeM DbUcImygumPvP0R1yHZnNKsUoua++4yXKhgvloOMnJ7oEaA66lZYm3CRrg90yYdNZ9 c9KGN7z3sN674FwSJ34DQcUI2q7bL5728+lDZWvo= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszb7.qq.com (NewEsmtp) with SMTP id 98A6079; Wed, 09 Feb 2022 11:02:24 +0800 X-QQ-mid: xmsmtpt1644375763tqvrcx83d Message-ID: X-QQ-XMAILINFO: NF3DEG8q2jaEwMlZi4wWrFzdehYe4Go1o+KKu/QZfW98nmtBaEdFzCOIx6Es5D 6C3wct4gsnv6mArJ6Be1+t4T8wBseG05tFPo6/Zbq/8brf8Zd8yuhbnldJPMXF/xusMRwQ/alj+L NcQkV6EUaB/YgWfm5puPSR9aenVY96qOAyu5/pOsHaCPXyEO6AeS4lL6HklrJitMJSEoIFLJsUCI gghZJwfQGpjS79rsXGmGrCXWEf/I4U5qakasF4gxKtO2bVVgsPjdBWJrSlcTClPR6xDvlz+BV/5u iDEuphF2WfzxNWgubV3jxhiSjzEP8VGnqPcnCBJ6Tfp0ZpH7Mz4V3jqlpkMvEQWN337Z4EC+OnXx 16Rg2I6z8idfeyIuC3BqFbQYUQtM0YzO11OShNI68YWYb0O8GUH3xl2tzIE5ieDZizbbYceKbT53 P31fOWX4h7VmpWWxLF6Wvn/D74kVTX46V/GHXcqTXiGZlQ1zsSzroxfRMJTiQIbD8TuMRPI+AcNI EWrCn/jRX6VnqSWIW1PheWuwZmndB21BTITLM81OIk6f4+fwmthmDnQZVxPXazTls+Qi8nhI+U3q yjmp0ks3iw9oJ1Mx03o2OOLdGWE7xawEfcvhXihxtgOI+BX5eGLYGE96ytweqM/fue341aLCNV54 7uhLUjhwQ9fLglzwA63ZqHP/eA/5/ZUiNgFZpDxwxtXvmlOHP0zqdj0yy862mlvFUQJNgPmMaFO2 DVlsOjPF7jwaJEKxWAkgcxb6nWI0rkMmQA+qkN4HmSlY9BbY+DgMtYljW/JTeUS2sRbB5RQNRL7P ZJc8LP2WI5WV2OlHzqrfd/M3zPg5QLE9g8tdZfgY1GU1WJIjgpq89rS73RqJ5I8O5GSoh4hzb47W VN6A1hqwvJl8a8XQrCZ4ZyX9DD7aWeeg== From: Weiguo Li To: dev@dpdk.org Subject: [PATCH v2 02/16] event/octeontx: add define guards to avoid multi-inclusion Date: Wed, 9 Feb 2022 11:02:10 +0800 X-OQ-MSGID: <2d554fda5edd69315d199931b83b8157fbf382d5.1644374873.git.liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Supplement define guards to prevent multiple inclusion. Signed-off-by: Weiguo Li --- v2: * update to a simple guard style --- drivers/event/octeontx/timvf_worker.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/event/octeontx/timvf_worker.h b/drivers/event/octeontx/timvf_worker.h index 3f1e77f1d1..ddb66c8f7c 100644 --- a/drivers/event/octeontx/timvf_worker.h +++ b/drivers/event/octeontx/timvf_worker.h @@ -2,6 +2,9 @@ * Copyright(c) 2017 Cavium, Inc */ +#ifndef TIMVF_WORKER_H +#define TIMVF_WORKER_H + #include #include @@ -443,3 +446,5 @@ timvf_add_entry_brst(struct timvf_ring * const timr, const uint16_t rel_bkt, timr_bkt_dec_lock(bkt); return nb_timers; } + +#endif /* TIMVF_WORKER_H */ -- 2.25.1