git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples/tep_term: remove redundant info get
[dpdk.git]
/
examples
/
tep_termination
/
vxlan_setup.c
diff --git
a/examples/tep_termination/vxlan_setup.c
b/examples/tep_termination/vxlan_setup.c
index
eca119a
..
4b44ccc
100644
(file)
--- a/
examples/tep_termination/vxlan_setup.c
+++ b/
examples/tep_termination/vxlan_setup.c
@@
-194,8
+194,6
@@
vxlan_port_init(uint16_t port, struct rte_mempool *mbuf_pool)
ports_eth_addr[port].addr_bytes[5]);
if (tso_segsz != 0) {
ports_eth_addr[port].addr_bytes[5]);
if (tso_segsz != 0) {
- struct rte_eth_dev_info dev_info;
- rte_eth_dev_info_get(port, &dev_info);
if ((dev_info.tx_offload_capa & DEV_TX_OFFLOAD_TCP_TSO) == 0)
RTE_LOG(WARNING, PORT,
"hardware TSO offload is not supported\n");
if ((dev_info.tx_offload_capa & DEV_TX_OFFLOAD_TCP_TSO) == 0)
RTE_LOG(WARNING, PORT,
"hardware TSO offload is not supported\n");