HomeFreeBSD

enetc: Fix VID/mcast address hash calculation

Description

enetc: Fix VID/mcast address hash calculation

The hash is calculated by XOR-ing together bits of the VID.
Prepend a statement with "!!" to make sure that we're get bit 0
on both sides of the equation.

Obtained from: Semihalf
Sponsored by: Alstom Group

Details

Provenance
kdAuthored on Nov 30 2021, 8:23 AM
wmaCommitted on Dec 8 2021, 8:32 AM
Parents
rG49c2c62889b0: sys/_bitset.h: Fix fall-out from commit 5e04571cf3c
Branches
Unknown
Tags
Unknown