]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_ethdev.c
net/mlx5: support ConnectX-5 devices
[dpdk.git] / drivers / net / mlx5 / mlx5_ethdev.c
index 65228d5f98af183c60c7874a5d1a23cf42f063b2..fbb1b6566b7a400197b40a02dffde13247beea8c 100644 (file)
@@ -1517,14 +1517,11 @@ void
 priv_select_tx_function(struct priv *priv)
 {
        priv->dev->tx_pkt_burst = mlx5_tx_burst;
-       /* Display warning for unsupported configurations. */
-       if (priv->sriov && priv->mps)
-               WARN("multi-packet send WQE cannot be used on a SR-IOV setup");
        /* Select appropriate TX function. */
-       if ((priv->sriov == 0) && priv->mps && priv->txq_inline) {
+       if (priv->mps && priv->txq_inline) {
                priv->dev->tx_pkt_burst = mlx5_tx_burst_mpw_inline;
                DEBUG("selected MPW inline TX function");
-       } else if ((priv->sriov == 0) && priv->mps) {
+       } else if (priv->mps) {
                priv->dev->tx_pkt_burst = mlx5_tx_burst_mpw;
                DEBUG("selected MPW TX function");
        }