Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4604322pxb; Sun, 14 Feb 2021 17:10:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/LTY2qeD/NpAFrNX5WzJOQaOyS7M9eC/KF7B82jeQNSKx+uQsXIiEyjNYaN56jdglAWoU X-Received: by 2002:a17:906:2851:: with SMTP id s17mr13399336ejc.510.1613351409162; Sun, 14 Feb 2021 17:10:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613351409; cv=none; d=google.com; s=arc-20160816; b=TjDjDbpb17FYA8vy80eZyk9ONLoKyo1aOjRceQxuD07tW/5N+qOC5n0vfOIhw9sNMv KHozfHHfJlT5QpJmdZCxsgUa0XocvlYMzDWVwVIFJIoP6UQQw/ijUZWI6tKMO1xLOoxD BR3o05wKFgnbmjIW6A6l3LeXAr8dXcLPqrsMIt4q+TJM7Ui0deRZW2bQAP3KXiFyWF0q JakjUx0peM7a0d7xhor6BKRCVYRpnA4nTCgIiEf17/Y76a0XF2v/cn0iRIT87Zd9AjLM wGBPzMLU8WhWpibFUu5PSixwCMqrAhTjuX/CBZb3OyHrgvldlvW+evzg2TiSItFJApwn Y+/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=j6UDD4uLw1xh8FWIdDNpklVP2zMVUWmEKmWjX2GjVT8=; b=aOQ8hQOousC7exUQ3ejZR5RSecds1IIIL4hmbYtj2KirAupQI8yRquLpls8Sb2sfUI 9pL8eykDyC6Zx9WWVMy77gGmhJ6e3zj0R2/GpbGeTDLAtQIakd0BpU4MQoEeLhpN6s/W 3dRUFCGlCuZGJJizNIyP/rYjSZqqyhuQISQ2VECv1KCXwyw0FT9t/zM4EYljykB4HcuV 4A21euqc20ET+W1PFDPMgXuJQNtzcxIp13OwRAm7cleHGeI8ywIhuEUxNFsoJMDhq3sN jZmBGk9ON0HsDabV0x6TGU7ZUtDpip+936V5odORkfl1oTmdwm5GYrN3Ue0dg1yRpUjY J2IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=e0n4Hg3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v8si10559239edc.382.2021.02.14.17.09.46; Sun, 14 Feb 2021 17:10:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=e0n4Hg3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229875AbhBOAxQ (ORCPT + 99 others); Sun, 14 Feb 2021 19:53:16 -0500 Received: from ozlabs.org ([203.11.71.1]:43539 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229818AbhBOAxP (ORCPT ); Sun, 14 Feb 2021 19:53:15 -0500 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 ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Df5DH6kzjz9sCD; Mon, 15 Feb 2021 11:52:31 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1613350352; bh=oa6Uc+7uJnYD30C2uWpQl2bbjVcL9J8DziaWhvXWAbg=; h=Date:From:To:Cc:Subject:From; b=e0n4Hg3DM0kwa/YKMUfeFAiiogSXYMUUSmTGTusYiI2ywrwQARB9+g3eet5DEYppS hmDBLchbhn/KeDhF0u1kKN2Btq8GiyaDsTzJ5YHFQrBaRv7PiQfSTf9ShOswwECw2M JK/9sfNkg7BZjers8rj44/01iZjwrqSsNdJgSZobB7DvmjKwWPnl+4/YJhVMVzFmb5 QupCL32x9RFaMSpv6RiIQXceNjT7ea2qbtBGiiTcPlmlFl1wJ7kh5vCiCX5b4Ai38q bR+IGnvsenpHruU4w0DLMDIROJNUuPmZIiH4Qjfr3O4NbIu5VZj2swXGSaHAOOJFD5 HgRvuRRVsF4xQ== Date: Mon, 15 Feb 2021 11:52:31 +1100 From: Stephen Rothwell To: David Miller , Networking Cc: Aya Levin , Jakub Kicinski , Linux Kernel Mailing List , Linux Next Mailing List , Maxim Mikityanskiy , Raed Salem , Saeed Mahameed , Tariq Toukan Subject: linux-next: manual merge of the net-next tree with the net tree Message-ID: <20210215115231.2311310a@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/49jkGUhnk31rBtkq3GBA.g1"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/49jkGUhnk31rBtkq3GBA.g1 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 conflicts in: drivers/net/ethernet/mellanox/mlx5/core/en_main.c drivers/net/ethernet/mellanox/mlx5/core/en_rx.c between commit: e4484d9df500 ("net/mlx5e: Enable striding RQ for Connect-X IPsec capable = devices") from the net tree and commits: 224169d2a32b ("net/mlx5e: IPsec, Remove unnecessary config flag usage") 70038b73e40e ("net/mlx5e: Add listener to trap event") 214baf22870c ("net/mlx5e: Support HTB offload") 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/mellanox/mlx5/core/en_main.c index a2e0b548bf57,d3534b657b98..000000000000 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c @@@ -65,7 -65,8 +65,9 @@@ #include "en/devlink.h" #include "lib/mlx5.h" #include "en/ptp.h" +#include "fpga/ipsec.h" + #include "qos.h" + #include "en/trap.h" =20 bool mlx5e_check_fragmented_striding_rq_cap(struct mlx5_core_dev *mdev) { @@@ -2069,10 -2106,8 +2107,8 @@@ static void mlx5e_build_rq_frags_info(s u32 buf_size =3D 0; int i; =20 - #ifdef CONFIG_MLX5_EN_IPSEC - if (MLX5_IPSEC_DEV(mdev)) + if (mlx5_fpga_is_ipsec_device(mdev)) byte_count +=3D MLX5E_METADATA_ETHER_LEN; - #endif =20 if (mlx5e_rx_is_linear_skb(params, xsk)) { int frag_stride; diff --cc drivers/net/ethernet/mellanox/mlx5/core/en_rx.c index 4864deed9dc9,4de5a97ceac6..000000000000 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c @@@ -1794,12 -1786,10 +1786,10 @@@ int mlx5e_rq_set_handlers(struct mlx5e_ rq->dealloc_wqe =3D mlx5e_dealloc_rx_mpwqe; =20 rq->handle_rx_cqe =3D priv->profile->rx_handlers->handle_rx_cqe_mpwqe; - #ifdef CONFIG_MLX5_EN_IPSEC - if (MLX5_IPSEC_DEV(mdev)) { - netdev_err(netdev, "MPWQE RQ with IPSec offload not supported\n"); + if (mlx5_fpga_is_ipsec_device(mdev)) { + netdev_err(netdev, "MPWQE RQ with Innova IPSec offload not supported\n= "); return -EINVAL; } - #endif if (!rq->handle_rx_cqe) { netdev_err(netdev, "RX handler of MPWQE RQ is not set\n"); return -EINVAL; --Sig_/49jkGUhnk31rBtkq3GBA.g1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmApxc8ACgkQAVBC80lX 0GwOywf+JQQYI5Qt5YRTa39uK02+aj7eiK5MLNY5+7FXywoX5LTAGLDvxNqZp5Sq Wy5SjcdXgTGk8MsmxGas7z5nb3qkAsUZxbYxh+2BCaJ9TdhdAgLLUuN9HLIebRMy qCsD/dslZRLowZ3PsTSYEsvGklOZaqvDAIboVlXBowxdQeyiZFJab2lZhfUQETly R0gqASJElBFy4qCstmutZs6gloTL6YdMdto49bkglGILww7EHThMi1DNu9SBv+9j njRvHWl5N5tlqAG2zIoywNPKrugg2fKsTyw5FKGgMOQIywUDXeWrRmm6mFH+KIjU 76fCe3/tBkC/vpqcYJqfoRzRomlm/g== =prWx -----END PGP SIGNATURE----- --Sig_/49jkGUhnk31rBtkq3GBA.g1--