From: Shannon Nelson <snel...@pensando.io>
Date: Mon, 22 Jul 2019 14:40:22 -0700

> diff --git a/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 
> b/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
> index 742d7d47f4d8..e6b579a40b70 100644
> --- a/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
> +++ b/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
> @@ -377,6 +377,75 @@ static int ionic_get_coalesce(struct net_device *netdev,
>       return 0;
>  }
>  
> +static int ionic_set_coalesce(struct net_device *netdev,
> +                           struct ethtool_coalesce *coalesce)
> +{
> +     struct lif *lif = netdev_priv(netdev);
> +     struct identity *ident = &lif->ionic->ident;
> +     struct ionic_dev *idev = &lif->ionic->idev;
> +     u32 tx_coal, rx_coal;
> +     struct qcq *qcq;
> +     unsigned int i;

Reverse christmas tree please.

Reply via email to