[dpdk-dev] [PATCH] enic: fix misalignment of Rx mbuf data

2016-05-04 Thread Bruce Richardson
On Tue, Apr 26, 2016 at 07:51:56PM -0700, John Daley wrote: > Data DMA used m->data_off of uninitialized mbufs instead of > RTE_PKTMBUF_HEADROOM, potentially causing Rx data to be > placed at the wrong alignment in the mbuf. > > Fixes: 947d860c821f ("enic: improve Rx performance") > Signed-off-by:

[dpdk-dev] [PATCH] enic: fix misalignment of Rx mbuf data

2016-04-26 Thread John Daley
Data DMA used m->data_off of uninitialized mbufs instead of RTE_PKTMBUF_HEADROOM, potentially causing Rx data to be placed at the wrong alignment in the mbuf. Fixes: 947d860c821f ("enic: improve Rx performance") Signed-off-by: John Daley --- drivers/net/enic/enic_main.c | 5 +++-- drivers/net/en