net/txgbe: fix to get interrupt status
authorJiawen Wu <jiawenwu@trustnetic.com>
Wed, 13 Oct 2021 02:45:19 +0000 (10:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Oct 2021 14:42:02 +0000 (16:42 +0200)
commitef6427a3f2868af08dc888031dcdf4eb41451b24
treede8faf34843347c863e732d74ffa365015099d51
parent63b7265717c4d24eaf31547d30bb81092f38209e
net/txgbe: fix to get interrupt status

It's necessary to set 1 on TXGBE_PX_INTA register to get interrupts
normally, when legacy interrupt mode is used.

Fixes: 2fc745e6b606 ("net/txgbe: add interrupt operation")
Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
drivers/net/txgbe/base/txgbe_regs.h
drivers/net/txgbe/txgbe_ethdev.c