Searched refs:MAC_TABLE_ENTRIES (Results 1 – 3 of 3) sorted by relevance
39 #define MAC_TABLE_ENTRIES 64 macro
1125 uint8_t *macs = g_malloc0(MAC_TABLE_ENTRIES * ETH_ALEN); in virtio_net_handle_mac()1139 if (mac_data.entries <= MAC_TABLE_ENTRIES) { in virtio_net_handle_mac()1167 if (mac_data.entries <= MAC_TABLE_ENTRIES - in_use) { in virtio_net_handle_mac()1182 memcpy(n->mac_table.macs, macs, MAC_TABLE_ENTRIES * ETH_ALEN); in virtio_net_handle_mac()3093 if (n->mac_table.in_use > MAC_TABLE_ENTRIES) { in virtio_net_post_load_device()3181 return VIRTIO_NET(opaque)->mac_table.in_use <= MAC_TABLE_ENTRIES; in mac_table_fits()3900 n->mac_table.macs = g_malloc0(MAC_TABLE_ENTRIES * ETH_ALEN); in virtio_net_device_realize()3990 memset(n->mac_table.macs, 0, MAC_TABLE_ENTRIES * ETH_ALEN); in virtio_net_reset()
150 MAC_TABLE_ENTRIES * ETH_ALEN; in vhost_vdpa_net_cvq_cmd_len()1408 uint32_t fake_uni_entries = MAC_TABLE_ENTRIES + 1, in vhost_vdpa_net_excessive_mac_filter_cvq_add()1409 fake_mul_entries = MAC_TABLE_ENTRIES + 1, in vhost_vdpa_net_excessive_mac_filter_cvq_add()