From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ravi Kerur Subject: [PATCH v3] Send updated port_id in vdev_init functions Date: Wed, 23 Sep 2015 14:15:47 -0700 Message-ID: <1443042947-8208-1-git-send-email-rkerur@gmail.com> To: dev@dpdk.org 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) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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