ofiwg / fabtests

FROZEN: the master branch has merged with the libfabric git repo

Home Page:http://libfabric.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eq_test assumes that created EQ is of size specified

sayantansur opened this issue · comments

eq_write_overflow() function in eq_test.c assumes that the size of EQ created is exactly the size specified.

However, the size specified is only a minimum. The provider may actually create an EQ that is larger.

ret = fi_eq_write(eq, FI_NOTIFY, &entry, sizeof(entry), 0);

Is there any way to know the actual size of the EQ that the provider has created? Otherwise, we might need to remote this unit test.

No - the EQ may be implemented entirely in SW and dynamically grow based on available memory.

Then we don't need the test that checks potential overflow of the EQ.

Yes, we should probably remove it!