From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8F30A20BD for ; Wed, 9 Aug 2017 10:42:10 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2017 01:42:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,346,1498546800"; d="scan'208";a="138116292" Received: from unknown (HELO dpdk5.bj.intel.com) ([172.16.182.182]) by fmsmga006.fm.intel.com with ESMTP; 09 Aug 2017 01:42:08 -0700 From: Zhiyong Yang To: dev@dpdk.org Cc: thomas@monjalon.net Date: Wed, 9 Aug 2017 16:42:01 +0800 Message-Id: <20170809084203.17562-1-zhiyong.yang@intel.com> X-Mailer: git-send-email 2.13.3 Subject: [dpdk-dev] [PATCH 0/2] increase port_id range 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, 09 Aug 2017 08:42:11 -0000 port_id is currently defined as uint8_t, which is limited to the range 0 to 255. A larger range is required for vdev scalability. It is necessary for a redefinition of port_id to extend it from 1 bytes to 2 bytes. All ethdev APIs and usages related to port_id will be changed at the same time. Below is an API/ABI change notice for DPDK 17.11. http://www.dpdk.org/dev/patchwork/patch/27475/ Discussion about port_id is the following thread. http://www.dpdk.org/dev/patchwork/patch/23208/ Zhiyong Yang (2): ethdev: increase port_id range examples: increase port_id range app/pdump/main.c | 2 +- app/test-pmd/cmdline.c | 4 +- app/test-pmd/testpmd.c | 4 +- app/test-pmd/testpmd.h | 2 +- drivers/net/bonding/rte_eth_bond.h | 40 ++-- drivers/net/bonding/rte_eth_bond_8023ad.c | 6 +- drivers/net/bonding/rte_eth_bond_api.c | 54 +++--- drivers/net/bonding/rte_eth_bond_pmd.c | 10 +- drivers/net/bonding/rte_eth_bond_private.h | 36 ++-- drivers/net/failsafe/failsafe_ether.c | 4 +- drivers/net/failsafe/failsafe_private.h | 4 +- drivers/net/ring/rte_eth_ring.c | 2 +- examples/bond/main.c | 6 +- examples/ip_fragmentation/main.c | 4 +- examples/l3fwd-power/main.c | 7 +- examples/l3fwd/l3fwd.h | 10 +- examples/l3fwd/l3fwd_em.c | 2 +- examples/l3fwd/l3fwd_lpm.c | 2 +- examples/link_status_interrupt/main.c | 5 +- examples/performance-thread/l3fwd-thread/main.c | 7 +- examples/rxtx_callbacks/main.c | 8 +- lib/librte_ether/rte_ethdev.c | 231 +++++++++++------------ lib/librte_ether/rte_ethdev.h | 236 ++++++++++++------------ lib/librte_ether/rte_tm.c | 62 +++---- lib/librte_ether/rte_tm.h | 60 +++--- lib/librte_ether/rte_tm_driver.h | 2 +- lib/librte_latencystats/rte_latencystats.c | 8 +- lib/librte_pdump/rte_pdump.c | 16 +- lib/librte_pdump/rte_pdump.h | 4 +- lib/librte_port/rte_port_ethdev.c | 6 +- lib/librte_port/rte_port_ethdev.h | 6 +- 31 files changed, 431 insertions(+), 419 deletions(-) -- 2.13.3