Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2691814imm; Sun, 7 Oct 2018 09:35:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV637TJqDzLSJB60SnzAyWTN/ybGbrkhFHjlMnwFWLpVluqsAmoNPUi44sRFmSz000A0q6M2h X-Received: by 2002:a17:902:7e0f:: with SMTP id b15-v6mr20342585plm.246.1538930119470; Sun, 07 Oct 2018 09:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538930119; cv=none; d=google.com; s=arc-20160816; b=qr8EJJMNaahPD+9KBj83dSN6vHnS6kQFe4KB9t6eb/I3LDComaknHEWt2koLnl9RX/ JrTTpaCJxACnCIUsUBCpxFCt1nDPCSYbnOoLtsiKtdgV3znhPfR31nTGf0wArM9inA4E 6Ivjb8Z/dhO6mHNRAwU/qZ0u/6w2kYBigqvioGgf6Zi6bQH/ucxpycpGbgbYg+CENuB9 r6tXakE6aMtmex9ppYC2kOsmJpNLYy0hrtC8UZCekHGUcWc25XrRpl+Re6zRXhA1hqXG GZBEko2w2/P3GtNugMINLvn4CAyAggZ2EcvzG+RQTTV7kERYBbmUHPAjw5t0qEtmX9QP rGtg== 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=hrODWO5Pp5o53k9YPIdNy9PuApiCohsMgIXpVDbTMD0=; b=iSqxxatvf+TLAxVrdD08mMdIJFaYogDISXdJsfzMzlgZM+OY2LrGOHgd1AwEyEzWBx iv/pD1EMfldpJPu8/met1s2DSc60RjT0hHVJlbpleV06JyDYC3C/fd0T7/N6aryG6ELs Oh+iEL0jLIMp1deR9Ue7VlS92YVWea/YlxscJV9z4+8B0layq0Hm351B0xROHvrM3d2+ 7zxLz1CKyNYHQ4IgdL6NFdkCq6L3LSwd1FsiIAdt71BXxgPjwGCFTewfdwSiW16YHwRv 0tdEYm518uj2AxLpK0IMRjWe+kDTHFCL1LtGBT/vgZFFvuEHn8WgSfJmihmRWlMSSWGD VosQ== 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 t64-v6si13672677pgd.8.2018.10.07.09.34.35; Sun, 07 Oct 2018 09:35:19 -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 S1728026AbeJGXmO (ORCPT + 99 others); Sun, 7 Oct 2018 19:42:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47428 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726986AbeJGXmN (ORCPT ); Sun, 7 Oct 2018 19:42:13 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4980C30820C0; Sun, 7 Oct 2018 16:34:26 +0000 (UTC) Received: from asgard.redhat.com (ovpn-200-33.brq.redhat.com [10.40.200.33]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5DAD0101E597; Sun, 7 Oct 2018 16:34:24 +0000 (UTC) Date: Sun, 7 Oct 2018 18:34:57 +0200 From: Eugene Syromiatnikov To: netdev@vger.kernel.org Cc: "David S. Miller" , linux-kernel@vger.kernel.org, Ursula Braun , Karsten Graul , Hans Wippel , linux-s390@vger.kernel.org Subject: [RFC PATCH net 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.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Sun, 07 Oct 2018 16:34:26 +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 user space. Eugene Syromiatnikov (3): uapi, net/smc: move protocol constant definitions to UAPI uapi, net/smc: provide fallback diagnosis codes in UAPI uapi, net/smc: provide socket state constants in UAPI include/uapi/linux/smc.h | 26 +++++++++++++++++++++++++- include/uapi/linux/smc_diag.h | 17 +++++++++++++++++ net/smc/smc.h | 22 ++-------------------- net/smc/smc_clc.h | 16 ---------------- 4 files changed, 44 insertions(+), 37 deletions(-) -- 2.1.4