Searched refs:mtu_str (Results 1 – 3 of 3) sorted by relevance
66 net_parsemtu(const char *mtu_str, unsigned long *mtu) in net_parsemtu() argument71 assert(mtu_str != NULL); in net_parsemtu()73 if (*mtu_str == '-') in net_parsemtu()76 val = strtoul(mtu_str, &end, 0); in net_parsemtu()
36 int net_parsemtu(const char *mtu_str, unsigned long *mtu);
112 static const char *mtu_str(enum ibv_mtu max_mtu) in mtu_str() function541 mtu_str(port_attr.max_mtu), port_attr.max_mtu); in print_hca_cap()543 mtu_str(port_attr.active_mtu), port_attr.active_mtu); in print_hca_cap()