diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-06-19 14:18:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-19 19:47:32 +0200 |
commit | a0d26d5a4fc8e13993279f788deeb08069e73b69 (patch) | |
tree | 5f380f447aec67e85bba219fb0478b221e93acc4 /include | |
parent | qed: Prevent VF from Tx-switching 'promisc' (diff) | |
download | linux-a0d26d5a4fc8e13993279f788deeb08069e73b69.tar.xz linux-a0d26d5a4fc8e13993279f788deeb08069e73b69.zip |
qed*: Don't reset statistics on inner reload
Several user APIs can cause driver to perform an inner-reload.
Currently, doing this would cause the HW/FW statistics of the
adapter to reset, which isn't the expected behavior [statistics
should only reset on explicit unloads].
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/qed/qed_eth_if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h index 6ae8cb4a61d3..6c876a63558d 100644 --- a/include/linux/qed/qed_eth_if.h +++ b/include/linux/qed/qed_eth_if.h @@ -49,6 +49,7 @@ struct qed_start_vport_params { bool drop_ttl0; u8 vport_id; u16 mtu; + bool clear_stats; }; struct qed_stop_rxq_params { |