mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-18 17:17:23 +08:00
Fixed genet for SUSE 16.0.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user