dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* VF default MAC change
@ 2016-07-31 16:40 Garik E
  2016-08-01  0:47 ` Lu, Wenzhuo
  2016-08-01  1:53 ` Zhang, Helin
  0 siblings, 2 replies; 3+ messages in thread
From: Garik E @ 2016-07-31 16:40 UTC (permalink / raw)
  To: dev; +Cc: Lu, Wenzhuo

Hello,

I'm looking for API to update default VF MAC address during DPDK port
initialization.
The API should replace shell command  `ip link set <DEV> vf <ID> mac
<address>'
Target controllers are Intel 10G, Intel 40G

Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: VF default MAC change
  2016-07-31 16:40 VF default MAC change Garik E
@ 2016-08-01  0:47 ` Lu, Wenzhuo
  2016-08-01  1:53 ` Zhang, Helin
  1 sibling, 0 replies; 3+ messages in thread
From: Lu, Wenzhuo @ 2016-08-01  0:47 UTC (permalink / raw)
  To: Garik E, dev@dpdk.org

Hi Garik,

From: Garik E [mailto:kiragon@gmail.com]
Sent: Monday, August 1, 2016 12:40 AM
To: dev@dpdk.org
Cc: Lu, Wenzhuo
Subject: VF default MAC change

Hello,

I'm looking for API to update default VF MAC address during DPDK port initialization.
The API should replace shell command  `ip link set <DEV> vf <ID> mac <address>'
Target controllers are Intel 10G, Intel 40G
[Wenzhuo] I think you’re looking for this one, rte_eth_dev_default_mac_addr_set. But it’s not supported by all the NICs. Talking about VF, only igb and ixgbe support it.

Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: VF default MAC change
  2016-07-31 16:40 VF default MAC change Garik E
  2016-08-01  0:47 ` Lu, Wenzhuo
@ 2016-08-01  1:53 ` Zhang, Helin
  1 sibling, 0 replies; 3+ messages in thread
From: Zhang, Helin @ 2016-08-01  1:53 UTC (permalink / raw)
  To: Garik E, dev@dpdk.org; +Cc: Lu, Wenzhuo

Garik

Currently the permanent mac address of VF should be configured from host side.
If you are using Linux kernel driver as the host driver. 'ip link set' is the right way to do that.

Regards,
Helin

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Garik E
> Sent: Monday, August 1, 2016 12:40 AM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo <wenzhuo.lu@intel.com>
> Subject: [dpdk-dev] VF default MAC change
> 
> Hello,
> 
> I'm looking for API to update default VF MAC address during DPDK port
> initialization.
> The API should replace shell command  `ip link set <DEV> vf <ID> mac
> <address>'
> Target controllers are Intel 10G, Intel 40G
> 
> Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-01  1:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-31 16:40 VF default MAC change Garik E
2016-08-01  0:47 ` Lu, Wenzhuo
2016-08-01  1:53 ` Zhang, Helin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).