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()
1010 unsigned int addn_macs; in xgbe_set_mac_addn_addrs() local1013 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs()1015 if (netdev_uc_count(netdev) > addn_macs) { in xgbe_set_mac_addn_addrs()1020 addn_macs--; in xgbe_set_mac_addn_addrs()1023 if (netdev_mc_count(netdev) > addn_macs) { in xgbe_set_mac_addn_addrs()1028 addn_macs--; in xgbe_set_mac_addn_addrs()1034 while (addn_macs--) in xgbe_set_mac_addn_addrs()