r8169 ethtool workaround for leap 15.5
This commit is contained in:
parent
2eeb31dcc1
commit
1d8e58bfc5
|
|
@ -1937,7 +1937,13 @@ static int rtl8169_set_eee(struct net_device *dev, struct ethtool_eee *data)
|
|||
}
|
||||
|
||||
static void rtl8169_get_ringparam(struct net_device *dev,
|
||||
struct ethtool_ringparam *data)
|
||||
#if SUSE_VERSION == 15 && SUSE_PATCHLEVEL == 5
|
||||
struct ethtool_ringparam *data,
|
||||
struct kernel_ethtool_ringparam *kring,
|
||||
struct netlink_ext_ack *ack)
|
||||
#else
|
||||
struct ethtool_ringparam *data)
|
||||
#endif
|
||||
{
|
||||
data->rx_max_pending = NUM_RX_DESC;
|
||||
data->rx_pending = NUM_RX_DESC;
|
||||
|
|
|
|||
Loading…
Reference in New Issue