From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 5408D201; Tue, 18 Sep 2018 15:15:03 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id k5-v6so2040641wre.10; Tue, 18 Sep 2018 06:15:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=kzznGkOAjTOFaToNghJesqsHVcRHAgFTKK+wkWh8TVo=; b=gJcn/BBfgPgOduDpvGROZ7nXyjog/DrgqWaq1s3HkCJqihj88RXdVOFJ4mucRz5O3Q xB8dbXrOtHM4ymwPtmik7R5Wu4cxpAo68yHrvhc3y4ia6mzGn+CturGnf0uV7M60jFda j///gVZ+H7G7+DkOFY3wvCcSwQXHbPBsju54ya85WDj87aY8Sm5PRNhKRzEMAvwkP+If dAbbRHcwTTE8HmWl/ncyyt0soL61XKHtY6RRlLwEpXmAAfsYX2h88OEVCir8ZeO/Lnof qYny6q5AbhrSRAVB4Zxi8zFKX8s2EeEc8wGqbqcyKzZzo8IflZ/H+Jdcc85PSfPhtiAQ nNxg== X-Gm-Message-State: APzg51BV+/Pj9USYX/OL7geI5vpbxKi4iou0DQqjk+XaSpeswl4FVIVH +XfeuvEQVIJRq4ONsw2bY8Y= X-Google-Smtp-Source: ANB0VdZ7Agyr2B5orEYkoIT6P6FhXvQGnN9hIiFxRwRxMP2XC97seL4m2qM9GVaD/ozlSRqG8QfD1Q== X-Received: by 2002:adf:ec85:: with SMTP id z5-v6mr24617006wrn.142.1537276502925; Tue, 18 Sep 2018 06:15:02 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcfe:489f:80a9:5d59:c6bd]) by smtp.gmail.com with ESMTPSA id t9-v6sm40028668wra.91.2018.09.18.06.15.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Sep 2018 06:15:01 -0700 (PDT) Message-ID: <1537276494.10481.7.camel@debian.org> From: Luca Boccassi To: Louis Luo , "dev@dpdk.org" Cc: "maxime.coquelin@redhat.com" , "tiwei.bie@intel.com" , Yong Wang , "3chas3@gmail.com" <3chas3@gmail.com>, "bruce.richardson@intel.com" , "jianfeng.tan@intel.com" , "anatoly.burakov@intel.com" , "stable@dpdk.org" , Brian Russell Date: Tue, 18 Sep 2018 14:14:54 +0100 In-Reply-To: References: <20180816135032.28283-1-bluca@debian.org> <20180816135032.28283-3-bluca@debian.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/3] net/vmxnet3: fix vmxnet3 dev_uninit() hot-unplug 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: Tue, 18 Sep 2018 13:15:03 -0000 SGksCgpUaGUgYXBwbGljYXRpb24gbXVzdCBhbHJlYWR5IHN0b3AgYW5kIGNsb3NlIGJlZm9yZSBk ZXRhY2hpbmcgKHdoaWNoCndpbGwgY2FsbCB1bmluaXQpLiBRdW90aW5nIGZyb20gdGhlIGRvY3Vt ZW50YXRpb246CgoiKsKgwqBCZWZvcmUgZGV0YWNoaW5nLCB0aGV5IG11c3QgYmUgc3RvcHBlZCBh bmQgY2xvc2VkLgoKwqAgwqDCoERQREsgYXBwbGljYXRpb25zIG11c3QgY2FsbCAicnRlX2V0aF9k ZXZfc3RvcCgpIiBhbmQKwqDCoCDCoCJydGVfZXRoX2Rldl9jbG9zZSgpIiBBUElzIGJlZm9yZSBk ZXRhY2hpbmcgcG9ydHMuIFRoZXNlIGZ1bmN0aW9ucyB3aWxsCsKgwqAgwqBzdGFydCBmaW5h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