diff options
author | Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com> | 2016-08-29 15:29:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-01 07:03:46 +0300 |
commit | c5e801dac4daff972013613ae3edae6668b2aa7c (patch) | |
tree | 691d593b72f69e1ea926632d52aa526b114dbd5f /tools/perf/scripts/python | |
parent | 5ec5dfa4d29448002bb05018ba12620e7fafffd1 (diff) | |
download | linux-c5e801dac4daff972013613ae3edae6668b2aa7c.tar.xz |
qed: Clear dcbx memory buffers before the usage.
This patch takes care of clearing the uninitialized buffer before using it.
1. pfc pri-enable bitmap need to be cleared before setting the requested
enable bits. Without this, the un-touched values will be merged with
requested values and sent to MFW.
2. The data in app-entry field need to be cleared before using it.
3. Clear the output data buffer used in qed_dcbx_query_params().
Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions