[ofa-general] enabling invalidate operations in libibverbs API

Roland Dreier roland.list at gmail.com
Wed Jun 11 09:32:39 PDT 2008


 > LSO is not exposed to user space by this patch, so maybe better to
just reserve/skip this enum value?

Sure, not a big deal either way, I'll change it.

> and this sets  IBV_DEVICE_KERN_MEM_MGT_EXTENSIONS off, so at the bottom line
> the user will never see IBV_DEVICE_MEM_MGT_EXTENSIONS being set to ON? or
> the user space hw library should somwhow add this bit?

Yes, the low-level driver library needs to look at it.  I tried to
explain it in the comment:

+        * If the kernel driver says that it supports memory
+        * management extensions, then move the flag to
+        * IBV_DEVICE_KERN_MEM_MGT_EXTENSIONS so that the low-level
+        * driver needs to move the flag back to show it supports the
+        * operations as well.



More information about the general mailing list