]> git.droids-corp.org - dpdk.git/commitdiff
nfp: fix variable type in Tx checksum offload
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Thu, 3 Mar 2016 11:05:52 +0000 (11:05 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 17:52:18 +0000 (18:52 +0100)
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

index adaac24673cdd490ca1c41e83cd1a5383f220197..815b4faab5163eec01204953bb536ad1da46c773 100644 (file)
@@ -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))