From bf706b737d6e5a91854a8ec635aceccec6c02eb9 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Thu, 26 Mar 2026 17:26:45 +0100 Subject: [PATCH 1/2] Fixed genet for SUSE 16.0. --- devices/genet/bcmgenet-6.12-ethercat.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devices/genet/bcmgenet-6.12-ethercat.c b/devices/genet/bcmgenet-6.12-ethercat.c index db26c30a..fff572aa 100644 --- a/devices/genet/bcmgenet-6.12-ethercat.c +++ b/devices/genet/bcmgenet-6.12-ethercat.c @@ -2459,7 +2459,11 @@ static int bcmgenet_rx_poll(struct napi_struct *napi, int budget) if (ring->dim.use_dim) { dim_update_sample(ring->dim.event_ctr, ring->dim.packets, ring->dim.bytes, &dim_sample); +#ifdef CONFIG_SUSE_KERNEL + net_dim(&ring->dim.dim, &dim_sample); +#else net_dim(&ring->dim.dim, dim_sample); +#endif } return work_done; From 9c63faf50d85f093d32779083a21c57f3e4e9c3a Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Thu, 26 Mar 2026 17:38:46 +0100 Subject: [PATCH 2/2] Fixed igb for SUSE kernel 6.12 --- devices/igb/igb_main-6.12-ethercat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devices/igb/igb_main-6.12-ethercat.c b/devices/igb/igb_main-6.12-ethercat.c index acb69b49..75d1dcd0 100644 --- a/devices/igb/igb_main-6.12-ethercat.c +++ b/devices/igb/igb_main-6.12-ethercat.c @@ -2513,6 +2513,9 @@ static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 vid, u16 flags, +#ifdef CONFIG_SUSE_KERNEL + bool *notified, +#endif struct netlink_ext_ack *extack) { /* guarantee we can provide a unique filter for the unicast address */