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