From 7430a37fc74f5389a331d7c1a86b147dbfe4c49d Mon Sep 17 00:00:00 2001 From: Fangyin Hu Date: Fri, 8 Dec 2017 11:19:56 +0800 Subject: [PATCH] Update the mbox messge ID for the new thunderx NIC. --- platform/linux-thunder/include/thunder/nicvf/nic_mbox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/linux-thunder/include/thunder/nicvf/nic_mbox.h b/platform/linux-thunder/include/thunder/nicvf/nic_mbox.h index 28f5145..9221eb1 100644 --- a/platform/linux-thunder/include/thunder/nicvf/nic_mbox.h +++ b/platform/linux-thunder/include/thunder/nicvf/nic_mbox.h @@ -81,8 +81,8 @@ typedef uint64_t u64; #define NIC_MBOX_MSG_ALLOC_SQS 0x12 /* Allocate secondary Qset */ #define NIC_MBOX_MSG_LOOPBACK 0x16 /* Set interface in loopback */ #define NIC_MBOX_MSG_RESET_STAT_COUNTER 0x17 /* Reset statistics counters */ -#define NIC_MBOX_MSG_CFG_DONE 0x7E /* VF configuration done */ -#define NIC_MBOX_MSG_SHUTDOWN 0x7F /* VF is being shutdown */ +#define NIC_MBOX_MSG_CFG_DONE 0xF0 /* VF configuration done */ +#define NIC_MBOX_MSG_SHUTDOWN 0xF1 /* VF is being shutdown */ #define NIC_MBOX_MSG_RES_BIT 0x80 /* Mark for response message */ #define NIC_MBOX_MSG_MAX 0x100 /* Maximum number of messages */