net/hns3: process MAC interrupt
authorHongbo Zheng <zhenghongbo3@huawei.com>
Thu, 4 Mar 2021 07:44:53 +0000 (15:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Mar 2021 14:07:14 +0000 (15:07 +0100)
commit5f8845f4ba8f8059710bdcc39306f91743532c69
treeb5a8e8e3f6c5dfdb3ba3eb73bb317ca4fc7a384e
parentfdfde7a4a0f8be8f79c82ee91da9041acd64a798
net/hns3: process MAC interrupt

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.

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 <zhenghongbo3@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_cmd.h
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_intr.c
drivers/net/hns3/hns3_intr.h