Re: for_each_netdev_feature() broken on big endian

2018-09-07 Thread David Miller
From: "Mehrtens, Hauke" Date: Fri, 7 Sep 2018 15:10:53 + > On a MIPS 32 Big endian system the netdev_sync_upper_features() function does > not work correctly. > It does not disbale bit 15 (NETIF_F_LRO, 0x8000), but 47 > (NETIF_F_HW_TC, 0x8000). > > The

for_each_netdev_feature() broken on big endian

2018-09-07 Thread Mehrtens, Hauke
Hi, On a MIPS 32 Big endian system the netdev_sync_upper_features() function does not work correctly. It does not disbale bit 15 (NETIF_F_LRO, 0x8000), but 47 (NETIF_F_HW_TC, 0x8000). The for_each_netdev_feature() macro is used to go over all netdev feature flags and