From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by dpdk.org (Postfix) with ESMTP id E06378E66 for ; Wed, 23 Sep 2015 23:15:45 +0200 (CEST) Received: by padhy16 with SMTP id hy16so50938453pad.1 for ; Wed, 23 Sep 2015 14:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=zijN4c5ihLT0rwonBGIcpyvEPRBFc9ctDjP/kxDur2c=; b=Kj5aU1TBxTV4/HpLu2of047nI6JS06EL8dH74UrkCNZW6chEPP6jM4J9zyT9o6lGGg SezeeuYpiHiOLIJ8lbLQI0Nh2KFQFCR8CBVGZBhez3dY98djU6S1ij5z2+YBk9bR43y5 LkqBUtcutpKQYjGRPXLXFGxp8muzW/1MBLkmCFr+ZXDXOW+B5TUjhYAHHNn+CLvHHoZm xo8yQ01KI4Cg2xu3E52j6yj1Ky1O+YvubbXWUEtymx1V0nxX+9mn/orsu8c7mGVtU2KL V5Fot+kwuXPT0jpg6VRD4UHZ35RGJEOTSM0Gm6uIQqehnw17nsER6zEkwxm1af4KH5EA PFDQ== X-Received: by 10.68.218.137 with SMTP id pg9mr18522334pbc.160.1443042945256; Wed, 23 Sep 2015 14:15:45 -0700 (PDT) Received: from user-PC.hsd1.ca.comcast.net (c-24-4-155-27.hsd1.ca.comcast.net. [24.4.155.27]) by smtp.gmail.com with ESMTPSA id ey17sm9685372pac.26.2015.09.23.14.15.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Sep 2015 14:15:44 -0700 (PDT) From: Ravi Kerur To: dev@dpdk.org Date: Wed, 23 Sep 2015 14:15:47 -0700 Message-Id: <1443042947-8208-1-git-send-email-rkerur@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH v3] Send updated port_id in vdev_init functions 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, 23 Sep 2015 21:15:46 -0000 Instead of executing following functions before and after vdev_init > rte_eth_dev_save and > rte_eth_dev_get_changed_port update following functions to return allocated port_id. > rte_eal_vdev_init > rte_eal_probe_one Ravi Kerur (1): Change rte_eal_vdev_init to update port_id lib/librte_ether/rte_ethdev.c | 116 +++++++++++++++++++++++------------------- 1 file changed, 63 insertions(+), 53 deletions(-) -- 1.9.1