add a new api: rte_eth_dev_default_mac_addr_set to
support changing default mac address of a NIC
Signed-off-by: Liang-Min Larry Wang
---
lib/librte_ether/rte_ethdev.c | 26 ++
lib/librte_ether/rte_ethdev.h | 14 ++
lib/librte_ether/rte_ether_
On Fri, 29 May 2015 09:15:08 -0400
Liang-Min Larry Wang wrote:
> }
>
> int
> +rte_eth_dev_default_mac_addr_set(uint8_t port_id, struct ether_addr *addr)
> +{
> + struct rte_eth_dev *dev;
> + const int index = 0;
> + const uint32_t pool = 0;
> +
> + if (!rte_eth_dev_is_valid_po
>On Fri, 29 May 2015 09:15:08 -0400
>Liang-Min Larry Wang wrote:
>
>> }
> >
>> int
>> +rte_eth_dev_default_mac_addr_set(uint8_t port_id, struct ether_addr
>> +*addr) {
>> +struct rte_eth_dev *dev;
>> +const int index = 0;
>> +const uint32_t pool = 0;
>> +
>> +if (!rte_eth_dev_
add a new api: rte_eth_dev_default_mac_addr_set to
support changing default mac address of a NIC
Signed-off-by: Liang-Min Larry Wang
---
lib/librte_ether/rte_ethdev.c | 16
lib/librte_ether/rte_ethdev.h | 14 ++
lib/librte_ether/rte_ether_version.ma
add a new api: rte_eth_dev_default_mac_addr_set to
support changing default mac address of a NIC
Signed-off-by: Liang-Min Larry Wang
---
lib/librte_ether/rte_ethdev.c | 18 ++
lib/librte_ether/rte_ethdev.h | 14 ++
lib/librte_ether/rte_ether_version.
On 5/29/15, 5:37 PM, "Liang-Min Larry Wang"
wrote:
>add a new api: rte_eth_dev_default_mac_addr_set to
>support changing default mac address of a NIC
>
>Signed-off-by: Liang-Min Larry Wang
>---
> lib/librte_ether/rte_ethdev.c | 18 ++
> lib/librte_ether/rte_ethdev.h
> -Original Message-
> From: Wang, Liang-min
> Sent: Friday, May 29, 2015 8:27 PM
> To: dev at dpdk.org
> Cc: Richardson, Bruce; Ananyev, Konstantin; dharton at cisco.com; agh at
> cisco.com; Wang, Liang-min
> Subject: [PATCH 1/2] ethdev: add api to set default mac address
>
> add a new
2015-06-02 10:52, Ananyev, Konstantin:
> From: Wang, Liang-min
> > int
> > +rte_eth_dev_default_mac_addr_set(uint8_t port_id, struct ether_addr *addr)
> > +{
> > + struct rte_eth_dev *dev;
> > +
> > + if (!rte_eth_dev_is_valid_port(port_id)) {
> > + PMD_DEBUG_TRACE("Invalid port_id=%
>> -Original Message-
>> From: Wang, Liang-min
>> Sent: Friday, May 29, 2015 8:27 PM
>> To: dev at dpdk.org
>> Cc: Richardson, Bruce; Ananyev, Konstantin; dharton at cisco.com;
> >agh at cisco.com; Wang, Liang-min
>> Subject: [PATCH 1/2] ethdev: add api to set default mac address
> >
>> a
> -Original Message-
> From: Wang, Liang-min
> Sent: Tuesday, June 02, 2015 1:24 PM
> To: Ananyev, Konstantin; dev at dpdk.org
> Cc: Richardson, Bruce; dharton at cisco.com; agh at cisco.com
> Subject: RE: [PATCH 1/2] ethdev: add api to set default mac address
>
>
> >> -Original Mes
On Tue, 02 Jun 2015 14:23:22 +0200
Thomas Monjalon wrote:
> 2015-06-02 10:52, Ananyev, Konstantin:
> > From: Wang, Liang-min
> > > int
> > > +rte_eth_dev_default_mac_addr_set(uint8_t port_id, struct ether_addr
> > > *addr)
> > > +{
> > > + struct rte_eth_dev *dev;
> > > +
> > > + if (!rte_eth
>On Tue, 02 Jun 2015 14:23:22 +0200
>Thomas Monjalon wrote:
>> 2015-06-02 10:52, Ananyev, Konstantin:
> >> From: Wang, Liang-min
> > >> int
> > >>+rte_eth_dev_default_mac_addr_set(uint8_t port_id, struct
> > >> +ether_addr *addr) {
> > >> +struct rte_eth_dev *dev;
> > >> +
> > >> +
12 matches
Mail list logo