/* Process the status bits for the received packet and determine if the checksum was computed and verified by the hardware  */
static void velocity_rx_csum(struct rx_desc *rd, struct sk_buff *skb)
/* Process the status bits for the received packet and determine if the checksum was computed and verified by the hardware  */
static void velocity_rx_csum(struct rx_desc *rd, struct sk_buff *skb)
{
	skb->ip_summed = CHECKSUM_NONE;
	if (rd->rdesc1.CSM & CSM_IPKT) {
		if (rd->rdesc1.CSM & CSM_IPOK) {
			if ((rd->rdesc1.CSM & CSM_TCPKT) ||
					(rd->rdesc1.CSM & CSM_UDPKT)) {
				if (!(rd->rdesc1.CSM & CSM_TUPOK))
					return;
			}
			skb->ip_summed = CHECKSUM_UNNECESSARY;
		}
	}
}