Searched refs:addn_macs (Results 1 – 2 of 2) sorted by relevance
299 unsigned int addn_macs; in xlgmac_set_mac_addn_addrs() local303 addn_macs = pdata->hw_feat.addn_mac; in xlgmac_set_mac_addn_addrs()305 if (netdev_uc_count(netdev) > addn_macs) { in xlgmac_set_mac_addn_addrs()310 addn_macs--; in xlgmac_set_mac_addn_addrs()313 if (netdev_mc_count(netdev) > addn_macs) { in xlgmac_set_mac_addn_addrs()318 addn_macs--; in xlgmac_set_mac_addn_addrs()324 while (addn_macs--) in xlgmac_set_mac_addn_addrs()
1017 unsigned int addn_macs; in xgbe_set_mac_addn_addrs() local1020 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs()1022 if (netdev_uc_count(netdev) > addn_macs) { in xgbe_set_mac_addn_addrs()1027 addn_macs--; in xgbe_set_mac_addn_addrs()1030 if (netdev_mc_count(netdev) > addn_macs) { in xgbe_set_mac_addn_addrs()1035 addn_macs--; in xgbe_set_mac_addn_addrs()1041 while (addn_macs--) in xgbe_set_mac_addn_addrs()