aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr.robot
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-08-21 08:26:09 +0200
committerJan Gelety <jgelety@cisco.com>2019-08-21 08:26:09 +0200
commit01be3c2278c79d83ae36290868ab66f3741abc38 (patch)
treed7b718fac8092058a9ae2e5c49d1cd5c0991eba1 /tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr.robot
parent91051c28e269f08bd58e8301366d3cca78c948ef (diff)
Add: 2-node ip4 oacl tests
Change-Id: I786fe9f75777e1cd0daee70bc350185dd7fd17e1 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr.robot')
-rw-r--r--tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr.robot1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr.robot b/tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr.robot
index 083c09bcc3..95fe9ce1b0 100644
--- a/tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr.robot
+++ b/tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4base-oacl1sf-100kflows-ndrpdr.robot
@@ -66,6 +66,7 @@
| ${port_step}= | ${1}
| ${trex_stream1_subnet}= | 10.10.10.0/24
| ${trex_stream2_subnet}= | 20.20.20.0/24
+# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc
*** Keywords ***
PMD_INIT_LOG(DEBUG, "Port %d is %s\n", dev->data->port_id, + link.link_status ? "up" : "down"); + return (old.link_status == link.link_status) ? -1 : 0; } diff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio/virtio_rxtx.c index c5b53bb..9f0b759 100644 --- a/drivers/net/virtio/virtio_rxtx.c +++ b/drivers/net/virtio/virtio_rxtx.c @@ -536,6 +536,7 @@ virtio_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts) rxm->next = NULL; rxm->pkt_len = (uint32_t)(len[i] - hdr_size); rxm->data_len = (uint16_t)(len[i] - hdr_size); + rxm->ol_flags = 0; if (hw->vlan_strip) rte_vlan_strip(rxm); @@ -651,6 +652,7 @@ virtio_recv_mergeable_pkts(void *rx_queue, rxm->next = NULL; rxm->pkt_len = (uint32_t)(len[0] - hdr_size); rxm->data_len = (uint16_t)(len[0] - hdr_size); + rxm->ol_flags = 0; rxm->port = rxvq->port_id; rx_pkts[nb_rx] = rxm; @@ -752,7 +754,7 @@ virtio_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts) if (unlikely(nb_pkts < 1)) return nb_pkts; - PMD_TX_LOG(DEBUG, "%d packets to xmit", nb_pkts); + PMD_TX_LOG(DEBUG, "%d packets to xmit\n", nb_pkts); nb_used = VIRTQUEUE_NUSED(txvq); virtio_rmb(); -- 2.5.0