Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6339724rdb; Thu, 14 Dec 2023 15:52:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIxhC0WtMkIoa37v8n2Kr3gFTQdDmaqaeegjuSP496IKMlUJTy/UO6jgz4faTkkmEIsXVA X-Received: by 2002:a05:6808:1407:b0:3b9:ff46:fa9e with SMTP id w7-20020a056808140700b003b9ff46fa9emr13113144oiv.90.1702597969496; Thu, 14 Dec 2023 15:52:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702597969; cv=none; d=google.com; s=arc-20160816; b=mwXBrKL36i6vhP2W0VX1cLiLwRS/ZaVTNLmXR96g9Y30od1peNzZyYVukKZpHYzTtw M1NwBQk8Y3ZPiLRYtob+dSjXA5FODCwPmNgLIxOepsPRxNI20Q+fuhoQh3cZzkekeYr6 Q9TPXP7pHkZM34ts88tK3BhEBILNbQtIyB83gF7xjmV+5xMgPk6e7xa2pffro8KtKoe6 5mFBjOcCxtaXP0BUUfoWU1y3OGGzofa3+ogwgPF5yriYNJSvFp7DNpXr8X6HLVGC2HbW oUrc86KonITOa90HJmZ0geB8myMLqZ4R/m93Ne+zapY4OOBAkpuFTLQ23u0BViEVFjfj E+Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=rMQwh6ZcWzINIjfHJVIKMLZyamBUqrB0RFZAYZl7Zb8=; fh=5apY95wsIkYODAFRzD4seFuK//PMhRExYP+WzYKCKzU=; b=mqjZ7HtXh7jOeJesUHmbYiGD6Y06MUl0c/T24zAe01supj8KTdXm1+hwqcbPg+vjiZ Tw0tt+cenphbK6DBjdNDDutJW9Zb+d3/Xpm7SfVP2k6AwTIiF4/ACISviMvagsb0w6B4 XPlAdypVzjex4mtdIZXdUBDEb7b3S/Tonl9IF37/T2V/yy2W2eXylNxT4elYFRDcGtrj sgJfh/EbwKxhpbLEplV4lfvomIwUzUShZCDgGVj/RhPVgw8CzgbRZMPiEb/nO2RH1pdH Sx5QUUFljv4KAVNDFBZ96aREF4FfotdlVJ3JD1DnquxdJPCo6JeANllUDMG6c2bvOBRx IfFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=ZKcQ49B5; spf=pass (google.com: domain of linux-kernel+bounces-260-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-260-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id fi29-20020a056a00399d00b006cbef05beddsi12164937pfb.11.2023.12.14.15.52.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 15:52:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-260-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=@canb.auug.org.au header.s=201702 header.b=ZKcQ49B5; spf=pass (google.com: domain of linux-kernel+bounces-260-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-260-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au 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 793BFB21FB0 for ; Thu, 14 Dec 2023 23:52:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 156442DB70; Thu, 14 Dec 2023 23:52:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="ZKcQ49B5" X-Original-To: linux-kernel@vger.kernel.org Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 B3DCA2DB61; Thu, 14 Dec 2023 23:52:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1702597943; bh=rMQwh6ZcWzINIjfHJVIKMLZyamBUqrB0RFZAYZl7Zb8=; h=Date:From:To:Cc:Subject:From; b=ZKcQ49B5I/Jh5muyWnok/xCBnkIK+8G2HMRiJ/im9+jVFpiXFFqrtXu/jKk3N2DTX 4TUt9/t/Lnf1PJbB+FpbZxXMfDr+DOzMJVdmnWbTLR695N/9unuF2c9nmIeSoaXBE8 /Skj2UAjxjnvmq/brgKRxTUuMupW/jirv3w7M4Wa0WOGQ/VaMubkF8HlpfsQnrwkHf JIxWg8ZMZZOiT8p3Prvs+7HJqPnyyeo8XPNLdfbiQNFBcrz9zGT9xCn9Bq1me0NrhW ePw6bPUmVnpwcUpIRco6es3qWWws8TBLkjV36ohZuW/p6g3N1LrenzBtO+xD2eLelF 7U4cgLqu0oThg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Srq0629Nwz4wb2; Fri, 15 Dec 2023 10:52:21 +1100 (AEDT) Date: Fri, 15 Dec 2023 10:52:19 +1100 From: Stephen Rothwell To: David Miller , Jakub Kicinski , Paolo Abeni Cc: Networking , Linux Kernel Mailing List , Linux Next Mailing List , Petr Oros , Piotr Gardocki , Ranganatha Rao , Tony Nguyen Subject: linux-next: manual merge of the net-next tree with Linus' tree Message-ID: <20231215105219.118a1ea5@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/+IvAp3H7R_mPW8u+BQNbQvZ"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/+IvAp3H7R_mPW8u+BQNbQvZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/intel/iavf/iavf_ethtool.c between commit: 3a0b5a2929fd ("iavf: Introduce new state machines for flow director") from Linus' tree and commit: 95260816b489 ("iavf: use iavf_schedule_aq_request() helper") from the net-next tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc drivers/net/ethernet/intel/iavf/iavf_ethtool.c index dc499fe7734e,f147743792fb..000000000000 --- a/drivers/net/ethernet/intel/iavf/iavf_ethtool.c +++ b/drivers/net/ethernet/intel/iavf/iavf_ethtool.c @@@ -1436,16 -1435,11 +1435,16 @@@ static int iavf_add_fdir_ethtool(struc spin_lock_bh(&adapter->fdir_fltr_lock); iavf_fdir_list_add_fltr(adapter, fltr); adapter->fdir_active_fltr++; - fltr->state =3D IAVF_FDIR_FLTR_ADD_REQUEST; + if (adapter->link_up) { + fltr->state =3D IAVF_FDIR_FLTR_ADD_REQUEST; - adapter->aq_required |=3D IAVF_FLAG_AQ_ADD_FDIR_FILTER; + } else { + fltr->state =3D IAVF_FDIR_FLTR_INACTIVE; + } spin_unlock_bh(&adapter->fdir_fltr_lock); =20 - iavf_schedule_aq_request(adapter, IAVF_FLAG_AQ_ADD_FDIR_FILTER); + if (adapter->link_up) - mod_delayed_work(adapter->wq, &adapter->watchdog_task, 0); ++ iavf_schedule_aq_request(adapter, IAVF_FLAG_AQ_ADD_FDIR_FILTER); +=20 ret: if (err && fltr) kfree(fltr); @@@ -1475,12 -1469,6 +1474,11 @@@ static int iavf_del_fdir_ethtool(struc if (fltr) { if (fltr->state =3D=3D IAVF_FDIR_FLTR_ACTIVE) { fltr->state =3D IAVF_FDIR_FLTR_DEL_REQUEST; - adapter->aq_required |=3D IAVF_FLAG_AQ_DEL_FDIR_FILTER; + } else if (fltr->state =3D=3D IAVF_FDIR_FLTR_INACTIVE) { + list_del(&fltr->list); + kfree(fltr); + adapter->fdir_active_fltr--; + fltr =3D NULL; } else { err =3D -EBUSY; } --Sig_/+IvAp3H7R_mPW8u+BQNbQvZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmV7lTMACgkQAVBC80lX 0Gy/mAgApKLj8MZ8Tj4vPsNMSJX4ZEnZKrPuG7GFI8vxQRBnWX7UTGKp7/VgExSD CaAi0PlBXduMSpPe48YimsvLKDEfDqVJiUMEcmh8FoA1rt5aBxuuxrGT3CcWP4JH bmq1IOR77r4WGzszSyYzeJyHj7Fc9JcTlNE7L5p1/P47fxplVktF3vEN8NRj3XqY COokn62mquj7YdCXwHBdWmLk+0yMBa13JYCcwxefLHF4inq2ZGxZh+iVOHrKFy0f YvdHi/c9hKWqL8PUcIWpEGDYgwk1qT6HSxZIu0s7TAY8JjnRuiFvAL3E3zLXHsGX IQRK6xKacRJgH8gZUzjfYuC97ujGow== =Przn -----END PGP SIGNATURE----- --Sig_/+IvAp3H7R_mPW8u+BQNbQvZ--