Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3479134pxx; Mon, 2 Nov 2020 09:56:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJprzxuyq0xgTyfwulvs9q8im67EKSTiozOA+nPIS1/juta1CVwpMfc7gIbMevDGpUsJoB X-Received: by 2002:a17:906:ad85:: with SMTP id la5mr11915390ejb.423.1604339801772; Mon, 02 Nov 2020 09:56:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604339801; cv=none; d=google.com; s=arc-20160816; b=z3nxVj6BjNDZZ6R1XHs8nMsbm0ZUXcLy3+78/kty5MAVw7m3MIgKnMlVHv32znhUW1 pJcPFmzxX8iKYOqpGHsdytRp/pBz/AqV41HbG4oBR0TtDMp+pW9FOKf9x8j209bKrykv coC2cGejAgsRg7PuGWL4bBQwzfpaPtSQALItXzdHkHhOzf0yrXg9TYA9OYo01iEX31fd 0SEVFWPhKmCr4JLbta6UB0SbAH4lNBqbxhI3e4xeTp0Pfo/O+BGyabvWaxk2E4lD42xi TKG8bQClBNEHUBZ78cBmm3hYE0lhVBXsDF858HYqHjK1U52LEoyaVYUCVyO4G6n+DWrZ 0Rrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=F1g/sIJeOkd26ReM3h3j0MoH7qy0Vq6hX991PPmdrRA=; b=DxnS267LrZojxOEDnNqPoiLwj86AI8ZzIBhtQjJTkOzkClETffXCh996po3ocU5hlM cdkGR2U2IiHAZcqpuuGR65AadlHrD7sjFgpx9XH/HJBlUoIIdnAZsCekYZad8U3EjMfc 45mTAsVqTCQZlLxtr52JSWXc5e0d2Nx44skfo2wMwBU/UccHxGVn4lojmHk/zjEd5t1/ y8Q2xD60o96rIxmsDuhdxjmHOnbjOvPO2EtZ0d/fWlG3n43UV+szghSd5z+H1kWCQLMy midPZgvOV4LzUQG5FFPF0dLDatADflSFq2yqsqJBeJ2MO6N732R/7dbBWNCNZtchnSsr oUGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v1V1HOQh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si1660188ejd.402.2020.11.02.09.56.19; Mon, 02 Nov 2020 09:56:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v1V1HOQh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726071AbgKBRwp (ORCPT + 99 others); Mon, 2 Nov 2020 12:52:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:36346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbgKBRwo (ORCPT ); Mon, 2 Nov 2020 12:52:44 -0500 Received: from kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net (unknown [163.114.132.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E24D421D91; Mon, 2 Nov 2020 17:52:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604339564; bh=Cyo0Xml74Eo/5P2I5gPDEpvxOZH13kEW3r7dlpUJ1yc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=v1V1HOQhMXTyQ0X01sZ1rshYaEOi5woe6LTJNDU2/4Gd+d/Tkj3a0cUY40HaQ2upf ORBS3SUieQ701Wca9Asv0H/HZBvCWD4KCrMJ0tXLiSzHRBRHhO0Z5ouWG2l4NmGctd cyHJgXzUfGSwjsiMDGIlh7me9wL4v+V9BAOlZmnY= Date: Mon, 2 Nov 2020 09:52:43 -0800 From: Jakub Kicinski To: Naveen Mamindlapalli Cc: , , , , , , , , , Kiran Kumar K Subject: Re: [PATCH net-next 02/13] octeontx2-af: Verify MCAM entry channel and PF_FUNC Message-ID: <20201102095243.2e606021@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: <20201102061122.8915-3-naveenm@marvell.com> References: <20201102061122.8915-1-naveenm@marvell.com> <20201102061122.8915-3-naveenm@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2 Nov 2020 11:41:11 +0530 Naveen Mamindlapalli wrote: > From: Subbaraya Sundeep > > This patch adds support to verify the channel number sent by > mailbox requester before writing MCAM entry for Ingress packets. > Similarly for Egress packets, verifying the PF_FUNC sent by the > mailbox user. > > Signed-off-by: Subbaraya Sundeep > Signed-off-by: Kiran Kumar K > Signed-off-by: Sunil Goutham > Signed-off-by: Naveen Mamindlapalli drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:81:17: warning: incorrect type in assignment (different base types) drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:81:17: expected unsigned short [assigned] [usertype] pf_func drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:81:17: got restricted __be16 [usertype]