diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-06-19 15:18:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-19 10:47:32 -0700 |
commit | a0d26d5a4fc8e13993279f788deeb08069e73b69 (patch) | |
tree | 5f380f447aec67e85bba219fb0478b221e93acc4 /include/linux | |
parent | 326439883e17fca029f4ed05307480bdb6369877 (diff) |
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/linux')
-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 { |