lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 2 Dec 2008 19:44:40 +0100
From:	"Miguel Ángel Álvarez" <>
To:, "Krzysztof Halasa" <>
Subject: qmgr for ixp4xx


As I am trying to use my HSSs as 4E1, I find that the FIFOs for each
HDLC should be 1 word wide and not 4 words wide. I think that this
finally means that when accessing the queues, I have to do the
following modification.

diff -urN linux-
--- linux-	2008-10-22
23:46:18.000000000 +0200
+++ linux-	2008-12-02
10:47:23.000000000 +0100
@@ -67,16 +67,17 @@
 void qmgr_release_queue(unsigned int queue);

-static inline void qmgr_put_entry(unsigned int queue, u32 val)
+static inline void qmgr_put_entry(unsigned int queue, unsigned int pipe,
+                   u32 val)
 	extern struct qmgr_regs __iomem *qmgr_regs;
-	__raw_writel(val, &qmgr_regs->acc[queue][0]);
+	__raw_writel(val, &qmgr_regs->acc[queue][pipe]);

-static inline u32 qmgr_get_entry(unsigned int queue)
+static inline u32 qmgr_get_entry(unsigned int queue, unsigned int pipe)
 	extern struct qmgr_regs __iomem *qmgr_regs;
-	return __raw_readl(&qmgr_regs->acc[queue][0]);
+	return __raw_readl(&qmgr_regs->acc[queue][pipe]);

 static inline int qmgr_get_stat1(unsigned int queue)

Is it correct?


Miguel Ángel Álvarez
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists