Patch "octeon_ep: delete unnecessary napi rollback under set_queues_err in octep_open()" has been added to the 6.0-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    octeon_ep: delete unnecessary napi rollback under set_queues_err in octep_open()

to the 6.0-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     octeon_ep-delete-unnecessary-napi-rollback-under-set.patch
and it can be found in the queue-6.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 0f11a2ec54aad23e6378718d8bff2e6eae155adf
Author: Ziyang Xuan <william.xuanziyang@xxxxxxxxxx>
Date:   Fri Nov 11 15:08:27 2022 +0800

    octeon_ep: delete unnecessary napi rollback under set_queues_err in octep_open()
    
    [ Upstream commit 298b83e180d53a310f9b47e3bf13b7b583e75e9c ]
    
    octep_napi_add() and octep_napi_enable() are all after
    netif_set_real_num_{tx,rx}_queues() in octep_open(), so it is unnecessary
    napi rollback under set_queues_err. Delete them to fix it.
    
    Fixes: 37d79d059606 ("octeon_ep: add Tx/Rx processing and interrupt support")
    Signed-off-by: Ziyang Xuan <william.xuanziyang@xxxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/ethernet/marvell/octeon_ep/octep_main.c b/drivers/net/ethernet/marvell/octeon_ep/octep_main.c
index 97f080c66dd4..7083c995d0c1 100644
--- a/drivers/net/ethernet/marvell/octeon_ep/octep_main.c
+++ b/drivers/net/ethernet/marvell/octeon_ep/octep_main.c
@@ -527,8 +527,6 @@ static int octep_open(struct net_device *netdev)
 	return 0;
 
 set_queues_err:
-	octep_napi_disable(oct);
-	octep_napi_delete(oct);
 	octep_clean_irqs(oct);
 setup_irq_err:
 	octep_free_oqs(oct);



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux