commit | 4ed50ef4da4d113fe65d9f9d049c1ce7468e3ac1 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Fri Mar 09 23:46:03 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 12 10:57:23 2018 -0400 |
tree | de9540b2d0d3f4c73f79d335d76183e819b07d98 | |
parent | a2c054a896b8ac794ddcfc7c92e2dc7ec4ed4ed5 [diff] |
bnxt_en: Refactor the functions to reserve hardware rings. The bnxt_hwrm_reserve_{pf|vf}_rings() functions are very similar to the bnxt_hwrm_check_{pf|vf}_rings() functions. Refactor the former so that the latter can make use of common code in the next patch. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>