Kernel consumer generate indexes

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>