vfstats

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package vfstats contains methods to pull the SRIOV stats from various locations in linux

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type PerPF

type PerPF struct {
	Vfs map[int]netlink.VfInfo
	// contains filtered or unexported fields
}

PerPF returns stats related to each virtual function for a given physical function

func VfStats

func VfStats(pf string) PerPF

VfStats returns the stats for all of the SRIOV Virtual Functions attached to the given Physical Function

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL