[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240709045609.GA3082655@maili.marvell.com>
Date: Tue, 9 Jul 2024 10:26:09 +0530
From: Ratheesh Kannoth <rkannoth@...vell.com>
To: Cindy Lu <lulu@...hat.com>
CC: <dtatulea@...dia.com>, <mst@...hat.com>, <jasowang@...hat.com>,
<parav@...dia.com>, <sgarzare@...hat.com>, <netdev@...r.kernel.org>,
<virtualization@...ts.linux-foundation.org>,
<linux-kernel@...r.kernel.org>, <kvm@...r.kernel.org>
Subject: Re: [PATCH] vdpa/mlx5: Add the support of set mac address
On 2024-07-08 at 12:25:49, Cindy Lu (lulu@...hat.com) wrote:
> +static int mlx5_vdpa_set_attr_mac(struct vdpa_mgmt_dev *v_mdev,
> + struct vdpa_device *dev,
> + const struct vdpa_dev_set_config *add_config)
> +{
> + struct mlx5_vdpa_dev *mvdev = to_mvdev(dev);
> + struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev);
> + struct mlx5_core_dev *mdev = mvdev->mdev;
> + struct virtio_net_config *config = &ndev->config;
> + int err;
> + struct mlx5_core_dev *pfmdev;
nit: reverse xmas tree; may be, split assigment and definition.
>
Powered by blists - more mailing lists