Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ethtool for openSUSE:Factory checked in at 2022-10-13 15:39:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ethtool (Old) and /work/SRC/openSUSE:Factory/.ethtool.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ethtool" Thu Oct 13 15:39:48 2022 rev:75 rq:1009809 version:6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ethtool/ethtool.changes 2022-08-30 14:48:09.607915747 +0200 +++ /work/SRC/openSUSE:Factory/.ethtool.new.2275/ethtool.changes 2022-10-13 15:39:55.682466177 +0200 @@ -1,0 +2,6 @@ +Mon Oct 10 16:59:14 UTC 2022 - Michal Kube??ek <mkube...@suse.cz> + +- update to upstream release 6.0 + * Fix: advertisement modes autoselection by lanes (-s) + +------------------------------------------------------------------- Old: ---- ethtool-5.19.tar.sign ethtool-5.19.tar.xz New: ---- ethtool-6.0.tar.sign ethtool-6.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ethtool.spec ++++++ --- /var/tmp/diff_new_pack.IGAB9G/_old 2022-10-13 15:39:56.386467750 +0200 +++ /var/tmp/diff_new_pack.IGAB9G/_new 2022-10-13 15:39:56.394467768 +0200 @@ -17,7 +17,7 @@ Name: ethtool -Version: 5.19 +Version: 6.0 Release: 0 Summary: Utility for examining and tuning Ethernet-based network interfaces License: GPL-2.0-only ++++++ ethtool-5.19.tar.xz -> ethtool-6.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.19/NEWS new/ethtool-6.0/NEWS --- old/ethtool-5.19/NEWS 2022-08-22 01:17:50.000000000 +0200 +++ new/ethtool-6.0/NEWS 2022-10-10 18:34:42.000000000 +0200 @@ -1,9 +1,12 @@ +Version 6.0 - October 10, 2022 + * Fix: advertisement modes autoselection by lanes (-s) + Version 5.19 - August 22, 2022 * Feature: get/set tx push (-g and -G) - * Feature: register dump support for TI CPSW - * Feature: register dump support for lan743x chipset - * Fix: fix missing sff-8472 output in netlink path - * Fix: fix EEPROM byte write + * Feature: register dump support for TI CPSW (-d) + * Feature: register dump support for lan743x chipset (-d) + * Fix: fix missing sff-8472 output in netlink path (-m) + * Fix: fix EEPROM byte write (-E) Version 5.18 - June 14, 2022 * Feature: get/set cqe size (-g and -G) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.19/configure new/ethtool-6.0/configure --- old/ethtool-5.19/configure 2022-08-22 01:21:43.000000000 +0200 +++ new/ethtool-6.0/configure 2022-10-10 18:38:35.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.19. +# Generated by GNU Autoconf 2.69 for ethtool 6.0. # # Report bugs to <net...@vger.kernel.org>. # @@ -580,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='ethtool' PACKAGE_TARNAME='ethtool' -PACKAGE_VERSION='5.19' -PACKAGE_STRING='ethtool 5.19' +PACKAGE_VERSION='6.0' +PACKAGE_STRING='ethtool 6.0' PACKAGE_BUGREPORT='net...@vger.kernel.org' PACKAGE_URL='' @@ -1254,7 +1254,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.19 to adapt to many kinds of systems. +\`configure' configures ethtool 6.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1320,7 +1320,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ethtool 5.19:";; + short | recursive ) echo "Configuration of ethtool 6.0:";; esac cat <<\_ACEOF @@ -1430,7 +1430,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ethtool configure 5.19 +ethtool configure 6.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1677,7 +1677,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.19, which was +It was created by ethtool $as_me 6.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2542,7 +2542,7 @@ # Define the identity of the package. PACKAGE='ethtool' - VERSION='5.19' + VERSION='6.0' cat >>confdefs.h <<_ACEOF @@ -5122,7 +5122,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.19, which was +This file was extended by ethtool $as_me 6.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5188,7 +5188,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.19 +ethtool config.status 6.0 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.19/configure.ac new/ethtool-6.0/configure.ac --- old/ethtool-5.19/configure.ac 2022-08-22 01:13:49.000000000 +0200 +++ new/ethtool-6.0/configure.ac 2022-10-10 18:34:42.000000000 +0200 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(ethtool, 5.19, net...@vger.kernel.org) +AC_INIT(ethtool, 6.0, net...@vger.kernel.org) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([ethtool.c]) AM_INIT_AUTOMAKE([gnu subdir-objects]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.19/ethtool.8 new/ethtool-6.0/ethtool.8 --- old/ethtool-5.19/ethtool.8 2022-08-22 01:21:45.000000000 +0200 +++ new/ethtool-6.0/ethtool.8 2022-10-10 18:38:36.000000000 +0200 @@ -117,7 +117,7 @@ . hy \\n(HY .. . -.TH ETHTOOL 8 "August 2022" "Ethtool version 5.19" +.TH ETHTOOL 8 "October 2022" "Ethtool version 6.0" .SH NAME ethtool \- query or control network driver and hardware settings . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.19/ethtool.8.in new/ethtool-6.0/ethtool.8.in --- old/ethtool-5.19/ethtool.8.in 2022-08-22 01:14:06.000000000 +0200 +++ new/ethtool-6.0/ethtool.8.in 2022-10-10 18:34:42.000000000 +0200 @@ -117,7 +117,7 @@ . hy \\n(HY .. . -.TH ETHTOOL 8 "August 2022" "Ethtool version @VERSION@" +.TH ETHTOOL 8 "October 2022" "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.19/ethtool.spec new/ethtool-6.0/ethtool.spec --- old/ethtool-5.19/ethtool.spec 2022-08-22 01:21:45.000000000 +0200 +++ new/ethtool-6.0/ethtool.spec 2022-10-10 18:38:37.000000000 +0200 @@ -1,5 +1,5 @@ Name : ethtool -Version : 5.19 +Version : 6.0 Release : 1 Group : Utilities diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.19/netlink/settings.c new/ethtool-6.0/netlink/settings.c --- old/ethtool-5.19/netlink/settings.c 2022-01-19 00:46:20.000000000 +0100 +++ new/ethtool-6.0/netlink/settings.c 2022-10-10 18:27:16.000000000 +0200 @@ -1193,8 +1193,9 @@ } /* For compatibility reasons with ioctl-based ethtool, when "autoneg on" is - * specified without "advertise", "speed" and "duplex", we need to query the - * supported link modes from the kernel and advertise all the "real" ones. + * specified without "advertise", "speed", "duplex" and "lanes", we need to + * query the supported link modes from the kernel and advertise all the "real" + * ones. */ static int nl_sset_compat_linkmodes(struct nl_context *nlctx, struct nl_msg_buff *msgbuff) @@ -1208,7 +1209,8 @@ if (ret < 0) return ret; if (!tb[ETHTOOL_A_LINKMODES_AUTONEG] || tb[ETHTOOL_A_LINKMODES_OURS] || - tb[ETHTOOL_A_LINKMODES_SPEED] || tb[ETHTOOL_A_LINKMODES_DUPLEX]) + tb[ETHTOOL_A_LINKMODES_SPEED] || tb[ETHTOOL_A_LINKMODES_DUPLEX] || + tb[ETHTOOL_A_LINKMODES_LANES]) return 0; if (!mnl_attr_get_u8(tb[ETHTOOL_A_LINKMODES_AUTONEG])) return 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.19/uapi/linux/ethtool.h new/ethtool-6.0/uapi/linux/ethtool.h --- old/ethtool-5.19/uapi/linux/ethtool.h 2022-06-14 01:30:05.000000000 +0200 +++ new/ethtool-6.0/uapi/linux/ethtool.h 2022-10-10 18:32:21.000000000 +0200 @@ -255,7 +255,7 @@ __u32 id; __u32 type_id; __u32 len; - void *data[0]; + void *data[]; }; #define DOWNSHIFT_DEV_DEFAULT_COUNT 0xff @@ -320,7 +320,7 @@ __u32 cmd; __u32 version; __u32 len; - __u8 data[0]; + __u8 data[]; }; /** @@ -346,7 +346,7 @@ __u32 magic; __u32 offset; __u32 len; - __u8 data[0]; + __u8 data[]; }; /** @@ -750,7 +750,7 @@ __u32 cmd; __u32 string_set; __u32 len; - __u8 data[0]; + __u8 data[]; }; /** @@ -775,7 +775,7 @@ __u32 cmd; __u32 reserved; __u64 sset_mask; - __u32 data[0]; + __u32 data[]; }; /** @@ -815,7 +815,7 @@ __u32 flags; __u32 reserved; __u32 len; - __u64 data[0]; + __u64 data[]; }; /** @@ -832,7 +832,7 @@ struct ethtool_stats { __u32 cmd; __u32 n_stats; - __u64 data[0]; + __u64 data[]; }; /** @@ -849,7 +849,7 @@ struct ethtool_perm_addr { __u32 cmd; __u32 size; - __u8 data[0]; + __u8 data[]; }; /* boolean flags controlling per-interface behavior characteristics. @@ -1158,7 +1158,7 @@ struct ethtool_rxfh_indir { __u32 cmd; __u32 size; - __u32 ring_index[0]; + __u32 ring_index[]; }; /** @@ -1199,7 +1199,7 @@ __u8 hfunc; __u8 rsvd8[3]; __u32 rsvd32; - __u32 rss_config[0]; + __u32 rss_config[]; }; #define ETH_RXFH_CONTEXT_ALLOC 0xffffffff #define ETH_RXFH_INDIR_NO_CHANGE 0xffffffff @@ -1284,7 +1284,7 @@ __u32 version; __u32 flag; __u32 len; - __u8 data[0]; + __u8 data[]; }; #define ETH_FW_DUMP_DISABLE 0 @@ -1316,7 +1316,7 @@ struct ethtool_gfeatures { __u32 cmd; __u32 size; - struct ethtool_get_features_block features[0]; + struct ethtool_get_features_block features[]; }; /** @@ -1338,7 +1338,7 @@ struct ethtool_sfeatures { __u32 cmd; __u32 size; - struct ethtool_set_features_block features[0]; + struct ethtool_set_features_block features[]; }; /** @@ -2085,7 +2085,7 @@ __u8 master_slave_state; __u8 reserved1[1]; __u32 reserved[7]; - __u32 link_mode_masks[0]; + __u32 link_mode_masks[]; /* layout of link_mode_masks fields: * __u32 map_supported[link_mode_masks_nwords]; * __u32 map_advertising[link_mode_masks_nwords]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.19/uapi/linux/genetlink.h new/ethtool-6.0/uapi/linux/genetlink.h --- old/ethtool-5.19/uapi/linux/genetlink.h 2022-06-14 01:25:33.000000000 +0200 +++ new/ethtool-6.0/uapi/linux/genetlink.h 2022-10-10 18:32:21.000000000 +0200 @@ -87,6 +87,8 @@ __CTRL_ATTR_MCAST_GRP_MAX, }; +#define CTRL_ATTR_MCAST_GRP_MAX (__CTRL_ATTR_MCAST_GRP_MAX - 1) + enum { CTRL_ATTR_POLICY_UNSPEC, CTRL_ATTR_POLICY_DO, @@ -96,7 +98,6 @@ CTRL_ATTR_POLICY_DUMP_MAX = __CTRL_ATTR_POLICY_DUMP_MAX - 1 }; -#define CTRL_ATTR_MCAST_GRP_MAX (__CTRL_ATTR_MCAST_GRP_MAX - 1) - +#define CTRL_ATTR_POLICY_MAX (__CTRL_ATTR_POLICY_DUMP_MAX - 1) #endif /* __LINUX_GENERIC_NETLINK_H */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.19/uapi/linux/if_link.h new/ethtool-6.0/uapi/linux/if_link.h --- old/ethtool-5.19/uapi/linux/if_link.h 2022-06-14 01:30:05.000000000 +0200 +++ new/ethtool-6.0/uapi/linux/if_link.h 2022-10-10 18:32:21.000000000 +0200 @@ -961,6 +961,7 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE, + IFLA_BOND_SLAVE_PRIO, __IFLA_BOND_SLAVE_MAX, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.19/uapi/linux/rtnetlink.h new/ethtool-6.0/uapi/linux/rtnetlink.h --- old/ethtool-5.19/uapi/linux/rtnetlink.h 2022-06-14 01:25:33.000000000 +0200 +++ new/ethtool-6.0/uapi/linux/rtnetlink.h 2022-10-10 18:32:21.000000000 +0200 @@ -440,7 +440,7 @@ /* RTA_VIA */ struct rtvia { __kernel_sa_family_t rtvia_family; - __u8 rtvia_addr[0]; + __u8 rtvia_addr[]; }; /* RTM_CACHEINFO */