[dpdk-dev] 82599 TX IP checksum offloading

2013-11-25 Thread chen_lp
Hi, I want NIC to calculate ip checksum on dpdk-1.5.0, I have set: static const struct rte_eth_txconf tx_conf = { .tx_thresh = { .pthresh = TX_PTHRESH, .hthresh = TX_HTHRESH, .wthresh = TX_WTHRESH, }, .tx_free_thresh = 0,

[dpdk-dev] 82599 TX IP checksum offloading

2013-11-25 Thread Daniel Kaminsky
chen_Ip, You shoudln't use PKT_RX_IPV4_HDR, either just PKT_TX_IP_CKSUM or some other combination of PKT_TX_* (e.g. PKT_TX_OFFLOAD_MASK) Daniel On Mon, Nov 25, 2013 at 8:23 AM, chen_lp wrote: > Hi, > I want NIC to calculate ip checksum on dpdk-1.5.0, > > I have set: > static const struct rte_