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 3DE535398 for ; Wed, 19 Sep 2018 18:08:33 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id 20-v6so6380325wrb.12 for ; Wed, 19 Sep 2018 09:08:33 -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=tSJIrV8cQKbXsbcK/0aqWSeMWXUxtuNlhc/ysN3j1bU=; b=MpzpVRMaB9TyQhx/mlG3eGsUXJ5p0S9dY8+YfNM146Z311/h14VRnMveXQxxS77vN8 ymXfRC8CubspZtFlVCYfKlvCKNsuRzKJw7lYz6EWXafbZ0tOf3yr9f5bi/iO+rJOMZJt CUA4DT3SSsmHFJeTbFCNcZhJ0k1FmMkZgjZiMpGbyjO/XV89Ey+k5K32oV4mPOWSoWLb VTF+Uras/UC4yM1VjPSySMwLewy2+5xwObTqp5S1rZQ16NVQnxjEa7IDwbcjIlOJjIKB dJuTe/84eQcHpnUF47uPnkOzf8ruub/6wY1CwBwvDziJh9ckwjjKy2zlRbqZn1+vC82Q 3AgA== X-Gm-Message-State: APzg51C2pWU4IlNpcIUXa8+jXWrDv0P9WEv3xHWkcbZlXNBb8IC87+yF lP4IFYSG5gNwGaDvDE+4vR8= X-Google-Smtp-Source: ANB0VdbKXVlRP1fRTCXJH7fniSw7L9ssN9vvgTX3x7+Pyy1fcYDCCH9t6QvKPoJqLlOUDauYpPqgCg== X-Received: by 2002:a5d:490b:: with SMTP id x11-v6mr28175056wrq.114.1537373312912; Wed, 19 Sep 2018 09:08:32 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id b189-v6sm7841778wmd.39.2018.09.19.09.08.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Sep 2018 09:08:31 -0700 (PDT) Message-ID: <1537373311.10481.28.camel@debian.org> From: Luca Boccassi To: Chas Williams <3chas3@gmail.com> Cc: dev@dpdk.org, Maxime Coquelin , tiwei.bie@intel.com, yongwang@vmware.com, Bruce Richardson , Jianfeng Tan , "Burakov, Anatoly" , llouis@vmware.com, brussell@vyatta.att-mail.com Date: Wed, 19 Sep 2018 17:08:31 +0100 In-Reply-To: References: <20180816135032.28283-1-bluca@debian.org> <20180919125757.17938-1-bluca@debian.org> <20180919125757.17938-2-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 v2 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: Wed, 19 Sep 2018 16:08:33 -0000 T24gV2VkLCAyMDE4LTA5LTE5IGF0IDExOjQ3IC0wNDAwLCBDaGFzIFdpbGxpYW1zIHdyb3RlOgo+ IE9uIFdlZCwgU2VwIDE5LCAyMDE4IGF0IDg6NTggQU0gTHVjYSBCb2NjYXNzaSA8Ymx1Y2FAZGVi aWFuLm9yZz4KPiB3cm90ZToKPiA+IAo+ID4gVGhlIHZteG5ldDMgZHJpdmVyIGNhbid0IGNhbGwg YmFjayBpbnRvIGRldl9jbG9zZSgpLCBhbmQgcG9zc2libHkKPiA+IGRldl9zdG9wKCksIGluIGRl dl91bmluaXQoKS7CoMKgV2hlbiBkZXZfdW5pbml0KCkgaXMgY2FsbGVkLCBhbnl0aGluZwo+ID4g dGhhdCB0aG9zZSByb3V0aW5lcyB3b3VsZCB3YW50IHRvIGNsZWFuIHVwIGhhcyBh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