diff options
| author | Jan Sokolowski <jan.sokolowski@intel.com> | 2018-03-19 09:28:03 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-03-19 09:42:20 -0700 |
| commit | 32c23b47dbd9765c6ec2542400f41f0d47a7d2c1 (patch) | |
| tree | 642c78d1df74909886b5cbfb0e16e8eabc84b7f7 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | i40evf: Reorder configure_clsflower to avoid deadlock on error (diff) | |
| download | linux-32c23b47dbd9765c6ec2542400f41f0d47a7d2c1.tar.gz linux-32c23b47dbd9765c6ec2542400f41f0d47a7d2c1.zip | |
i40e: Properly check allowed advertisement capabilities
The i40e_set_link_ksettings and i40e_get_link_ksettings use different
codepaths to check available and supported advertisement modes. This
creates scenarios where it's possible to set a mode that's not allowed,
resulting in a link down.
Fix setting advertisement in i40e_set_link_ksettings by calling
i40e_get_link_ksettings to check what modes are allowed.
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
