[dpdk-dev,v2] nfp: fix variable type in tx checksum offload
Commit Message
The mbuf ol_flags field was changed to uin64_t with DPDK version 1.8
Fixes: b812daadad0d (\"nfp: add Rx and Tx\")
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
---
drivers/net/nfp/nfp_net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Mar 03, 2016 at 11:05:52AM +0000, Alejandro Lucero wrote:
> The mbuf ol_flags field was changed to uin64_t with DPDK version 1.8
>
> Fixes: b812daadad0d (\"nfp: add Rx and Tx\")
>
> Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
> ---
Applied to dpdk-next-net/rel_16_04
/Bruce
@@ -1522,7 +1522,7 @@ static inline void
nfp_net_tx_cksum(struct nfp_net_txq *txq, struct nfp_net_tx_desc *txd,
struct rte_mbuf *mb)
{
- uint16_t ol_flags;
+ uint64_t ol_flags;
struct nfp_net_hw *hw = txq->hw;
if (!(hw->cap & NFP_NET_CFG_CTRL_TXCSUM))