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

Bruce Richardson bruce.richardson at intel.com
Wed May 4 12:22:48 CEST 2016


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: John Daley <johndale at cisco.com>
> ---
>  drivers/net/enic/enic_main.c | 5 +++--
>  drivers/net/enic/enic_rx.c   | 6 ++++--
>  2 files changed, 7 insertions(+), 4 deletions(-)
>
Applied to dpdk-next-net/rel_16_07

/Bruce


More information about the dev mailing list