On Mon, 2016-12-26 at 08:40 +0200, Ram Amrani wrote: > As the functionality to convert the MTU from a number to enum_ib_mtu > is ubiquitous, define a dedicated function and remove the duplicated > code (first patch). > Note that the patch doesn't include ocrdma, qib and hfi1 that check > for an exact match of the int mtu and return a different default > value > (or error). I leave it to them to adapt to the new function, if at > all. > > The second patch fixes a qedr bug using the newly introduced > function. > > Ram Amrani (2): > IB/core: add the function ib_mtu_int_to_enum > qedr: fix MTU returned from QP query > > drivers/infiniband/hw/cxgb3/iwch_provider.c | 11 +---------- > drivers/infiniband/hw/cxgb4/provider.c | 11 +---------- > drivers/infiniband/hw/i40iw/i40iw_verbs.c | 11 +---------- > drivers/infiniband/hw/nes/nes_verbs.c | 12 +----------- > drivers/infiniband/hw/qedr/verbs.c | 2 +- > include/rdma/ib_verbs.h | 15 +++++++++++++++ > 6 files changed, 20 insertions(+), 42 deletions(-) Thanks, series applied. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part