Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10443117rwd; Wed, 21 Jun 2023 23:24:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4DrD2OUA8ChkL4bSTwt8WbdVrertvfXa+ieZ8vMblfTwg/EI0qKaCoiqUsuOA2i8nN8JOh X-Received: by 2002:a05:6214:2524:b0:5f4:5af6:1304 with SMTP id gg4-20020a056214252400b005f45af61304mr11952026qvb.16.1687415050325; Wed, 21 Jun 2023 23:24:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687415050; cv=none; d=google.com; s=arc-20160816; b=J7DWWV+gyrFmHZr4sMwp60WfbPZa7veLRzOErVvq5d/Ppo67wC9b9WkxEHCKeev5eS /rEHjQLA9ZXBRpCblj8HO1KZuPLRy/Sen4sN9IFtWnRUXAExKvQVwCUVbuS3fFV02tIz PAQHDKb2SYAlRBNKAPU6FWt5U4ZHnu3OZ7Wh337lx8x2wfTpwxSxcnfg0tngXNDsOFsI 1+yIjD94nyQkGNtqQ9hC8QW15sQ4Yq23UICNwA4b37dmQWVAfCqU/ipFzM2tgIHGQXtn 6uaw7Fxcoab/FP0QM2FSL1fxHndPByVEq4mY6g4k08dawacqSq2AVh/WwQCoxU8K29Ae e5Nw== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Y75bt0Jx0wSsfTOjNWsZv8qJpJNCXq/KYo/Qcs4d6Dg=; b=ZxBOL40BafNAeTn5MGJIqLg41wLr2zEq4Nc8b0WBkHXMoKAxV8vNNzEf0VsD+J1wku vefJsJeoseYZelLeDCrUN6J2tGOgBNL0qlX+S5whIdp0WIxfGNeg4Q6/eLV0caoTVoHp yeha4sB8zIEkr1ZMwNBnd21ZvYBFtgdhb+m+Tq3VT6gAAnGMqcIipM73l2aw+dDuTloS ZLPkKsnALsP4TWAtFzCzMiGIs1BMVGTC6INoB7Kvr6ZrtUtPY8dRTxVcARDHrIZ8P+8q RJyN8IXwmVbf3whD9KwrsbyXcJ99aBfm3mPzKalCMjhvPNLcmRKBIOjmZNlp8BKaXuto lg3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=Ie3ie29G; 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=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 20-20020a621814000000b006262bc88219si5409018pfy.160.2023.06.21.23.23.58; Wed, 21 Jun 2023 23:24:10 -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=@marvell.com header.s=pfpt0220 header.b=Ie3ie29G; 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=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230507AbjFVFua (ORCPT + 99 others); Thu, 22 Jun 2023 01:50:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229682AbjFVFu3 (ORCPT ); Thu, 22 Jun 2023 01:50:29 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E90EAC; Wed, 21 Jun 2023 22:50:28 -0700 (PDT) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35LJYs7j016592; Wed, 21 Jun 2023 22:50:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pfpt0220; bh=Y75bt0Jx0wSsfTOjNWsZv8qJpJNCXq/KYo/Qcs4d6Dg=; b=Ie3ie29G85lkbJG08lFtuRS/E/mh48dnJDBBWEOjGIv5tQEs4eX5ystePYoZa4AQt4+L LbfgOG/Oy2VVgg9fk4jJLpDkCTwIlIAHlMloiG/s5/JLMzN+mohjOahGzmqDZG37XC/k tKsnVTAVGSpy1hefbxiYxNqkVpf8fM9eKmik0DctlsacaZYVjl5DqVUi+bOskx9HP0+Z V3Ru7gxGvW5EGORbS+HK1++uZ8fREKUfoNRwxBOgrL9CZBx1NJH6+8IrYdVFx+5lia14 cAO3U3ICy8OCaCMKrjqFRik3WOtIcL9eyEW1qgEil5QE6/5i0VGeopmtoQemugohMvFU fA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3rbyhq3shs-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 21 Jun 2023 22:50:10 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 21 Jun 2023 22:50:08 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Wed, 21 Jun 2023 22:50:08 -0700 Received: from [10.193.33.161] (unknown [10.193.33.161]) by maili.marvell.com (Postfix) with ESMTP id 00E573F7086; Wed, 21 Jun 2023 22:49:54 -0700 (PDT) Message-ID: <98b9dc2d-9232-d0e0-022e-2e8339b3cb66@marvell.com> Date: Thu, 22 Jun 2023 07:49:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [EXT] Re: [PATCH] net: atlantic: fix ring buffer alignment To: Jakub Kicinski , Simon Horman CC: Arnd Bergmann , "David S. Miller" , Eric Dumazet , Paolo Abeni , Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Tom Rix , , , References: <20230616092645.3384103-1-arnd@kernel.org> <20230620120038.0d9a261c@kernel.org> Content-Language: en-US From: Igor Russkikh In-Reply-To: <20230620120038.0d9a261c@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: KHJNdM6_oMskMlKCq_KuaXUGSm0Dil41 X-Proofpoint-GUID: KHJNdM6_oMskMlKCq_KuaXUGSm0Dil41 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-22_02,2023-06-16_01,2023-05-22_02 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Jakub, Arnd, > On Fri, 16 Jun 2023 15:10:03 +0200 Simon Horman wrote: >> Perhaps it just me. But I do have trouble reconciling the description >> above with the structure below. As such, my suggest would be to simply >> delete it. > > Agreed that the comment is confusing seems to be incorrect post-change. > Flags for instance are overlapped with len, is_gso etc. so they can't be > a separate 8B at the end. > > Igor, please advise how you want to proceed. I do agree better to remove the comment at all - it explains almost nothing. Thats not a hardware related structure, so explicit pack is for sure not required. Acked-by: Igor Russkikh Regards, Igor