Michal Schmidt 67708158e7 idpf: don't skip over ethtool tcp-data-split setting
Disabling tcp-data-split on idpf silently fails:
  # ethtool -G $NETDEV tcp-data-split off
  # ethtool -g $NETDEV | grep 'TCP data split'
  TCP data split:        on

But it works if you also change 'tx' or 'rx':
  # ethtool -G $NETDEV tcp-data-split off tx 256
  # ethtool -g $NETDEV | grep 'TCP data split'
  TCP data split:        off

The bug is in idpf_set_ringparam, where it takes a shortcut out if the
TX and RX sizes are not changing. Fix it by checking also if the
tcp-data-split setting remains unchanged. Only then can the soft reset
be skipped.

Fixes: 9b1aa3ef2328 ("idpf: add get/set for Ethtool's header split ringparam")
Reported-by: Xu Du <xudu@redhat.com>
Closes: https://issues.redhat.com/browse/RHEL-36182
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://lore.kernel.org/r/20240515092414.158079-1-mschmidt@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-05-16 19:34:28 -07:00
..
2024-05-14 14:51:51 -07:00
2024-05-14 18:25:53 -07:00
2024-05-14 14:30:24 -07:00
2024-05-13 13:03:54 -07:00
2024-05-14 19:42:24 -07:00
2024-03-07 21:52:03 +00:00
2024-05-13 08:48:42 -07:00
2024-05-14 19:42:24 -07:00
2024-04-07 13:49:02 +02:00
2024-03-07 20:37:04 +00:00
2024-05-14 18:57:22 -07:00
2024-05-14 15:19:26 -07:00
2024-05-14 15:07:07 -07:00
2024-04-11 16:23:56 -07:00
2024-05-14 15:03:19 -07:00
2024-05-14 14:36:09 -07:00
2024-05-14 13:31:24 -07:00
2024-05-14 10:01:29 -07:00
2024-03-07 20:32:47 +00:00
2024-05-14 19:42:24 -07:00
2024-03-13 10:59:28 -07:00
2024-05-14 18:25:53 -07:00
2024-05-13 14:14:05 -07:00
2024-03-07 20:32:38 +00:00
2024-03-15 11:58:32 -07:00
2024-05-13 13:03:54 -07:00
2024-05-14 19:42:24 -07:00
2024-05-08 09:37:58 -07:00
2024-05-14 15:07:07 -07:00
2024-05-14 13:31:24 -07:00
2024-03-13 11:33:10 -07:00
2024-04-22 18:30:39 +02:00
2024-05-14 19:42:24 -07:00
2024-05-14 14:36:09 -07:00
2024-03-21 10:37:39 -07:00
2024-03-21 17:16:46 -07:00
2024-05-14 19:42:24 -07:00
2024-05-14 18:25:53 -07:00
2024-03-21 15:18:18 -07:00
2024-05-14 14:41:01 -07:00
2024-05-14 14:41:01 -07:00
2024-05-14 18:25:53 -07:00
2024-05-14 18:25:53 -07:00
2024-04-29 22:29:44 +02:00
2024-05-14 13:31:24 -07:00
2024-05-13 09:14:57 -07:00
2024-05-14 18:25:53 -07:00
2024-04-11 16:23:56 -07:00
2024-05-14 18:25:53 -07:00
2024-04-22 17:07:13 -04:00
2024-05-14 13:31:24 -07:00
2024-03-17 12:06:10 -07:00
2024-03-19 08:48:09 -07:00
2024-04-29 16:45:53 +02:00