From patchwork Fri Feb 1 20:47:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Wise X-Patchwork-Id: 10793739 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 046BA14E1 for ; Fri, 1 Feb 2019 20:55:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEA132C638 for ; Fri, 1 Feb 2019 20:55:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1A7732F66; Fri, 1 Feb 2019 20:55:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62DE32C638 for ; Fri, 1 Feb 2019 20:55:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728997AbfBAUzY (ORCPT ); Fri, 1 Feb 2019 15:55:24 -0500 Received: from opengridcomputing.com ([72.48.214.68]:57322 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727719AbfBAUzX (ORCPT ); Fri, 1 Feb 2019 15:55:23 -0500 Received: by smtp.opengridcomputing.com (Postfix, from userid 503) id 40FB922790; Fri, 1 Feb 2019 14:55:23 -0600 (CST) Message-Id: From: Steve Wise Date: Fri, 1 Feb 2019 12:47:22 -0800 Subject: [PATCH rdma-next 0/5] RDMA cm_id type of service fixes To: dledford@redhat.com, jgg@mellanox.com Cc: linux-rdma@vger.kernel.org Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hey, This series makes an enhancement to the RDMACM and the IWCM to enable applications to set the type of service (tos) via rdma_set_service_type() on listening cm_ids, to allow connections established via those cm_ids to use the tos set on the listening endpoint. It also fixes a few bugs in iw_cxgb4 where the tos wasn't being handled correcty. Steve Wise (5): RDMA/cma: listening device cm_ids should inherit tos RDMA/iwcm: add tos_set bool to iw_cm struct iw_cxgb4: use listening ep tos when accepting new connections iw_cxgb4: use tos when importing the endpoint iw_cxgb4: use tos when finding ipv6 routes drivers/infiniband/core/cma.c | 4 ++++ drivers/infiniband/hw/cxgb4/cm.c | 16 +++++++++++----- include/rdma/iw_cm.h | 1 + 3 files changed, 16 insertions(+), 5 deletions(-)