Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1509629rwl; Fri, 31 Mar 2023 12:15:01 -0700 (PDT) X-Google-Smtp-Source: AKy350YqsbE1V0YmwLGGfu+3ZBHW2e0F6FUQN1yGttdzWEEaGI0Nv5YX9su2dY19A7WY8T17wcjR X-Received: by 2002:a17:902:868b:b0:1a2:8f6d:8a14 with SMTP id g11-20020a170902868b00b001a28f6d8a14mr6839143plo.5.1680290101560; Fri, 31 Mar 2023 12:15:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680290101; cv=none; d=google.com; s=arc-20160816; b=sF793n5pURrJA7O86AAZUAl8W/v4uiEa8491I5TXJ5yRlieOryXQwRIlABam1Z7c8Q 1T3Qpx2gH4Snrd/0XmRCAvHy+GiIf38xT8z5SyjxGaiWu6DjsoRYUk9olyFtyui34PDL tD5Hpc+oUglZ7LBGDGeQbyIdUBLe2B4ajoktP+Hx3AMzH1cuiSRleGyDubcfRgfIaTyn /oIooWy4BJ4GZbL+z7y25gi054g4nPuvpJKND2Hm9DPOpLVTti1EQUl1G8mm7QOw6s6H DeV8CRMxCY92JiXNlYh6F8i8iRK0RJncnz1eOxZsLx0z5LMs9SX2ff3I006NEnVdb26e EM0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :to:content-language:subject:cc:user-agent:mime-version:date :message-id:from:dkim-signature; bh=673XRyizobae774kUu5nrXw20qs2InjIWxuBx9XJVCI=; b=TL5BjWkI4e+yDN5Aj/8tJ7/obl7FodGxYqn4Le3sEbAs7lN24g23TCjP+GO8MrGdEz yQh9krEY3yIIljeeQizm878+p78cliAKkIPaMjVu1jBoR8MVCTdPB90wRGOaDL3RovOT brQD+DTQ8lv4hkqqkTVzXyx2H5zYxOkpZB8w+LhuZ3wigVAgJPCuyOgtkfQcmb/qc9TV ZQ+hnQ4ZGUfkZ7hZIVIayxyi0F+VWYADZEx7s5qOqBl1t5tFgy/SOnpWDygqPj2fIuRt 49eKfYo4q24Xj7p/2jpUZstmmxuSBktWxmijOYQsha7KCP2qowjMddyH2ignamx/zkeo /VCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GwJRySST; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a170902864700b001a046724ae4si2726870plt.238.2023.03.31.12.14.50; Fri, 31 Mar 2023 12:15:01 -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=@redhat.com header.s=mimecast20190719 header.b=GwJRySST; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231766AbjCaTNZ (ORCPT + 99 others); Fri, 31 Mar 2023 15:13:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230390AbjCaTNX (ORCPT ); Fri, 31 Mar 2023 15:13:23 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C151822E89 for ; Fri, 31 Mar 2023 12:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680289952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=673XRyizobae774kUu5nrXw20qs2InjIWxuBx9XJVCI=; b=GwJRySSTpl9Weht9L8JZLCMa1nGUyemu/+Oo3w0w6KN6gPmLIVIedH1BbRsWNim5AXkIjG eRDFLDUDbhT2gNR0yCX7ZzMEx57b1qjlURlxVAJCJv5gJzSLJI2flM6nM4ja6zRevSEuEd HfEQXoPY8yy3IjUn1Ud2lU4EX2PEk9Q= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-121-KAOKhJG6OQOvqsx4bgn3cw-1; Fri, 31 Mar 2023 15:12:30 -0400 X-MC-Unique: KAOKhJG6OQOvqsx4bgn3cw-1 Received: by mail-lf1-f72.google.com with SMTP id x4-20020a19e004000000b004eb074853cfso8138148lfg.16 for ; Fri, 31 Mar 2023 12:12:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680289949; h=content-transfer-encoding:in-reply-to:references:to :content-language:subject:cc:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=673XRyizobae774kUu5nrXw20qs2InjIWxuBx9XJVCI=; b=3tbNADame7JbStM9bteDsE2h1yLPEziHFJGU3uoZ8v3fCCM9ppmymaTvgIALLNllWq 5pKg52o0F1AwXlT9oJuddTEh9DCJ1c47noTkAFX8Rz8zYbg3fqhqygbZ13n78+dCpiqd i3/Y7nE+gBfSrtqWq7Qs2bqTkcMZQw/BsZ9XNhOCi0SWymOuYqmUW56xRohCJbHentbu TE8ipmb4W3cmoClLn57tj2Ef6Rn7bnWMCvQSUhdA4nHjACs1S4AqZoOSgq5+M4Kll9lU qZ5FmWgwQAlc9NbmBoix5wOlgqWe1d9iIALS+yG1kQWFGLZ2jhZsAnq+/tJ2gRn3VNSO 8Syg== X-Gm-Message-State: AAQBX9dZsKfvsxQST7JKjzRPwzWQKSPjKHoMN/TjjKQXzVgjpDojGMX/ S0nuHkGCpt3IR1a/7gZiWkm1kXAlAM6K7HpGrsXt18YJELXFmFoptW/KnmzIHBxGPAt6AdSDqzx /Yjg2yQdKB7jb4diuh8obszs0 X-Received: by 2002:ac2:57d0:0:b0:4e9:ad85:aa09 with SMTP id k16-20020ac257d0000000b004e9ad85aa09mr7874035lfo.68.1680289949151; Fri, 31 Mar 2023 12:12:29 -0700 (PDT) X-Received: by 2002:ac2:57d0:0:b0:4e9:ad85:aa09 with SMTP id k16-20020ac257d0000000b004e9ad85aa09mr7874032lfo.68.1680289948804; Fri, 31 Mar 2023 12:12:28 -0700 (PDT) Received: from [192.168.42.100] (83-90-141-187-cable.dk.customer.tdc.net. [83.90.141.187]) by smtp.gmail.com with ESMTPSA id v16-20020ac25610000000b004caf992bba9sm485353lfd.268.2023.03.31.12.12.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Mar 2023 12:12:28 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: <3de525f4-096b-b0fe-aaf3-7992acb2451f@redhat.com> Date: Fri, 31 Mar 2023 21:12:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Cc: brouer@redhat.com, oe-kbuild-all@lists.linux.dev, 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 Content-Language: en-US To: kernel test robot , bpf@vger.kernel.org, Stanislav Fomichev , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vu?= =?UTF-8?Q?sen?= References: <168027498690.3941176.99100635661990098.stgit@firesoul> <202304010239.Jw6bKkWC-lkp@intel.com> In-Reply-To: <202304010239.Jw6bKkWC-lkp@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 Hopefully addressed in V5. I obviously need to change function signature for all driver xmo_rx_hash calls in patch 1/5 to make this compile. I kept the RSS type implementations for each driver as separate patches as this is more reasonable to review and handle. On 31/03/2023 20.23, kernel test robot wrote: > [...] > 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