[dpdk-dev] [PATCH v2] net/mlx5: set VF MAC address from host

Raslan Darawsheh rasland at mellanox.com
Mon Nov 11 15:03:10 CET 2019


Hi,

> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Raslan Darawsheh
> Sent: Monday, November 11, 2019 1:40 PM
> To: Slava Ovsiienko <viacheslavo at mellanox.com>
> Cc: Thomas Monjalon <thomas at monjalon.net>; dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2] net/mlx5: set VF MAC address from host
> 
> Allow to configure the default MAC address of a VF
> via its representor port in the host.
> 
> An API was proposed to specify explicitly the VF as a
> target:
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> es.dpdk.org%2Fpatch%2F62176%2F&data=02%7C01%7Crasland%40mell
> anox.com%7Ceae200f7fe9a4dfd9f4a08d7669bf317%7Ca652971c7d2e4d9ba6a
> 4d149256f461b%7C0%7C0%7C637090692316231424&sdata=r%2Faxjgak6
> wG8192hP8iXGmM9i67ZwcxGRcNYhgirl5Y%3D&reserved=0
> 
> It has been rejected by the technical board in order to
> keep compatibility with behavior in Intel PMDs.
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmails.
> dpdk.org%2Farchives%2Fdev%2F2019-
> November%2F150588.html&data=02%7C01%7Crasland%40mellanox.co
> m%7Ceae200f7fe9a4dfd9f4a08d7669bf317%7Ca652971c7d2e4d9ba6a4d1492
> 56f461b%7C0%7C0%7C637090692316231424&sdata=5ST1D5mGMze5IGa
> LSm%2FjwbQuB4bs0UJ1HsaVqEoxfzo%3D&reserved=0
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
> ---
> v2: use RTE_PTR_DIFF, and change the use of representor id to representor
> bit
> ---
>  drivers/net/mlx5/mlx5.h     |  2 +
>  drivers/net/mlx5/mlx5_mac.c | 20 +++++++++
>  drivers/net/mlx5/mlx5_nl.c  | 98
> ++++++++++++++++++++++++++++++++++++++++++++-
>  3 files changed, 119 insertions(+), 1 deletion(-)
> 


Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list