Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1003324rwb; Thu, 8 Dec 2022 05:47:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4vR9+V5FONlkACslIe6V2msG0UJWz6B309irZlA/GakQhq5MArJwubKAvtFMoEZrKlosM6 X-Received: by 2002:a17:906:a845:b0:7c0:faca:524 with SMTP id dx5-20020a170906a84500b007c0faca0524mr12433970ejb.53.1670507230131; Thu, 08 Dec 2022 05:47:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670507230; cv=none; d=google.com; s=arc-20160816; b=FJS2lr6FiZWBVGk+DSTsEKSsVYSqXkLCR1sRQuGo9CTzjMz/+3EbhoXs1oMpPj7KuH QtCnEj8GPP/0jWx0yq5y/DMS1mKKNUUUdkTaigGOXpKvixaqdq49noEsLOoF+K29TnO0 EsBA3eGdxl1UYJLjyDacjhz0fho5g1bv/mTI9fXMJ/WP5X45/godKTfPdBTnWDJIcrY4 fTj93gZd5zJzavSufkn9CS+h0q9SZARoI/oD8KDWMwTRWjFeisOIRi0MXA3msVSQJH5H 4alIjNLlhw1RPhhez/m3PfRAzw3g9rppcI3kh/h4NRjTTdRvGaz1n8zp+Q0yISMhbyuh jDoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9Y2a8wZmHQ7xJBhZck2uHOTSIO6ouTN3D8xAJmd+MFg=; b=IcxzlvhMH6B/QcIzxfKbnD88YlD69osDYybDBXo6gVcD4MVHHSD0sWW4ro3xTgsS/4 8uX33Q0ZaBbRjfh0sojlhgfzUnibuaznbyHMB23VDwbIr7dtbbnEeyCjNsuMSI0GLv9/ 3BLtImnfUYgE7ty/+vgM9QNw43jO0aiVo3/jJX3+dGjT1fK3xHMszRddgYIUO1ge6qUT FfoQuylG/KEjiCVg9d/JIPhxMP/6qyFZT/crDrxABK+4ErYMgsUIOZPff0jSQ0uoAwRO cqpbNKZApcaBhXrlHXVVR0vUeHpaT6j0eiuOcB29nsUHWZRwaQzsIb67triD6w7v3iAI kuDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b="WPR544T/"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020aa7c6c8000000b00469054c7246si5811020eds.506.2022.12.08.05.46.51; Thu, 08 Dec 2022 05:47:10 -0800 (PST) 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=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b="WPR544T/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbiLHMct (ORCPT + 72 others); Thu, 8 Dec 2022 07:32:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230088AbiLHMcm (ORCPT ); Thu, 8 Dec 2022 07:32:42 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCA0563E3 for ; Thu, 8 Dec 2022 04:32:36 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id vp12so3464480ejc.8 for ; Thu, 08 Dec 2022 04:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9Y2a8wZmHQ7xJBhZck2uHOTSIO6ouTN3D8xAJmd+MFg=; b=WPR544T/Rm4b4/VIuZ5V6JqbCdUSX6XcyMce8sEQcxfW0IrkvygQbVUn9hUXS+Wiqr +B1Ax+myuzdTxf4AjV1uAkFgS5NxzDcVXctDXIW/nwAad1aanagA234Ls/h/2svCh8v6 7wY/vp0w9+gsPZKIidHIoGRRfzS+/CKkvi3NcNE/twBulw6YWInmyhCpaogHI0XJJQSM GMdG7F154+DmPGmQ32j72lXhlktdwSbKluhi/uKT0SFWgI8ILoiF4qc7n9lHViTRypYU DTLsDnReqDaeTJy3N6ZSGaIXEJQP50Av+ddG4SphcA2jgTpNNMt1Fw8eva4BBsL8776W O88g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9Y2a8wZmHQ7xJBhZck2uHOTSIO6ouTN3D8xAJmd+MFg=; b=8DharESyF9T0gfl2RC2iza4N9/N6m8sApARPLjrNuYr0+cClW7lSWm9u6cuCBTo5ID sQgoXMO6S2Zfp/yXD6VQ/sU3JYewDDuakshDUJ/KBsBtSplyMDuHhDa+iiZxJc5QyVYj RfgewVuE/3frGHjZwdTJV4h3OfRMYQbHINijRK4b1mH0K3IbiZ/4gEK/35uvfv9+lVX3 OHlLs/Saj/5bgxK+m2RfrQF5yI6vsouVmxzRbwJVzabEGSaKyfFDqOOnkaIVE4ULWkkN C7q1ekVu4gnHZbLYNVqNUShWpN+vrVuIhVspGPdgoaTQ7T1b0T+Bh0XhkvqF8PEmuoC5 eB6Q== X-Gm-Message-State: ANoB5pn8IdRm0i8zY+BQQQzV8cyk/7oehw2WneFKM1BxByZyJRQsNN0Q Hw9qAhIkt4C7YSZG0KDMqf2c4g== X-Received: by 2002:a17:907:b605:b0:7c1:23f2:5b59 with SMTP id vl5-20020a170907b60500b007c123f25b59mr1975890ejc.51.1670502755058; Thu, 08 Dec 2022 04:32:35 -0800 (PST) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id ca13-20020a170906a3cd00b007c08439161dsm9674266ejb.50.2022.12.08.04.32.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 04:32:34 -0800 (PST) Date: Thu, 8 Dec 2022 13:32:32 +0100 From: Jiri Pirko To: ehakim@nvidia.com Cc: linux-kernel@vger.kernel.org, raeds@nvidia.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, sd@queasysnail.net, atenart@kernel.org Subject: Re: [PATCH net-next v2 2/2] macsec: dump IFLA_MACSEC_OFFLOAD attribute as part of macsec dump Message-ID: References: <20221208115517.14951-1-ehakim@nvidia.com> <20221208115517.14951-2-ehakim@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221208115517.14951-2-ehakim@nvidia.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Thu, Dec 08, 2022 at 12:55:17PM CET, ehakim@nvidia.com wrote: >From: Emeel Hakim > >Support dumping offload netlink attribute in macsec's device >attributes dump. >Change macsec_get_size to consider the offload attribute in >the calculations of the required room for dumping the device >netlink attributes. > >Reviewed-by: Raed Salem >Signed-off-by: Emeel Hakim Reviewed-by: Jiri Pirko