Skip to content

Commit a96d8ad

Browse files
Intiyaz Bashadavem330
authored andcommitted
liquidio: Renamed txqs_wake to wake_txqs
For consistency renaming txqs_wake to wake_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 fc756d0 commit a96d8ad

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ static inline void update_link_status(struct net_device *netdev,
782782
if (lio->linfo.link.s.link_up) {
783783
dev_dbg(&oct->pci_dev->dev, "%s: link_up", __func__);
784784
netif_carrier_on(netdev);
785-
txqs_wake(netdev);
785+
wake_txqs(netdev);
786786
} else {
787787
dev_dbg(&oct->pci_dev->dev, "%s: link_off", __func__);
788788
netif_carrier_off(netdev);
@@ -2768,7 +2768,7 @@ static void liquidio_tx_timeout(struct net_device *netdev)
27682768
"Transmit timeout tx_dropped:%ld, waking up queues now!!\n",
27692769
netdev->stats.tx_dropped);
27702770
netif_trans_update(netdev);
2771-
txqs_wake(netdev);
2771+
wake_txqs(netdev);
27722772
}
27732773

27742774
static int liquidio_vlan_rx_add_vid(struct net_device *netdev,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ static void update_link_status(struct net_device *netdev,
515515

516516
if (lio->linfo.link.s.link_up) {
517517
netif_carrier_on(netdev);
518-
txqs_wake(netdev);
518+
wake_txqs(netdev);
519519
} else {
520520
netif_carrier_off(netdev);
521521
txqs_stop(netdev);
@@ -1822,7 +1822,7 @@ static void liquidio_tx_timeout(struct net_device *netdev)
18221822
"Transmit timeout tx_dropped:%ld, waking up queues now!!\n",
18231823
netdev->stats.tx_dropped);
18241824
netif_trans_update(netdev);
1825-
txqs_wake(netdev);
1825+
wake_txqs(netdev);
18261826
}
18271827

18281828
static int

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ static inline void txqs_stop(struct net_device *netdev)
522522
* \brief Wake Tx queues
523523
* @param netdev network device
524524
*/
525-
static inline void txqs_wake(struct net_device *netdev)
525+
static inline void wake_txqs(struct net_device *netdev)
526526
{
527527
struct lio *lio = GET_LIO(netdev);
528528
int i, qno;

0 commit comments

Comments
 (0)