aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNeerav Parikh <[email protected]>2014-02-12 01:45:31 +0000
committerJeff Kirsher <[email protected]>2014-07-16 11:57:22 -0700
commit1f224ad2f760288dcc58b26546892a6b200b2af2 (patch)
treeaf206edeafd12963051261f36a284a600619dc84 /tools/perf/scripts/python
parenta84bc2a9013fb123deeca7283480955d021503fb (diff)
i40e: Add ndo_get_phys_port_id() callback support
This patch adds a new API to get the port mac address from firmware. It also adds support to the ndo_get_phys_port_id() callback to provide port specific unique id to the netdev layer. If the adapter has a valid per-port mac address then that would be used for this purpose and is expected to be unique on a per-port basis. The information can be viewed by reading the phys_port_id attribute in sysfs for each netdev or via IF netlink interface. Change-ID: I341fa6fff9c112f1f6d987189309e730e0b50e8b Signed-off-by: Neerav Parikh <[email protected]> Acked-by: Shannon Nelson <[email protected]> Tested-by: Jim Young <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions