diff options
author | Mateusz Palczewski <[email protected]> | 2021-03-03 11:45:33 +0000 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-01-04 13:59:54 -0800 |
commit | 01cbf50877e602e2376af89e4a51c30bc574c618 (patch) | |
tree | c5158f26ff871739641b95b8e229845949980466 /drivers/usb/cdns3 | |
parent | 6f89ecf10af1396ddc34c303ae1168a11f3f04a3 (diff) |
i40e: Fix to not show opcode msg on unsuccessful VF MAC change
Hide i40e opcode information sent during response to VF in case when
untrusted VF tried to change MAC on the VF interface.
This is implemented by adding an additional parameter 'hide' to the
response sent to VF function that hides the display of error
information, but forwards the error code to VF.
Previously it was not possible to send response with some error code
to VF without displaying opcode information.
Fixes: 5c3c48ac6bf5 ("i40e: implement virtual device interface")
Signed-off-by: Grzegorz Szczurek <[email protected]>
Signed-off-by: Mateusz Palczewski <[email protected]>
Reviewed-by: Paul M Stillwell Jr <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions