powerpc/85xx: fix rev.2 job queue LIODN error storm
authorKim Phillips <kim.phillips@freescale.com>
Fri, 3 Sep 2010 15:57:31 +0000 (10:57 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 7 Oct 2010 14:49:47 +0000 (09:49 -0500)
commite95a0611f259ed0440894be04a1d218dc4e56fb7
tree402e48fc4d0bd45ced81e02591869c4a0cd6e9b9
parent3c6a22b962e4dd86637a9d49fe46c5bcc69cbe5a
powerpc/85xx: fix rev.2 job queue LIODN error storm

pumping line-rate traffic though a p4080 rev.2, which
is configured to encrypt packets prior to forwarding through
an IPsec tunnel, gets this error:

of_platform ffe302000.jq: DECO: desc idx 22: LIODN error. DECO was trying
to share from itself or from another DECO but the two Non-SEQ LIODN
values didn't match or the "shared from" DECO's Descriptor required that
the SEQ LIODNs be the same and they aren't.

Since high traffic rates cause DECOs to begin to start sharing
shared descriptors amongst themselves, and DECOs inherit job queue
LIODNs when accessing shared descriptors, and a recently discovered
rev.2 h/w erratum requires all sharing job queues in a partition
have same liodn assignment, reassign the first job queue's liodn
assignment to the rest.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/p4080_ids.c