From: Alejandro Lucero Date: Thu, 3 Mar 2016 11:05:52 +0000 (+0000) Subject: nfp: fix variable type in Tx checksum offload X-Git-Tag: spdx-start~7296 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5987427d4fa29774760a127f3fff7a7d515187bd;p=dpdk.git 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 --- 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))