void *(*alloc_rx_desc)(struct net_device *ndev, int q);
        bool (*receive)(struct net_device *ndev, int *quota, int q);
        void (*set_rate)(struct net_device *ndev);
+       int (*set_rx_csum_feature)(struct net_device *ndev, netdev_features_t features);
        const char (*gstrings_stats)[ETH_GSTRING_LEN];
        size_t gstrings_size;
        netdev_features_t net_hw_features;
 
        spin_unlock_irqrestore(&priv->lock, flags);
 }
 
-static int ravb_set_features(struct net_device *ndev,
-                            netdev_features_t features)
+static int ravb_set_features_rx_csum(struct net_device *ndev,
+                                    netdev_features_t features)
 {
        netdev_features_t changed = ndev->features ^ features;
 
        return 0;
 }
 
+static int ravb_set_features(struct net_device *ndev,
+                            netdev_features_t features)
+{
+       struct ravb_private *priv = netdev_priv(ndev);
+       const struct ravb_hw_info *info = priv->info;
+
+       return info->set_rx_csum_feature(ndev, features);
+}
+
 static const struct net_device_ops ravb_netdev_ops = {
        .ndo_open               = ravb_open,
        .ndo_stop               = ravb_close,
        .alloc_rx_desc = ravb_alloc_rx_desc,
        .receive = ravb_rcar_rx,
        .set_rate = ravb_set_rate,
+       .set_rx_csum_feature = ravb_set_features_rx_csum,
        .gstrings_stats = ravb_gstrings_stats,
        .gstrings_size = sizeof(ravb_gstrings_stats),
        .net_hw_features = NETIF_F_RXCSUM,
        .alloc_rx_desc = ravb_alloc_rx_desc,
        .receive = ravb_rcar_rx,
        .set_rate = ravb_set_rate,
+       .set_rx_csum_feature = ravb_set_features_rx_csum,
        .gstrings_stats = ravb_gstrings_stats,
        .gstrings_size = sizeof(ravb_gstrings_stats),
        .net_hw_features = NETIF_F_RXCSUM,