From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF812C433EF for ; Thu, 24 Feb 2022 02:02:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbiBXCD0 (ORCPT ); Wed, 23 Feb 2022 21:03:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229901AbiBXCD0 (ORCPT ); Wed, 23 Feb 2022 21:03:26 -0500 Received: from out30-56.freemail.mail.aliyun.com (out30-56.freemail.mail.aliyun.com [115.124.30.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D25652E6E; Wed, 23 Feb 2022 18:02:56 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R221e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04357;MF=dust.li@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0V5Li2Lc_1645668173; Received: from localhost(mailfrom:dust.li@linux.alibaba.com fp:SMTPD_---0V5Li2Lc_1645668173) by smtp.aliyun-inc.com(127.0.0.1); Thu, 24 Feb 2022 10:02:54 +0800 Date: Thu, 24 Feb 2022 10:02:53 +0800 From: "dust.li" To: Karsten Graul , Hendrik Brueckner Cc: Stefan Raspl , Tony Lu , kuba@kernel.org, davem@davemloft.net, netdev@vger.kernel.org, linux-s390@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH] net/smc: Add autocork support Message-ID: <20220224020253.GF5443@linux.alibaba.com> Reply-To: dust.li@linux.alibaba.com References: <20220216034903.20173-1-dust.li@linux.alibaba.com> <68e9534b-7ff5-5a65-9017-124dbae0c74b@linux.ibm.com> <20220216152721.GB39286@linux.alibaba.com> <454b5efd-e611-2dfb-e462-e7ceaee0da4d@linux.ibm.com> <20220217132200.GA5443@linux.alibaba.com> <20220218073327.GB5443@linux.alibaba.com> <20220218234232.GC5443@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Feb 23, 2022 at 07:57:31PM +0100, Karsten Graul wrote: >On 19/02/2022 00:42, dust.li wrote: >> On Fri, Feb 18, 2022 at 05:03:56PM +0100, Karsten Graul wrote: >>> Right now for me it looks like there is no way to use netlink for container runtime >>> configuration, which is a pity. >>> We continue our discussions about this in the team, and also here on the list. >> >> Many thanks for your time on this topic ! > >We checked more specs (like Container Network Interface (CNI) Specification) >but all we found uses sysctl at the end. There is lot of infrastructure >to use sysctls in a container environment. > >Establishing netlink-like controls for containers is by far out of our scope, and >would take a long time until it would be available in the popular projects. > >So at the moment I see no alternative to an additional sysctl interface in the >SMC module that provides controls which are useful in container environments. Got it, I will add sysctl interface and a switch with this function. Thank again !