Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1458986rwl; Fri, 31 Mar 2023 11:24:51 -0700 (PDT) X-Google-Smtp-Source: AKy350YX1G3BXcXqyKTX6oAOdMv2Dpk5MtBqizTH7WMfiJTB84VxX8RO707dsgYwNcvSCdqmDN90 X-Received: by 2002:a17:90b:250:b0:234:b170:1f27 with SMTP id fz16-20020a17090b025000b00234b1701f27mr6580991pjb.0.1680287091124; Fri, 31 Mar 2023 11:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680287091; cv=none; d=google.com; s=arc-20160816; b=K3NKaeJONdNpn1RvVM8Hqq5Dp2egVLpx6Bzar2YpLpe3tXMASeRpitLthHkIP6m8Md ziFQj98yBwySj4113tQuhp6H6ZCwwVRjlUKolpcYr2JF3BiAky/Heu6Q4aBem36+EkJq lPCin6rf8ozYB47cz/ViRRhmrtA5WgLMhR+wemxyu+gg7G0v/GQQXz+pa3H2G+yJlu0i scx23Q/7gnH7B7wNoumGLZmpl35HdBwdthlPAu3gHbPtvjrJRTYjo3wg28tdYBzFM8+S 1yloF7ZfRekXc0uaM5cyRiEjC0o8gGXZ+q3/M7EJJg9w8qbDiN/PsvTlk8LR4MKWuRHy eqWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=M5snXpXnRL4qA5cU4bPLCN/6VI4B6LHT8JqjuubDgA8=; b=pKtG6tQHNibE2mUNL8EolnxYHhntq6n3aJI0omuf518zXI7fiBAUHhoDsyos7cfSMZ c/CWeTLl9nXEU4HcimPWNiiA/c92pO3+C2kAUfN3TBsKAKBI/SlKUL1Es+BprtMwB9od 0Rozg+Wa7EHrMdCRBlYGK+3HII+5L6Cm3f0Luv7G2WroyV/ASoccejlFbsF7zaPmiD/d ai4VxUmPWvY2cVJqzm7NBs/sdSuLMhJgqwmZ8+zJlWc1SNAxLHOHLOFbVe3lhVI6qBlR pK5zOPdZL3SZXebNFnrL05ourtE91uVPtc0VrVemFH/Dz9AUxp45gfvw+H/CR361Rp0P VLnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OlehgERx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a17090a488f00b0023cfd288a09si2474336pjh.157.2023.03.31.11.24.38; Fri, 31 Mar 2023 11:24:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OlehgERx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232973AbjCaSYA (ORCPT + 99 others); Fri, 31 Mar 2023 14:24:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232048AbjCaSX6 (ORCPT ); Fri, 31 Mar 2023 14:23:58 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 585321D2DD; Fri, 31 Mar 2023 11:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680287036; x=1711823036; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=RfULin+IQkEIXF2U8/tMLOvTdsd0rNfXguvY06ABEEY=; b=OlehgERxMqxiKS5DrK+I39W5yfZEY268Gx8vnQJlmUSXHr4A4wkI1trj Ra0NEfY5yxj5E6uhskqiTZNvHyDLKcMyVftElSSj3MSzzmNT5ClIMWGsV kr1IYuZTAkF22kXOUfqsR5UiAyNRSWSpMmeqZ0KvlYM5kL2+rlHAvFi79 0ljUGd1+Rjq9GKen/RHLrUWSGqiFt85tXyqKGfTrzlUr0apoXxsO5Hd+a 1TWVh0d4NwJFrDYLn9ZMNV26k9Q4XDXQhCjflUlYO58Qy3DL7PJWe2OPT X0UQ9jB/JSENgZGVPK+2dglrdEUqo8/FB7xNaibgybBTzaDyNVp7kPaXB w==; X-IronPort-AV: E=McAfee;i="6600,9927,10666"; a="406551718" X-IronPort-AV: E=Sophos;i="5.98,307,1673942400"; d="scan'208";a="406551718" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2023 11:23:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10666"; a="717827064" X-IronPort-AV: E=Sophos;i="5.98,307,1673942400"; d="scan'208";a="717827064" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 31 Mar 2023 11:23:50 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1piJPh-000M2G-1G; Fri, 31 Mar 2023 18:23:49 +0000 Date: Sat, 1 Apr 2023 02:23:03 +0800 From: kernel test robot To: Jesper Dangaard Brouer , bpf@vger.kernel.org, Stanislav Fomichev , Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= Cc: oe-kbuild-all@lists.linux.dev, Jesper Dangaard Brouer , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, martin.lau@kernel.org, ast@kernel.org, daniel@iogearbox.net, alexandr.lobakin@intel.com, larysa.zaremba@intel.com, xdp-hints@xdp-project.net, anthony.l.nguyen@intel.com, yoong.siang.song@intel.com, boon.leong.ong@intel.com, intel-wired-lan@lists.osuosl.org, pabeni@redhat.com, jesse.brandeburg@intel.com, kuba@kernel.org, edumazet@google.com, john.fastabend@gmail.com, hawk@kernel.org, davem@davemloft.net, tariqt@nvidia.com Subject: Re: [PATCH bpf V4 1/5] xdp: rss hash types representation Message-ID: <202304010239.Jw6bKkWC-lkp@intel.com> References: <168027498690.3941176.99100635661990098.stgit@firesoul> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <168027498690.3941176.99100635661990098.stgit@firesoul> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jesper, I love your patch! Yet something to improve: [auto build test ERROR on bpf/master] url: https://github.com/intel-lab-lkp/linux/commits/Jesper-Dangaard-Brouer/xdp-rss-hash-types-representation/20230331-230552 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master patch link: https://lore.kernel.org/r/168027498690.3941176.99100635661990098.stgit%40firesoul patch subject: [PATCH bpf V4 1/5] xdp: rss hash types representation config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20230401/202304010239.Jw6bKkWC-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/9fcbbefa76e6e88a86426d13ed79ea24aacffe76 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jesper-Dangaard-Brouer/xdp-rss-hash-types-representation/20230331-230552 git checkout 9fcbbefa76e6e88a86426d13ed79ea24aacffe76 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304010239.Jw6bKkWC-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/net/veth.c:1685:43: error: initialization of 'int (*)(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *)' {aka 'int (*)(const struct xdp_md *, unsigned int *, enum xdp_rss_hash_type *)'} from incompatible pointer type 'int (*)(const struct xdp_md *, u32 *)' {aka 'int (*)(const struct xdp_md *, unsigned int *)'} [-Werror=incompatible-pointer-types] 1685 | .xmo_rx_hash = veth_xdp_rx_hash, | ^~~~~~~~~~~~~~~~ drivers/net/veth.c:1685:43: note: (near initialization for 'veth_xdp_metadata_ops.xmo_rx_hash') cc1: some warnings being treated as errors vim +1685 drivers/net/veth.c 4456e7bdf74c9f Stephen Hemminger 2008-11-19 1682 306531f0249f4e Stanislav Fomichev 2023-01-19 1683 static const struct xdp_metadata_ops veth_xdp_metadata_ops = { 306531f0249f4e Stanislav Fomichev 2023-01-19 1684 .xmo_rx_timestamp = veth_xdp_rx_timestamp, 306531f0249f4e Stanislav Fomichev 2023-01-19 @1685 .xmo_rx_hash = veth_xdp_rx_hash, 306531f0249f4e Stanislav Fomichev 2023-01-19 1686 }; 306531f0249f4e Stanislav Fomichev 2023-01-19 1687 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests