aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2017-06-07 05:43:04 -0400
committerJeff Kirsher <[email protected]>2017-06-20 18:17:10 -0700
commit15d23b4c361f1449d44249bea127d2bdb981aa01 (patch)
tree268a22226b6b4a803a36c96650d4c09df6458095 /tools/perf/scripts/python/event_analyzing_sample.py
parent59e331e36ef934791947a616cc578bf3c62a019c (diff)
i40e: comment that udp_port must be in host byte order
The firmware expects the port number passed when setting up the UDP tunnel configuration to be in Little Endian format. The i40e_aq_add_udp_tunnel command byte swaps the value from host order to Little Endian. Since commit fe0b0cd97b4f ("i40e: send correct port number to AdminQ when enabling UDP tunnels") we've correctly sent the value in host order. Let's also add a comment to the function explaining that it must be in host order, as the port numbers are commonly stored as Big Endian values. Signed-off-by: Jacob Keller <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions