net/enic: fix flow director SCTP matching
[dpdk.git] / drivers / net / virtio / virtio_ethdev.c
index 7c2fe76..78ba7bd 100644 (file)
@@ -71,7 +71,6 @@ static void virtio_mac_addr_remove(struct rte_eth_dev *dev, uint32_t index);
 static int virtio_mac_addr_set(struct rte_eth_dev *dev,
                                struct ether_addr *mac_addr);
 
-static int virtio_intr_enable(struct rte_eth_dev *dev);
 static int virtio_intr_disable(struct rte_eth_dev *dev);
 
 static int virtio_dev_queue_stats_mapping_set(
@@ -1454,7 +1453,8 @@ set_rxtx_funcs(struct rte_eth_dev *eth_dev)
 
        if (vtpci_packed_queue(hw)) {
                PMD_INIT_LOG(INFO,
-                       "virtio: using packed ring standard Tx path on port %u",
+                       "virtio: using packed ring %s Tx path on port %u",
+                       hw->use_inorder_tx ? "inorder" : "standard",
                        eth_dev->data->port_id);
                eth_dev->tx_pkt_burst = virtio_xmit_pkts_packed;
        } else {
@@ -2070,7 +2070,6 @@ virtio_dev_configure(struct rte_eth_dev *dev)
        if (vtpci_packed_queue(hw)) {
                hw->use_simple_rx = 0;
                hw->use_inorder_rx = 0;
-               hw->use_inorder_tx = 0;
        }
 
 #if defined RTE_ARCH_ARM64 || defined RTE_ARCH_ARM