On Wed, 17 Jun 2015 14:44:31 +0000 David Marchand <david.marchand at 6wind.com> wrote:
> +? ? ? ?if (len == 3 || len > sizeof(pi.pi_data)) { > +? ? ? ? ? ? ? ?RTE_LOG(ERR, EAL, "%s(): invalid pci read length\n", > __func__); > +? ? ? ? ? ? ? ?goto error; > +? ? ? ?} > > A comment on length 3 would help to understand why it is refused. PCI only supports 1, 2, and 4 byte transactions. Hopefully someone using this would understand that.