diff options
author | Aleksandr Loktionov <aleksandr.loktionov@intel.com> | 2019-02-28 09:52:52 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-05-03 14:31:34 -0700 |
commit | c65e78f87f8131361141c1b1c7f415ed21e86bde (patch) | |
tree | 2cdd3c92c35df616eb81fcac024e59d59c7a7619 /drivers/net/ethernet/intel/i40e/i40e_main.c | |
parent | i40e: Report advertised link modes on 40GBase_LR4, CR4 and fibre (diff) | |
download | linux-dev-c65e78f87f8131361141c1b1c7f415ed21e86bde.tar.xz linux-dev-c65e78f87f8131361141c1b1c7f415ed21e86bde.zip |
i40e: Further implementation of LLDP
This code implements driver code changes necessary for LLDP
Agent support. Modified i40e_aq_start_lldp() and
i40e_aq_stop_lldp() adding false parameter whether LLDP state
should be persistent across power cycles.
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_main.c')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 3e15df1d5f52..54c172c50479 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -14132,7 +14132,7 @@ static int i40e_probe(struct pci_dev *pdev, const struct pci_device_id *ent) */ if (pf->hw_features & I40E_HW_STOP_FW_LLDP) { dev_info(&pdev->dev, "Stopping firmware LLDP agent.\n"); - i40e_aq_stop_lldp(hw, true, NULL); + i40e_aq_stop_lldp(hw, true, false, NULL); } /* allow a platform config to override the HW addr */ |