Hi,

These RFCs could be the ones we are looking for pktio interface level counters. 

https://tools.ietf.org/html/rfc3635
https://tools.ietf.org/html/rfc2863
https://tools.ietf.org/html/rfc2819


The editor tool can be used to double check which RFC is the lastest...
https://www.rfc-editor.org/info/rfc3635
https://www.rfc-editor.org/info/rfc2863


The counters could be these, but in 64 bit version in ODP API.

For example, ifInOctets would be specified as

typedef struct {
  uint64_t in_octets;
  uint64_t in_ucastpkts;
...

} odp_pktio_stat_counters_t;



ifInOctets
ifInUcastPkts
ifInDiscards
ifInErrors
ifInUnknownProtos
ifOutOctets
ifOutUcastPkts
ifOutDiscards
ifOutErrors


ifInOctets                      The number of octets in valid MAC frames
                                received on this interface, including
                                the MAC header and FCS.  This does
                                include the number of octets in valid
                                MAC Control frames received on this
                                Interface


ifInUcastPkts                   Refer to [RFC2863].  Note that this does
                                not include MAC Control frames

...


-Petri






_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to