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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3B9DC48BD6 for ; Tue, 25 Jun 2019 21:15:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A530F2063F for ; Tue, 25 Jun 2019 21:15:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726223AbfFYVPl (ORCPT ); Tue, 25 Jun 2019 17:15:41 -0400 Received: from mail-oi1-f172.google.com ([209.85.167.172]:42642 "EHLO mail-oi1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725290AbfFYVPl (ORCPT ); Tue, 25 Jun 2019 17:15:41 -0400 Received: by mail-oi1-f172.google.com with SMTP id s184so236905oie.9; Tue, 25 Jun 2019 14:15:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=POe5bHHgDtpbzxjrt786jjHCDMPXcxIA0J28KYsCu0s=; b=GfAGRDZMJEVt0vziHhF+DOhuQSZeWce0tOETFnQD7itDpmSABGeFK8hG9p6RtSiZjX 33nhGfqIOrOyRJKHRQfWT2I/4UlXHSnDrfayprmovsr07cXOu6r5Y8YL6j81dhKT4LVV r11VvMQllIdXQN1TOy4xa3m/UVMPHMd2x4qwAkiigUWTJhnsvt9k/qzxeCnVmg/TTQ0N eWrQu3H7p+xDM367XVFPCBcWcDWxVTezn8jhR/nceuBb+JY5ZyKeU4LL4iAzsLVW2gg0 vKK1QQX+MWLzxxUaaVldPXroIGZtZjt8PZsq6XlsvEj0oGeUDluP4bURJrs/XPwjU4iV rAaw== X-Gm-Message-State: APjAAAVk9mNG7T9K0P09qIGE8vDLacMBOWqneBXAGuQTH6M0MlcZjOQi MejAXn9n66PbAgfYpcjP6bU= X-Google-Smtp-Source: APXvYqz3nkS0AXOsaNBdxZ0gPHNW4GqJHlYVpJmHJAWC4CFmio46zkQDNjLK8A5O7x2z7Zj7dNZ/zg== X-Received: by 2002:aca:ac4d:: with SMTP id v74mr14785594oie.66.1561497340395; Tue, 25 Jun 2019 14:15:40 -0700 (PDT) Received: from ?IPv6:2600:1700:65a0:78e0:514:7862:1503:8e4d? ([2600:1700:65a0:78e0:514:7862:1503:8e4d]) by smtp.gmail.com with ESMTPSA id a62sm6073975oii.43.2019.06.25.14.15.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jun 2019 14:15:39 -0700 (PDT) Subject: Re: [for-next V2 09/10] RDMA/nldev: Added configuration of RDMA dynamic interrupt moderation to netlink To: Saeed Mahameed , "David S. Miller" , Doug Ledford , Jason Gunthorpe Cc: Leon Romanovsky , Or Gerlitz , Tal Gilboa , "netdev@vger.kernel.org" , "linux-rdma@vger.kernel.org" , Yamin Friedman References: <20190625205701.17849-1-saeedm@mellanox.com> <20190625205701.17849-10-saeedm@mellanox.com> From: Sagi Grimberg Message-ID: Date: Tue, 25 Jun 2019 14:15:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <20190625205701.17849-10-saeedm@mellanox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 6/25/19 1:57 PM, Saeed Mahameed wrote: > From: Yamin Friedman > > Added parameter in ib_device for enabling dynamic interrupt moderation so > that it can be configured in userspace using rdma tool. > > In order to set dim for an ib device the command is: > rdma dev set [DEV] dim [on|off] > Please set on/off. Is "dim" what you want to expose to the user? maybe "adaptive-moderation" is more friendly?