Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp122707lqg; Fri, 26 Apr 2024 10:22:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURlc7qPVL6U0ysdo1RDsh6ps0YS5gbaBjGnFXsjktvkyXK6Iv7wNLwL1CCzG1P4Xnr2TjrvW+Fti3KwPW0pRsrqTYeulPU7WqyEFedBQ== X-Google-Smtp-Source: AGHT+IG8hWe3Zk3oA3vhz2wyEyjPlCeT0TrIS/blN3jBQFUCMAH/FrATD8fUE/NU/LyuRxEA9Bbx X-Received: by 2002:a17:90a:e7c8:b0:2a0:1c:c91a with SMTP id kb8-20020a17090ae7c800b002a0001cc91amr3297273pjb.13.1714152136525; Fri, 26 Apr 2024 10:22:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714152136; cv=pass; d=google.com; s=arc-20160816; b=w41kVHugl3DaEhd7VSD8rzAA5khnHkPNRuN+DsXZT1KGcn8ArqHmyRhH4HaEF4of3Z 3cn5Bb7AI1qXbUiLRvDdB5nngIzlPCqBb6QVcB49u92vpybCJQMgLeGdBDhl9sTmr8IM tYHujlXWWDmf6CukiWOXOyTIw2iB15jGtliXCiDLQBPUNoL4aN97KX/+BmpqMUiynNiz 8WhcpfWjYlJTYiC0lo4pX/cstvWQE6Ye737sHX0oRDIcJ0jGA6VQrLz79LuoKVd9jAbl LR+wC587TxOEkG27KT/PCzOlnkSv8CPbVZbh1z7OPwpByuWLXLzJ2VMhYdjw9T/t431S VxbQ== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=5eZ7lmSsHEeWREkE8QMUgqjdRO8mkI1U+zkRl58HfpU=; fh=FHF+YSj9fvtTPXGItJj5UGn+WuEX0Iuf9r4bialYDHs=; b=fGGxoioUSG1G8+lBRraxqNCvH/mroFP9PGtIMtXcwwAvNKsDzIgPWqhXKItiwm2eMO 4rZO3jmgqkgWx9Ml/jrgs5hzfKNT2f8m5OtFI30u2ENZbEk3RqRg7AKI9VV93W8kx46y pNbxkixKcieNk6gXIwCE0MXeTHFC17qC6U6QF6I/K3zERLQ4Ta+KLnu7l/ItyKZmlMun 8z7yOCNZnaB+rVBXVN6OUKzWi7dTo9983anEyKpjVHI3+PJPrD3DHTRJuVsr3w9d5pZN cs7LdugoLr+Vds0JUb++NNLQmD/sWH8msFPAyq1jchKeu9mgUYX3JSpAEUJrSM5/Q8YB P6zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZbhFJtxD; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-160456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id n15-20020a17090a4e0f00b002abb842782esi15800960pjh.144.2024.04.26.10.22.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 10:22:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZbhFJtxD; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-160456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 70415B216AF for ; Fri, 26 Apr 2024 17:16:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1879115B57B; Fri, 26 Apr 2024 17:16:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ZbhFJtxD" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 8A64C15AD89 for ; Fri, 26 Apr 2024 17:16:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714151794; cv=none; b=f1y+3upQR+E3L/galT7VQPWVpRWXUq/BSeJ3JU2O3K2KzpjJBI0vXKV1/ljkWLzE1S5hfipEmSdt/9Xu79Guh1twjHXCOBK+VixSbq1hNuIt50sKLzjxg4JLCGMZFBC2cTTRHkeB4kx2xjiV6MacoP2DGTaw1IYBFg62JbHI2Ns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714151794; c=relaxed/simple; bh=5GBgcTHzbOIEDgorcFEzrdXexOgGt8UtgP6HqH2srao=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XVwzERIVfsanOEYGaIedABNrV0vZiml2e7CQYubO1VI+MJS/d7BsQBSL+zxeHd8VfAkf+/jRbmdlTA8vze2xrmY6+jfHM7J8ADBhYlyZuTY5uuh1fRJY5CYNCR+5UBi2VpHHFdIHKAfTs2pfRRuDA0Wn4muaf0+CrD+6YbCCX94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=ZbhFJtxD; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714151791; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5eZ7lmSsHEeWREkE8QMUgqjdRO8mkI1U+zkRl58HfpU=; b=ZbhFJtxDjJV8jC1+tLmD/ja+5EpzUBx1Ed/N1+obFr71uQc8DhbdV8AlWkqwWSg+HEgRLY mt4z7Np11CygE/kDTElwfhvpaTejabyGoahF/GTjqiafke5B8ye/truQR96QHxQgwXyXRW plqT231yqTSsYZc6di8kkDu6keoWK5s= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-530-F2z9VHWJOKyN98hUIR0s_Q-1; Fri, 26 Apr 2024 13:16:29 -0400 X-MC-Unique: F2z9VHWJOKyN98hUIR0s_Q-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1699F830D37; Fri, 26 Apr 2024 17:16:29 +0000 (UTC) Received: from [10.45.225.10] (unknown [10.45.225.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C79A40C6DAE; Fri, 26 Apr 2024 17:16:27 +0000 (UTC) Message-ID: <914424cb-d74a-40b3-95e4-03d17d653467@redhat.com> Date: Fri, 26 Apr 2024 19:16:26 +0200 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 iwl-next v2 0/7] i40e: cleanups & refactors To: Tony Nguyen , intel-wired-lan@lists.osuosl.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, mschmidt@redhat.com, aleksandr.loktionov@intel.com, jesse.brandeburg@intel.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com References: <20240327075733.8967-1-ivecera@redhat.com> <3bd08423-18cd-6e12-38ab-4d9656c9ecf1@intel.com> Content-Language: en-US From: Ivan Vecera In-Reply-To: <3bd08423-18cd-6e12-38ab-4d9656c9ecf1@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 On 12. 04. 24 23:19, Tony Nguyen wrote: > > > On 3/27/2024 12:57 AM, Ivan Vecera wrote: >> This series do following: >> Patch 1 - Removes write-only flags field from i40e_veb structure and >>            from i40e_veb_setup() parameters >> Patch 2 - Refactors parameter of i40e_notify_client_of_l2_param_changes() >>            and i40e_notify_client_of_netdev_close() >> Patch 3 - Refactors parameter of i40e_detect_recover_hung() >> Patch 4 - Adds helper i40e_pf_get_main_vsi() to get main VSI and uses it >>            in existing code >> Patch 5 - Consolidates checks whether given VSI is the main one >> Patch 6 - Adds helper i40e_pf_get_main_veb() to get main VEB and uses it >>            in existing code >> Patch 7 - Adds helper i40e_vsi_reconfig_tc() to reconfigure TC for >>            particular and uses it to replace existing open-coded pieces > > Hi Ivan, > > With the new checks on kdoc [1], this now reports issues. Can you fix > those? Feel free to send the new version to 'net-next' as our validation > has finished their testing on this series. > > You can add my > > Reviewed-by: Tony Nguyen > > Thanks, > Tony Huh, I missed your email. Will send v3. Thanks, Ivan >> Changes since v1: >> - adjusted titles for patches 2 & 3 >> >> Ivan Vecera (8): >>    i40e: Remove flags field from i40e_veb >>    i40e: Refactor argument of several client notification functions >>    i40e: Refactor argument of i40e_detect_recover_hung() >>    i40e: Add helper to access main VSI >>    i40e: Consolidate checks whether given VSI is main >>    i40e: Add helper to access main VEB >>    i40e: Add and use helper to reconfigure TC for given VSI >> >>   drivers/net/ethernet/intel/i40e/i40e.h        |  30 ++- >>   drivers/net/ethernet/intel/i40e/i40e_client.c |  28 +-- >>   drivers/net/ethernet/intel/i40e/i40e_ddp.c    |   3 +- >>   .../net/ethernet/intel/i40e/i40e_debugfs.c    |  36 +-- >>   .../net/ethernet/intel/i40e/i40e_ethtool.c    |  29 ++- >>   drivers/net/ethernet/intel/i40e/i40e_main.c   | 205 ++++++++++-------- >>   drivers/net/ethernet/intel/i40e/i40e_ptp.c    |   6 +- >>   .../net/ethernet/intel/i40e/i40e_register.h   |   3 + >>   drivers/net/ethernet/intel/i40e/i40e_txrx.c   |  98 ++++++--- >>   drivers/net/ethernet/intel/i40e/i40e_txrx.h   |   3 +- >>   .../ethernet/intel/i40e/i40e_virtchnl_pf.c    |  14 +- >>   11 files changed, 282 insertions(+), 173 deletions(-) > > [1] https://lore.kernel.org/netdev/20240411200608.2fcf7e36@kernel.org/ >