Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2436621lqb; Mon, 27 May 2024 22:28:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdM5wJrOnUGfXmhsX/IhK620dL494SF35YS2zXQBhsXVhbWjmXrVTdut1bKtjFo1DedEnJdeMOMlLt8yhbO8wGxEHwjUbIb9M9jOBf4A== X-Google-Smtp-Source: AGHT+IG07kxiB2QWjHnKINb1KyV0wsvtzRE5nhvJO9YVNTZp+is6rWXzdvDEBLmO8Q5Vww+wJd8i X-Received: by 2002:a05:6358:3124:b0:186:1f52:540d with SMTP id e5c5f4694b2df-197e566dc96mr1141639355d.28.1716874107907; Mon, 27 May 2024 22:28:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716874107; cv=pass; d=google.com; s=arc-20160816; b=dauNWNyYTmDertnDawBJ+IYlDMKw4BKSd9fn1jmT1Rf1QFFlhGqvy/DiBFBlxRWZBk C59xhc6c0i6rGYMaEfWC3atrlABuV4HUVA129pqylDssRJisx+tgfRrZm8IlNEM95n5j 2qTqzz1+DUKAiibUvtkC2rRyLol7lYY52foqHz8scbxDQn8svg6ty6TD/BSXFgXvNebn Xe5vue7fYO9KH5x6hSflIeE9YMsJuvzJ0DLv8fdOcDCa8X/aaoiIzO/0ALobvLQKVNXP 2rVTzZ5lI5lJmZNmYXDPNVHnZFydMjK/Zo4F0yyRdl/ttpvaj46Rzuxn9k+eeOZXvWvG Aikw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=T3TALpaDS0cEvHlhWZRF7Tn4VCwpSQzhTkj0dNYWvDc=; fh=F+bwuTwEXL69T3u2lWQPCFBNFJOStR7sfp/6/HRmL9k=; b=dFSZfQVXLcdSQ1Idni+ICBJYD1K5N4/dAYYX6o2zmliDjMJ6cEZqDbwhiwHLUIEgNl RCjgPpefeQ0PvI2lAT6mElsOiWsEvcXRzsbIGDdh72qvFvnpTTTp8PVMoB1+DrqTKKfQ VvsJuGadX1wbodA794wSngW5AVqD1j+YCdqI7hWa0PABG/xvlFOcOFIXGtAGBH3UdK0D s3LTJuyt7+AL+wPIaEcn4JVLGkbF7/tSRx+URU4aJBgWPjoLgNJxaMIrGfngC6XTppzQ e5eo96C2by7i4EM5y0FJKE3y1kbu3489vbhPzMlD0khYN2GU5t49NmDg1RjfCVz3VFlu y5Yg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=p3jyiMrs; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-191770-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822b040a33si7573924a12.841.2024.05.27.22.28.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 22:28:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191770-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=p3jyiMrs; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-191770-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 80018285B41 for ; Tue, 28 May 2024 05:28:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C5B54E1D1; Tue, 28 May 2024 05:28:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="p3jyiMrs" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 AB59661FC5; Tue, 28 May 2024 05:28:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716874085; cv=none; b=D1M1/d8w4Y56pyZPUiimgyWviTLf3u/0itHDLBef/+4t9WRx7WwrkSVmCywZtA0Aex7UTN9lz3mz9WAl+N8DEE7XD7IuB5eQx8tTAopmtn1sME2WJfgER+YgiHCND89Umg0y6nCUN/qDKJdHjcE/A+2rKYqcu890W7Kah5pCLdM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716874085; c=relaxed/simple; bh=vQuCQ35yXCs6hcRok3+RmXSxZqsl6J5tco0sBsH6438=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=VKRgcl4RdsZOzRIM4YPItHchDzlnQ3/G5H0zqsf5YfS7QrePkYu1zSsrgVCPs5sfHVsO4zTyqsp3vksGfD1L53yyfKLXksoLGK/5gdobABeGZu9ofElhIJt/4untBRnZwVYfpX/jmpHeshPbQG64Nx5zjQmMRa2cBoxS+Os0bAg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=p3jyiMrs; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44S5Reep058660; Tue, 28 May 2024 00:27:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716874060; bh=T3TALpaDS0cEvHlhWZRF7Tn4VCwpSQzhTkj0dNYWvDc=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=p3jyiMrsmKjifKYXTt/tJ4Md9/K/SPWPu/dOHaRIk8hmQqwaUHNt+BpUTNUeSDmhl lCZ4MsWrQdahvpZtKvuKF0PLfYr0DwXeyCPBN/PbSA9REL8ZLmsRk1rvAupQtGMrHj Z9TOIdrvaSfKeF7EYhYgexInHQ8mmj1LBBoxphik= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44S5ReB4017579 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 May 2024 00:27:40 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 28 May 2024 00:27:40 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 28 May 2024 00:27:40 -0500 Received: from [10.24.69.25] (danish-tpc.dhcp.ti.com [10.24.69.25]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44S5RXkB064234; Tue, 28 May 2024 00:27:34 -0500 Message-ID: <9b16c10c-a08a-4b37-8ffc-6ae19b1c70d2@ti.com> Date: Tue, 28 May 2024 10:57:33 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v5 1/3] net: ti: icssg-prueth: Add helper functions to configure FDB Content-Language: en-US To: Andrew Lunn CC: Dan Carpenter , Jan Kiszka , Simon Horman , Vladimir Oltean , Wolfram Sang , Niklas Schnelle , Arnd Bergmann , Diogo Ivo , Roger Quadros , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , , , , , Vignesh Raghavendra References: <20240527052738.152821-1-danishanwar@ti.com> <20240527052738.152821-2-danishanwar@ti.com> <3cf97632-4d77-4f28-bed6-7d40d61d958f@lunn.ch> From: MD Danish Anwar In-Reply-To: <3cf97632-4d77-4f28-bed6-7d40d61d958f@lunn.ch> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 28/05/24 3:34 am, Andrew Lunn wrote: >> +struct mgmt_cmd { >> + u8 param; >> + u8 seqnum; >> + u8 type; >> + u8 header; >> + u32 cmd_args[3]; >> +} __packed; > > There is a general dislike for __packed. Since your structures are > naturally well aligned, it is probably not needed. You could be > paranoid and add BUILD_BUG_ON(sizeof(struct mgmt_cmd) != 16); > Sure, I will drop __packed as it's not needed and send next revision. > Andrew -- Thanks and Regards, Danish