Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F055234546 for ; Mon, 20 Nov 2023 19:17:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fEBfi4g6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E71EC433C7; Mon, 20 Nov 2023 19:17:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700507861; bh=Fv3vr/kjHZEqkRI4ksHx4P5zjJGxHwUUPir/TAi533Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fEBfi4g6aMCmWAdb2Ha0H+ETu17ancDylb3UWYuDj3mP/fVL04ZkTuODpjOY9dmTc qT1vogF3BLKKnIudo4134BmYWC4FP1zh1Mxo63GGhEJhHL4E2WiIteiXTXgWA3jslQ XKUsdycBb6RuEPwN23kvbx6nyLs0tUPTG2qL+AjwbN6jtTG110Ov/Y3AY4V5nCPsdD 0KHvp08/K/uPKWBQD64y/vMzRGPA7+SZoF4qzGtZO04gHOYSzz0HEEayHMhxqHmLsY rFkhpGywtisTw6EfmcX3xmjlTbXaEraCIwK9dJh96ZEVrwr95shNKkTwCmxkIp6FM5 PoSjEvghxZarA== Date: Mon, 20 Nov 2023 11:17:39 -0800 From: Jakub Kicinski To: Wen Gu Cc: wintera@linux.ibm.com, wenjia@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, kgraul@linux.ibm.com, jaka@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com, alibuda@linux.alibaba.com, tonylu@linux.alibaba.com, raspl@linux.ibm.com, schnelle@linux.ibm.com, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 5/7] net/smc: compatible with 128-bits extend GID of virtual ISM device Message-ID: <20231120111739.31baf90a@kernel.org> In-Reply-To: <1700402277-93750-6-git-send-email-guwen@linux.alibaba.com> References: <1700402277-93750-1-git-send-email-guwen@linux.alibaba.com> <1700402277-93750-6-git-send-email-guwen@linux.alibaba.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 19 Nov 2023 21:57:55 +0800 Wen Gu wrote: > According to virtual ISM support feature defined by SMCv2.1, GIDs of > virtual ISM device are UUIDs defined by RFC4122, which are 128-bits > long. So some adaptation work is required. And note that the GIDs of > existing platform firmware ISM devices still remain 64-bits long. sparse (C=1 build) complains: net/smc/smc_clc.c:944:73: warning: incorrect type in argument 1 (different base types) net/smc/smc_clc.c:944:73: expected unsigned short [usertype] chid net/smc/smc_clc.c:944:73: got restricted __be16 [usertype] chid -- pw-bot: cr