diff options
author | Selvin Xavier <[email protected]> | 2020-02-26 07:45:31 -0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-03-02 11:10:37 -0400 |
commit | c2b777a9592395bf68f17bcfa76813eb507a001c (patch) | |
tree | 87c826f251935c74771342bdf31c4d6782a7bf4c /tools/perf/scripts/python/syscall-counts.py | |
parent | ff6629f88c529b07d9704c656c64dae76910e3e9 (diff) |
RDMA/bnxt_re: Refactor device add/remove functionalities
- bnxt_re_ib_reg() handles two main functionalities - initializing the
device and registering with the IB stack. Split it into 2 functions
i.e. bnxt_re_dev_init() and bnxt_re_ib_init() to account for the same
thereby improve modularity. Do the same for
bnxt_re_ib_unreg()i.e. split into two functions - bnxt_re_dev_uninit()
and bnxt_re_ib_uninit().
- Simplify the code by combining the different steps to add and remove
the device into two functions.
- Report correct netdev link state during device register
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions