Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp195543lqp; Wed, 22 May 2024 01:24:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULv5mfjBo9+vkpppBgSLVN4ll5+l54s3YdyYC1ZiywgbmQhPsJBCWmfSx7h0X3RbskDcveABsySaB5nyRYD6N0RHG7tQyQu89vEHnTlw== X-Google-Smtp-Source: AGHT+IEkknkEhDkBJxlcZjCMMBtFh50/o1hZXHoKh69OpmgOa3BtkW1twEagBNqDxDkiZxOs1EqB X-Received: by 2002:a17:906:6a02:b0:a59:c319:f1e0 with SMTP id a640c23a62f3a-a6228171b37mr86403266b.75.1716366279567; Wed, 22 May 2024 01:24:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716366279; cv=pass; d=google.com; s=arc-20160816; b=vtdhCO+mRHorR4Lhq2Cce1Wz1vvCauMMeIByugRtn6VhyeiccY74mW0R2DbGPgEE81 3G2FmXMKIZFznwoT0JRO+SIlt7eGqx9uuzCjubikjbAbN1ex0jbOvsXaaYQwcW/JHsji cXLImcLvQgSCxXbozzGoV5VeKUYqSlhurY5M1gx/1em/btdex+qL+pFe/DDYQRkIbExR EBPMpSCMYZC/0yKByn4eMZ8WTxecJnnD6DHV38lVEu6kKUhll4yd61BgBfWR3neLeCs9 y4Nr5KlVxMZnEl1HuwmpteKTHciajeJIMI9g8Lh3/6t+J8r6iV8TbX1lzR0ySafcqXoC sZBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=HsbSLbtjwfFNdGkPVNkoExIhdGgewlE+wCx6VMLl9cs=; fh=ujksmUrBEjpGhQjWbrjZMx9PDXUXbYR/j4y8MAq1x1o=; b=e//9R4Qp/XeFwBIdLAw014LYZuO+6hq3RtoJ10KujfQar73puM7lyZ5usxsXCpCCON HevbUnACKOmCg7ZJo5Fwpcfd+MFS3PsWhVd8nkfbjNx8WO/oxWRvWXkvJJ7pqBUIhxyh Ivy+muWjpIu69rped/GrvVOKbl5eIiff+z9gNaGEbmM8ZmhINNN0I6CniIDZCYLErVwQ Vv6j/Ify4r1GtTJCm5rv+u/03v+nhIff42ODqsWW6zJkIoEx+emIEMvKHR6zWALxz1/C AvBJEfA1j0RqjxdMZ5w6O6tUsf+oeM9MSrAR5YFNsO0E9pyhr0I8ImvDn7UNrvm16KaM sz4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=EQIlxrWp; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-185916-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185916-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1797b71dsi1514695466b.218.2024.05.22.01.24.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 01:24:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185916-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=EQIlxrWp; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-185916-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185916-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 43BC61F24963 for ; Wed, 22 May 2024 08:24:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A6A780028; Wed, 22 May 2024 08:24:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="EQIlxrWp" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 850078061F; Wed, 22 May 2024 08:24:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716366249; cv=none; b=iKWtXpdZPAq9gzVndlb3RyfzvTLosecAPGI4MvUJJ7M4UU2bQX3kK5PGUqQa0i6/DPxyVn7N6iKxS+3JB8vld+yCJtZb2wWbaSmOebRFtWMaqMp/9HUqsFNKrB97ITu1ehx59I27n1fimQWaIux2fg/UsIBJeBwq2dGKHDqq3jI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716366249; c=relaxed/simple; bh=WW8olC3eTArZzrqCjhroBlhu5q5PE/1WdEiKUVo/Iew=; h=From:To:Cc:Subject:Date:Message-Id; b=M98IOlVQVI5IULOsXjmuTrIl9/3rImoVy60kCR09AGeSYwAJlGr12N8SvjpqITw/9vAVzwzm74SQNh3bqHXqhi/VDw+FSRuaKvOOORV4Pff061Kn3vXdPkhrpQf5GLZt8Of1RPeb/iRe8UPcMuOBnMLU0+Ez0PGOCd3RkNimIgk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=EQIlxrWp; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id 0508020B915A; Wed, 22 May 2024 01:24:07 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0508020B915A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1716366247; bh=HsbSLbtjwfFNdGkPVNkoExIhdGgewlE+wCx6VMLl9cs=; h=From:To:Cc:Subject:Date:From; b=EQIlxrWpk4KpVfCjICMzneOzVR/jywUwY6DD3W3IV9nJlJN7YnapDYLNz49UNLNnc /L4TBXpVhFBWYbQbcht0+S3s4ZfqKDpwfbaDuxGyk8v7MoBtvwFyLooZf6uTnMPx84 wpQouIDaCqkAdQmsVSZj4uP80qdm4UUgzULyXt2A= From: Konstantin Taranov To: kotaranov@microsoft.com, sharmaajay@microsoft.com, longli@microsoft.com, jgg@ziepe.ca, leon@kernel.org Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH rdma-next v3 0/3] RDMA/mana_ib: Add support of RC QPs Date: Wed, 22 May 2024 01:23:59 -0700 Message-Id: <1716366242-558-1-git-send-email-kotaranov@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: From: Konstantin Taranov This patch series enables creation and destruction of RC QPs. The RC QP can be transitioned to RTS and be used by rdma-core. RDMA-CORE: https://github.com/linux-rdma/rdma-core/pull/1461 v2->v3: * fixed c99 comment style v1->v2: * Removed an old comment in 2/3. * Fixed text in a debug message in 3/3. Konstantin Taranov (3): RDMA/mana_ib: Create and destroy RC QP RDMA/mana_ib: Implement uapi to create and destroy RC QP RDMA/mana_ib: Modify QP state drivers/infiniband/hw/mana/main.c | 59 ++++++++++ drivers/infiniband/hw/mana/mana_ib.h | 99 +++++++++++++++- drivers/infiniband/hw/mana/qp.c | 166 ++++++++++++++++++++++++++- include/uapi/rdma/mana-abi.h | 9 ++ 4 files changed, 328 insertions(+), 5 deletions(-) -- 2.43.0