Searched refs:MAC_TABLE_ENTRIES (Results 1 – 3 of 3) sorted by relevance
39 #define MAC_TABLE_ENTRIES 64 macro
1124 uint8_t *macs = g_malloc0(MAC_TABLE_ENTRIES * ETH_ALEN); in virtio_net_handle_mac()1138 if (mac_data.entries <= MAC_TABLE_ENTRIES) { in virtio_net_handle_mac()1166 if (mac_data.entries <= MAC_TABLE_ENTRIES - in_use) { in virtio_net_handle_mac()1181 memcpy(n->mac_table.macs, macs, MAC_TABLE_ENTRIES * ETH_ALEN); in virtio_net_handle_mac()3090 if (n->mac_table.in_use > MAC_TABLE_ENTRIES) { in virtio_net_post_load_device()3178 return VIRTIO_NET(opaque)->mac_table.in_use <= MAC_TABLE_ENTRIES; in mac_table_fits()3785 n->mac_table.macs = g_malloc0(MAC_TABLE_ENTRIES * ETH_ALEN); in virtio_net_device_realize()3891 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()1427 uint32_t fake_uni_entries = MAC_TABLE_ENTRIES + 1, in vhost_vdpa_net_excessive_mac_filter_cvq_add()1428 fake_mul_entries = MAC_TABLE_ENTRIES + 1, in vhost_vdpa_net_excessive_mac_filter_cvq_add()