From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id DF9A6E07 for ; Tue, 24 Apr 2018 00:41:40 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id d1-v6so45419475wrj.13 for ; Mon, 23 Apr 2018 15:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=spIjoValW31slO0q8tC5fOOZPOT2whidl5g1vHsRCJo=; b=Qvq23npGMp9RhLoLc19AjUbWE4azVCwvlEnoTsWpypCvn52K/p24ev7++iZ6r/tEeY zkoUD0Qw4BlasqUu7zZiF7XYWhDTZ8RFBrPQ0IG44P/ZUboZsKDTbtbcSeS+YgU0k39X n5l4unEwASfxiWW44jRM84cMiwzPBtzd/0HyIBykJLg8Zqq/MW6AN4o62ynnDVsUUmjV 48FTBgERyDa9//smptUa23CX9sIQwPinEpOIjEbn2N5kyg4PWqtNqr9fbXnO+Zidkb2Y zA/IkdCncvoFNlisDyvp7kahH06pnAJV5nGt/1FThxIq0eID209D+sE/IJEttwpsJw14 eqOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=spIjoValW31slO0q8tC5fOOZPOT2whidl5g1vHsRCJo=; b=pyEoyFSkTm3hwGNLu7lQ9V8vksg9APVUm6UKazw5YKFFOVZWiSLAuNHMo0PGpsKGhu WtHOoZ97pFbdkh04oTYxpM4nxIDGAGVXuPmGr/p/d/MCpDstuCGroVQ8p0k7mvi2XMSd G5gPmlL8rbH3FwgOmML73+BPm8YLvyAY2rbdDg/6sXOMTxevv7twCByns3cwvAtAEXqz 5/rq9thuoePpRc1yLEJrKTuHjWo3O3f7d8Tp+Zdd1mbpm/pEfEGl/BJ8LN1Tb33FvGF/ wuogqBUlV5StDpJjqzQH/9CI2SWXyZDhJF7ujWEK8VCLo2C6srFxIH6qgmiIA78GQ2Lj cfgg== X-Gm-Message-State: ALQs6tDotxou3YQQxkz/hriFROxcRTXUW9DWEP4zBlLSKTUDAIqpTlKW Clrzebl6nPwRgV7V5zflP8J2f8XE X-Google-Smtp-Source: AIpwx4/AbXAfZtPDmivK53FkhcTbSIDgbSFmCInQf5Gn6hOIE5A6QevM9sUilquAJxQWgu7OP0GDXw== X-Received: by 2002:adf:b90a:: with SMTP id k10-v6mr19531598wrf.283.1524523300273; Mon, 23 Apr 2018 15:41:40 -0700 (PDT) Received: from bidouze.dev.6wind.com. (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id x189sm1590705wmg.0.2018.04.23.15.41.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 15:41:39 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Tue, 24 Apr 2018 00:41:05 +0200 Message-Id: <4ac5df16050bd40cc51a0ed86977475f20cb6308.1524522515.git.gaetan.rivet@6wind.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v4 05/10] net/vdev_netvsc: do not reference devargs list 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: Mon, 23 Apr 2018 22:41:41 -0000 This list should not be used by drivers. Use the public API instead. Signed-off-by: Gaetan Rivet --- drivers/net/vdev_netvsc/vdev_netvsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/vdev_netvsc/vdev_netvsc.c b/drivers/net/vdev_netvsc/vdev_netvsc.c index f7102d768..8b85711d4 100644 --- a/drivers/net/vdev_netvsc/vdev_netvsc.c +++ b/drivers/net/vdev_netvsc/vdev_netvsc.c @@ -796,7 +796,7 @@ vdev_netvsc_scan_callback(__rte_unused void *arg) struct rte_devargs *devargs; struct rte_bus *vbus = rte_bus_find_by_name("vdev"); - TAILQ_FOREACH(devargs, &devargs_list, next) + RTE_EAL_DEVARGS_FOREACH("vdev", devargs) if (!strcmp(devargs->name, VDEV_NETVSC_DRIVER_NAME)) return; dev = (struct rte_vdev_device *)vbus->find_device(NULL, -- 2.11.0