From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by dpdk.org (Postfix) with ESMTP id 0CCEE5F2F for ; Fri, 2 Nov 2018 06:49:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=768; q=dns/txt; s=iport; t=1541137767; x=1542347367; h=from:to:cc:subject:date:message-id; bh=HG5qnLyz2Xs5SIgspGnVLskD+D4dDvFlaKAxqQ92QtQ=; b=aHnqKNBlVEK479mJ6IYhh0IW63w1nL5NPnl/4EiHzqSQQBJJAv2A4NZQ 6VsiFRu2G07/TMtGgWtlt7tR3+0kZ5bUEIb1v3g5wk5XtVgnu6rPMfgyA uqHvN8PQaT9q8o2vmWmoS6X/TEiRyThfeXm7g9r+2EkwtB5O56gkrnRtn M=; X-IronPort-AV: E=Sophos;i="5.54,454,1534809600"; d="scan'208";a="474501346" Received: from rcdn-core-12.cisco.com ([173.37.93.148]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2018 05:49:26 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by rcdn-core-12.cisco.com (8.15.2/8.15.2) with ESMTP id wA25nQfB026661; Fri, 2 Nov 2018 05:49:26 GMT Received: by cisco.com (Postfix, from userid 508933) id 1F0E720F2001; Thu, 1 Nov 2018 22:49:26 -0700 (PDT) From: Hyong Youb Kim To: Ferruh Yigit Cc: dev@dpdk.org, John Daley , Hyong Youb Kim Date: Thu, 1 Nov 2018 22:49:17 -0700 Message-Id: <20181102054917.21352-1-hyonkim@cisco.com> X-Mailer: git-send-email 2.16.2 X-Outbound-SMTP-Client: 10.193.184.48, savbu-usnic-a.cisco.com X-Outbound-Node: rcdn-core-12.cisco.com Subject: [dpdk-dev] [PATCH] net/enic: use rte macro for attribute weak X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2018 05:49:28 -0000 Fixes: 8a6ff33d6d36 ("net/enic: add AVX2 based vectorized Rx handler") Signed-off-by: Hyong Youb Kim --- drivers/net/enic/enic_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index e81c3f3b7..c3869de36 100644 --- a/drivers/net/enic/enic_main.c +++ b/drivers/net/enic/enic_main.c @@ -518,7 +518,7 @@ static void enic_prep_wq_for_simple_tx(struct enic *enic, uint16_t queue_idx) * The 'strong' version is in enic_rxtx_vec_avx2.c. This weak version is used * used when that file is not compiled. */ -bool __attribute__((weak)) +__rte_weak bool enic_use_vector_rx_handler(__rte_unused struct enic *enic) { return false; -- 2.16.2