diff options
author | Tal Gilboa <talgi@mellanox.com> | 2019-01-31 16:44:48 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-06-25 13:46:39 -0700 |
commit | 8960b38932bee8db0bc9c4d8c135f21df6cdd297 (patch) | |
tree | 411faabad103240faad36000dd42362b7d8a3f91 /drivers/net/ethernet/broadcom/bnxt/bnxt.c | |
parent | e5b6ab02d7aa4118c9a36491633812dcc442acbe (diff) | |
download | lwn-8960b38932bee8db0bc9c4d8c135f21df6cdd297.tar.gz lwn-8960b38932bee8db0bc9c4d8c135f21df6cdd297.zip |
linux/dim: Rename externally used net_dim members
Removed 'net' prefix from functions and structs used by external drivers.
Signed-off-by: Tal Gilboa <talgi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index eaec949c367a..c54668004600 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -2128,12 +2128,12 @@ static int bnxt_poll(struct napi_struct *napi, int budget) } } if (bp->flags & BNXT_FLAG_DIM) { - struct net_dim_sample dim_sample; + struct dim_sample dim_sample; - net_dim_update_sample(cpr->event_ctr, - cpr->rx_packets, - cpr->rx_bytes, - &dim_sample); + dim_update_sample(cpr->event_ctr, + cpr->rx_packets, + cpr->rx_bytes, + &dim_sample); net_dim(&cpr->dim, dim_sample); } return work_done; |