From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D05AA034F; Sat, 27 Feb 2021 10:25:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8FF611CC585; Sat, 27 Feb 2021 10:25:05 +0100 (CET) Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) by mails.dpdk.org (Postfix) with ESMTP id 712B240146 for ; Sat, 27 Feb 2021 10:25:03 +0100 (CET) Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4Dnh0C4Vcmz7qwv; Sat, 27 Feb 2021 17:23:23 +0800 (CST) Received: from [10.78.49.194] (10.78.49.194) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Feb 2021 17:24:56 +0800 To: Ferruh Yigit CC: , References: <1614130139-42926-1-git-send-email-oulijun@huawei.com> <1614130139-42926-13-git-send-email-oulijun@huawei.com> From: oulijun Message-ID: <547fbce0-7b9e-058e-e8ac-003317f4edd9@huawei.com> Date: Sat, 27 Feb 2021 17:24:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.78.49.194] X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH 12/13] net/hns3: add process for MAC interrupt X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 在 2021/2/26 23:26, Ferruh Yigit 写道: > On 2/24/2021 1:28 AM, Lijun Ou wrote: >> From: Hongbo Zheng >> >> Enable the interrupt report of MAC when MAC state changes >> and log the hardware MAC state value. > > What is MAC TNL Interrupt, can you please provide more information in > the commit log? TNL is the abbreviation of tunnel, which means port here. Mac TNL interrupt indicates the MAC status report of the network port, which will be generated when the MAC status changes. > And what is done as interrupt handling, as far as I can see it is doing > more that just logging it. > This patch enables MAC TNL interrupt reporting, and queries and prints the corresponding MAC status when the interrupt is received, then clear the mac interrupt status. Because this interrupt uses the same interrupt as Ras, the interrupt log is adjusted. >> >> Signed-off-by: Hongbo Zheng >> Signed-off-by: Lijun Ou > > <...> > > . >