Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp2085275ybj; Sun, 22 Sep 2019 19:28:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyp0xeR41KFqbxQAy5BL7pLsj/jscpqFTat+2l11j4eTwU7g980A/jlP2lh/tWmlPuBBBZE X-Received: by 2002:a50:d758:: with SMTP id i24mr34271926edj.246.1569205709263; Sun, 22 Sep 2019 19:28:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569205709; cv=none; d=google.com; s=arc-20160816; b=IEwKNWo4qgGqgTsP8N+zl28tucjjHbqOzLZ+aQTuFyMfhrRk5hMUFBK1ORqrj8E6oV +I3QlkrJWmVZzB1XfghpfWTR8uTMC58PrVjRxi2sGL74fj3BZAqlU1EpX8iZCKiWAtlt iYmZSbJqqYucpaiNXyp2Abxo/gYpTzg0nts9UPkQp5tP8gsFoXxph1xsDf1uMOJYzn7N ZRSpNiUslw+iVXiBAllF7DDNkHWwiHnNAi5XayqFWtN5CZpj3YgsVXJ/Smuk3Xtdc8W4 +2kmV948o1c8+KL8pkq6sXpOLIpCIbRpTywE4Sz3Je28rH2loikfhocS66DJ2KJma3JG y/+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=8Dn04j1D47vpdqc7En8eqVjYSWIgllXQOfacrusISo0=; b=AtH1nYa24IPQBuRzPfKi1F5tPnSBIOqNwwZhOt2J+/3dRShdDoJvY+iiSgeDiqAPh4 dObumYdrzN1aW9mKGYLiMnwIL6NwN7U9fUAOpW69GBev9MGWtwfy4E3VGiRrxnIEBdHv srwUnhUGXhcscYnwsR3oTgowFFstm2HKSD+csZbW+3XACmJ0NiYR6v16XhMilT3XUZ7P jEWwz4+h/oaY53QQQWNpBAapOBP6tzAHXVCwOU7sxfqRM+xTzPRdegs34i31s/OBwxBu ddVGpxMly79fA04vA87jJVzQNER0gR8t5ytp6ryjN7hpMyPXWutgW9HpV32T5vzTVynk kvXQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jx7si4402108ejb.84.2019.09.22.19.27.36; Sun, 22 Sep 2019 19:28:29 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393513AbfITPmM (ORCPT + 99 others); Fri, 20 Sep 2019 11:42:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36128 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391417AbfITPmM (ORCPT ); Fri, 20 Sep 2019 11:42:12 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0BBE210C0930; Fri, 20 Sep 2019 15:42:12 +0000 (UTC) Received: from asgard.redhat.com (ovpn-112-68.ams2.redhat.com [10.36.112.68]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4662D5DC1B; Fri, 20 Sep 2019 15:42:09 +0000 (UTC) Date: Fri, 20 Sep 2019 17:41:47 +0200 From: Eugene Syromiatnikov To: netdev@vger.kernel.org Cc: "David S. Miller" , linux-kernel@vger.kernel.org, Ursula Braun , Karsten Graul Subject: [PATCH net v2 0/3] net/smc: move some definitions to UAPI Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.66]); Fri, 20 Sep 2019 15:42:12 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. As of now, it's a bit difficult to use SMC protocol, as significant part of definitions related to it are defined in private headers and are not part of UAPI. The following commits move some definitions to UAPI, making them readily available to the user space. Changes since v1[1]: * Patch "provide fallback diagnostic codes in UAPI" is updated in accordance with the updated set of diagnostic codes. [1] https://lkml.org/lkml/2018/10/7/177 Eugene Syromiatnikov (3): uapi, net/smc: move protocol constant definitions to UAPI uapi, net/smc: provide fallback diagnostic codes in UAPI uapi, net/smc: provide socket state constants in UAPI include/uapi/linux/smc.h | 32 +++++++++++++++++++++++++++++++- include/uapi/linux/smc_diag.h | 17 +++++++++++++++++ net/smc/smc.h | 22 ++-------------------- net/smc/smc_clc.h | 22 ---------------------- 4 files changed, 50 insertions(+), 43 deletions(-) -- 2.1.4