net/liquidio: add API to control Rx
[dpdk.git] / drivers / net / liquidio / base / lio_hw_defs.h
index 1c1ad8e..59668c0 100644 (file)
@@ -122,10 +122,15 @@ enum octeon_tag_type {
 /** LIO_OPCODE subcodes */
 /* This subcode is sent by core PCI driver to indicate cores are ready. */
 #define LIO_OPCODE_NW_DATA             0x02 /* network packet data */
+#define LIO_OPCODE_CMD                 0x03
+#define LIO_OPCODE_INFO                        0x04
 #define LIO_OPCODE_IF_CFG              0x09
 
 #define LIO_MAX_RX_PKTLEN              (64 * 1024)
 
+/* NIC Command types */
+#define LIO_CMD_RX_CTL                 0x4
+
 /* RX(packets coming from wire) Checksum verification flags */
 /* TCP/UDP csum */
 #define LIO_L4_CSUM_VERIFIED           0x1