Searched refs:max_port_num (Results 1 – 1 of 1) sorted by relevance
1062 int max_port_num = hns_mac_get_max_port_num(dsaf_dev); in hns_mac_init() local1073 if (port_id >= max_port_num) { in hns_mac_init()1092 for (port_id = 0; port_id < max_port_num; port_id++) { in hns_mac_init()1104 for (port_id = 0; port_id < max_port_num; port_id++) { in hns_mac_init()1124 int max_port_num = hns_mac_get_max_port_num(dsaf_dev); in hns_mac_uninit() local1126 for (i = 0; i < max_port_num; i++) { in hns_mac_uninit()