]> git.ipfire.org Git - thirdparty/qemu.git/commit
lan9118: use inline net_crc32() and bitshift instead of compute_mcast_idx()
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 15 Dec 2017 18:41:51 +0000 (18:41 +0000)
committerJason Wang <jasowang@redhat.com>
Fri, 22 Dec 2017 02:01:27 +0000 (10:01 +0800)
commiteedeaee73ac47341efca4c06e3ccb0029ee9332f
treeb3e05b8fbb3707f27871c08f7812a804cd694ad6
parent308913bb431104f34f5c2e35eaaf297ff3e8ec7b
lan9118: use inline net_crc32() and bitshift instead of compute_mcast_idx()

This makes it much easier to compare the multicast CRC calculation endian and
bitshift against the Linux driver implementation.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/lan9118.c