Re: [PATCH net-next v3] Add support of Cavium Liquidio ethernet adapters
From: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Date: 2014-12-19 22:04:18
From: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Date: 2014-12-19 22:04:18
On 19.12.2014 04:25, Raghu Vatsavayi wrote:
+static void cn6xxx_disable_interrupt(void *chip)
+{
+ struct octeon_cn6xxx *cn6xxx = (struct octeon_cn6xxx *)chip;
+
+ /* Disable Interrupts */
+ writeq(0, cn6xxx->intr_enb_reg64);
+}
+This could also be a good candidate for forced write posting. The code assumes that interrupts are actually deactivated after that. Regards, Lino