libcxgb,iw_cxgb4,cxgbit: add cxgb_best_mtu()
authorVarun Prakash <varun@chelsio.com>
Tue, 13 Sep 2016 15:54:00 +0000 (21:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 00:49:20 +0000 (20:49 -0400)
commit44c6d06992ac663e5163bdbe00844cb845ed5703
tree3f88dc3159752fddf5b06345fb6ff2fb564101fa
parentb65eef0a5b1a635f9b056cf74d3ef778f3794a75
libcxgb,iw_cxgb4,cxgbit: add cxgb_best_mtu()

Add cxgb_best_mtu() in libcxgb_cm.h to remove
it's duplicate definitions from cxgb4/cm.c and
cxgbit/cxgbit_cm.c

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/cxgb4/cm.c
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
drivers/target/iscsi/cxgbit/cxgbit_cm.c