From patchwork Mon Oct 19 21:32:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Kubecek X-Patchwork-Id: 1384505 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CFVNB0vLwz9sTK for ; Tue, 20 Oct 2020 08:32:42 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733083AbgJSVck (ORCPT ); Mon, 19 Oct 2020 17:32:40 -0400 Received: from mx2.suse.de ([195.135.220.15]:41410 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733061AbgJSVcj (ORCPT ); Mon, 19 Oct 2020 17:32:39 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 1F488AC2F; Mon, 19 Oct 2020 21:32:38 +0000 (UTC) Received: by lion.mk-sys.cz (Postfix, from userid 1000) id D814E60563; Mon, 19 Oct 2020 23:32:37 +0200 (CEST) Message-Id: From: Michal Kubecek Subject: [PATCH ethtool 0/4] add missing message descriptions To: netdev@vger.kernel.org Cc: Jakub Kicinski Date: Mon, 19 Oct 2020 23:32:37 +0200 (CEST) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Add message descriptions needed for pretty printing of netlink messages related to recently added features: genetlink policy dumps and pause frame statistics. First two patches extend pretty printing code with features used by these descriptions: support for 64-bit numeric attributes and and enumerated types (shown as symbolic names rather than numeric values). Michal Kubecek (4): netlink: support u32 enumerated types in pretty printing netlink: support 64-bit attribute types in pretty printed messages netlink: add descriptions for genetlink policy dumps netlink: add message descriptions for pause stats netlink/desc-ethtool.c | 7 +++++ netlink/desc-genlctrl.c | 57 +++++++++++++++++++++++++++++++++++++++++ netlink/prettymsg.c | 19 ++++++++++++++ netlink/prettymsg.h | 24 +++++++++++++++-- 4 files changed, 105 insertions(+), 2 deletions(-)