Received: by 10.223.164.202 with SMTP id h10csp335722wrb; Wed, 22 Nov 2017 22:12:29 -0800 (PST) X-Google-Smtp-Source: AGs4zMZNwJYzgQk9T5JkOj0Zk5zd7gz48Y+GwoQCslfjOKA1EVrtG45gSbke+ygFAM7LmTsrKNeE X-Received: by 10.99.117.74 with SMTP id f10mr23142762pgn.27.1511417549029; Wed, 22 Nov 2017 22:12:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511417549; cv=none; d=google.com; s=arc-20160816; b=gNRJZTDR3N9dMuYv0UXn75H0gkBfSgg0paIXDUWFKojuRJKgKTpuWnsxlEOCRoAD9R 4gLNjXBkeF9z9SXuEVwgHAFGUXNLr2rSt9C8kCDp1K77xYcFpW/r4/88BpR6SA9umaIM j8GNzdsBKEtk13WM8iS7BMXvyIARj146N/V2sGuW5Ox3l7Be1ZzFZ2Mn5i30Gjs4rFcx mig4tiYyBh6+eHrUStS00XiO+nZWsLXZLgxnEttn+tWB1tW0z0QU/g5duxqdTPzkxD3T W/XpKNZe8UyGwBAFMAp+tgt0gzjeHDvIn5ti4tmW9uErVfHXjBFj5aGrl0ni9OxWQpQZ A6fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=0728rAsMDe/E3ZTvgErLFBhnAGm7WLv5sDo1YWX/6vo=; b=XLN5lW5rkLJswMKpn2MvxoYuI4IvLdtfuPv54oKvzHMdGgVdPXVLhNoten9hpc8M2r 7G+csavB5XMIlZavYA6baP1TMihsAO7c7ZPA2+ybeBDFpw7Yd2XdTgyIEaoEQm4Ntjwj xP7xDlBhME2TZwP8kOYXp/4uwTyMFLnOJL1Jw8Y2Ulw9Ff079PQjzPXly4Y1ITKlHcR0 8QznFJRzgOtYyHOiO7NfOYTlhSZSKeHp1f07+knPBtyxV1w8nOIINLC+2q3NqFSUqoAQ zlO/C+sN58zBjk1+AOi/r+0PL3+Q6/Afwyl351a360/zGsqRr+YwzlSofVzo2N1awdL9 sDUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=Sx+Od6lG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si15492303pls.794.2017.11.22.22.12.16; Wed, 22 Nov 2017 22:12:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=Sx+Od6lG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752556AbdKWGLi (ORCPT + 77 others); Thu, 23 Nov 2017 01:11:38 -0500 Received: from mail-cys01nam02on0069.outbound.protection.outlook.com ([104.47.37.69]:18592 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752041AbdKWGLg (ORCPT ); Thu, 23 Nov 2017 01:11:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0728rAsMDe/E3ZTvgErLFBhnAGm7WLv5sDo1YWX/6vo=; b=Sx+Od6lGkhpTRmpeDsghxIu9/39qK4aBqzWNfIV5YMFKniMVH3XvOQnit9IoqsjKMfArgh7Kfvv4utiv1Ebuv4raT1baaXs+WjtjY7Y38ctc27ZG3soZbDuaXIwR0LGu+HXkYmyfuy2Z5Q+WbErHkTwZcC7NlQ+PLlsP2o9txn0= Received: from BN3PR07MB2578.namprd07.prod.outlook.com (10.167.5.6) by DM2PR0701MB1344.namprd07.prod.outlook.com (10.161.251.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.239.5; Thu, 23 Nov 2017 06:11:33 +0000 Received: from BN3PR07MB2578.namprd07.prod.outlook.com ([10.167.5.6]) by BN3PR07MB2578.namprd07.prod.outlook.com ([10.167.5.6]) with mapi id 15.20.0239.009; Thu, 23 Nov 2017 06:11:32 +0000 From: "Amrani, Ram" To: "alexander.levin@verizon.com" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: "Elior, Ariel" , Doug Ledford Subject: RE: [PATCH AUTOSEL for 4.9 37/54] RDMA/qedr: Fix RDMA CM loopback Thread-Topic: [PATCH AUTOSEL for 4.9 37/54] RDMA/qedr: Fix RDMA CM loopback Thread-Index: AQHTY+CYC84oBVN320aaxeVLs0K1IqMhe++w Date: Thu, 23 Nov 2017 06:11:32 +0000 Message-ID: References: <20171122222344.19782-1-alexander.levin@verizon.com> <20171122222344.19782-37-alexander.levin@verizon.com> In-Reply-To: <20171122222344.19782-37-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ram.Amrani@cavium.com; x-originating-ip: [2.53.18.113] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM2PR0701MB1344;6:brkq6/kYI82kC7ow9zq0EMoHV2+erUhNjqcjMYY0f1tiTbJndbGT4rjlWQfPjLdYmggvTlAqTu/kthtI+uLv/FCHiAwi1YNn1s1H5Bov/xMRgxW/my+bEqIY46Rqd/dQqtgeSiEsjMJHUnd0/bWyMRVF+PMDXt43M+8qVKJ7wJE/MusztdvWXodOAt0BNNhC/1zIAdjcaPOKHUNd0b9/EEtM/8mMbh4js/oLhDroAfvmmir0h3wVssM7RuEKCABGPiiUqcmmID1WJLaNZjF/aEHm65JOhJySX7rMbbWYtVJ3XRKDraL22wg/S8HSp2yf3g9Wy2uVlVQSsk/NKD1bFwv7uNneP3wJL5/NB0zRDZ0=;5:ONiV+wDEiLSMjDA18vYU3xYp3QtrMV7Kpb5rGoKm0buQGW5Dwg3Hcrmz+ECSEIQ3aUkwHlMWHjE/aJxwXAa/smsrYeXJaOJ971Zfhct2ubsx2Sb27/Owyc7R+EQm/j1LbpOQn3EgPdGBDNNsU7MYLGlTsm3bljmBfDIuaJHsB2s=;24:bOeJyTjLNHkCWedgdz9epB4RrG8o0/zQmjJBTEUjHSmxxQnbZcxn5jInjH4vTh0/xNgLnvxZO02ONDtgmEiyQiuQ1rz5dlPPCGrWF0UPwFA=;7:qr6fbFGhbJx2okLq0RxvfcPP8IGOXwW0jOOYq5J2jOfbPVjrU0h/53btc5ouonHNNBR8urqT5yzkql3MTFJIaPYDZAHNQYT8QPjWr83NAk6tMXXI0/NNy9vN4g1qeJg5IltuDIBHBqKXMXxwyrBYO3enAoYuTh3yNptAcD/cgUa1FY4JsJ19S8ZEO2qkFAk3AfjxjFxBd55G2y/lsjgP+AnjD/pGQRjtvT4iZN19WqH7jkfS0lZ0tzTmuwkrumiy x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(6009001)(366004)(376002)(346002)(189002)(199003)(478600001)(106356001)(2201001)(14454004)(77096006)(68736007)(6506006)(8936002)(6436002)(229853002)(6246003)(97736004)(3660700001)(110136005)(86362001)(72206003)(2950100002)(5660300001)(316002)(2501003)(105586002)(54906003)(7696004)(50986999)(101416001)(9686003)(74316002)(189998001)(53936002)(4326008)(25786009)(99286004)(55016002)(33656002)(3280700002)(2900100001)(81166006)(81156014)(8676002)(2906002)(305945005)(102836003)(76176999)(66066001)(3846002)(54356999)(6116002)(7736002)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR0701MB1344;H:BN3PR07MB2578.namprd07.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-correlation-id: ef5e2317-d8b5-4a2f-7b36-08d532390b59 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199);SRVR:DM2PR0701MB1344; x-ms-traffictypediagnostic: DM2PR0701MB1344: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(154440410675630); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3231022)(10201501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM2PR0701MB1344;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM2PR0701MB1344; x-forefront-prvs: 05009853EF received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef5e2317-d8b5-4a2f-7b36-08d532390b59 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2017 06:11:32.5075 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB1344 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Ram Amrani >=20 > [ Upstream commit af2b14b8b8ae21b0047a52c767ac8b44f435a280 ] >=20 > The loopback logic in RDMA CM packets compares Ethernet addresses and > was accidently inverse. >=20 > Signed-off-by: Ram Amrani > Signed-off-by: Ariel Elior > Signed-off-by: Doug Ledford > Signed-off-by: Sasha Levin > --- > drivers/infiniband/hw/qedr/qedr_cm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/infiniband/hw/qedr/qedr_cm.c b/drivers/infiniband/hw= /qedr/qedr_cm.c > index 63890ebb72bd..eccf7039aaca 100644 > --- a/drivers/infiniband/hw/qedr/qedr_cm.c > +++ b/drivers/infiniband/hw/qedr/qedr_cm.c > @@ -404,9 +404,9 @@ static inline int qedr_gsi_build_packet(struct qedr_d= ev *dev, > } >=20 > if (ether_addr_equal(udh.eth.smac_h, udh.eth.dmac_h)) > - packet->tx_dest =3D QED_ROCE_LL2_TX_DEST_NW; > - else > packet->tx_dest =3D QED_ROCE_LL2_TX_DEST_LB; > + else > + packet->tx_dest =3D QED_ROCE_LL2_TX_DEST_NW; >=20 > packet->roce_mode =3D roce_mode; > memcpy(packet->header.vaddr, ud_header_buffer, header_size); > -- > 2.11.0 Thanks! Acked-by: Ram Amrani From 1584809484313746322@xxx Wed Nov 22 23:08:21 +0000 2017 X-GM-THRID: 1584809484313746322 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread