Lines Matching refs:net_dim
95 Net DIM API exposes the main function net_dim(struct net_dim *dim,
99 data structures: struct net_dim and struct net_dim_sample. Struct net_dim
104 data sample stored in struct net_dim in order to decide on the algorithm's next
109 main net_dim() function. The recommended method is to call net_dim() on each
111 iterations under certain conditions, there is no need to moderate the net_dim()
113 struct net_dim to the net_dim() function call. It is advised for each entity
114 using Net DIM to hold a struct net_dim as part of its data structure and use it
119 The net_dim() call itself does not return anything. Instead Net DIM relies on
135 #include <linux/net_dim.h>
140 /* Get struct net_dim from struct work_struct */
141 struct net_dim *dim = container_of(work, struct net_dim,
163 net_dim(&my_entity->dim, dim_sample);