From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 89DB3E5D for ; Tue, 24 Apr 2018 01:55:19 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id c14-v6so5627458wrd.4 for ; Mon, 23 Apr 2018 16:55:19 -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=rUijHi7Vs/weojQaDt0k3MdxWGKR4kvmARBKdMgiDts=; b=1oIBGUPsoNhCBrD+BsbfK4WuZ4mTcKasBGKIQYIU5D668Os0mfvWjkGmt7xD7bf6MJ y83cuSBwC/jXgDJmrObTlO4UxCdbAhaEmZyrnq9/ohXjY5qaFUtzic0LRNOcHh0mYhrY xB8z76ROOoZH3JcsQYcw9/5ikid78QF81zD9h0KwWchfeHZrHL4dQD8cyesNC6qPrOe0 tG/UApvHTFXCO7XosgXGSzdmwd49yXo1QuLejndv4VoJnPjV2XlXFwuhJ9Kn0G1LX87o HHBTy8C7ie5rB+XL3ul2q227Zv35qhhH+4RiHkxsXhwNP5q/UucbJcVtaylYl+/l/hpH +/2Q== 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=rUijHi7Vs/weojQaDt0k3MdxWGKR4kvmARBKdMgiDts=; b=qEkrGvGhmEAeKXAOFFckPelllBtJXFN4Xd+vh4pBd+dLIoKIMbWVzgVtY+VMi5JCXc Nb6lrIWKtbmft5km82eCZJl7e6uBYSeKitSbwuNWrekRYBzI9FqFmwPVPGq7HjamvooG Uci1sCRCmOwSpsnF9ng67LoceQ7Lesq9wmHdgwTYU4BAzkhanZKqb88AqkVeKy7DYrBM 3E2gOKVTVq33MyFxbhGffvgVTSfWJ/KJ5rT+BzSpzgwRQrwtI0WkK/HycyTv/d4vQxSK brw4+/jO9pd3yZ9n+kthbE/ze9oZ7dlwDvp2uysQA77BPzbmNAkdtWzDYvt66wKNvSCG /Osg== X-Gm-Message-State: ALQs6tDoEYn80Gc1fP1kqyybBS7TZsTLdwWKEG0YyPq/Zy6oID+mUJ8H nXNHsAgp9iO9m4FXYn5/029C9tkN X-Google-Smtp-Source: AIpwx4+NxoOxxATXlyTgzvkRSTx4vCnt1ZQBR8UMHRv6RD+Bk9VhQm5yZByKEUD+i561me9kgcZ/0A== X-Received: by 10.28.159.84 with SMTP id i81mr11310058wme.56.1524527718947; Mon, 23 Apr 2018 16:55:18 -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 55-v6sm28922279wrw.52.2018.04.23.16.55.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 16:55:17 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Tue, 24 Apr 2018 01:54:46 +0200 Message-Id: <12b7ce77d26623e0d309d607a2c837a4ff638bd7.1524527213.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 v5 04/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 23:55:19 -0000 This list should not be used by drivers. Use the public API instead. Signed-off-by: Gaetan Rivet Acked-by: Thomas Monjalon --- 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