[dpdk-users] e1000 port stats

Sridhar.V.Iyer sridhariyer at versa-networks.com
Thu Nov 19 03:11:36 CET 2015


Hi,

In DPDK/lib/librte_pmd_e1000/em_ethdev.c:889 (eth_em_stats_get), for some reason, ibytes and obytes are not getting update, ipackets/opackets seem to be fine (kvm using e1000)

(gdb) p *rte_stats
$3 = {ipackets = 228635, opackets = 350, ibytes = 0, obytes = 0, imissed = 0, ibadcrc = 0, ibadlen = 0, ierrors = 0, oerrors = 0, imcasts = 0, rx_nombuf = 0, igoodpkts = 0,
  fdirmatch = 0, fdirmiss = 0, tx_pause_xon = 0, rx_pause_xon = 0, tx_pause_xoff = 0, rx_pause_xoff = 0, q_ipackets = {0 <repeats 16 times>}, q_opackets = {0 <repeats 16 times>},
  q_ibytes = {0 <repeats 16 times>}, q_obytes = {0 <repeats 16 times>}, q_errors = {0 <repeats 16 times>}, ilbpackets = 0, olbpackets = 0, ilbbytes = 0, olbbytes = 0, hw_stats = {
    crcerrs = 0, illerrc = 0, errbc = 0, mpc = {0, 0, 0, 0, 0, 0, 0, 0}, mlfc = 0, mrfc = 0, rlec = 0, lxontxc = 0, lxonrxc = 0, lxofftxc = 0, lxoffrxc = 0, pxontxc = {0, 0, 0, 0,
      0, 0, 0, 0}, pxonrxc = {0, 0, 0, 0, 0, 0, 0, 0}, pxofftxc = {0, 0, 0, 0, 0, 0, 0, 0}, pxoffrxc = {0, 0, 0, 0, 0, 0, 0, 0}, pxon2offc = {0, 0, 0, 0, 0, 0, 0, 0}, prc64 = 0,
    prc127 = 0, prc255 = 0, prc511 = 0, prc1023 = 0, prc1522 = 0, bprc = 0, mprc = 0, gprc = 0, gorc = 0, gptc = 0, gotc = 0, ruc = 0, rfc = 0, roc = 0, rjc = 0, mngprc = 0,
    mngptc = 0, tor = 0, tpr = 0, tpt = 0, ptc64 = 0, ptc127 = 0, ptc255 = 0, ptc511 = 0, ptc1023 = 0, ptc1522 = 0, mptc = 0, bptc = 0, mspdc = 0, xec = 0, otxdropcnt = 0,
    orxdropcnt = 0}}

This works fine on esxi guests using e1000.

I'm using dpdk 1.7. Any pointers would be great.

Regards,
Sridhar.V.Iyer








 <http://www.versa-networks.com/> <http://www.versa-networks.com/>


More information about the users mailing list