From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 49263A04C5; Sun, 6 Sep 2020 03:31:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 458222BF1; Sun, 6 Sep 2020 03:31:44 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by dpdk.org (Postfix) with ESMTP id D38982BAB for ; Sun, 6 Sep 2020 03:31:42 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id mm21so4936942pjb.4 for ; Sat, 05 Sep 2020 18:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W/cqNom37HpJjxV7EQLeFxW2faYxUUgItA105Hr2/GM=; b=yuyMIpuRtiLdnpp/PysSgRKi+WLAY55dWnY/L7ZMMQpT14U8Bbj09PC+Q/sz48/b5L Um3b4ys7rSejyNUal1ux8SGD1Ncb8PKEOM6bG/yy45dUmvTG8W/HI1GDFqHANmPkbZrA VPcie9ZoAac7sGp6amN0bSFEkoYQE8NRDlOTDhtYCVnkHy+LnbKenw3aj4Q/ShCM21It 1U1k46gz4PAb1fe9iNr7VJ+5uBc0fZ86FthSp3On45RnflBmhdsAs/cnQbzq54V2VYHL smQX9RJTMkWZGhNBVVbjlOEoJcBTHP1qre0IebQgmJb1S5spq9dVd74DVGGNMxwsotON rffg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W/cqNom37HpJjxV7EQLeFxW2faYxUUgItA105Hr2/GM=; b=E7S8ll71QZq4PPBxnoQk5beBTyfF7t1t+olO/IP8QLPuk4b+4kRyLV+WDV6UZf4PRc ZLCLyffjtTjB3ILO1LsoQf3Jp6OpPBBdOIKdPHFrcetx2rHxEM9Q4m3WEYvkf7aGtJMR JE0Db+1p4dmkm8pmjsnCsaa3m1XygJeEV/7QNhosJUKJKhpdCJrH/eFBU9hawVR47QFD IN2G+1A0NtefjJVaSFt+8SFjWYxMmILYAAIqulYhZnANhMm07WSj2hZkxHTQ1piFPua2 UGplVk1BWjI/4TXwxjAqCxGrPnmumGxBSCNTcduQWIhLYuQl2+XY/YMILag9oi/b2X5y nEQQ== X-Gm-Message-State: AOAM530RBgwYharK6nmuFtxDG7+ags6fl7VCRl7tvXe+GuUMq1K/QCXv Q1p2Dao6u5zbVAEoSNgCHszjuERNsEmNDA== X-Google-Smtp-Source: ABdhPJwlqpOTHmqfWIgXSoMDgh74+MO6oGI2R1dOQr6F/cDLvxi+FjdBlf8QsN/8I971BGgLd8kHDA== X-Received: by 2002:a17:902:74c8:b029:d0:a7b5:248a with SMTP id f8-20020a17090274c8b02900d0a7b5248amr3434909plt.13.1599355901353; Sat, 05 Sep 2020 18:31:41 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id n127sm10731863pfn.155.2020.09.05.18.31.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Sep 2020 18:31:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Sat, 5 Sep 2020 18:31:22 -0700 Message-Id: <20200906013133.26360-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 00/11] Python script updates X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" After writing the hugepages script, decided that the other python scripts need a cleanup and refresh. These changes apply after Louise Kilheeney's patch to change to full Python 3 only. Stephen Hemminger (11): cpu_layout: refactor to meet python standards dpdk-pmdinfo: replace string.split with split dpdk-pmdinfo: replace io.open with open dpdk-pmdinfo: remove dead code dpdk-pmdinfo: remove unnecessary paren and else dpdk-pmdinfo: replace is False and is True dpdk-pmdinfo: fix indentation dpdk-pmdinfo: replace deprecated optionparse with argparse dpdk-pmdinfo: do not use len(x) to test for empty dpdk-telemetry-client: fix some pylint warnings dpdk-devbind: use argparse instead of getopt usertools/cpu_layout.py | 145 ++++++++++++--------- usertools/dpdk-devbind.py | 196 +++++++++++++---------------- usertools/dpdk-pmdinfo.py | 140 +++++++++------------ usertools/dpdk-telemetry-client.py | 28 +++-- 4 files changed, 249 insertions(+), 260 deletions(-) -- 2.27.0