From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Daley Subject: [PATCH 0/4] enic: enable MTU update callback Date: Thu, 16 Jun 2016 22:22:45 -0700 Message-ID: <1466140969-5580-1-git-send-email-johndale@cisco.com> Cc: bruce.richardson@intel.com, John Daley To: dev@dpdk.org 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) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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