summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Dai <wei.dai@intel.com>2018-05-10 11:56:50 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2018-05-14 22:31:52 +0100
commitacca1807e722921d0d93adc49bec454f5ac1d2bb (patch)
tree89f85e94698b56a831248a636396fd2224d24b1e
parentb5f6272c242f12fa3403b0d7e9da18fb83da17d4 (diff)
downloaddpdk-acca1807e722921d0d93adc49bec454f5ac1d2bb.zip
dpdk-acca1807e722921d0d93adc49bec454f5ac1d2bb.tar.gz
dpdk-acca1807e722921d0d93adc49bec454f5ac1d2bb.tar.xz
net/e1000: report Tx multi segment offload
This feature has been confirmed with testpmd: testpmd> set fwd txonly testpmd> port stop all testpmd> port config all txd 1024 testpmd> set txsplit on testpmd> set txpkts 70,80,90,100 testpmd> start It can be observed at peer port that UDP packets with UDP data length 298 bytes. Signed-off-by: Wei Dai <wei.dai@intel.com>
-rw-r--r--drivers/net/e1000/igb_rxtx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c
index 128ed0b..5f729f2 100644
--- a/drivers/net/e1000/igb_rxtx.c
+++ b/drivers/net/e1000/igb_rxtx.c
@@ -1460,7 +1460,8 @@ igb_get_tx_port_offloads_capa(struct rte_eth_dev *dev)
DEV_TX_OFFLOAD_UDP_CKSUM |
DEV_TX_OFFLOAD_TCP_CKSUM |
DEV_TX_OFFLOAD_SCTP_CKSUM |
- DEV_TX_OFFLOAD_TCP_TSO;
+ DEV_TX_OFFLOAD_TCP_TSO |
+ DEV_TX_OFFLOAD_MULTI_SEGS;
return rx_offload_capa;
}