between 5.3 and 5.4 there are many changes in drivers/net/ethernet/realtek $ git log --format="%h %cd %s" --date=short 5.3-main..5.4-main -- drivers/net/ethernet/realtek/ 44ee727013d5 2020-05-20 r8169: re-establish support for RTL8401 chip version 74107d56d1e8 2020-04-13 r8169: change back SG and TSO to be disabled by default 791c420f4228 2020-04-01 r8169: fix PHY driver check on platforms w/o module softdeps 4cc2498b7ebb 2020-04-01 r8169: re-enable MSI on RTL8168c 58bc57b373e0 2020-02-24 r8169: check that Realtek PHY driver module is loaded 0ed50cdcb505 2019-12-31 r8169: respect EEE user setting when restarting network 68159412b26e 2019-12-18 r8169: add missing RX enabling for WoL on RTL8125 dc63e75e19d3 2019-12-17 r8169: fix rtl_hw_jumbo_disable for RTL8168evl 2840e52f679a 2019-12-04 r8169: fix resume on cable plug-in c07fd3caadc3 2019-12-04 r8169: fix jumbo configuration for RTL8168evl a0783cd0c810 2019-11-19 r8169: disable TSO on a single version of RTL8168c to fix performance 9c6850fea3ed 2019-11-06 r8169: fix page read in r8168g_mdio_read 62bdc8fd1c21 2019-11-01 r8169: fix wrong PHY ID issue with RTL8168dp 4ebcb113edcc 2019-10-10 r8169: fix jumbo packet handling on resume from suspend 299d14d4c31a 2019-09-23 Merge tag 'pci-v5.4-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci dc161162e42c 2019-09-01 r8169: don't set bit RxVlan on RTL8125 b3a42e3a78ce 2019-08-29 r8169: add support for EEE on RTL8125 02bf642b188a 2019-08-29 r8169: add RTL8125 PHY initialization f1bce4ad2f1c 2019-08-29 r8169: add support for RTL8125 ae84bc187337 2019-08-29 r8169: don't use bit LastFrag in tx descriptor after send 7366016d2d4c 2019-08-29 r8169: read common register for PCI commit bcf2b868a5ae 2019-08-29 r8169: move disabling interrupt coalescing to RTL8169/RTL8168 init ce37115e3a57 2019-08-29 r8169: factor out reading MAC address from registers c623305bf465 2019-08-29 r8169: restrict rtl_is_8168evl_up to RTL8168 chip versions c1d532d268cb 2019-08-29 r8169: change interrupt mask type to u32 7ce2e76a0420 2019-08-28 PCI: Move ASPM declarations to linux/pci.h 3c95e5013b7f 2019-08-26 r8169: improve DMA handling in rtl_rx d4ed7463d02a 2019-08-23 r8169: fix DMA issue on MIPS platform b6cef26fb909 2019-08-15 r8169: sync EEE handling for RTL8168h with vendor driver 2e779ddb5617 2019-08-15 r8169: use the generic EEE management functions 4773f9bdb476 2019-08-14 r8169: fix sporadic transmit timeout issue eb2e7f092271 2019-08-11 r8169: inline rtl8169_free_rx_databuff a7eb6a4f2560 2019-08-09 r8169: fix performance issue on RTL8168evl 32879f000120 2019-08-08 r8169: allocate rx buffers using alloc_pages_node 13dfb3fa4943 2019-08-06 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net a7a92cf81589 2019-08-06 r8169: sync PCIe PHY init with vendor driver 8.047.01 ef712ede3541 2019-08-06 r8169: add helper r8168_mac_ocp_modify a14cc4d24a64 2019-08-06 r8169: remove access to legacy register MultiIntr ef14358546b1 2019-07-29 r8169: make use of xmit_more 93681cd7d94f 2019-07-27 r8169: enable HW csum and TSO 96ea772ef241 2019-07-27 r8169: remove r8169_csum_workaround e64e0c897499 2019-07-27 r8169: implement callback ndo_features_check 0170d594ded8 2019-07-27 r8169: set GSO size and segment limits edcde3ee579b 2019-07-27 r8169: align setting PME with vendor driver 81cd17a4121d 2019-07-24 r8169: improve rtl_set_rx_mode ed72a9bb9af0 2019-07-24 r8169: fix a typo in a comment fcd4e60885af 2019-07-22 r8169: improve rtl_rx
some changes that may break on a quick diff: static void rtl8169_irq_mask_and_ack(struct rtl8169_private *tp) { rtl_irq_disable(tp); - rtl_ack_events(tp, 0xffff); + rtl_ack_events(tp, 0xffffffff); static void rtl_set_rx_mode(struct net_device *dev) { + u32 rx_mode = AcceptBroadcast | AcceptMyPhys | AcceptMulticast; + /* Multicast hash filter */ + u32 mc_filter[2] = { 0xffffffff, 0xffffffff }; struct rtl8169_private *tp = netdev_priv(dev); - u32 mc_filter[2]; /* Multicast hash filter */ - int rx_mode; - u32 tmp = 0; + u32 tmp; .... static void rtl_hw_start_* - if (tp->dev->mtu <= ETH_DATA_LEN) - rtl_tx_performance_tweak(tp, PCI_EXP_DEVCTL_READRQ_4096B); if we can compile a kernel directly from kernel.org we can revert some of these commits and test which one is causing that issue. but i found not yet a manual how to compile using mainline-sources directly. config is (at least in 18.4) /boot/config-5.3.0-59-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880076 Title: ubuntu 20.4 - retransmitts with r8169 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1880076/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs