From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by dpdk.org (Postfix) with ESMTP id 714855689 for ; Fri, 26 Aug 2016 02:34:21 +0200 (CEST) Received: by mail-pf0-f176.google.com with SMTP id x72so22581785pfd.2 for ; Thu, 25 Aug 2016 17:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cB9FMp5aUSNIkA5dvLyIcsL5BQtzdlKHOgRMQ2ojaCk=; b=Sg5sHp680aacpXWrtHRd9sPRQUmG5r4Ac84VnqqzQOFq+PO3qpQH1CoL//l6RLdN5r Uj2PA8P28CoJi2ndM9umonGiCzsHk52dVCLCDrXE0l1VZQFldw4aaRC+fuVt5JjVD7d8 bn8lVqGNu+OktVAgqI4ObUMDREYY691cJzFXF34RjQGPSSGVuRVsigcRJl/zKrDBjUyv cmX2dlUeLFjJGRA8ATbMknFyCB0UR3t40h+1S40+GzV5HJNUyokoxbMSR/Y1ZVXV1Uop mrsMTDedWHBi980qJt6eYScPsq0wGDnGcxlq+1XIj7rT59C3lJ5S9r+QxpUg1pHs0Cr+ Cc/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cB9FMp5aUSNIkA5dvLyIcsL5BQtzdlKHOgRMQ2ojaCk=; b=i/G3W3uRahsyAJ8nH3RBXatk3H2P8nDoxb7NS6aSRLQRAYRqrNTGcSpy2jlq87urmJ VjKa46AkDYGZ5OYcD7CUXpek9cjEBZ/O5Lj3boacPm0cud+gox6WhCau7RPoZPQOA9Oa 8peyD48+ymsW8C2hsmIjc8YXfp7BsgFSWGzyYu+Dmm5vPtWCOEaVdaB8V5FBwyB6KL3l UCu8sGY6avvJbTU9JLBZOWgYV4kimR5ZStDYwN3FvFfE2gwHesqOLCX3xzqpRiAzCaoH B0msqYrsYsUTsBWov9m+Nye03TlO7CJz946Nr2T4zy15/2dQRvZ3ZwpWGVHvlNP/3KMX ImYw== X-Gm-Message-State: AE9vXwPmBOzs1b19J6N0RfHnH621yeCBQqecSOYggNlivDInID4YXqnkKPhyFn3VN5/BOA== X-Received: by 10.98.24.194 with SMTP id 185mr792862pfy.52.1472171660765; Thu, 25 Aug 2016 17:34:20 -0700 (PDT) Received: from xeon-e3 (static-50-53-69-251.bvtn.or.frontiernet.net. [50.53.69.251]) by smtp.gmail.com with ESMTPSA id p67sm23518116pfg.22.2016.08.25.17.34.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Aug 2016 17:34:20 -0700 (PDT) Date: Thu, 25 Aug 2016 17:34:33 -0700 From: Stephen Hemminger To: Ivan Boule Cc: dev@dpdk.org Message-ID: <20160825173433.44c2b2cb@xeon-e3> In-Reply-To: <1366116153-19785-1-git-send-email-ivan.boule@6wind.com> References: <1366116153-19785-1-git-send-email-ivan.boule@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] ethdev: add support for device offload capabilities 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, 26 Aug 2016 00:34:21 -0000 On Tue, 16 Apr 2013 14:42:33 +0200 Ivan Boule wrote: > + /* Default device offload capabilities to zero */ > + dev_info->rx_offload_capa = 0; > + dev_info->tx_offload_capa = 0; dev_info is already memset to 0 about 3 lines before this so this is unnecessary.