From: Alejandro Lucero Date: Mon, 19 Dec 2016 12:22:39 +0000 (+0000) Subject: net/nfp: fix typo in Tx offload capabilities X-Git-Tag: spdx-start~4963 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=348dbdd8d1cc1477c24802424ecb0df40dfae73a;p=dpdk.git net/nfp: fix typo in Tx offload capabilities Because macros for TCP and UDP related to offload cksums have same values, this was not a main problem. But better to use the right ones. Fixes: d4a27a3b092a ("nfp: add basic features") Signed-off-by: Alejandro Lucero --- diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 86c4f53c1f..da4bf97076 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -1029,8 +1029,8 @@ nfp_net_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) if (hw->cap & NFP_NET_CFG_CTRL_TXCSUM) dev_info->tx_offload_capa |= DEV_TX_OFFLOAD_IPV4_CKSUM | - DEV_RX_OFFLOAD_UDP_CKSUM | - DEV_RX_OFFLOAD_TCP_CKSUM; + DEV_TX_OFFLOAD_UDP_CKSUM | + DEV_TX_OFFLOAD_TCP_CKSUM; dev_info->default_rxconf = (struct rte_eth_rxconf) { .rx_thresh = {