1 /*****************************************************************************
4 * Project: GEnesis, PCI Gigabit Ethernet Adapter
5 * Version: $Revision: 1.11 $
6 * Date: $Date: 2003/09/15 13:38:12 $
7 * Purpose: Private Network Management Interface Management Database
9 ****************************************************************************/
11 /******************************************************************************
13 * (C)Copyright 1998-2002 SysKonnect GmbH.
14 * (C)Copyright 2002-2003 Marvell.
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or
19 * (at your option) any later version.
21 * The information in this file is provided "AS IS" without warranty.
23 ******************************************************************************/
26 * PRIVATE OID handler function prototypes
28 PNMI_STATIC
int Addr(SK_AC
*pAC
, SK_IOC IoC
, int action
,
29 SK_U32 Id
, char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
30 unsigned int TableIndex
, SK_U32 NetIndex
);
31 PNMI_STATIC
int CsumStat(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
32 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
33 unsigned int TableIndex
, SK_U32 NetIndex
);
34 PNMI_STATIC
int General(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
35 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
36 unsigned int TableIndex
, SK_U32 NetIndex
);
37 PNMI_STATIC
int Mac8023Stat(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
38 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
39 unsigned int TableIndex
, SK_U32 NetIndex
);
40 PNMI_STATIC
int MacPrivateConf(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
41 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
42 unsigned int TableIndex
, SK_U32 NetIndex
);
43 PNMI_STATIC
int MacPrivateStat(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
44 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
45 unsigned int TableIndex
, SK_U32 NetIndex
);
46 PNMI_STATIC
int Monitor(SK_AC
*pAC
, SK_IOC IoC
, int action
,
47 SK_U32 Id
, char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
48 unsigned int TableIndex
, SK_U32 NetIndex
);
49 PNMI_STATIC
int OidStruct(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
50 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
51 unsigned int TableIndex
, SK_U32 NetIndex
);
52 PNMI_STATIC
int Perform(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
53 char *pBuf
, unsigned int* pLen
, SK_U32 Instance
,
54 unsigned int TableIndex
, SK_U32 NetIndex
);
55 PNMI_STATIC
int Rlmt(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
56 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
57 unsigned int TableIndex
, SK_U32 NetIndex
);
58 PNMI_STATIC
int RlmtStat(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
59 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
60 unsigned int TableIndex
, SK_U32 NetIndex
);
61 PNMI_STATIC
int SensorStat(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
62 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
63 unsigned int TableIndex
, SK_U32 NetIndex
);
64 PNMI_STATIC
int Vpd(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
65 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
66 unsigned int TableIndex
, SK_U32 NetIndex
);
67 PNMI_STATIC
int Vct(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
68 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
69 unsigned int TableIndex
, SK_U32 NetIndex
);
72 PNMI_STATIC
int PowerManagement(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
73 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
74 unsigned int TableIndex
, SK_U32 NetIndex
);
75 #endif /* SK_POWER_MGMT */
77 #ifdef SK_DIAG_SUPPORT
78 PNMI_STATIC
int DiagActions(SK_AC
*pAC
, SK_IOC IoC
, int action
, SK_U32 Id
,
79 char *pBuf
, unsigned int *pLen
, SK_U32 Instance
,
80 unsigned int TableIndex
, SK_U32 NetIndex
);
81 #endif /* SK_DIAG_SUPPORT */
84 /* defines *******************************************************************/
85 #define ID_TABLE_SIZE (sizeof(IdTable)/sizeof(IdTable[0]))
88 /* global variables **********************************************************/
91 * Table to correlate OID with handler function and index to
92 * hardware register stored in StatAddress if applicable.
94 PNMI_STATIC
const SK_PNMI_TAB_ENTRY IdTable
[] = {
99 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX
},
104 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HRX
},
109 SK_PNMI_RO
, General
, 0},
114 SK_PNMI_RO
, General
, 0},
115 {OID_GEN_RCV_NO_BUFFER
,
119 SK_PNMI_RO
, General
, 0},
120 {OID_GEN_DIRECTED_FRAMES_XMIT
,
124 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_UNICAST
},
125 {OID_GEN_MULTICAST_FRAMES_XMIT
,
129 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_MULTICAST
},
130 {OID_GEN_BROADCAST_FRAMES_XMIT
,
134 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_BROADCAST
},
135 {OID_GEN_DIRECTED_FRAMES_RCV
,
139 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HRX_UNICAST
},
140 {OID_GEN_MULTICAST_FRAMES_RCV
,
144 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HRX_MULTICAST
},
145 {OID_GEN_BROADCAST_FRAMES_RCV
,
149 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HRX_BROADCAST
},
150 {OID_GEN_RCV_CRC_ERROR
,
154 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HRX_FCS
},
155 {OID_GEN_TRANSMIT_QUEUE_LENGTH
,
159 SK_PNMI_RO
, General
, 0},
160 {OID_802_3_PERMANENT_ADDRESS
,
164 SK_PNMI_RO
, Mac8023Stat
, 0},
165 {OID_802_3_CURRENT_ADDRESS
,
169 SK_PNMI_RO
, Mac8023Stat
, 0},
170 {OID_802_3_RCV_ERROR_ALIGNMENT
,
174 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HRX_FRAMING
},
175 {OID_802_3_XMIT_ONE_COLLISION
,
179 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_SINGLE_COL
},
180 {OID_802_3_XMIT_MORE_COLLISIONS
,
184 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_MULTI_COL
},
185 {OID_802_3_XMIT_DEFERRED
,
189 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_DEFFERAL
},
190 {OID_802_3_XMIT_MAX_COLLISIONS
,
194 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_EXCESS_COL
},
195 {OID_802_3_RCV_OVERRUN
,
199 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HRX_OVERFLOW
},
200 {OID_802_3_XMIT_UNDERRUN
,
204 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_UNDERRUN
},
205 {OID_802_3_XMIT_TIMES_CRS_LOST
,
209 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_CARRIER
},
210 {OID_802_3_XMIT_LATE_COLLISIONS
,
214 SK_PNMI_RO
, Mac8023Stat
, SK_PNMI_HTX_LATE_COL
},
216 {OID_PNP_CAPABILITIES
,
220 SK_PNMI_RO
, PowerManagement
, 0},
225 SK_PNMI_WO
, PowerManagement
, 0},
226 {OID_PNP_QUERY_POWER
,
230 SK_PNMI_RO
, PowerManagement
, 0},
231 {OID_PNP_ADD_WAKE_UP_PATTERN
,
235 SK_PNMI_WO
, PowerManagement
, 0},
236 {OID_PNP_REMOVE_WAKE_UP_PATTERN
,
240 SK_PNMI_WO
, PowerManagement
, 0},
241 {OID_PNP_ENABLE_WAKE_UP
,
245 SK_PNMI_RW
, PowerManagement
, 0},
246 #endif /* SK_POWER_MGMT */
247 #ifdef SK_DIAG_SUPPORT
252 SK_PNMI_RW
, DiagActions
, 0},
253 #endif /* SK_DIAG_SUPPORT */
254 {OID_SKGE_MDB_VERSION
,
257 SK_PNMI_MAI_OFF(MgmtDBVersion
),
258 SK_PNMI_RO
, General
, 0},
259 {OID_SKGE_SUPPORTED_LIST
,
263 SK_PNMI_RO
, General
, 0},
268 SK_PNMI_RW
, OidStruct
, 0},
269 {OID_SKGE_VPD_FREE_BYTES
,
272 SK_PNMI_MAI_OFF(VpdFreeBytes
),
274 {OID_SKGE_VPD_ENTRIES_LIST
,
277 SK_PNMI_MAI_OFF(VpdEntriesList
),
279 {OID_SKGE_VPD_ENTRIES_NUMBER
,
282 SK_PNMI_MAI_OFF(VpdEntriesNumber
),
287 SK_PNMI_OFF(Vpd
) + SK_PNMI_VPD_OFF(VpdKey
),
292 SK_PNMI_OFF(Vpd
) + SK_PNMI_VPD_OFF(VpdValue
),
294 {OID_SKGE_VPD_ACCESS
,
297 SK_PNMI_OFF(Vpd
) + SK_PNMI_VPD_OFF(VpdAccess
),
299 {OID_SKGE_VPD_ACTION
,
302 SK_PNMI_OFF(Vpd
) + SK_PNMI_VPD_OFF(VpdAction
),
304 {OID_SKGE_PORT_NUMBER
,
307 SK_PNMI_MAI_OFF(PortNumber
),
308 SK_PNMI_RO
, General
, 0},
309 {OID_SKGE_DEVICE_TYPE
,
312 SK_PNMI_MAI_OFF(DeviceType
),
313 SK_PNMI_RO
, General
, 0},
314 {OID_SKGE_DRIVER_DESCR
,
317 SK_PNMI_MAI_OFF(DriverDescr
),
318 SK_PNMI_RO
, General
, 0},
319 {OID_SKGE_DRIVER_VERSION
,
322 SK_PNMI_MAI_OFF(DriverVersion
),
323 SK_PNMI_RO
, General
, 0},
324 {OID_SKGE_DRIVER_RELDATE
,
327 SK_PNMI_MAI_OFF(DriverReleaseDate
),
328 SK_PNMI_RO
, General
, 0},
329 {OID_SKGE_DRIVER_FILENAME
,
332 SK_PNMI_MAI_OFF(DriverFileName
),
333 SK_PNMI_RO
, General
, 0},
337 SK_PNMI_MAI_OFF(HwDescr
),
338 SK_PNMI_RO
, General
, 0},
339 {OID_SKGE_HW_VERSION
,
342 SK_PNMI_MAI_OFF(HwVersion
),
343 SK_PNMI_RO
, General
, 0},
347 SK_PNMI_MAI_OFF(Chipset
),
348 SK_PNMI_RO
, General
, 0},
352 SK_PNMI_MAI_OFF(ChipId
),
353 SK_PNMI_RO
, General
, 0},
357 SK_PNMI_MAI_OFF(RamSize
),
358 SK_PNMI_RO
, General
, 0},
362 SK_PNMI_MAI_OFF(VauxAvail
),
363 SK_PNMI_RO
, General
, 0},
367 SK_PNMI_MAI_OFF(Action
),
368 SK_PNMI_RW
, Perform
, 0},
372 SK_PNMI_MAI_OFF(TestResult
),
373 SK_PNMI_RO
, General
, 0},
377 SK_PNMI_MAI_OFF(BusType
),
378 SK_PNMI_RO
, General
, 0},
382 SK_PNMI_MAI_OFF(BusSpeed
),
383 SK_PNMI_RO
, General
, 0},
387 SK_PNMI_MAI_OFF(BusWidth
),
388 SK_PNMI_RO
, General
, 0},
389 {OID_SKGE_TX_SW_QUEUE_LEN
,
392 SK_PNMI_MAI_OFF(TxSwQueueLen
),
393 SK_PNMI_RO
, General
, 0},
394 {OID_SKGE_TX_SW_QUEUE_MAX
,
397 SK_PNMI_MAI_OFF(TxSwQueueMax
),
398 SK_PNMI_RO
, General
, 0},
402 SK_PNMI_MAI_OFF(TxRetryCts
),
403 SK_PNMI_RO
, General
, 0},
404 {OID_SKGE_RX_INTR_CTS
,
407 SK_PNMI_MAI_OFF(RxIntrCts
),
408 SK_PNMI_RO
, General
, 0},
409 {OID_SKGE_TX_INTR_CTS
,
412 SK_PNMI_MAI_OFF(TxIntrCts
),
413 SK_PNMI_RO
, General
, 0},
414 {OID_SKGE_RX_NO_BUF_CTS
,
417 SK_PNMI_MAI_OFF(RxNoBufCts
),
418 SK_PNMI_RO
, General
, 0},
419 {OID_SKGE_TX_NO_BUF_CTS
,
422 SK_PNMI_MAI_OFF(TxNoBufCts
),
423 SK_PNMI_RO
, General
, 0},
424 {OID_SKGE_TX_USED_DESCR_NO
,
427 SK_PNMI_MAI_OFF(TxUsedDescrNo
),
428 SK_PNMI_RO
, General
, 0},
429 {OID_SKGE_RX_DELIVERED_CTS
,
432 SK_PNMI_MAI_OFF(RxDeliveredCts
),
433 SK_PNMI_RO
, General
, 0},
434 {OID_SKGE_RX_OCTETS_DELIV_CTS
,
437 SK_PNMI_MAI_OFF(RxOctetsDeliveredCts
),
438 SK_PNMI_RO
, General
, 0},
439 {OID_SKGE_RX_HW_ERROR_CTS
,
442 SK_PNMI_MAI_OFF(RxHwErrorsCts
),
443 SK_PNMI_RO
, General
, 0},
444 {OID_SKGE_TX_HW_ERROR_CTS
,
447 SK_PNMI_MAI_OFF(TxHwErrorsCts
),
448 SK_PNMI_RO
, General
, 0},
449 {OID_SKGE_IN_ERRORS_CTS
,
452 SK_PNMI_MAI_OFF(InErrorsCts
),
453 SK_PNMI_RO
, General
, 0},
454 {OID_SKGE_OUT_ERROR_CTS
,
457 SK_PNMI_MAI_OFF(OutErrorsCts
),
458 SK_PNMI_RO
, General
, 0},
459 {OID_SKGE_ERR_RECOVERY_CTS
,
462 SK_PNMI_MAI_OFF(ErrRecoveryCts
),
463 SK_PNMI_RO
, General
, 0},
467 SK_PNMI_MAI_OFF(SysUpTime
),
468 SK_PNMI_RO
, General
, 0},
469 {OID_SKGE_SENSOR_NUMBER
,
472 SK_PNMI_MAI_OFF(SensorNumber
),
473 SK_PNMI_RO
, General
, 0},
474 {OID_SKGE_SENSOR_INDEX
,
475 SK_PNMI_SENSOR_ENTRIES
,
476 sizeof(SK_PNMI_SENSOR
),
477 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorIndex
),
478 SK_PNMI_RO
, SensorStat
, 0},
479 {OID_SKGE_SENSOR_DESCR
,
480 SK_PNMI_SENSOR_ENTRIES
,
481 sizeof(SK_PNMI_SENSOR
),
482 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorDescr
),
483 SK_PNMI_RO
, SensorStat
, 0},
484 {OID_SKGE_SENSOR_TYPE
,
485 SK_PNMI_SENSOR_ENTRIES
,
486 sizeof(SK_PNMI_SENSOR
),
487 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorType
),
488 SK_PNMI_RO
, SensorStat
, 0},
489 {OID_SKGE_SENSOR_VALUE
,
490 SK_PNMI_SENSOR_ENTRIES
,
491 sizeof(SK_PNMI_SENSOR
),
492 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorValue
),
493 SK_PNMI_RO
, SensorStat
, 0},
494 {OID_SKGE_SENSOR_WAR_THRES_LOW
,
495 SK_PNMI_SENSOR_ENTRIES
,
496 sizeof(SK_PNMI_SENSOR
),
497 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorWarningThresholdLow
),
498 SK_PNMI_RO
, SensorStat
, 0},
499 {OID_SKGE_SENSOR_WAR_THRES_UPP
,
500 SK_PNMI_SENSOR_ENTRIES
,
501 sizeof(SK_PNMI_SENSOR
),
502 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorWarningThresholdHigh
),
503 SK_PNMI_RO
, SensorStat
, 0},
504 {OID_SKGE_SENSOR_ERR_THRES_LOW
,
505 SK_PNMI_SENSOR_ENTRIES
,
506 sizeof(SK_PNMI_SENSOR
),
507 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorErrorThresholdLow
),
508 SK_PNMI_RO
, SensorStat
, 0},
509 {OID_SKGE_SENSOR_ERR_THRES_UPP
,
510 SK_PNMI_SENSOR_ENTRIES
,
511 sizeof(SK_PNMI_SENSOR
),
512 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorErrorThresholdHigh
),
513 SK_PNMI_RO
, SensorStat
, 0},
514 {OID_SKGE_SENSOR_STATUS
,
515 SK_PNMI_SENSOR_ENTRIES
,
516 sizeof(SK_PNMI_SENSOR
),
517 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorStatus
),
518 SK_PNMI_RO
, SensorStat
, 0},
519 {OID_SKGE_SENSOR_WAR_CTS
,
520 SK_PNMI_SENSOR_ENTRIES
,
521 sizeof(SK_PNMI_SENSOR
),
522 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorWarningCts
),
523 SK_PNMI_RO
, SensorStat
, 0},
524 {OID_SKGE_SENSOR_ERR_CTS
,
525 SK_PNMI_SENSOR_ENTRIES
,
526 sizeof(SK_PNMI_SENSOR
),
527 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorErrorCts
),
528 SK_PNMI_RO
, SensorStat
, 0},
529 {OID_SKGE_SENSOR_WAR_TIME
,
530 SK_PNMI_SENSOR_ENTRIES
,
531 sizeof(SK_PNMI_SENSOR
),
532 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorWarningTimestamp
),
533 SK_PNMI_RO
, SensorStat
, 0},
534 {OID_SKGE_SENSOR_ERR_TIME
,
535 SK_PNMI_SENSOR_ENTRIES
,
536 sizeof(SK_PNMI_SENSOR
),
537 SK_PNMI_OFF(Sensor
) + SK_PNMI_SEN_OFF(SensorErrorTimestamp
),
538 SK_PNMI_RO
, SensorStat
, 0},
539 {OID_SKGE_CHKSM_NUMBER
,
542 SK_PNMI_MAI_OFF(ChecksumNumber
),
543 SK_PNMI_RO
, General
, 0},
544 {OID_SKGE_CHKSM_RX_OK_CTS
,
546 sizeof(SK_PNMI_CHECKSUM
),
547 SK_PNMI_OFF(Checksum
) + SK_PNMI_CHK_OFF(ChecksumRxOkCts
),
548 SK_PNMI_RO
, CsumStat
, 0},
549 {OID_SKGE_CHKSM_RX_UNABLE_CTS
,
551 sizeof(SK_PNMI_CHECKSUM
),
552 SK_PNMI_OFF(Checksum
) + SK_PNMI_CHK_OFF(ChecksumRxUnableCts
),
553 SK_PNMI_RO
, CsumStat
, 0},
554 {OID_SKGE_CHKSM_RX_ERR_CTS
,
556 sizeof(SK_PNMI_CHECKSUM
),
557 SK_PNMI_OFF(Checksum
) + SK_PNMI_CHK_OFF(ChecksumRxErrCts
),
558 SK_PNMI_RO
, CsumStat
, 0},
559 {OID_SKGE_CHKSM_TX_OK_CTS
,
561 sizeof(SK_PNMI_CHECKSUM
),
562 SK_PNMI_OFF(Checksum
) + SK_PNMI_CHK_OFF(ChecksumTxOkCts
),
563 SK_PNMI_RO
, CsumStat
, 0},
564 {OID_SKGE_CHKSM_TX_UNABLE_CTS
,
566 sizeof(SK_PNMI_CHECKSUM
),
567 SK_PNMI_OFF(Checksum
) + SK_PNMI_CHK_OFF(ChecksumTxUnableCts
),
568 SK_PNMI_RO
, CsumStat
, 0},
571 sizeof(SK_PNMI_STAT
),
572 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxOkCts
),
573 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX
},
574 {OID_SKGE_STAT_TX_OCTETS
,
576 sizeof(SK_PNMI_STAT
),
577 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxOctetsOkCts
),
578 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_OCTET
},
579 {OID_SKGE_STAT_TX_BROADCAST
,
581 sizeof(SK_PNMI_STAT
),
582 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxBroadcastOkCts
),
583 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_BROADCAST
},
584 {OID_SKGE_STAT_TX_MULTICAST
,
586 sizeof(SK_PNMI_STAT
),
587 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxMulticastOkCts
),
588 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_MULTICAST
},
589 {OID_SKGE_STAT_TX_UNICAST
,
591 sizeof(SK_PNMI_STAT
),
592 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxUnicastOkCts
),
593 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_UNICAST
},
594 {OID_SKGE_STAT_TX_LONGFRAMES
,
596 sizeof(SK_PNMI_STAT
),
597 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxLongFramesCts
),
598 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_LONGFRAMES
},
599 {OID_SKGE_STAT_TX_BURST
,
601 sizeof(SK_PNMI_STAT
),
602 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxBurstCts
),
603 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_BURST
},
604 {OID_SKGE_STAT_TX_PFLOWC
,
606 sizeof(SK_PNMI_STAT
),
607 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxPauseMacCtrlCts
),
608 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_PMACC
},
609 {OID_SKGE_STAT_TX_FLOWC
,
611 sizeof(SK_PNMI_STAT
),
612 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxMacCtrlCts
),
613 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_MACC
},
614 {OID_SKGE_STAT_TX_SINGLE_COL
,
616 sizeof(SK_PNMI_STAT
),
617 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxSingleCollisionCts
),
618 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_SINGLE_COL
},
619 {OID_SKGE_STAT_TX_MULTI_COL
,
621 sizeof(SK_PNMI_STAT
),
622 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxMultipleCollisionCts
),
623 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_MULTI_COL
},
624 {OID_SKGE_STAT_TX_EXCESS_COL
,
626 sizeof(SK_PNMI_STAT
),
627 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxExcessiveCollisionCts
),
628 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_EXCESS_COL
},
629 {OID_SKGE_STAT_TX_LATE_COL
,
631 sizeof(SK_PNMI_STAT
),
632 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxLateCollisionCts
),
633 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_LATE_COL
},
634 {OID_SKGE_STAT_TX_DEFFERAL
,
636 sizeof(SK_PNMI_STAT
),
637 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxDeferralCts
),
638 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_DEFFERAL
},
639 {OID_SKGE_STAT_TX_EXCESS_DEF
,
641 sizeof(SK_PNMI_STAT
),
642 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxExcessiveDeferralCts
),
643 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_EXCESS_DEF
},
644 {OID_SKGE_STAT_TX_UNDERRUN
,
646 sizeof(SK_PNMI_STAT
),
647 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxFifoUnderrunCts
),
648 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_UNDERRUN
},
649 {OID_SKGE_STAT_TX_CARRIER
,
651 sizeof(SK_PNMI_STAT
),
652 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxCarrierCts
),
653 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_CARRIER
},
654 /* {OID_SKGE_STAT_TX_UTIL,
656 sizeof(SK_PNMI_STAT),
657 SK_PNMI_OFF(Stat) + SK_PNMI_STA_OFF(StatTxUtilization),
658 SK_PNMI_RO, MacPrivateStat, (SK_U16)(-1)}, */
659 {OID_SKGE_STAT_TX_64
,
661 sizeof(SK_PNMI_STAT
),
662 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTx64Cts
),
663 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_64
},
664 {OID_SKGE_STAT_TX_127
,
666 sizeof(SK_PNMI_STAT
),
667 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTx127Cts
),
668 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_127
},
669 {OID_SKGE_STAT_TX_255
,
671 sizeof(SK_PNMI_STAT
),
672 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTx255Cts
),
673 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_255
},
674 {OID_SKGE_STAT_TX_511
,
676 sizeof(SK_PNMI_STAT
),
677 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTx511Cts
),
678 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_511
},
679 {OID_SKGE_STAT_TX_1023
,
681 sizeof(SK_PNMI_STAT
),
682 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTx1023Cts
),
683 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_1023
},
684 {OID_SKGE_STAT_TX_MAX
,
686 sizeof(SK_PNMI_STAT
),
687 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxMaxCts
),
688 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_MAX
},
689 {OID_SKGE_STAT_TX_SYNC
,
691 sizeof(SK_PNMI_STAT
),
692 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxSyncCts
),
693 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_SYNC
},
694 {OID_SKGE_STAT_TX_SYNC_OCTETS
,
696 sizeof(SK_PNMI_STAT
),
697 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatTxSyncOctetsCts
),
698 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HTX_SYNC_OCTET
},
701 sizeof(SK_PNMI_STAT
),
702 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxOkCts
),
703 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX
},
704 {OID_SKGE_STAT_RX_OCTETS
,
706 sizeof(SK_PNMI_STAT
),
707 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxOctetsOkCts
),
708 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_OCTET
},
709 {OID_SKGE_STAT_RX_BROADCAST
,
711 sizeof(SK_PNMI_STAT
),
712 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxBroadcastOkCts
),
713 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_BROADCAST
},
714 {OID_SKGE_STAT_RX_MULTICAST
,
716 sizeof(SK_PNMI_STAT
),
717 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxMulticastOkCts
),
718 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_MULTICAST
},
719 {OID_SKGE_STAT_RX_UNICAST
,
721 sizeof(SK_PNMI_STAT
),
722 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxUnicastOkCts
),
723 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_UNICAST
},
724 {OID_SKGE_STAT_RX_LONGFRAMES
,
726 sizeof(SK_PNMI_STAT
),
727 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxLongFramesCts
),
728 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_LONGFRAMES
},
729 {OID_SKGE_STAT_RX_PFLOWC
,
731 sizeof(SK_PNMI_STAT
),
732 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxPauseMacCtrlCts
),
733 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_PMACC
},
734 {OID_SKGE_STAT_RX_FLOWC
,
736 sizeof(SK_PNMI_STAT
),
737 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxMacCtrlCts
),
738 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_MACC
},
739 {OID_SKGE_STAT_RX_PFLOWC_ERR
,
741 sizeof(SK_PNMI_STAT
),
742 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxPauseMacCtrlErrorCts
),
743 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_PMACC_ERR
},
744 {OID_SKGE_STAT_RX_FLOWC_UNKWN
,
746 sizeof(SK_PNMI_STAT
),
747 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxMacCtrlUnknownCts
),
748 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_MACC_UNKWN
},
749 {OID_SKGE_STAT_RX_BURST
,
751 sizeof(SK_PNMI_STAT
),
752 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxBurstCts
),
753 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_BURST
},
754 {OID_SKGE_STAT_RX_MISSED
,
756 sizeof(SK_PNMI_STAT
),
757 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxMissedCts
),
758 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_MISSED
},
759 {OID_SKGE_STAT_RX_FRAMING
,
761 sizeof(SK_PNMI_STAT
),
762 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxFramingCts
),
763 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_FRAMING
},
764 {OID_SKGE_STAT_RX_OVERFLOW
,
766 sizeof(SK_PNMI_STAT
),
767 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxFifoOverflowCts
),
768 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_OVERFLOW
},
769 {OID_SKGE_STAT_RX_JABBER
,
771 sizeof(SK_PNMI_STAT
),
772 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxJabberCts
),
773 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_JABBER
},
774 {OID_SKGE_STAT_RX_CARRIER
,
776 sizeof(SK_PNMI_STAT
),
777 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxCarrierCts
),
778 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_CARRIER
},
779 {OID_SKGE_STAT_RX_IR_LENGTH
,
781 sizeof(SK_PNMI_STAT
),
782 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxIRLengthCts
),
783 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_IRLENGTH
},
784 {OID_SKGE_STAT_RX_SYMBOL
,
786 sizeof(SK_PNMI_STAT
),
787 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxSymbolCts
),
788 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_SYMBOL
},
789 {OID_SKGE_STAT_RX_SHORTS
,
791 sizeof(SK_PNMI_STAT
),
792 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxShortsCts
),
793 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_SHORTS
},
794 {OID_SKGE_STAT_RX_RUNT
,
796 sizeof(SK_PNMI_STAT
),
797 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxRuntCts
),
798 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_RUNT
},
799 {OID_SKGE_STAT_RX_CEXT
,
801 sizeof(SK_PNMI_STAT
),
802 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxCextCts
),
803 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_CEXT
},
804 {OID_SKGE_STAT_RX_TOO_LONG
,
806 sizeof(SK_PNMI_STAT
),
807 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxTooLongCts
),
808 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_TOO_LONG
},
809 {OID_SKGE_STAT_RX_FCS
,
811 sizeof(SK_PNMI_STAT
),
812 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxFcsCts
),
813 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_FCS
},
814 /* {OID_SKGE_STAT_RX_UTIL,
816 sizeof(SK_PNMI_STAT),
817 SK_PNMI_OFF(Stat) + SK_PNMI_STA_OFF(StatRxUtilization),
818 SK_PNMI_RO, MacPrivateStat, (SK_U16)(-1)}, */
819 {OID_SKGE_STAT_RX_64
,
821 sizeof(SK_PNMI_STAT
),
822 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRx64Cts
),
823 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_64
},
824 {OID_SKGE_STAT_RX_127
,
826 sizeof(SK_PNMI_STAT
),
827 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRx127Cts
),
828 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_127
},
829 {OID_SKGE_STAT_RX_255
,
831 sizeof(SK_PNMI_STAT
),
832 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRx255Cts
),
833 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_255
},
834 {OID_SKGE_STAT_RX_511
,
836 sizeof(SK_PNMI_STAT
),
837 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRx511Cts
),
838 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_511
},
839 {OID_SKGE_STAT_RX_1023
,
841 sizeof(SK_PNMI_STAT
),
842 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRx1023Cts
),
843 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_1023
},
844 {OID_SKGE_STAT_RX_MAX
,
846 sizeof(SK_PNMI_STAT
),
847 SK_PNMI_OFF(Stat
) + SK_PNMI_STA_OFF(StatRxMaxCts
),
848 SK_PNMI_RO
, MacPrivateStat
, SK_PNMI_HRX_MAX
},
849 {OID_SKGE_PHYS_CUR_ADDR
,
851 sizeof(SK_PNMI_CONF
),
852 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfMacCurrentAddr
),
853 SK_PNMI_RW
, Addr
, 0},
854 {OID_SKGE_PHYS_FAC_ADDR
,
856 sizeof(SK_PNMI_CONF
),
857 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfMacFactoryAddr
),
858 SK_PNMI_RO
, Addr
, 0},
861 sizeof(SK_PNMI_CONF
),
862 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfPMD
),
863 SK_PNMI_RO
, MacPrivateConf
, 0},
866 sizeof(SK_PNMI_CONF
),
867 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfConnector
),
868 SK_PNMI_RO
, MacPrivateConf
, 0},
871 sizeof(SK_PNMI_CONF
),
872 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfPhyType
),
873 SK_PNMI_RO
, MacPrivateConf
, 0},
874 #ifdef SK_PHY_LP_MODE
875 {OID_SKGE_PHY_LP_MODE
,
877 sizeof(SK_PNMI_CONF
),
878 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfPhyMode
),
879 SK_PNMI_RW
, MacPrivateConf
, 0},
883 sizeof(SK_PNMI_CONF
),
884 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfLinkCapability
),
885 SK_PNMI_RO
, MacPrivateConf
, 0},
888 sizeof(SK_PNMI_CONF
),
889 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfLinkMode
),
890 SK_PNMI_RW
, MacPrivateConf
, 0},
891 {OID_SKGE_LINK_MODE_STATUS
,
893 sizeof(SK_PNMI_CONF
),
894 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfLinkModeStatus
),
895 SK_PNMI_RO
, MacPrivateConf
, 0},
896 {OID_SKGE_LINK_STATUS
,
898 sizeof(SK_PNMI_CONF
),
899 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfLinkStatus
),
900 SK_PNMI_RO
, MacPrivateConf
, 0},
901 {OID_SKGE_FLOWCTRL_CAP
,
903 sizeof(SK_PNMI_CONF
),
904 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfFlowCtrlCapability
),
905 SK_PNMI_RO
, MacPrivateConf
, 0},
906 {OID_SKGE_FLOWCTRL_MODE
,
908 sizeof(SK_PNMI_CONF
),
909 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfFlowCtrlMode
),
910 SK_PNMI_RW
, MacPrivateConf
, 0},
911 {OID_SKGE_FLOWCTRL_STATUS
,
913 sizeof(SK_PNMI_CONF
),
914 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfFlowCtrlStatus
),
915 SK_PNMI_RO
, MacPrivateConf
, 0},
916 {OID_SKGE_PHY_OPERATION_CAP
,
918 sizeof(SK_PNMI_CONF
),
919 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfPhyOperationCapability
),
920 SK_PNMI_RO
, MacPrivateConf
, 0},
921 {OID_SKGE_PHY_OPERATION_MODE
,
923 sizeof(SK_PNMI_CONF
),
924 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfPhyOperationMode
),
925 SK_PNMI_RW
, MacPrivateConf
, 0},
926 {OID_SKGE_PHY_OPERATION_STATUS
,
928 sizeof(SK_PNMI_CONF
),
929 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfPhyOperationStatus
),
930 SK_PNMI_RO
, MacPrivateConf
, 0},
933 sizeof(SK_PNMI_CONF
),
934 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfSpeedCapability
),
935 SK_PNMI_RO
, MacPrivateConf
, 0},
936 {OID_SKGE_SPEED_MODE
,
938 sizeof(SK_PNMI_CONF
),
939 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfSpeedMode
),
940 SK_PNMI_RW
, MacPrivateConf
, 0},
941 {OID_SKGE_SPEED_STATUS
,
943 sizeof(SK_PNMI_CONF
),
944 SK_PNMI_OFF(Conf
) + SK_PNMI_CNF_OFF(ConfSpeedStatus
),
945 SK_PNMI_RO
, MacPrivateConf
, 0},
949 SK_PNMI_MAI_OFF(Trap
),
950 SK_PNMI_RO
, General
, 0},
951 {OID_SKGE_TRAP_NUMBER
,
954 SK_PNMI_MAI_OFF(TrapNumber
),
955 SK_PNMI_RO
, General
, 0},
959 SK_PNMI_MAI_OFF(RlmtMode
),
960 SK_PNMI_RW
, Rlmt
, 0},
961 {OID_SKGE_RLMT_PORT_NUMBER
,
964 SK_PNMI_MAI_OFF(RlmtPortNumber
),
965 SK_PNMI_RO
, Rlmt
, 0},
966 {OID_SKGE_RLMT_PORT_ACTIVE
,
969 SK_PNMI_MAI_OFF(RlmtPortActive
),
970 SK_PNMI_RO
, Rlmt
, 0},
971 {OID_SKGE_RLMT_PORT_PREFERRED
,
974 SK_PNMI_MAI_OFF(RlmtPortPreferred
),
975 SK_PNMI_RW
, Rlmt
, 0},
976 {OID_SKGE_RLMT_CHANGE_CTS
,
979 SK_PNMI_MAI_OFF(RlmtChangeCts
),
980 SK_PNMI_RO
, Rlmt
, 0},
981 {OID_SKGE_RLMT_CHANGE_TIME
,
984 SK_PNMI_MAI_OFF(RlmtChangeTime
),
985 SK_PNMI_RO
, Rlmt
, 0},
986 {OID_SKGE_RLMT_CHANGE_ESTIM
,
989 SK_PNMI_MAI_OFF(RlmtChangeEstimate
),
990 SK_PNMI_RO
, Rlmt
, 0},
991 {OID_SKGE_RLMT_CHANGE_THRES
,
994 SK_PNMI_MAI_OFF(RlmtChangeThreshold
),
995 SK_PNMI_RW
, Rlmt
, 0},
996 {OID_SKGE_RLMT_PORT_INDEX
,
998 sizeof(SK_PNMI_RLMT
),
999 SK_PNMI_OFF(Rlmt
) + SK_PNMI_RLM_OFF(RlmtIndex
),
1000 SK_PNMI_RO
, RlmtStat
, 0},
1001 {OID_SKGE_RLMT_STATUS
,
1002 SK_PNMI_MAC_ENTRIES
,
1003 sizeof(SK_PNMI_RLMT
),
1004 SK_PNMI_OFF(Rlmt
) + SK_PNMI_RLM_OFF(RlmtStatus
),
1005 SK_PNMI_RO
, RlmtStat
, 0},
1006 {OID_SKGE_RLMT_TX_HELLO_CTS
,
1007 SK_PNMI_MAC_ENTRIES
,
1008 sizeof(SK_PNMI_RLMT
),
1009 SK_PNMI_OFF(Rlmt
) + SK_PNMI_RLM_OFF(RlmtTxHelloCts
),
1010 SK_PNMI_RO
, RlmtStat
, 0},
1011 {OID_SKGE_RLMT_RX_HELLO_CTS
,
1012 SK_PNMI_MAC_ENTRIES
,
1013 sizeof(SK_PNMI_RLMT
),
1014 SK_PNMI_OFF(Rlmt
) + SK_PNMI_RLM_OFF(RlmtRxHelloCts
),
1015 SK_PNMI_RO
, RlmtStat
, 0},
1016 {OID_SKGE_RLMT_TX_SP_REQ_CTS
,
1017 SK_PNMI_MAC_ENTRIES
,
1018 sizeof(SK_PNMI_RLMT
),
1019 SK_PNMI_OFF(Rlmt
) + SK_PNMI_RLM_OFF(RlmtTxSpHelloReqCts
),
1020 SK_PNMI_RO
, RlmtStat
, 0},
1021 {OID_SKGE_RLMT_RX_SP_CTS
,
1022 SK_PNMI_MAC_ENTRIES
,
1023 sizeof(SK_PNMI_RLMT
),
1024 SK_PNMI_OFF(Rlmt
) + SK_PNMI_RLM_OFF(RlmtRxSpHelloCts
),
1025 SK_PNMI_RO
, RlmtStat
, 0},
1026 {OID_SKGE_RLMT_MONITOR_NUMBER
,
1029 SK_PNMI_MAI_OFF(RlmtMonitorNumber
),
1030 SK_PNMI_RO
, General
, 0},
1031 {OID_SKGE_RLMT_MONITOR_INDEX
,
1032 SK_PNMI_MONITOR_ENTRIES
,
1033 sizeof(SK_PNMI_RLMT_MONITOR
),
1034 SK_PNMI_OFF(RlmtMonitor
) + SK_PNMI_MON_OFF(RlmtMonitorIndex
),
1035 SK_PNMI_RO
, Monitor
, 0},
1036 {OID_SKGE_RLMT_MONITOR_ADDR
,
1037 SK_PNMI_MONITOR_ENTRIES
,
1038 sizeof(SK_PNMI_RLMT_MONITOR
),
1039 SK_PNMI_OFF(RlmtMonitor
) + SK_PNMI_MON_OFF(RlmtMonitorAddr
),
1040 SK_PNMI_RO
, Monitor
, 0},
1041 {OID_SKGE_RLMT_MONITOR_ERRS
,
1042 SK_PNMI_MONITOR_ENTRIES
,
1043 sizeof(SK_PNMI_RLMT_MONITOR
),
1044 SK_PNMI_OFF(RlmtMonitor
) + SK_PNMI_MON_OFF(RlmtMonitorErrorCts
),
1045 SK_PNMI_RO
, Monitor
, 0},
1046 {OID_SKGE_RLMT_MONITOR_TIMESTAMP
,
1047 SK_PNMI_MONITOR_ENTRIES
,
1048 sizeof(SK_PNMI_RLMT_MONITOR
),
1049 SK_PNMI_OFF(RlmtMonitor
) + SK_PNMI_MON_OFF(RlmtMonitorTimestamp
),
1050 SK_PNMI_RO
, Monitor
, 0},
1051 {OID_SKGE_RLMT_MONITOR_ADMIN
,
1052 SK_PNMI_MONITOR_ENTRIES
,
1053 sizeof(SK_PNMI_RLMT_MONITOR
),
1054 SK_PNMI_OFF(RlmtMonitor
) + SK_PNMI_MON_OFF(RlmtMonitorAdmin
),
1055 SK_PNMI_RW
, Monitor
, 0},
1059 SK_PNMI_MAI_OFF(MtuSize
),
1060 SK_PNMI_RW
, MacPrivateConf
, 0},
1065 SK_PNMI_RO
, Vct
, 0},
1070 SK_PNMI_WO
, Vct
, 0},
1071 {OID_SKGE_VCT_STATUS
,
1075 SK_PNMI_RO
, Vct
, 0},
1076 {OID_SKGE_BOARDLEVEL
,
1080 SK_PNMI_RO
, General
, 0},