Searched defs:frame_idx (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dbnx2.c2360 static int frame_idx = 0; local
2391 memcpy(&frame[frame_idx].dst_addr, dst_addr, ETH_ALEN);
2392 memcpy(&frame[frame_idx].src_addr, nic->node_addr, ETH_ALEN);
2393 frame[frame_idx].type = htons(type);
2394 memset(&frame[frame_idx].data, 0, sizeof(frame[frame_idx].data));
2395 memcpy(&frame[frame_idx].data, packet, size);
2400 txbd->tx_bd_haddr_lo = virt_to_bus(&frame[frame_idx]);
2406 frame_idx ^= 1;

Completed in 46 milliseconds