From 5987427d4fa29774760a127f3fff7a7d515187bd Mon Sep 17 00:00:00 2001 From: Alejandro Lucero Date: Thu, 3 Mar 2016 11:05:52 +0000 Subject: [PATCH] nfp: fix variable type in Tx checksum offload 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 --- drivers/net/nfp/nfp_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index adaac24673..815b4faab5 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -1511,7 +1511,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)) -- 2.20.1