]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
i40e: Added Asym_Pause to supported link modes
authorMateusz Palczewski <mateusz.palczewski@intel.com>
Mon, 4 Jan 2021 15:00:02 +0000 (15:00 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 4 May 2021 14:08:49 +0000 (16:08 +0200)
commit0394c1c9c0470347e9b52eba9b00445bba8b65f1
treeaced537f51e9d655fdeb20cc34d5313c18ba6bad
parentb84930e05aed31905db753f091febf103b2c096e
i40e: Added Asym_Pause to supported link modes

BugLink: https://bugs.launchpad.net/bugs/1926489
[ 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@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c