net/mlx5: fix locking in xstats functions
[dpdk.git] / drivers / net / enic / base / cq_enet_desc.h
index 669a2b5..e841056 100644 (file)
@@ -31,7 +31,6 @@
  * POSSIBILITY OF SUCH DAMAGE.
  *
  */
-#ident "$Id: cq_enet_desc.h 160468 2014-02-18 09:50:15Z gvaradar $"
 
 #ifndef _CQ_ENET_DESC_H_
 #define _CQ_ENET_DESC_H_
@@ -72,6 +71,19 @@ struct cq_enet_rq_desc {
        u8 type_color;
 };
 
+/* Completion queue descriptor: Ethernet receive queue, 16B */
+struct cq_enet_rq_clsf_desc {
+       __le16 completed_index_flags;
+       __le16 q_number_rss_type_flags;
+       __le16 filter_id;
+       __le16 lif;
+       __le16 bytes_written_flags;
+       __le16 vlan;
+       __le16 checksum_fcoe;
+       u8 flags;
+       u8 type_color;
+};
+
 #define CQ_ENET_RQ_DESC_FLAGS_INGRESS_PORT          (0x1 << 12)
 #define CQ_ENET_RQ_DESC_FLAGS_FCOE                  (0x1 << 13)
 #define CQ_ENET_RQ_DESC_FLAGS_EOP                   (0x1 << 14)