Michael Chan
b81a90d302
bnxt_en: Re-structure ring indexing and mapping.
...
In order to support dedicated or shared completion rings, the ring
indexing and mapping are re-structured as below:
1. bp->grp_info[] array index is 1:1 with bp->bnapi[] array index and
completion ring index.
2. rx rings 0 to n will be mapped to completion rings 0 to n.
3. If tx and rx rings share completion rings, then tx rings 0 to m will
be mapped to completion rings 0 to m.
4. If tx and rx rings use dedicated completion rings, then tx rings 0 to
m will be mapped to completion rings n + 1 to n + m.
5. Each tx or rx ring will use the corresponding completion ring index
for doorbell mapping and MSIX mapping.
Signed-off-by: Michael Chan <mchan@broadcom.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-01-04 15:54:39 -05:00
..
2015-12-14 00:24:22 -05:00
2015-09-29 21:11:12 -07:00
2015-06-23 06:50:35 -07:00
2015-12-03 15:14:58 -05:00
2015-10-16 00:24:10 -07:00
2015-06-23 06:50:35 -07:00
2015-10-21 19:47:45 -07:00
2015-06-23 06:50:35 -07:00
2015-09-09 12:10:15 -07:00
2015-12-17 22:08:28 -05:00
2015-12-17 22:08:28 -05:00
2015-09-29 21:11:13 -07:00
2015-09-21 16:08:20 -07:00
2015-12-17 22:08:28 -05:00
2015-12-07 13:54:35 -05:00
2016-01-04 15:54:39 -05:00
2015-09-29 13:49:53 -07:00
2015-12-17 15:53:22 -05:00
2015-03-08 22:54:22 -04:00
2015-12-17 22:08:28 -05:00
2015-12-24 11:05:47 -05:00
2015-06-23 06:50:35 -07:00
2015-11-18 16:17:42 -05:00
2015-09-08 22:44:42 -07:00
2015-12-14 00:24:22 -05:00
2015-11-20 14:48:27 -05:00
2015-12-31 18:20:10 -05:00
2015-12-08 22:58:01 -05:00
2015-06-23 06:50:35 -07:00
2015-12-27 20:51:40 -05:00
2015-06-23 06:50:35 -07:00
2015-12-29 15:32:25 -05:00
2015-12-14 00:24:22 -05:00
2015-06-23 06:50:35 -07:00
2015-12-28 00:12:13 -05:00
2015-12-29 19:16:08 -08:00
2015-12-17 22:08:28 -05:00
2015-12-31 18:20:10 -05:00
2015-11-04 11:02:12 +00:00
2015-11-20 10:45:20 -05:00
2015-09-21 16:09:02 -07:00
2015-11-18 16:17:42 -05:00
2015-12-19 12:58:46 -05:00
2015-10-16 00:24:10 -07:00
2015-12-18 15:31:36 -05:00
2015-06-23 06:50:35 -07:00
2015-10-27 19:45:23 -07:00
2015-12-03 15:02:24 -05:00
2015-10-16 00:24:10 -07:00
2015-12-15 16:50:08 -05:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-12-31 18:20:10 -05:00
2015-12-06 12:02:24 -05:00
2015-06-23 06:50:35 -07:00
2015-12-28 00:19:38 -05:00
2015-12-31 18:20:10 -05:00
2015-11-18 16:17:41 -05:00
2015-03-08 22:54:22 -04:00
2015-06-23 06:50:35 -07:00
2015-12-23 22:06:39 -05:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-29 12:52:06 -07:00
2015-11-16 14:43:14 -05:00
2015-12-17 22:08:28 -05:00
2015-10-16 00:24:10 -07:00
2015-11-07 13:17:32 -05:00
2015-10-16 00:24:10 -07:00
2015-12-31 18:20:10 -05:00
2015-07-29 15:44:59 +02:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-11-17 14:37:16 -05:00
2015-06-23 06:50:35 -07:00
2015-10-16 00:24:10 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-01-11 21:44:55 -05:00
2015-07-08 16:04:06 -07:00
2015-09-23 15:33:15 -07:00
2014-08-12 12:15:14 -06:00
2015-12-15 16:50:08 -05:00
2015-12-03 21:09:12 -05:00
2014-01-16 11:53:26 -08:00
2014-10-20 16:21:02 +02:00
2015-12-03 21:09:12 -05:00
2014-10-20 16:21:02 +02:00