From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id D51276882 for ; Fri, 13 Jun 2014 15:37:34 +0200 (CEST) Received: by mail-wi0-f171.google.com with SMTP id n15so904076wiw.16 for ; Fri, 13 Jun 2014 06:37:50 -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:cc:subject:date:message-id; bh=2BZJv5QW1QLS/4sShei77m0mS2lzrTDzKCwJIOVFt4M=; b=UollWK/DlOvXVP7Dv7eKxIo7eC9JfzKHbXz6Z9jNcrlq5umtoJ8bbJD72+ta9e8WTV WhBdGjs+VdN47TfCQaCL8MLWL5GqKar1T/+e7ZJiu3rFJ5tBo8/bVLFHIgcgCRWldcgH o4Qc9raAg6HnB6KVSS/AhL19sqP/34EgYnOVKeQU4ql6sqiIc+BmBJD9kBEbPhnqj7cP 2sUQw0ysOv05jJq3mkqp9wLu2fp/VX18U5GLJzykW6HxHpRKgCuEr4hSrEEwMDnMs/Mf sn2aRF4EOuXoEiEhahcIw8Q780WUQUdJ3TQU9Km9/2TZsYoGD5nEigwIYEZap3NDtTAn wqQw== X-Gm-Message-State: ALoCoQkl09mTnehN7eTC0xkdY8fDknO8TRZWQx4eJfgqnA1ntl3KsI8xKkKfo6e2THKD5fyvu8r2 X-Received: by 10.194.120.68 with SMTP id la4mr4559160wjb.40.1402666670061; Fri, 13 Jun 2014 06:37:50 -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 s9sm2568157wix.13.2014.06.13.06.37.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jun 2014 06:37:49 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Fri, 13 Jun 2014 15:37:36 +0200 Message-Id: <1402666663-10260-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH v2 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: Fri, 13 Jun 2014 13:37:35 -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 -- 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 | 76 ++++++++++++++++-- lib/librte_ether/rte_ethdev.h | 65 +++++++++++++++- 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 | 144 ++++++++++++++++++++++++++++++++++- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 27 ++++++- 11 files changed, 569 insertions(+), 16 deletions(-) -- 1.7.10.4