commit 4e6e6bec74 upstream.

Driver does support SR-IOV VFs trust configuration but
it does not display it when queried via ip link utility.

Cc: stable@vger.kernel.org
Fixes: f990c82c38 ("qed*: Add support for ndo_set_vf_trust")
Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Manish Chopra 2022-03-02 02:52:21 -08:00 коммит произвёл Greg Kroah-Hartman
Родитель 59a4bc52f1
Коммит 4d8323922e
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -4691,6 +4691,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;
}