]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/ethernet/qlogic/qed/qed_spq.c
qed: Introduce VFs
[linux.git] / drivers / net / ethernet / qlogic / qed / qed_spq.c
index 0e439e46fbe9dc4cc00846e731be3f08bb9d98e1..acac6626a1b29417eacdbda3751cee4cb241ce9a 100644 (file)
@@ -387,6 +387,9 @@ static int qed_cqe_completion(
        struct eth_slow_path_rx_cqe *cqe,
        enum protocol_type protocol)
 {
+       if (IS_VF(p_hwfn->cdev))
+               return 0;
+
        /* @@@tmp - it's possible we'll eventually want to handle some
         * actual commands that can arrive here, but for now this is only
         * used to complete the ramrod using the echo value on the cqe