Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp43704imm; Thu, 20 Sep 2018 13:48:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZBKys78K/3NJtW9LGt7svLpSDPCXM9+ouWdqqHeAO6/wyanD5Rhr3BdqV2VxBwtNBXsxQr X-Received: by 2002:a63:231c:: with SMTP id j28-v6mr38140912pgj.332.1537476537591; Thu, 20 Sep 2018 13:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537476537; cv=none; d=google.com; s=arc-20160816; b=jD9k5nNwNnYB6zOZq3pcX+zhbJCbcgzLydk38FR/4iEUhKDxwjYGjKXNv/bW/0J2hC wrxa3c6irrsl02fl0a5JCdsKEghb9/CBKEMHZBLxfsEJM79WMAD9nrv5vXF0iD/7IRAW ThNhiUohWjMY3kNwXZ0DgrAMIBvtPt484sNZMkSjeNzWtUZdYV6mv/JF17XQreVFdb1n P2YXOW+NsV79r9ok8xxziDIYEMhnOP3KdGu2Y14qhK5Pj1eEsIY5XnXbO5LrOILwmMwg jD/o9SAjc8w1c9T4cOyUZIFdDJSyJ9XMfL6eDca0aX1k7wC+mvLGRFciat8tkkPrWfh+ A4vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=KlIFZq0BkhiXStaglp5pOQnVXeaD2lYE0VybL9AYoMQ=; b=l4BD7rvLoitmfQHoH0NFLXm9qsu+k3iOe1se418+JnZWiE269t3p7oZJ1Y9oLF8RBs m7WwpU3/hgnkE0s/LesHiJKxP59EfALHB1Ocf6UZnbBShTcO+FZ3tpmUfQCkFUjelLzz McdfoAu7VfVvwnhuDt81R+gKZYvNEkeu3oloAm6xwRQJH2d8l/dPYHG/3N0zDC/CrGw3 fhVFxMLnOXo7jTlvMT2tnCsftUECEFciZV+4fdcNOfZlsDMA6c8yGUBY8hs+v4QQolxn j2SCuoeWwYqWeFSpjBrUW35slHRSw/uKr+6oIuQIK2Hxdfhg2uTL3FCeW/q8axqVjGIZ fcqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=mI0WfvuB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92-v6si25659482pli.518.2018.09.20.13.48.42; Thu, 20 Sep 2018 13:48:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=mI0WfvuB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388690AbeIUCdg (ORCPT + 99 others); Thu, 20 Sep 2018 22:33:36 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:33337 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388513AbeIUCd0 (ORCPT ); Thu, 20 Sep 2018 22:33:26 -0400 Received: by mail-pg1-f193.google.com with SMTP id y18-v6so1674053pge.0 for ; Thu, 20 Sep 2018 13:48:07 -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=KlIFZq0BkhiXStaglp5pOQnVXeaD2lYE0VybL9AYoMQ=; b=mI0WfvuB6Uf8JA34dMS4SdFd1lGuFnGO8Ky6fWCibLrSYQW3SbpvbgcnJ/YgVrBuTk bNyia8abPCSfpPwXehQpSr3beLV1MWP2PLby6siJy6J7R+Z+5cgOlzgqxxxjEzdi6oq/ AKPzjN58SpKOEuCmfu9u9RvzPnemqsvJg+QnFizWw9Y9hvT1gtaomMpd0ZqADJhCsV59 lgp9h5fCNV7SXZIzX4kaCMi4FCtU223SV7wvGRYYxirrc5jTgHWBuua3vJXj7HpDOHGC /XVe815UR0bdkDzdSRGu7JU9uM6G63e3ch1tjq54whRjlq4lMEnhbd19kjKTmSB6Qy/F Oguw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KlIFZq0BkhiXStaglp5pOQnVXeaD2lYE0VybL9AYoMQ=; b=cbLpwc6Mx0BlEOdGqjsvHy4girwVVNWTHF+XT4/PhBb7SGyxt2xTrAkuCC5PU4nFB+ OuadHt1pbPGqGVhhTr4W6hcp3Qt5vT4SZ9OIfxs2Vekx6qXnMRu9pYzLXrttbc3ZlzlP lKxSTA3iGkxC0gczHuTdBB87GWKjRnmdbO49tl1FLrN2o3J6YgljxFlBhygan7kQrK+U MoZWafBzvi/vFseMXec+M7l5NqulQBEFRv7sF/3P8dJvgFCdGNskxZDrO+67I+tFChag RbWNRvJRK37/AraAw5YDqe/gaBLscuubYIM2k/AKs3mk1U+gwmCzzuX5O0OlRAV85JD6 Z1bA== X-Gm-Message-State: APzg51AnlFM+4ZILtw6tt83+7plQBGcacjUeK472mZTwpuj7dIq1eJU5 tEj332jL4pwFugmj/2VTk8H5DA== X-Received: by 2002:a62:1b41:: with SMTP id b62-v6mr19364320pfb.172.1537476487163; Thu, 20 Sep 2018 13:48:07 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z11-v6sm42952174pfi.4.2018.09.20.13.48.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Sep 2018 13:48:07 -0700 (PDT) Date: Thu, 20 Sep 2018 13:47:59 -0700 From: Stephen Hemminger To: Haiyang Zhang Cc: haiyangz@microsoft.com, davem@davemloft.net, netdev@vger.kernel.org, olaf@aepfle.de, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, vkuznets@redhat.com Subject: Re: [PATCH net-next, 1/3] hv_netvsc: Add support for LRO/RSC in the vSwitch Message-ID: <20180920134725.3e149a0b@xeon-e3> In-Reply-To: <20180920170701.9574-2-haiyangz@linuxonhyperv.com> References: <20180920170701.9574-1-haiyangz@linuxonhyperv.com> <20180920170701.9574-2-haiyangz@linuxonhyperv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Sep 2018 17:06:59 +0000 Haiyang Zhang wrote: > +static inline void rsc_add_data > + (struct netvsc_channel *nvchan, > + const struct ndis_pkt_8021q_info *vlan, > + const struct ndis_tcp_ip_checksum_info *csum_info, > + void *data, u32 len) > +{ Could this be changed to look more like a function and skip the inline. The compiler will end up inlining it anyway. static void rsc_add_data(struct netvsc_channel *nvchan,