OSDN Git Service

ftgmac100: 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:52 +0000 (18:41 +0000)
committerJason Wang <jasowang@redhat.com>
Fri, 22 Dec 2017 02:01:27 +0000 (10:01 +0800)
commit4227be63f081e939ae7313b1921d8f60a5d8d714
treec163a180d36a62512deb0e4c58148662fa1e5ba1
parenteedeaee73ac47341efca4c06e3ccb0029ee9332f
ftgmac100: 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/ftgmac100.c