Modify do_accumulate_op() to accept better arguments.
Originally do_accumulate_op() only accepts request pointer as argument which is too restrict to be reused. Here we modify it to access buffer address, count, datatype and op, so that it can be reused in more general cases. Signed-off-by: Pavan Balaji <email@example.com>
Showing with 30 additions and 28 deletions