summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-05-12 22:01:42 -0700
committerJakub Kicinski <kuba@kernel.org>2025-05-14 19:24:43 -0700
commita1dc1deeacbe65ebd3968bc4d14f14f8d696b184 (patch)
treeedf827cc8161e39b435cd30930ecef6647337b8d /tools/perf/scripts/python/export-to-postgresql.py
parent88906f55954131ed2d3974e044b7fb48129b86ae (diff)
net: apple: bmac: use crc32() instead of hand-rolled equivalent
The calculation done by bmac_crc(addr) followed by taking the low 6 bits and reversing them is equivalent to taking the high 6 bits from crc32(~0, addr, ETH_ALEN). Just do that instead. Signed-off-by: Eric Biggers <ebiggers@google.com> Link: https://patch.msgid.link/20250513050142.635391-1-ebiggers@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions