diff options
| author | Ken ICHIKAWA <[email protected]> | 2014-03-21 03:37:24 -0700 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-03-21 03:37:24 -0700 |
| commit | 0f49da0e78f445d7a7e3e566ae4871c9428b0448 (patch) | |
| tree | 94c43b2269076a7a50aa04158b0a47be0ac4e287 /tools/perf/scripts/python | |
| parent | db41b87db93e1ef28b6e9c4035f1cdc17e2eceb2 (diff) | |
igb: specify phc_index of 82575 for get_ts_info
82575 has only software timestamping capability and it has
no PTP Hardware Clocks. Therefore, -1 has to be specified
to the phc_index for ethtool's get_ts_info, otherwise a wrong
value will be set to the phc_index.
v2: move the if (adapter->ptp_clock) section specifying phc_index
to above the switch statement as suggested by Matthew Vick.
adapter->ptpclock will always be NULL for 82575.
Signed-off-by: Ken ICHIKAWA <[email protected]>
Acked-by: Matthew Vick <[email protected]>
Tested-by: Jeff Pieper <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions