From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id B9D1E2986 for ; Thu, 3 Mar 2016 00:07:37 +0100 (CET) Received: by mail-wm0-f51.google.com with SMTP id l68so107646427wml.0 for ; Wed, 02 Mar 2016 15:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=QJEX74SyWOW9gUmlbPxq3iS5xgD/9+O+qeNgvmbI3SM=; b=ZeBE7hVRQ4W1f5t96970nKcIH2JsdEpwVhTRE1WQSC+ozw7AXfy/jOl8wb3qoJTqiW jKhrYS1mqDHtExTXoCWL97D4j+zWRzXugM9h8zmL/g6p00Hex2DNauPVszlySn2deWm1 kK8RChh1caHZVCcRuIeEtMypje+SI3idb4+Dsq73WpjcSvNk9kqZw0C1rEnuZRP6g7g2 mGyYDg1oAWTIlXvGBTJThsgfZWPr0ohUcJVek6USDQLV22sdlqdhzLOIG7y/FmaAbJS7 RrL6yCY73S2B0qHi3QLZdNvJ2lGF96xLaLN1YtxJfRsIsBzukm5IBENwqHKc/kCQAUKm bczw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=QJEX74SyWOW9gUmlbPxq3iS5xgD/9+O+qeNgvmbI3SM=; b=LOAIV9/DQC5UkHLLw/lUzgWklilg15apD1XkaZbbOeEbmINOS89dBVSbWSR1U1yI4x Os1GWUpc+UW+16RXd2kWpatz/cNODfWXdTH18G53ZmXJlV73bIC1rRfkM7cG9gaf3INd CGLoJZNO3xrSTIF+CrbzodHJXYXUXZWY5pxC0+3M09mgu+buUQA45vED8yKc2+L9YrD3 hzWZ+O0u7t1wu29WeVO6Xc4FuIhaoYiPN5XR925V+n4JLhEu3MeMSoOsAxqy1h7p55Ul cl+LlFTR2ljp5GQGM8Xu1+iIL3ahplBCXC3pB9dmkPVMyldVOc3Sll5anG+v//TT16SZ 110w== X-Gm-Message-State: AD7BkJJv2cDIIJDTczMeiVEFbmUrTdydNfWu1kC3WZBWPkxmHwImJt4Qli8q/6o8Pbx/R7YK X-Received: by 10.28.6.139 with SMTP id 133mr2443171wmg.84.1456960057505; Wed, 02 Mar 2016 15:07:37 -0800 (PST) Received: from ?IPv6:2a01:e35:8a8e:1b70:4973:eafe:5e54:fd01? ([2a01:e35:8a8e:1b70:4973:eafe:5e54:fd01]) by smtp.gmail.com with ESMTPSA id o128sm6182525wmb.19.2016.03.02.15.07.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Mar 2016 15:07:36 -0800 (PST) To: Stephen Hurd References: <2110917.95LWFiBeeK@xps13> <20160302082450.6f64cf8e@xeon-e3> From: Vincent JARDIN Organization: www.6wind.com Message-ID: <56D77229.1080100@6wind.com> Date: Thu, 3 Mar 2016 00:07:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] New driver (large patch) question. 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, 02 Mar 2016 23:07:37 -0000 Please, Le 02/03/2016 22:30, Stephen Hurd a écrit : > Too many of the DPDK drivers are bloated. >>Recall the venerable paraphrase of Pascal, "I made this so long because I >>did not have time to make it shorter." >>https://en.wikipedia.org/wiki/Wikipedia:Too_long;_didn%27t_read Keep In Simple, Small Is Beautiful, the big drivers with dead codes are not easy to be maintained. We have lot of duplication of efforts between the kernel and some DPDK PMDs, Currently, the breakdown of Lines of Codes of the PMDs are: 492 ring 522 null 666 af_packet 829 pcap 1229 szedata2 1300 mpipe 1411 xenvirt 2036 nfp 2260 vmxnet3 3074 virtio 4129 mlx4 4205 bonding 4524 mlx5 4904 enic 7654 cxgbe 7969 fm10k 27862 ixgbe 29209 e1000 31392 i40e 38031 bnx2x (I did use cloc). Vincent