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)
Fri, Nov 15, 5:24 PM
Unknown Object (File)
Tue, Nov 5, 3:55 AM
Unknown Object (File)
Oct 16 2024, 6:49 PM
Unknown Object (File)
Sep 24 2024, 4:39 AM
Unknown Object (File)
Sep 23 2024, 6:57 AM
Unknown Object (File)
Sep 8 2024, 4:13 PM
Unknown Object (File)
Sep 7 2024, 9:55 PM
Unknown Object (File)
Sep 4 2024, 11:47 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.