[dpdk-dev] [PATCH v2] nfp: fix variable type in tx checksum offload

2016-03-11 Thread Bruce Richardson
On Thu, Mar 03, 2016 at 11:05:52AM +, 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 
> ---
Applied to dpdk-next-net/rel_16_04

/Bruce



[dpdk-dev] [PATCH v2] nfp: fix variable type in tx checksum offload

2016-03-03 Thread Alejandro Lucero
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 fd4dd39..0e3705e 100644
--- a/drivers/net/nfp/nfp_net.c
+++ b/drivers/net/nfp/nfp_net.c
@@ -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))
-- 
1.7.9.5