From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id C54792C6A for ; Thu, 16 Aug 2018 15:50:49 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id h10-v6so4227291wre.6 for ; Thu, 16 Aug 2018 06:50:49 -0700 (PDT) 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; bh=SKfHdVgYk84ho3ZMkITSEht5vfcVBuXAfuxZxml2A+Q=; b=JhctfSUXPmoyxyW08VSJTTjR9xUJkEh5Q9PmkGmqAPewXSD5vhrQ/HlU4ueWbxKdY7 gbHaOR1jWjAcfHO1TMCjOTjDmJDfLJ7uWDnk4UL6XApde74qeSz7LN8fxTpCvSEQLOeb J01I1NuF0MHJxyGZEZ5CaKPhCX6S9vYSD6/nx5425S99LPMbhCtyGWTmq0JkaBBMnFsK Oos/o9IYVekkS9fhdwFRzGNhQ+d8dxNwml6pqs6N9nRYrs+Tk/34FmsmD2vmnR0uiups +lDRi/twFMfi+DWs96Ff9iDTHAAOR+/kTfwEwYzMfSl7BgcHQb/eGy4QRcPZzgm5tXn5 L26w== X-Gm-Message-State: AOUpUlGnHsULPk+Y2Kqa48ojxQ1RquOChQRT/TUJUes1EPOn6hWVGYNS c8WWdhaneK6oKk7dx8/dmPHZVU0psTI= X-Google-Smtp-Source: AA+uWPwXHSb5YcbQGjOTVH0+sVHI8o9TSQLElAP6q0Uzlqe4SZhAoZVcj/lqibof2YGb5cMQjlsjxQ== X-Received: by 2002:adf:9404:: with SMTP id 4-v6mr887733wrq.129.1534427449071; Thu, 16 Aug 2018 06:50:49 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcfe:41aa:5bfa:6cf3:7531]) by smtp.gmail.com with ESMTPSA id f132-v6sm1697940wme.24.2018.08.16.06.50.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Aug 2018 06:50:48 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: maxime.coquelin@redhat.com, tiwei.bie@intel.com, yongwang@vmware.com, 3chas3@gmail.com, bruce.richardson@intel.com, jianfeng.tan@intel.com, anatoly.burakov@intel.com, Luca Boccassi Date: Thu, 16 Aug 2018 14:50:29 +0100 Message-Id: <20180816135032.28283-1-bluca@debian.org> X-Mailer: git-send-email 2.18.0 Subject: [dpdk-dev] [PATCH 0/3] Fix hot plug/unplug of virtual devices 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: Thu, 16 Aug 2018 13:50:49 -0000 Although not very common and perhaps a bit strange, we do have users that want to be able to hot plug/unplug virtio or vmxnet devices from a running system, without shutting down the application nor the VM. We have been enabling this in production for a year or so, so it's well tested. The only issues found so far are fixed by this series. Luca Boccassi (3): net/virtio: register/unregister intr handler on start/stop net/vmxnet3: fix vmxnet3 dev_uninit() hot-unplug eal/linux: handle uio read failure in interrupt handler drivers/net/virtio/virtio_ethdev.c | 26 ++++++++------ drivers/net/vmxnet3/vmxnet3_ethdev.c | 36 ++++++++++++++------ lib/librte_eal/linuxapp/eal/eal_interrupts.c | 19 ++++++++++- 3 files changed, 59 insertions(+), 22 deletions(-) -- 2.18.0