Commit d696b5e2 authored by Vasundhara Volam's avatar Vasundhara Volam Committed by David S. Miller
Browse files

be2net: Do not call get_die_temperature cmd for VF

This is a chip wide value and the PFs already report it.
Signed-off-by: default avatarVasundhara Volam <>
Signed-off-by: default avatarSathya Perla <>
Signed-off-by: default avatarDavid S. Miller <>
parent b971f847
......@@ -4144,7 +4144,8 @@ static void be_worker(struct work_struct *work)
be_cmd_get_stats(adapter, &adapter->stats_cmd);
if (MODULO(adapter->work_counter, adapter->be_get_temp_freq) == 0)
if (be_physfn(adapter) &&
MODULO(adapter->work_counter, adapter->be_get_temp_freq) == 0)
for_all_rx_queues(adapter, rxo, i) {
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