enic: fix DMA address of outgoing packets
authorYoann Desmouceaux <ydesmouc@cisco.com>
Wed, 24 Feb 2016 23:06:15 +0000 (00:06 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 15:55:54 +0000 (16:55 +0100)
commit39ab35a36a47fb96d364d42566e4377cda3391bb
tree250af8c883abc6cf5fe1b15f1d626b48a85684fa
parent13b0f50006745b76b8e45154ab29452007c0bb77
enic: fix DMA address of outgoing packets

The enic PMD driver send function uses a constant offset instead
of relying on the data_off in the mbuf to find the start of the packet.

Fixes: fefed3d1e62c ("enic: new driver")

Signed-off-by: Yoann Desmouceaux <ydesmouc@cisco.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/enic/enic_main.c