Thread (28 messages) flat view 28 messages, 5 authors, 2016-08-04

RE: [PATCH net-next 13/18] liquidio support for new device cn23xx

From: Yuval Mintz <hidden>
Date: 2016-08-04 16:04:56

+static void cn23xx_bar1_idx_setup(struct octeon_device *oct, u64 core_addr,
...
+	if (valid == 0) {
!valid

...
+		WRITE_ONCE(bar1, lio_pci_readq(
+		    oct, CN23XX_PEM_BAR1_INDEX_REG(oct->pcie_port, idx)));
+		lio_pci_writeq(oct, (READ_ONCE(bar1) & 0xFFFFFFFEULL),
+			       CN23XX_PEM_BAR1_INDEX_REG(oct->pcie_port,
idx));
+		WRITE_ONCE(bar1, lio_pci_readq(
+		    oct, CN23XX_PEM_BAR1_INDEX_REG(oct->pcie_port, idx)));
Indentation issues?
+static u32 cn23xx_update_read_index(struct octeon_instr_queue *iq) {
...
+	/* reset the cnt as a part of napi enable interrupt or check_iq_db */
+	/*writeq(pkt_in_done | CN23XX_INTR_RESEND, iq->inst_cnt_reg);*/
Looks like this comment should be removed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help