From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) by dpdk.org (Postfix) with ESMTP id 6F4CFCC00 for ; Fri, 17 Jun 2016 07:22:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1120; q=dns/txt; s=iport; t=1466140973; x=1467350573; h=from:to:cc:subject:date:message-id; bh=FhUzKy41CW8+eskMTqnBMZJjxoVVxS1ZxKYqY217QZ8=; b=VJn5U/VXNteWnkvhN+efmvPHD8mJDjtQzoOpkHG5P92FIAsbx8o+gEmR eWfO/HnR9WZpULW3Mu8gg6BwS6wFs7K+s7QwZvw5OZxKxRhV/5sIkKfEl +PqgfGbuukY3T4OSpgceHudOqvuLFKk87OrWpIR/vphLhDwmBkVCje1Qd 4=; X-IronPort-AV: E=Sophos;i="5.26,481,1459814400"; d="scan'208";a="286770694" Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jun 2016 05:22:52 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id u5H5MqLC017600; Fri, 17 Jun 2016 05:22:52 GMT Received: by cisco.com (Postfix, from userid 392789) id 0CCE93FAAE30; Thu, 16 Jun 2016 22:22:52 -0700 (PDT) From: John Daley To: dev@dpdk.org Cc: bruce.richardson@intel.com, John Daley Date: Thu, 16 Jun 2016 22:22:45 -0700 Message-Id: <1466140969-5580-1-git-send-email-johndale@cisco.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH 0/4] enic: enable MTU update callback 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, 17 Jun 2016 05:22:53 -0000 This patchset determines the max egress packet size allowed on the NIC and uses it to set an upper limit for MTU. An MTU update function is added, but only works if Rx scatter is disabled. If Rx scatter is enabled, -ENOSUP is returned. Another patch with Rx scatter support will come later. These patches should apply cleanly to dpdk-net-next rel_16_07 or on the enic Rx scatter patch http://www.dpdk.org/dev/patchwork/patch/13933/ John Daley (4): enic: enable NIC max packet size discovery enic: set the max allowed MTU for the NIC enic: add an update MTU function for non-rx scatter mode doc: add MTU update to feature matrix for enic doc/guides/nics/overview.rst | 2 +- drivers/net/enic/base/vnic_enet.h | 17 ++++++++++++++- drivers/net/enic/enic.h | 2 ++ drivers/net/enic/enic_ethdev.c | 13 ++++++++++-- drivers/net/enic/enic_main.c | 44 +++++++++++++++++++++++++++++++++++++++ drivers/net/enic/enic_res.c | 25 +++++++++++++++------- drivers/net/enic/enic_res.h | 4 +++- 7 files changed, 94 insertions(+), 13 deletions(-) -- 2.7.0