diff options
author | Michael Chan <michael.chan@broadcom.com> | 2021-05-15 03:25:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-17 13:59:45 -0700 |
commit | 702279d2ce4650000bb6302013630304e359dc13 (patch) | |
tree | ae7cfab74ae8bc0f9e98e05676b0fb016ad2b594 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ab21494be9dc7d62736c5fcd06be65d49df713ee (diff) |
bnxt_en: Fix context memory setup for 64K page size.
There was a typo in the code that checks for 64K BNXT_PAGE_SHIFT in
bnxt_hwrm_set_pg_attr(). Fix it and make the code more understandable
with a new macro BNXT_SET_CTX_PAGE_ATTR().
Fixes: 1b9394e5a2ad ("bnxt_en: Configure context memory on new devices.")
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions