summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2019-08-29 23:54:47 -0400
committerDavid S. Miller <davem@davemloft.net>2019-08-30 14:02:18 -0700
commita798302d56f56fb7ad6a01f64f495aeafeb6c0f0 (patch)
treeb268d060c3dfabcdff5ac3fe4d12419635c6ef3d /tools/perf/scripts/python/export-to-postgresql.py
parentd4f1420d365633490aa134abfe408453d1c7c238 (diff)
bnxt_en: Simplify error checking in the SR-IOV message forwarding functions.
There are 4 functions handling message forwarding for SR-IOV. They check for non-zero firmware response code and then return -1. There is no need to do this anymore. The main messaging function will now return standard error code. Since we don't need to examine the response, we can use the hwrm_send_message() variant which will take the mutex automatically. 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