Patch "i40e: Added Asym_Pause to supported link modes" has been added to the 4.19-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

    i40e: Added Asym_Pause to supported link modes

to the 4.19-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:
     i40e-added-asym_pause-to-supported-link-modes.patch
and it can be found in the queue-4.19 subdirectory.

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



commit 855e899e956b50f377dd55688c32a41942e3ec13
Author: Mateusz Palczewski <mateusz.palczewski@xxxxxxxxx>
Date:   Mon Jan 4 15:00:02 2021 +0000

    i40e: Added Asym_Pause to supported link modes
    
    [ Upstream commit 90449e98c265296329446c7abcd2aae3b20c0bc9 ]
    
    Add Asym_Pause to supported link modes (it is supported by HW).
    Lack of Asym_Pause in supported modes can cause several problems,
    i.e. it won't be possible to turn the autonegotiation on
    with asymmetric pause settings (i.e. Tx on, Rx off).
    
    Fixes: 4e91bcd5d47a ("i40e: Finish implementation of ethtool get settings")
    Signed-off-by: Dawid Lukwinski <dawid.lukwinski@xxxxxxxxx>
    Signed-off-by: Mateusz Palczewski <mateusz.palczewski@xxxxxxxxx>
    Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@xxxxxxxxx>
    Reviewed-by: Przemyslaw Patynowski <przemyslawx.patynowski@xxxxxxxxx>
    Tested-by: Tony Brelinski <tonyx.brelinski@xxxxxxxxx>
    Signed-off-by: Tony Nguyen <anthony.l.nguyen@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
index a6b0f605a7d8..9148d93c5c63 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
@@ -796,6 +796,7 @@ static int i40e_get_link_ksettings(struct net_device *netdev,
 
 	/* Set flow control settings */
 	ethtool_link_ksettings_add_link_mode(ks, supported, Pause);
+	ethtool_link_ksettings_add_link_mode(ks, supported, Asym_Pause);
 
 	switch (hw->fc.requested_mode) {
 	case I40E_FC_FULL:



[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