From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mail.toke.dk (Postfix) with ESMTPS id 82B8B9FA939 for ; Fri, 31 Mar 2023 21:12:34 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=b3CAxLfN DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680289953; 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=b3CAxLfNTr1YQrWsThPaAnyxdUaEwtpzFMf9Luw0pC98R3Cc6P2ihyXQP0J4FdPt4Q/qVu 2Iwxw1ga8Sw/DIs63xpakd7XexLTvDKLkXuV1bwccLMHCznNggwmWm7YLdIvTu5JTgx5I7 NXo3/ds3V9RuHkJHq8SiLgGlj8nl3Tk= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-351-uwReZWxePBWHKk5W5fEkcw-1; Fri, 31 Mar 2023 15:12:30 -0400 X-MC-Unique: uwReZWxePBWHKk5W5fEkcw-1 Received: by mail-lj1-f200.google.com with SMTP id z10-20020a2eb52a000000b0029ad1bdf16aso5219112ljm.14 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=K242gvnwZbbJeUGWnxQ+2Va/2f9ShyRJ53PK4YA2FIcEkdjNfci3spsiGJEZ0zfnu2 SajCwhcTmNDZwTo5jGWnCxqnUgbS5CH0wDxWDvMfJ+6EPLamraN78E4JhsOIf0cJGtqv L+8PIZFhavqGSl7krpDgu8w7ryji8R2gCqEphER04ZWM8o8M++GThxzjLxWxFMuGWFIV 5Xc8k5KssyL5zho4QNIh96d3Jsy3utjY5JHZ3GukbAR7b7/FIVwi1NbMnZg2BsXcZzS/ AoFm9TmOW40QV0Cj7Mg+HpHkTaCqlN3UslRSlKzW7I/t89FTVHzZe5KjyZDmrOmoBzIR UR7w== X-Gm-Message-State: AAQBX9e3vgqCkacHei5sK62cnYg5xiU76gcA6uhaqe3zIPTfMx2YfvZb MenKqdAf3BZReEHGukOepg6nuoI9JWFXqsy3XwsgB8y5LjKPoHAtEwlIclDP/kAneRQ7K/e74om lZyIXzER0bR2Zkk7F9g4T X-Received: by 2002:ac2:57d0:0:b0:4e9:ad85:aa09 with SMTP id k16-20020ac257d0000000b004e9ad85aa09mr7874064lfo.68.1680289949296; Fri, 31 Mar 2023 12:12:29 -0700 (PDT) X-Google-Smtp-Source: AKy350ZTs7xrb3JbT2oC5qnyecTLJcHIrhwpbP+I6d+Wfo3Jaci9tWwy1Iq+Ij3x13faw8d7dCIp5A== 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 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> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID-Hash: 43ZPYYLQBGN7GZDTMPTH6GPP5KYSCJLI X-Message-ID-Hash: 43ZPYYLQBGN7GZDTMPTH6GPP5KYSCJLI X-MailFrom: jbrouer@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header 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 X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf V4 1/5] xdp: rss hash types representation List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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