Skip to content

Commit 736b7ea

Browse files
Intiyaz Bashadavem330
authored andcommitted
liquidio: Renamed txqs_stop to stop_txqs
For consistency renaming txqs_stop to stop_txqs Signed-off-by: Intiyaz Basha <[email protected]> Acked-by: Derek Chickles <[email protected]> Signed-off-by: Felix Manlunas <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a96d8ad commit 736b7ea

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

drivers/net/ethernet/cavium/liquidio/lio_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ static inline void update_link_status(struct net_device *netdev,
786786
} else {
787787
dev_dbg(&oct->pci_dev->dev, "%s: link_off", __func__);
788788
netif_carrier_off(netdev);
789-
txqs_stop(netdev);
789+
stop_txqs(netdev);
790790
}
791791
if (lio->linfo.link.s.mtu != current_max_mtu) {
792792
netif_info(lio, probe, lio->netdev, "Max MTU changed from %d to %d\n",

drivers/net/ethernet/cavium/liquidio/lio_vf_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ static void update_link_status(struct net_device *netdev,
518518
wake_txqs(netdev);
519519
} else {
520520
netif_carrier_off(netdev);
521-
txqs_stop(netdev);
521+
stop_txqs(netdev);
522522
}
523523

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

11871187
ifstate_reset(lio, LIO_IFSTATE_RUNNING);
11881188

1189-
txqs_stop(netdev);
1189+
stop_txqs(netdev);
11901190

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

drivers/net/ethernet/cavium/liquidio/octeon_network.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ static inline int wait_for_pending_requests(struct octeon_device *oct)
510510
* \brief Stop Tx queues
511511
* @param netdev network device
512512
*/
513-
static inline void txqs_stop(struct net_device *netdev)
513+
static inline void stop_txqs(struct net_device *netdev)
514514
{
515515
int i;
516516

0 commit comments

Comments
 (0)