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 3C0977E1C for ; Wed, 1 Oct 2014 11:47:25 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 01 Oct 2014 02:44:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,631,1406617200"; d="scan'208";a="599219879" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 01 Oct 2014 02:54:07 -0700 Received: from irsmsx110.ger.corp.intel.com (163.33.3.25) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 1 Oct 2014 10:54:07 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.21]) by IRSMSX110.ger.corp.intel.com ([169.254.15.199]) with mapi id 14.03.0195.001; Wed, 1 Oct 2014 10:54:06 +0100 From: "De Lara Guarch, Pablo" To: "dev@dpdk.org" Thread-Topic: [PATCH v3 0/3] Get default RX/TX configuration Thread-Index: AQHP3Vz9h/UTrHhe6EWE8UZRBtNuX5wa///g Date: Wed, 1 Oct 2014 09:54:06 +0000 Message-ID: References: <1412150458-26213-1-git-send-email-pablo.de.lara.guarch@intel.com> <1412156945-6549-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1412156945-6549-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 0/3] Get default RX/TX configuration 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, 01 Oct 2014 09:47:25 -0000 > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Wednesday, October 01, 2014 10:49 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [PATCH v3 0/3] Get default RX/TX configuration >=20 > These patches modified the dev info structure to include optimal values > for the RX/TX configuration structures (rte_eth_rxconf and rte_eth_txconf= ), > so users can get these configurations and modify or use them directly, > to set up RX/TX queues. Besides, most of the apps that were modifying lit= tle > or none of the default values of the structures, have been modified to ge= t > these values to simplify the code and avoid duplication. >=20 > Pablo de Lara (3): > ether: Reset whole dev info structure > pmd: Modified dev_info structure to include default RX/TX > configuration > app: Used default RX/TX configuration got from dev info in apps Changes in V3: - Separated dev info reset in different patch - Deleted unnecessary local variables - Added extra documentation for RX/TX queue setup functions. >=20 > examples/dpdk_qat/main.c | 44 ++------------ > examples/exception_path/main.c | 30 +--------- > examples/ip_fragmentation/main.c | 47 +++-----------= - > examples/ip_reassembly/main.c | 50 +++-----------= -- > examples/ipv4_multicast/main.c | 48 +++-----------= - > examples/kni/main.c | 34 +---------- > examples/l2fwd-ivshmem/host/host.c | 43 +------------ > examples/l2fwd/main.c | 48 +-------------= - > examples/l3fwd-acl/main.c | 50 +++-----------= -- > examples/l3fwd-power/main.c | 51 +++-----------= -- > examples/l3fwd-vf/main.c | 36 +++-------- > examples/l3fwd/main.c | 58 ++++----------= ----- > examples/link_status_interrupt/main.c | 43 +------------ > examples/load_balancer/init.c | 24 +------- > .../client_server_mp/mp_server/init.c | 41 +------------ > examples/multi_process/l2fwd_fork/main.c | 44 +------------- > examples/multi_process/symmetric_mp/main.c | 36 +---------- > examples/netmap_compat/bridge/bridge.c | 25 -------- > examples/netmap_compat/lib/compat_netmap.c | 6 +- > examples/netmap_compat/lib/compat_netmap.h | 2 - > examples/qos_meter/main.c | 36 ++++-------- > examples/quota_watermark/qw/init.c | 26 ++------- > examples/vhost_xen/main.c | 34 ++--------- > examples/vmdq/main.c | 62 +++-----------= ------ > examples/vmdq_dcb/main.c | 36 +---------- > lib/librte_ether/rte_ethdev.c | 18 +++++- > lib/librte_ether/rte_ethdev.h | 6 ++ > lib/librte_pmd_e1000/igb_ethdev.c | 32 ++++++++++- > lib/librte_pmd_i40e/i40e_ethdev.c | 33 ++++++++++ > lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 36 +++++++++++ > 30 files changed, 261 insertions(+), 818 deletions(-) >=20 > -- > 1.7.4.1