From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id 626F3590C for ; Tue, 17 Jun 2014 20:09:28 +0200 (CEST) Received: by mail-wi0-f177.google.com with SMTP id r20so6339824wiv.16 for ; Tue, 17 Jun 2014 11:09:44 -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:subject:date:message-id; bh=34Ew6CV4RGnn3uRbiefQ5gwMK93N8kBJLKnyfu9Vkj4=; b=EiZNGbvS4zOZochL65D7XU8SDQBv2j8dIu+t19aZKnvJkIxDB7cZS8LVVFrgm1YinB TxFu6RyztXiX1GJsVxpMM8SBcPY6lNL7k+JmZHyMtvJSzaDctFaIUYKnlFcSN1ie9ivs r3aDa2ULXBbReX85+mvdLn2uBQ9wJe5aSjeC77ptnYtBu8+6/QCdfAVKWjICSRxLzekG lNI1e7DoIv785nxR7p/WgzCGVg036qJuqJ03mpwHxfsp35fAHeDtJntyOmYUwGDvtHYW aNS92ZSpB5vZRsetF7rNqLxOU1yfvg+rn1MEJ5npB2+nCOhZyYFISIlH7OqQNTc6MleT f0OQ== X-Gm-Message-State: ALoCoQnCqqtHrytrGR3WI+eLzbkkD52pjxD5DPEBJCV4pSF+VCCf93UKCkkb38T7GxoyBVrxlNTM X-Received: by 10.194.222.5 with SMTP id qi5mr41059163wjc.62.1403028584577; Tue, 17 Jun 2014 11:09:44 -0700 (PDT) Received: from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id ge17sm1711552wic.0.2014.06.17.11.09.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jun 2014 11:09:43 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Tue, 17 Jun 2014 20:09:25 +0200 Message-Id: <1403028572-24794-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH v3 0/7] add mtu and flow control handlers 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: Tue, 17 Jun 2014 18:09:28 -0000 This patchset introduces 3 new ethdev operations: flow control parameters retrieval and mtu get/set operations. Changes since v1: - compute min rx buffer size at ethdev level (to simplify pmd mtu checks) - introduce enable_scatter rx mode so that we can advise pmd to configure scatter mode - rework mtu get/set operations (based on Konstantin comments) - pass checkpatch.pl checks Changes since v2: - rebase on top of master - fix min_rx_buf_size computation (patch 3) - fix frame size checks for ixgbe so that vlan and double vlan frames can be received (patch 5 and 6) - add a new ETHER_MIN_MTU macro in rte_ether.h (patch 5 and 6) -- David Marchand David Marchand (3): ethdev: add autoneg parameter in flow ctrl accessors ethdev: store min rx buffer size ethdev: introduce enable_scatter rx mode Ivan Boule (2): ixgbe: add set_mtu to ixgbevf app/testpmd: allow to configure mtu Samuel Gauthier (1): ethdev: add mtu accessors Zijie Pan (1): ethdev: retrieve flow control configuration app/test-pmd/cmdline.c | 54 +++++++++++++ app/test-pmd/config.c | 13 ++++ app/test-pmd/testpmd.h | 2 +- lib/librte_ether/rte_ethdev.c | 77 +++++++++++++++++-- lib/librte_ether/rte_ethdev.h | 65 +++++++++++++++- lib/librte_ether/rte_ether.h | 2 + lib/librte_pmd_e1000/em_ethdev.c | 89 +++++++++++++++++++++ lib/librte_pmd_e1000/em_rxtx.c | 5 ++ lib/librte_pmd_e1000/igb_ethdev.c | 100 ++++++++++++++++++++++++ lib/librte_pmd_e1000/igb_rxtx.c | 10 +++ lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 145 ++++++++++++++++++++++++++++++++++- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 27 ++++++- 12 files changed, 573 insertions(+), 16 deletions(-) -- 1.7.10.4