From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by dpdk.org (Postfix) with ESMTP id 6E7BF802E for ; Wed, 29 Oct 2014 09:42:40 +0100 (CET) Received: by mail-pd0-f172.google.com with SMTP id r10so2595556pdi.3 for ; Wed, 29 Oct 2014 01:51:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZlM3s3f1m+eEMJS7/gJRWV6H1zT+IjN092QmBbOcAPg=; b=P8CrVNC5IlbL6Y/xYvMTvSFu7pkopBEOmjYptofv28TFcM9ChXZzUNPAsAAyo5Ot37 AUEuYpG1VeObecfDbEYwRcqNQhpBX5sQobM36gT4pc9JSxFt7Tvesv2YL3kWn0z6G+2K YPYs3BOWIzwiwmImbGv7Q7bGgq8kBjbtnDkzZVd0FudUKvKPYAR5k7dy0OsafFWtM9b3 T9z6hsx/bI4L99a+chUW2RvEh+AzGvf6s/Y4JpzwYSfMhU22Drn3lZa4CTkkKXvNNhTx FlftvFZPL4MFOO19Orc5ZKmm7K+nsOq4x4FHMFpcPp/KCrvdpnzJnAzygG4f5oiwaHEX /NDA== X-Gm-Message-State: ALoCoQmk6NElmae6EWw5kSXywej+YnnURR0NRLFoeXq14YB+pK5Wd2Imd5sxK5/00cTf6wbmpOVu X-Received: by 10.68.163.65 with SMTP id yg1mr8965776pbb.21.1414572690733; Wed, 29 Oct 2014 01:51:30 -0700 (PDT) Received: from eris.hq.igel.co.jp (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id t1sm3699640pda.59.2014.10.29.01.51.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Oct 2014 01:51:30 -0700 (PDT) From: Tetsuya Mukawa To: dev@dpdk.org Date: Wed, 29 Oct 2014 17:51:22 +0900 Message-Id: <1414572682-21445-1-git-send-email-mukawa@igel.co.jp> X-Mailer: git-send-email 1.9.1 Cc: nakajima.yoshihiro@lab.ntt.co.jp, masutani.hitoshi@lab.ntt.co.jp Subject: [dpdk-dev] [Testing purpose] librte_pmd_e1000: Add workaround to test the port hotplug framework. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 08:42:40 -0000 This patch is for testing the port hotplug framework. Signed-off-by: Tetsuya Mukawa --- lib/librte_pmd_e1000/em_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_pmd_e1000/em_ethdev.c b/lib/librte_pmd_e1000/em_ethdev.c index 3f2897e..90ec2d7 100644 --- a/lib/librte_pmd_e1000/em_ethdev.c +++ b/lib/librte_pmd_e1000/em_ethdev.c @@ -286,7 +286,8 @@ static struct eth_driver rte_em_pmd = { { .name = "rte_em_pmd", .id_table = pci_id_em_map, - .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC, + .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC + | RTE_PCI_DRV_DETACHABLE, }, .eth_dev_init = eth_em_dev_init, .dev_private_size = sizeof(struct e1000_adapter), -- 1.9.1