mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-30 15:53:22 -05:00
qed: display VF trust config
commit 4e6e6bec7440b9b76f312f28b1f4e944eebb3abc upstream.
Driver does support SR-IOV VFs trust configuration but
it does not display it when queried via ip link utility.
Cc: [email protected]
Fixes: f990c82c38 ("qed*: Add support for ndo_set_vf_trust")
Signed-off-by: Manish Chopra <[email protected]>
Signed-off-by: Ariel Elior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
930a3ed5d8
commit
5081cbfb62
1 changed files with 1 additions and 0 deletions
|
|
@ -4717,6 +4717,7 @@ static int qed_get_vf_config(struct qed_dev *cdev,
|
|||
tx_rate = vf_info->tx_rate;
|
||||
ivi->max_tx_rate = tx_rate ? tx_rate : link.speed;
|
||||
ivi->min_tx_rate = qed_iov_get_vf_min_rate(hwfn, vf_id);
|
||||
ivi->trusted = vf_info->is_trusted_request;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue