linux/dim: Rename externally exposed macros
Renamed macros in use by external drivers. Signed-off-by: Tal Gilboa <talgi@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:

committed by
Saeed Mahameed

parent
449986ea92
commit
c002bd529d
@@ -1099,7 +1099,7 @@ static void bcm_sysport_dim_work(struct work_struct *work)
|
||||
net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
|
||||
|
||||
bcm_sysport_set_rx_coalesce(priv, cur_profile.usec, cur_profile.pkts);
|
||||
dim->state = NET_DIM_START_MEASURE;
|
||||
dim->state = DIM_START_MEASURE;
|
||||
}
|
||||
|
||||
/* RX and misc interrupt routine */
|
||||
@@ -1440,7 +1440,7 @@ static void bcm_sysport_init_dim(struct bcm_sysport_priv *priv,
|
||||
struct bcm_sysport_net_dim *dim = &priv->dim;
|
||||
|
||||
INIT_WORK(&dim->dim.work, cb);
|
||||
dim->dim.mode = NET_DIM_CQ_PERIOD_MODE_START_FROM_EQE;
|
||||
dim->dim.mode = DIM_CQ_PERIOD_MODE_START_FROM_EQE;
|
||||
dim->event_ctr = 0;
|
||||
dim->packets = 0;
|
||||
dim->bytes = 0;
|
||||
|
Reference in New Issue
Block a user