rtl8139: use inline net_crc32() and bitshift instead of compute_mcast_idx()
commite7a58fc71ca039ae46590e9395467cea283d259c
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 15 Dec 2017 18:41:54 +0000 (15 18:41 +0000)
committerJason Wang <jasowang@redhat.com>
Fri, 22 Dec 2017 02:01:27 +0000 (22 10:01 +0800)
tree29ef82d1cd75dfa64b22d1052424906a6a25424f
parent084e2b111bb9c809fd53563e3b5ef1ea3bef08ad
rtl8139: 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/rtl8139.c