]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/infiniband/sw/rxe/rxe_recv.c
IB/rxe: Add port protocol stats
[karo-tx-linux.git] / drivers / infiniband / sw / rxe / rxe_recv.c
index 50886031096fb009c3876f1929304430ffe52916..dadd4a0e3cf71045711caa221f2d96e71af6f0c9 100644 (file)
@@ -403,6 +403,8 @@ int rxe_rcv(struct sk_buff *skb)
                goto drop;
        }
 
+       rxe_counter_inc(rxe, RXE_CNT_RCVD_PKTS);
+
        if (unlikely(bth_qpn(pkt) == IB_MULTICAST_QPN))
                rxe_rcv_mcast_pkt(rxe, skb);
        else