aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJie Wang <[email protected]>2022-05-09 15:55:29 +0800
committerDavid S. Miller <[email protected]>2022-05-09 14:30:37 +0100
commit767975e582c50b39d633f6e1c4bb99cc1f156efb (patch)
treedd0db1861fb88d91fa0e2229329ea6d69c026a8e /tools/perf/scripts/python/bin/export-to-postgresql-report
parentbbed702412041c370d336f076b783bc9e5e04c21 (diff)
net: hns3: add byte order conversion for PF to VF mailbox message
Currently, hns3 mailbox processing between PF and VF missed to convert message byte order and use data type u16 instead of __le16 for mailbox data process. These processes may cause problems between different architectures. So this patch uses __le16/__le32 data type to define mailbox data structures. To be compatible with old hns3 driver, these structures use one-byte alignment. Then byte order conversions are added to mailbox messages from PF to VF. Signed-off-by: Jie Wang <[email protected]> Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions