Commit c27936e7 authored by Neerav Parikh's avatar Neerav Parikh Committed by Jeff Kirsher

i40e: debugfs fix to dump remote LLDPDU

Fix the debugfs command "lldp get remote" that dumped the local
LLDPDU instead of peer's LLDPDU.

Change-ID: I0702eacdafd54478c18f20cab3a7fa5dc1b3182d
Signed-off-by: default avatarNeerav Parikh <neerav.parikh@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 23527308
...@@ -1830,7 +1830,7 @@ static ssize_t i40e_dbg_command_write(struct file *filp, ...@@ -1830,7 +1830,7 @@ static ssize_t i40e_dbg_command_write(struct file *filp,
ret = i40e_aq_get_lldp_mib(&pf->hw, ret = i40e_aq_get_lldp_mib(&pf->hw,
I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE, I40E_AQ_LLDP_BRIDGE_TYPE_NEAREST_BRIDGE,
I40E_AQ_LLDP_MIB_LOCAL, I40E_AQ_LLDP_MIB_REMOTE,
buff, I40E_LLDPDU_SIZE, buff, I40E_LLDPDU_SIZE,
&llen, &rlen, NULL); &llen, &rlen, NULL);
if (ret) { if (ret) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment