Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4564104imm; Mon, 30 Jul 2018 17:46:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeEnz9dQguwoCmizXa4dJjOKdCK0fod1cXG139xP/ctHsvQafVPSizbc77D52BpNivjm/VZ X-Received: by 2002:a62:90d4:: with SMTP id q81-v6mr20210839pfk.37.1532998000048; Mon, 30 Jul 2018 17:46:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532998000; cv=none; d=google.com; s=arc-20160816; b=m8eZESYOOy4OIiIgDktqajn0aBYCNtBTc7+f/ioxIh9XAcJId4SxOwf2D/jWHhjWZK tbl5Hg8K6AGh9SBZDI2rdfWcC9wcBEc2i/6wsAx++rzW8SD7zDzb7Gm9oQtXlHJvF6ag rugJ3rteArYR8BFe/rQ50ecJIQbebPHpyvge3ZVd5wJK8adImUbkkkJMeBJhLxkThByy XRvH9E2GxSDE/1JlVnMfrmpeQNcgXKr9jNFGBnIhQvN+cSxw12zLX58glvlWvAhJQXK8 lsShSrxxlK5DlB0Al+q3tjRFEFXD6FEkof6rGNI1EcEAA6YS+NsFxwGx8AKKMjZ0m3PW rDxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=3P7kOdgN3SLEyIHP/MjFVYbBlFxIvqyjCYXFLQVb0a4=; b=hkPcLrhO4jEmJhPju95Id3gX7bmBJLDmItafVhWCnqs8TgmpJHkh6VUYLcmr8R7sr3 ohhaIPOTN9voq+8pzGjZVtoYU0JaTpqpzHaVQqj6CdYZIb4xPuhrPwD9sxe/yJUKQP5u 9f/C4bs97bEsSh7emjP77Oi8i+qdQp0atzdBtGpiSktbOmBXL/n4B/ZT0bfPu+FZCtSn 8KJ8oawS3NJ7EwbgswczyFpsSfpEwQ/ZdR5A2Nr5/eoqwMPtR/ou/V829TlcjVcNlmqR emeKP3/+RNYYxMOtXzkb57DfDCFoBWzy+ywdn5PI+KgoERvpKcRPdVnQz3dRQzIhg/eM OoWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=QnRUKAGk; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1-v6si10966095plo.176.2018.07.30.17.46.26; Mon, 30 Jul 2018 17:46:40 -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; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=QnRUKAGk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730841AbeGaCXG (ORCPT + 99 others); Mon, 30 Jul 2018 22:23:06 -0400 Received: from mx4.wp.pl ([212.77.101.12]:39555 "EHLO mx4.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729210AbeGaCXF (ORCPT ); Mon, 30 Jul 2018 22:23:05 -0400 Received: (wp-smtpd smtp.wp.pl 10582 invoked from network); 31 Jul 2018 02:38:50 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1532997530; bh=3P7kOdgN3SLEyIHP/MjFVYbBlFxIvqyjCYXFLQVb0a4=; h=From:To:Cc:Subject; b=QnRUKAGk8QzI5/Yp64Wkx40QjzI1hOl9Bi9WYJKpP01IYeZkAV3gFWIrUNfLAC6FD wKZBoAi9M53CPMaBw2DBPVgFyuVEeOFrlCNpSGx40hMJxdxJiSWSNcoTT2huEEXNOi SoyazoWg3UD3tkgEdFZv+zXctT/l2yTHljCdZLPQ= Received: from 014.152-60-66-biz-static.surewest.net (HELO cakuba.netronome.com) (kubakici@wp.pl@[66.60.152.14]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 31 Jul 2018 02:38:50 +0200 Date: Mon, 30 Jul 2018 17:38:43 -0700 From: Jakub Kicinski To: Jiri Pirko Cc: Michal Kubecek , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller , Florian Fainelli , Roopa Prabhu , "John W. Linville" Subject: Re: [RFC PATCH net-next v2 00/17] ethtool netlink interface (WiP) Message-ID: <20180730173843.797f59e0@cakuba.netronome.com> In-Reply-To: <20180730130747.GH2058@nanopsycho> References: <20180730130747.GH2058@nanopsycho> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-WP-MailID: 4c13904483b475fc1edc223a6790e65e X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000A [YYOE] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 30 Jul 2018 15:07:47 +0200, Jiri Pirko wrote: > >- find reasonable format for data transfers (e.g. eeprom dump or flash); > > I don't have clear idea how big these can get and if 64 KB limit on > > attribute size (including nested ones) is a problem; if so, dumps can > > be an answer for dumps, some kind of multi-message requests would be > > needed for flashes > > This is another thing that should go into devlink as it is not > netdev-handled. We have now a "region" facility there which can be > re-used. +1 regions should cover the current use cases and are a better API IMHO.