Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1867364rda; Tue, 24 Oct 2023 06:01:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKW+urOPuapoEpS0tb5OR7lRqOTjS01Mzl/pFUaK9cMUphQKu5QeKii0SZ7Tt8pbgchfGQ X-Received: by 2002:a92:c706:0:b0:352:61f2:8fd5 with SMTP id a6-20020a92c706000000b0035261f28fd5mr12801343ilp.18.1698152491001; Tue, 24 Oct 2023 06:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698152490; cv=none; d=google.com; s=arc-20160816; b=kphXGZXplrxqtiO2kT38aIJ8wyT+qUgtsn9juTn5hEpssKDhLeSKFsQFpiBNVCWvfJ UTlb5vzmo2WoaYSZ3kkWZPkkpUqUf6ip39PFuGGZDV9hxoKZmi2lnk8h0qVs3fw4AK0Q mUxJ3rfJx72728+3Zw1J5gF81bmAj5KiTA8cGZevmJMzBtiPq4sU2iQPmOMbQ3le7ray d/sb42dcUtQM6D8PLIIMs8TvkVZr4zCqKZ7mnE7X8m13ZtefffSszmJgSTEXpiB0YbbZ 8CKCWRpPvo4W2/AJjjDRdN/5KhCGLj/1JzMumuaIAWw5tdYyU+ry+kOjMeJRiV9CVSdr rT8Q== 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=ZWgZj0jWXyKIUpIqseNDFQ+Z3Ajt56Y9J6kThz0DfLU=; fh=H1NS+mzJ7O0gT6jRTdGv4H9lWPMNAUjAD05e5Y2gScU=; b=EiTHtLalGTtgUVp7VYVm9CzsT4vtIRnpQtFCv/vg4zDoFQjlwvS/AfH5LNW/Ca4+PA BJvuPlNmL3eXc92xlULDxl1eT6c1dZP7A/tHI8h6fgr/ci5Z8IGOtcFNBTgiyoPHtQWL AqZ1rqGsPmLcvhAqbFFWxxCLhvjegSrxvTnFx8C/MP4p7o9+5vkQgBVR/fEdkhx/X1WP xVC2zyoXLm0iyGyF/637Yb+8hEaRO6qBll6YI4FaSJaDwTI0lxB1guh6gs8IdTZLSIs9 OeRG25S3582SdQW8sN0aMt3xQeR4SDoKFOI971VzqYItm8jLWnWJvLD5Q37OnLex8RZY zhxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=2sD6BBIQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id d29-20020a631d5d000000b0057d7cff25besi8015165pgm.829.2023.10.24.06.01.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 06:01:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=2sD6BBIQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 23B4D808A8E3; Tue, 24 Oct 2023 06:00:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234405AbjJXNAk (ORCPT + 99 others); Tue, 24 Oct 2023 09:00:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234346AbjJXNAh (ORCPT ); Tue, 24 Oct 2023 09:00:37 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3381010C2 for ; Tue, 24 Oct 2023 06:00:34 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-53df747cfe5so6961042a12.2 for ; Tue, 24 Oct 2023 06:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1698152432; x=1698757232; darn=vger.kernel.org; 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=ZWgZj0jWXyKIUpIqseNDFQ+Z3Ajt56Y9J6kThz0DfLU=; b=2sD6BBIQO1lj4Kwx720Zfg3rgFovVh7nNSRRwmuXUB3v5G+YauzDqwDTC1LmFpghgH /IAI3ZuZHVMQo4sTKradRg0zgX2lt1zERwEI7uCMhoqKExPfeZxnAdA9OAQ7Vdr6JpcU QjLNvOc/+CZDjY6qPmJsWxpxSkUcTX7I4hDvAHxzrhRN05LzgVFIR+pA+SMEKo+BlFdb 3sl/H1GmcwAhntF90SsdLNrhWhWV9htkV2irNgOvi71rtKiUijJ24h0hoFB01/FH94vO xSbgofR44bkZsrJZOTYSrZOLwp0ITuwOwtf/pLro5/2xQAPOoNZkCzWZoJRPaBUJws3L ZadA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698152432; x=1698757232; 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=ZWgZj0jWXyKIUpIqseNDFQ+Z3Ajt56Y9J6kThz0DfLU=; b=ra7h7OSW+uoAsX7Dz9fCukH+lWvDRhjn4C3Px0pFe45VP0jM+jmL0OfPDbwG/62pXW ttgi/iOgpg5em+b7taAo4Y1vVx+DxecM0MBLFOPZl7nJfQTmPuGUiyQ1U5XDhLgnbrsY uPaGxeyZefgXilt1T8T/4H7LENtV+yTHgwePzRqdbar2Lwpabw3pIxHAyu1QVrQIhUE4 6BQ8ulaF3DIesAEICwOJ9Za3g7EsfXZCyclFWCsq7VkawWnd/RaE9UgfiO/r0rloRWFM +yMW+gWlVa/rhXMQEoh/kcYRsIr9h/y8U2z3OyZR0Aj0Sr+vAetvL2tUa5z4qVe4Xea/ rm8A== X-Gm-Message-State: AOJu0YwXruNJ91eJqMZGnjy2x1uZUCVtTIcx4EozkzRoDXSnKeCzxxDt Fi7APOgesB39wN0WGy2ZzCw+Eg== X-Received: by 2002:a50:d603:0:b0:53e:6624:5aeb with SMTP id x3-20020a50d603000000b0053e66245aebmr9243046edi.11.1698152432557; Tue, 24 Oct 2023 06:00:32 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id h28-20020a50cddc000000b0053e589016a7sm7980698edj.16.2023.10.24.06.00.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 06:00:31 -0700 (PDT) Date: Tue, 24 Oct 2023 15:00:30 +0200 From: Jiri Pirko To: Ivan Vecera Cc: netdev@vger.kernel.org, Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org, Jacob Keller Subject: Re: [PATCH net-next 1/2] i40e: Do not call devlink_port_type_clear() Message-ID: References: <20231024125109.844045-1-ivecera@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231024125109.844045-1-ivecera@redhat.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 24 Oct 2023 06:00:50 -0700 (PDT) Tue, Oct 24, 2023 at 02:51:08PM CEST, ivecera@redhat.com wrote: >Do not call devlink_port_type_clear() prior devlink port unregister >and let devlink core to take care about it. > >Reproducer: >[root@host ~]# rmmod i40e >[ 4539.964699] i40e 0000:02:00.0: devlink port type for port 0 cleared without a software interface reference, device type not supported by the kernel? >[ 4540.319811] i40e 0000:02:00.1: devlink port type for port 1 cleared without a software interface reference, device type not supported by the kernel? > >Fixes: 9e479d64dc58 ("i40e: Add initial devlink support") >Signed-off-by: Ivan Vecera Ivan, I see that even if we have checks and warnings, it is not enough :) Reviewed-by: Jiri Pirko Btw, some (even brief) cover letter for patchset would be nice.