Hello, In test13 test of NICDrv test, mtu value is changed periodically.
Whenever mtu is changed, or when our network driver is unplumbed, our network driver will free previously allocated buffers, reset hardware and allocate new rx buffers of appropriate size during the next bring up stage. Before we allocate new rx buffers, we need to wait for previously allocated rx buffers to be fully returned by the OS. We used "desballoc" to allocate rx buffers and sends packet data to OS that was saved in these buffers. However, it seems that during that test, some rx buffers are returned pretty late, after waiting 30 seconds, there are still some rx buffers not returned to our network driver. It is not good to free all rx buffers disregarding those held in upper level, but we can not wait for too long. I am wondering what our network driver should do in this situation? Is there anyway to push OS to return rx buffers faster? Tom -- This message posted from opensolaris.org _______________________________________________ networking-discuss mailing list [email protected]
