Skip to content

Commit

Permalink
liquidio: Renamed txqs_stop to stop_txqs
Browse files Browse the repository at this point in the history
For consistency renaming txqs_stop to stop_txqs

Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Acked-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Intiyaz Basha authored and David S. Miller committed Mar 25, 2018
1 parent a96d8ad commit 736b7ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/cavium/liquidio/lio_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ static inline void update_link_status(struct net_device *netdev,
} else {
dev_dbg(&oct->pci_dev->dev, "%s: link_off", __func__);
netif_carrier_off(netdev);
txqs_stop(netdev);
stop_txqs(netdev);
}
if (lio->linfo.link.s.mtu != current_max_mtu) {
netif_info(lio, probe, lio->netdev, "Max MTU changed from %d to %d\n",
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ static void update_link_status(struct net_device *netdev,
wake_txqs(netdev);
} else {
netif_carrier_off(netdev);
txqs_stop(netdev);
stop_txqs(netdev);
}

if (lio->linfo.link.s.mtu != current_max_mtu) {
Expand Down Expand Up @@ -1186,7 +1186,7 @@ static int liquidio_stop(struct net_device *netdev)

ifstate_reset(lio, LIO_IFSTATE_RUNNING);

txqs_stop(netdev);
stop_txqs(netdev);

dev_info(&oct->pci_dev->dev, "%s interface is stopped\n", netdev->name);

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ethernet/cavium/liquidio/octeon_network.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ static inline int wait_for_pending_requests(struct octeon_device *oct)
* \brief Stop Tx queues
* @param netdev network device
*/
static inline void txqs_stop(struct net_device *netdev)
static inline void stop_txqs(struct net_device *netdev)
{
int i;

Expand Down

0 comments on commit 736b7ea

Please sign in to comment.