Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4370818ybl; Tue, 20 Aug 2019 10:52:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVA4Yhcj/q4MRfVZrPzpL6hrY0yOMC8VJkRXemkKmCg+6H10ujMBr+8W8YAmuMVN6jLxJr X-Received: by 2002:a65:500a:: with SMTP id f10mr25873673pgo.105.1566323539103; Tue, 20 Aug 2019 10:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566323539; cv=none; d=google.com; s=arc-20160816; b=SKtc08tQ7oYRIPJcyNH9y5XJNpUSmnCRr538UWiGm/Zojx6p0l2fTCsuAHBUgs3AF1 D6fe7jtDbdvFUZXgEVq8sC8NCrRtCaXkkRJ8shB+zCgSZZJtV3nARONJk37hDjVSYSlr ltiW+MHK4kxXEJt2r2X20vu7j0us/t3XmAxOxBCyhoa7wedGRPYf5vC2YY+uPnjk2mHD kwI17WhaOrzt/VUo2whCOBUzBL4FgKRM0Cvz7EX+A0qBhsaoqtYA0FGsTMrTIoV8dUUy kH8w1DaeOh1GvFnoHltqEUXcYtSvYkE1YapHPqP0BtZ1G+GcrMEcj0LHsja9QhECirRD gq2g== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=Txs8pbiiUnD89seXj92NZ1C3XJDqPD2UGuLKY8IPMFc=; b=nrYu3PN0lRw12y9tvqjLvyQHljttIHJFh0oADcPwTCGvizS8CAeIlMovHSFT21J7fz C8B6iQEZvaybEwOeOCQioqR6JkUjVXvQ7EBbZEMDPOo9OuYhZiIBo6+QvrHmiuywtFYP ph0M6QopDqMi6OZjrXvepSjzUdvJnrS58Ed7VraKqRJ278EOM/iSY7Uq/s3BjH8fI+3T La7gvKJSgejvnTnIzQrEzCI41jaBCpytLGVCOEdPOUmw8ipQ2nAsdWKifaaoNeSYG6O2 x8ZDZSyL11h0rSwqn8q/OuDdxrhGRfbeuSb3wGUtYlNQfsHGD030bfFOsa42u2ECiNW0 Sp2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="0Ltr1//G"; 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 w3si8911128plb.51.2019.08.20.10.52.03; Tue, 20 Aug 2019 10:52:19 -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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="0Ltr1//G"; 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 S1730404AbfHTRsp (ORCPT + 99 others); Tue, 20 Aug 2019 13:48:45 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:40135 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730422AbfHTRsp (ORCPT ); Tue, 20 Aug 2019 13:48:45 -0400 Received: by mail-qk1-f193.google.com with SMTP id s145so5215034qke.7 for ; Tue, 20 Aug 2019 10:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=Txs8pbiiUnD89seXj92NZ1C3XJDqPD2UGuLKY8IPMFc=; b=0Ltr1//G9vd0nPfrA5jE6D7NlTNa45ay6WkHgCO3SsE9r8mtxOhvowGF12dnlV6zMh pnGAE9sya4jpc2H0o/0w5cpxzllguT+n4iPUX4U9hMlIZbyR7VxYkK4cE4JZCiDpjhR1 axU62EYZfHkwYqhhEHUoiat3tnrSBTmeuNgmBVXNExDN6+M0xfHoKpdx8/crQUG0l0yy lfiZtHGiVxY12xyox95uW7gcsnklHJoMEt7/Sd9oMI3WIgd6ZhFNFRIHNBxhLGshSbnO WgiEUX8quOHmIe68//amkAhfiGF/3yqkT6CxL/LYx92enCID0ecXx2xHPBVfaJcJUlPQ UlVA== 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:organization:mime-version:content-transfer-encoding; bh=Txs8pbiiUnD89seXj92NZ1C3XJDqPD2UGuLKY8IPMFc=; b=lr3Y6c+6rGsAmQNxqKv6RYX7t6mAMsWLY+PtGQTwP8mrkuS+DFin478C11ndkR4hwi z/RoLo2MCw/EwhWCaumck1lothGqKYahv9cgQmLkvsq7bAt8F5YRVqf19fzrnR/d4obg vSUMpcSrvpBF7BbaPx2AfY4GuvFw8VwLG3brqi77RYmtzpYlrx20h89pDSfNfQdBzc1b mhYklCpo5huOTWSmn7d0HIPsFNieACVUaG5P+k3cMbUQVUL+j+H8iymQ6xrnjxHvNKq1 36CxTFb7Lv1VwmTFnf4hRcYfiA6YXruaP+qc0akYk717NFwH/ZaKYkkGHPBoBiN5UQ+s qAfg== X-Gm-Message-State: APjAAAUkH3GkXWu36BgUlOltGzZ0ih7JlK7aK1VQBpZ3xFmmj58YhkLH B3bjyc2fDqu2+0lPvFXMpSSSYFq6y4c= X-Received: by 2002:ae9:e914:: with SMTP id x20mr26126049qkf.57.1566323324654; Tue, 20 Aug 2019 10:48:44 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id t5sm8892207qkt.93.2019.08.20.10.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 10:48:44 -0700 (PDT) Date: Tue, 20 Aug 2019 10:48:39 -0700 From: Jakub Kicinski To: YueHaibing Cc: , , , , , Subject: Re: [PATCH v2 net-next] netdevsim: Fix build error without CONFIG_INET Message-ID: <20190820104839.511367fa@cakuba.netronome.com> In-Reply-To: <20190820141446.71604-1-yuehaibing@huawei.com> References: <20190819120825.74460-1-yuehaibing@huawei.com> <20190820141446.71604-1-yuehaibing@huawei.com> Organization: Netronome Systems, Ltd. 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 Tue, 20 Aug 2019 22:14:46 +0800, YueHaibing wrote: > If CONFIG_INET is not set, building fails: > > drivers/net/netdevsim/dev.o: In function `nsim_dev_trap_report_work': > dev.c:(.text+0x67b): undefined reference to `ip_send_check' > > Use ip_fast_csum instead of ip_send_check to avoid > dependencies on CONFIG_INET. > > Reported-by: Hulk Robot > Fixes: da58f90f11f5 ("netdevsim: Add devlink-trap support") > Signed-off-by: YueHaibing Thank you! Acked-by: Jakub Kicinski