Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98F18EED9 for ; Sat, 20 Jan 2024 11:41:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705750901; cv=none; b=EmsWoSvYKD846GXEWv+z4PSF4nlx8/z5BUl5XELoLEc1oSUG3iQOW5jv478pcsrhKffPaFiaP93OrfINx6E06618CNXXhEMQNjPyMequFp1JEwKT896VKuGKDOyTIFmE8Fdp5LIh0JotW2AJK/JaKaDVXo6DjnuAhas9h3k+pnA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705750901; c=relaxed/simple; bh=KgsJUu5MlSz3Li/EeI/JgUhqhUlk00vBJCBrf2/bK20=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YqhDi6CbSpBk7ECUFVyhSuKJyftEzJa/pqNws9QPiz5EG5ZYWBDV05L/Q5Z8OMKCp/EKpu8BFkptpHJZEHsOwHqmPX+FSgAKDl3cJPt1qNBj3UrtCFvLRiBpVs3KoorE/3UuUYo3iLOJczcUQdzxYEduygj1SjV4Q6HoVCpWHQ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=N8dDW33f; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="N8dDW33f" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705750900; x=1737286900; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=KgsJUu5MlSz3Li/EeI/JgUhqhUlk00vBJCBrf2/bK20=; b=N8dDW33fDJai7Z9NLkOXQNykFDT2nX+YnJC4fXdEZvjFRXXDjze0dqjQ m9bxflaU6iXddpxZacybBf3Yz6osFw0BGxetVN4jn+RUR8QmsfrPoqnHZ nejPwwi3rA1+n0RZuZVdE9iyUQDXybbj1kNEgkLrkPkQXzfo5xOmFMb/t aNMfjobQgemdrL2ooumFU52R0pzHg0Nv2sqJ7y+Ypa1HGtF48GV+JH5NQ uu7Gb23Uqzv+fhrINmUvf4cjjEFo2d5S2QAI8Dtk2/C00v6EQrwcvgRm7 kZP2MwvMF1fHQMvc8ApNvIhutBPeTUminXODhlm7tq+QPMShMM53ef88h Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10957"; a="7625441" X-IronPort-AV: E=Sophos;i="6.05,207,1701158400"; d="scan'208";a="7625441" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2024 03:41:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,207,1701158400"; d="scan'208";a="782889" Received: from lkp-server01.sh.intel.com (HELO 961aaaa5b03c) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 20 Jan 2024 03:41:37 -0800 Received: from kbuild by 961aaaa5b03c with local (Exim 4.96) (envelope-from ) id 1rR9jD-00053K-1A; Sat, 20 Jan 2024 11:41:35 +0000 Date: Sat, 20 Jan 2024 19:41:35 +0800 From: kernel test robot To: Amery Hung Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [RFC PATCH v7 1/8] net_sched: Introduce eBPF based Qdisc Message-ID: <202401201946.WJWvnukr-lkp@intel.com> References: <232881645a5c4c05a35df4ff1f08a19ef9a02662.1705432850.git.amery.hung@bytedance.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <232881645a5c4c05a35df4ff1f08a19ef9a02662.1705432850.git.amery.hung@bytedance.com> Hi Amery, [This is a private test report for your RFC patch.] kernel test robot noticed the following build warnings: [auto build test WARNING on mst-vhost/linux-next] [also build test WARNING on v6.7] [cannot apply to bpf-next/master bpf/master net/main net-next/main linus/master horms-ipvs/master next-20240119] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Amery-Hung/net_sched-Introduce-eBPF-based-Qdisc/20240118-055917 base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next patch link: https://lore.kernel.org/r/232881645a5c4c05a35df4ff1f08a19ef9a02662.1705432850.git.amery.hung%40bytedance.com patch subject: [RFC PATCH v7 1/8] net_sched: Introduce eBPF based Qdisc config: i386-randconfig-013-20240120 (https://download.01.org/0day-ci/archive/20240120/202401201946.WJWvnukr-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240120/202401201946.WJWvnukr-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202401201946.WJWvnukr-lkp@intel.com/ All warnings (new ones prefixed by >>): net/core/filter.c: In function 'tc_qdisc_is_valid_access': net/core/filter.c:8929:9: error: implicit declaration of function 'bpf_get_btf_vmlinux' [-Werror=implicit-function-declaration] 8929 | btf = bpf_get_btf_vmlinux(); | ^~~~~~~~~~~~~~~~~~~ >> net/core/filter.c:8929:7: warning: assignment to 'struct btf *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 8929 | btf = bpf_get_btf_vmlinux(); | ^ cc1: some warnings being treated as errors vim +8929 net/core/filter.c 8909 8910 static bool tc_qdisc_is_valid_access(int off, int size, 8911 enum bpf_access_type type, 8912 const struct bpf_prog *prog, 8913 struct bpf_insn_access_aux *info) 8914 { 8915 struct btf *btf; 8916 8917 if (off < 0 || off >= sizeof(struct bpf_qdisc_ctx)) 8918 return false; 8919 8920 switch (off) { 8921 case offsetof(struct bpf_qdisc_ctx, skb): 8922 if (type == BPF_WRITE || 8923 size != sizeof_field(struct bpf_qdisc_ctx, skb)) 8924 return false; 8925 8926 if (prog->expected_attach_type != BPF_QDISC_ENQUEUE) 8927 return false; 8928 > 8929 btf = bpf_get_btf_vmlinux(); 8930 if (IS_ERR_OR_NULL(btf)) 8931 return false; 8932 8933 info->btf = btf; 8934 info->btf_id = tc_qdisc_ctx_access_btf_ids[0]; 8935 info->reg_type = PTR_TO_BTF_ID | PTR_TRUSTED; 8936 return true; 8937 case bpf_ctx_range(struct bpf_qdisc_ctx, classid): 8938 return size == sizeof_field(struct bpf_qdisc_ctx, classid); 8939 case bpf_ctx_range(struct bpf_qdisc_ctx, expire): 8940 return size == sizeof_field(struct bpf_qdisc_ctx, expire); 8941 case bpf_ctx_range(struct bpf_qdisc_ctx, delta_ns): 8942 return size == sizeof_field(struct bpf_qdisc_ctx, delta_ns); 8943 default: 8944 return false; 8945 } 8946 8947 return false; 8948 } 8949 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki