struct e1000_adapter *adapter = netdev->priv;
struct e1000_adapter *adapter = netdev_priv(netdev);
e1000_set_rx_csum(struct net_device *netdev, uint32_t data){	struct e1000_adapter *adapter = netdev->priv;	adapter->rx_csum = data;	if(netif_running(netdev)) {		e1000_down(adapter);		e1000_up(adapter);	} else		e1000_reset(adapter);	return 0;}