Hello community, here is the log from the commit of package ethtool for openSUSE:Factory checked in at 2019-11-07 23:09:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ethtool (Old) and /work/SRC/openSUSE:Factory/.ethtool.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ethtool" Thu Nov 7 23:09:11 2019 rev:59 rq:744998 version:5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ethtool/ethtool.changes 2019-07-31 14:14:32.954856941 +0200 +++ /work/SRC/openSUSE:Factory/.ethtool.new.2990/ethtool.changes 2019-11-07 23:09:13.836044249 +0100 @@ -1,0 +2,7 @@ +Sun Nov 3 09:27:22 UTC 2019 - Michal Kubecek <[email protected]> + +- Update to new upstream release 5.3 + * igb: dump RR2DCDELAY register + * support for dumping nested registers (e.g. CPU port) + +------------------------------------------------------------------- Old: ---- ethtool-5.2.tar.sign ethtool-5.2.tar.xz New: ---- ethtool-5.3.tar.sign ethtool-5.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ethtool.spec ++++++ --- /var/tmp/diff_new_pack.nynLkZ/_old 2019-11-07 23:09:14.600045152 +0100 +++ /var/tmp/diff_new_pack.nynLkZ/_new 2019-11-07 23:09:14.600045152 +0100 @@ -17,7 +17,7 @@ Name: ethtool -Version: 5.2 +Version: 5.3 Release: 0 Summary: Utility for examining and tuning Ethernet-based network interfaces License: GPL-2.0-only ++++++ ethtool-5.2.tar.xz -> ethtool-5.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.2/NEWS new/ethtool-5.3/NEWS --- old/ethtool-5.2/NEWS 2019-07-25 20:49:49.000000000 +0200 +++ new/ethtool-5.3/NEWS 2019-09-23 20:12:13.000000000 +0200 @@ -1,3 +1,7 @@ +Version 5.3 - September 23, 2019 + * Feature: igb: dump RR2DCDELAY register + * Feature: dump nested registers + Version 5.2 - July 25, 2019 * Feature: Add 100BaseT1 and 1000BaseT1 link modes * Feature: Use standard file location macros in ethtool.spec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.2/configure new/ethtool-5.3/configure --- old/ethtool-5.2/configure 2019-07-25 20:52:03.000000000 +0200 +++ new/ethtool-5.3/configure 2019-09-23 20:14:31.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for ethtool 5.2. +# Generated by GNU Autoconf 2.69 for ethtool 5.3. # # Report bugs to <[email protected]>. # @@ -580,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='ethtool' PACKAGE_TARNAME='ethtool' -PACKAGE_VERSION='5.2' -PACKAGE_STRING='ethtool 5.2' +PACKAGE_VERSION='5.3' +PACKAGE_STRING='ethtool 5.3' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1247,7 +1247,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ethtool 5.2 to adapt to many kinds of systems. +\`configure' configures ethtool 5.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1313,7 +1313,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ethtool 5.2:";; + short | recursive ) echo "Configuration of ethtool 5.3:";; esac cat <<\_ACEOF @@ -1420,7 +1420,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ethtool configure 5.2 +ethtool configure 5.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1667,7 +1667,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ethtool $as_me 5.2, which was +It was created by ethtool $as_me 5.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2532,7 +2532,7 @@ # Define the identity of the package. PACKAGE='ethtool' - VERSION='5.2' + VERSION='5.3' cat >>confdefs.h <<_ACEOF @@ -4876,7 +4876,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ethtool $as_me 5.2, which was +This file was extended by ethtool $as_me 5.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4942,7 +4942,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ethtool config.status 5.2 +ethtool config.status 5.3 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.2/configure.ac new/ethtool-5.3/configure.ac --- old/ethtool-5.2/configure.ac 2019-07-25 20:44:52.000000000 +0200 +++ new/ethtool-5.3/configure.ac 2019-09-23 20:08:18.000000000 +0200 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(ethtool, 5.2, [email protected]) +AC_INIT(ethtool, 5.3, [email protected]) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([ethtool.c]) AM_INIT_AUTOMAKE([gnu]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.2/ethtool.8 new/ethtool-5.3/ethtool.8 --- old/ethtool-5.2/ethtool.8 2019-07-25 20:52:05.000000000 +0200 +++ new/ethtool-5.3/ethtool.8 2019-09-23 20:14:33.000000000 +0200 @@ -113,7 +113,7 @@ . hy \\n(HY .. . -.TH ETHTOOL 8 "July 2019" "Ethtool version 5.2" +.TH ETHTOOL 8 "September 2019" "Ethtool version 5.3" .SH NAME ethtool \- query or control network driver and hardware settings . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.2/ethtool.8.in new/ethtool-5.3/ethtool.8.in --- old/ethtool-5.2/ethtool.8.in 2019-07-25 20:45:11.000000000 +0200 +++ new/ethtool-5.3/ethtool.8.in 2019-09-23 20:09:04.000000000 +0200 @@ -113,7 +113,7 @@ . hy \\n(HY .. . -.TH ETHTOOL 8 "July 2019" "Ethtool version @VERSION@" +.TH ETHTOOL 8 "September 2019" "Ethtool version @VERSION@" .SH NAME ethtool \- query or control network driver and hardware settings . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.2/ethtool.c new/ethtool-5.3/ethtool.c --- old/ethtool-5.2/ethtool.c 2019-06-14 20:29:16.000000000 +0200 +++ new/ethtool-5.3/ethtool.c 2019-08-09 18:16:25.000000000 +0200 @@ -1245,7 +1245,7 @@ if (gregs_dump_raw) { fwrite(regs->data, regs->len, 1, stdout); - return 0; + goto nested; } if (!gregs_dump_hex) @@ -1253,7 +1253,7 @@ if (!strncmp(driver_list[i].name, info->driver, ETHTOOL_BUSINFO_LEN)) { if (driver_list[i].func(info, regs) == 0) - return 0; + goto nested; /* This version (or some other * variation in the dump format) is * not handled; fall back to hex @@ -1263,6 +1263,15 @@ dump_hex(stdout, regs->data, regs->len, 0); +nested: + /* Recurse dump if some drvinfo and regs structures are nested */ + if (info->regdump_len > regs->len + sizeof(*info) + sizeof(*regs)) { + info = (struct ethtool_drvinfo *)(®s->data[0] + regs->len); + regs = (struct ethtool_regs *)(®s->data[0] + regs->len + sizeof(*info)); + + return dump_regs(gregs_dump_raw, gregs_dump_hex, info, regs); + } + return 0; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.2/ethtool.spec new/ethtool-5.3/ethtool.spec --- old/ethtool-5.2/ethtool.spec 2019-07-25 20:52:05.000000000 +0200 +++ new/ethtool-5.3/ethtool.spec 2019-09-23 20:14:34.000000000 +0200 @@ -1,5 +1,5 @@ Name : ethtool -Version : 5.2 +Version : 5.3 Release : 1 Group : Utilities diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.2/igb.c new/ethtool-5.3/igb.c --- old/ethtool-5.2/igb.c 2016-08-24 21:47:26.000000000 +0200 +++ new/ethtool-5.3/igb.c 2019-07-26 17:15:54.000000000 +0200 @@ -859,6 +859,18 @@ "0x03430: TDFPC (Tx data FIFO packet count) 0x%08X\n", regs_buff[550]); + /* + * Starting from kernel version 5.3 the registers dump buffer grew from + * 739 4-byte words to 740 words, and word 740 contains the RR2DCDELAY + * register. + */ + if (regs->len < 740) + return 0; + + fprintf(stdout, + "0x05BF4: RR2DCDELAY (Max. DMA read delay) 0x%08X\n", + regs_buff[739]); + return 0; }
