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)
Nov 18 2024, 7:27 PM
Unknown Object (File)
Nov 18 2024, 7:17 PM
Unknown Object (File)
Nov 18 2024, 7:16 PM
Unknown Object (File)
Nov 18 2024, 5:40 PM
Unknown Object (File)
Nov 15 2024, 5:24 PM
Unknown Object (File)
Nov 5 2024, 3:55 AM
Unknown Object (File)
Oct 16 2024, 6:49 PM
Unknown Object (File)
Sep 24 2024, 4:39 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

Lint
Lint Skipped
Unit
Tests Skipped

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.