]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Fix TL4 configuration for secondary Qsets
authorSunil Goutham <sgoutham@cavium.com>
Mon, 27 Jun 2016 10:00:03 +0000 (15:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2016 09:14:13 +0000 (05:14 -0400)
commitae2e695be87ad1c63463e50398d4b7a98398b7ba
tree1c04aee1e7e57b9f5f287f5013c170736f0bb186
parent5ffbd6ae6306435aba82ff0352b286eb3dcc15a7
net: thunderx: Fix TL4 configuration for secondary Qsets

TL4 calculation for a given SQ of secondary Qsets is incorrect
and goes out of bounds and also for some SQ's TL4 chosen will
transmit data via a different BGX interface and not same as
primary Qset's interface.

This patch fixes this issue.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic_main.c