Page MenuHomeFreeBSD

[PowerPC64] pseries-llan: increment packet output counters on error and success
ClosedPublic

Authored by alfredo on Apr 22 2019, 3:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 21, 12:14 PM
Unknown Object (File)
Sun, Apr 21, 12:14 PM
Unknown Object (File)
Sun, Apr 21, 12:14 PM
Unknown Object (File)
Sun, Apr 21, 12:14 PM
Unknown Object (File)
Fri, Apr 19, 10:08 PM
Unknown Object (File)
Feb 11 2024, 5:23 PM
Unknown Object (File)
Jan 27 2024, 4:17 AM
Unknown Object (File)
Jan 27 2024, 4:17 AM

Details

Summary

when using pseries-llan driver, Opkts and Oerrs counters (netstat -i) are always zero. This patch adds an small error handling to increment these counters.

Test Plan

Test network interface on QEMU-PowerPC64 with kernel built with both ELFv1 and ELFv2 ABIs

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I think this really is two different revisions: Fix hypercalls on ELFv2, and fix ifnet counters on llan.

jhibbits added a reviewer: jhibbits.
alfredo retitled this revision from [PowerPC64] fix pseries llan driver not working on ELFv2 ABI kernel to [PowerPC64] fix pseries llan driver not working on ELFv2 ABI kernel and increment packet output counters on success and error.Apr 22 2019, 3:52 PM
alfredo edited the summary of this revision. (Show Details)
alfredo edited the test plan for this revision. (Show Details)
alfredo retitled this revision from [PowerPC64] fix pseries llan driver not working on ELFv2 ABI kernel and increment packet output counters on success and error to [PowerPC64] pseries-llan: increment packet output counters on error and success.
alfredo edited the summary of this revision. (Show Details)

Split error handing from the fix. Fix is being reviewed by D20008.

This revision is now accepted and ready to land.Apr 22 2019, 4:21 PM
This revision was automatically updated to reflect the committed changes.