sfxge(4): group Medford external port mapping entries
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18200
This commit is contained in:
parent
b14569a458
commit
259a7b375b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341125
@ -1378,21 +1378,6 @@ static struct ef10_external_port_map_s {
|
|||||||
1, /* ports per cage */
|
1, /* ports per cage */
|
||||||
1 /* first cage */
|
1 /* first cage */
|
||||||
},
|
},
|
||||||
/*
|
|
||||||
* Modes that on Medford allocate each port number to a separate
|
|
||||||
* cage.
|
|
||||||
* port 0 -> cage 1
|
|
||||||
* port 1 -> cage 2
|
|
||||||
* port 2 -> cage 3
|
|
||||||
* port 3 -> cage 4
|
|
||||||
*/
|
|
||||||
{
|
|
||||||
EFX_FAMILY_MEDFORD,
|
|
||||||
(1U << TLV_PORT_MODE_10G) | /* mode 0 */
|
|
||||||
(1U << TLV_PORT_MODE_10G_10G), /* mode 2 */
|
|
||||||
1, /* ports per cage */
|
|
||||||
1 /* first cage */
|
|
||||||
},
|
|
||||||
/*
|
/*
|
||||||
* Modes which for Huntington identify a chip variant where 2
|
* Modes which for Huntington identify a chip variant where 2
|
||||||
* adjacent port numbers map to each cage.
|
* adjacent port numbers map to each cage.
|
||||||
@ -1411,6 +1396,21 @@ static struct ef10_external_port_map_s {
|
|||||||
2, /* ports per cage */
|
2, /* ports per cage */
|
||||||
1 /* first cage */
|
1 /* first cage */
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
* Modes that on Medford allocate each port number to a separate
|
||||||
|
* cage.
|
||||||
|
* port 0 -> cage 1
|
||||||
|
* port 1 -> cage 2
|
||||||
|
* port 2 -> cage 3
|
||||||
|
* port 3 -> cage 4
|
||||||
|
*/
|
||||||
|
{
|
||||||
|
EFX_FAMILY_MEDFORD,
|
||||||
|
(1U << TLV_PORT_MODE_10G) | /* mode 0 */
|
||||||
|
(1U << TLV_PORT_MODE_10G_10G), /* mode 2 */
|
||||||
|
1, /* ports per cage */
|
||||||
|
1 /* first cage */
|
||||||
|
},
|
||||||
/*
|
/*
|
||||||
* Modes that on Medford allocate 2 adjacent port numbers to each
|
* Modes that on Medford allocate 2 adjacent port numbers to each
|
||||||
* cage.
|
* cage.
|
||||||
|
Loading…
Reference in New Issue
Block a user