Re: [dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs

2018-06-19 Thread Alex Kiselev
> On Mon, 18 Jun 2018 15:27:16 +0300 > Alex Kiselev wrote: >> +/* >> + * Remove additional MAC addresses from the slave >> + */ >> +int >> +slave_remove_mac_addresses(struct rte_eth_dev *bonded_eth_dev, >> + uint16_t slave_port_id) >> +{ >> + int i, ret; >> + struct ether_a

Re: [dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs

2018-06-19 Thread Alex Kiselev
> From: Chas Williams >> On Mon, Jun 18, 2018 at 2:58 PM Stephen Hemminger < >> step...@networkplumber.org> wrote: >> > On Mon, 18 Jun 2018 15:27:16 +0300 >> > Alex Kiselev wrote: >> > >> > > +static const struct ether_addr null_mac_addr; >> > > + >> > > +/* >> > > + * Add additional MAC addres

Re: [dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs

2018-06-19 Thread Matan Azrad
Hi From: Chas Williams > On Mon, Jun 18, 2018 at 2:58 PM Stephen Hemminger < > step...@networkplumber.org> wrote: > > > On Mon, 18 Jun 2018 15:27:16 +0300 > > Alex Kiselev wrote: > > > > > +static const struct ether_addr null_mac_addr; > > > + > > > +/* > > > + * Add additional MAC addresses to

Re: [dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs

2018-06-18 Thread Chas Williams
On Mon, Jun 18, 2018 at 3:00 PM Stephen Hemminger < step...@networkplumber.org> wrote: > On Mon, 18 Jun 2018 15:27:16 +0300 > Alex Kiselev wrote: > > > +/* > > + * Remove additional MAC addresses from the slave > > + */ > > +int > > +slave_remove_mac_addresses(struct rte_eth_dev *bonded_eth_dev,

Re: [dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs

2018-06-18 Thread Chas Williams
On Mon, Jun 18, 2018 at 2:58 PM Stephen Hemminger < step...@networkplumber.org> wrote: > On Mon, 18 Jun 2018 15:27:16 +0300 > Alex Kiselev wrote: > > > +static const struct ether_addr null_mac_addr; > > + > > +/* > > + * Add additional MAC addresses to the slave > > + */ > > +int > > +slave_add_m

Re: [dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs

2018-06-18 Thread Stephen Hemminger
On Mon, 18 Jun 2018 15:27:16 +0300 Alex Kiselev wrote: > +/* > + * Remove additional MAC addresses from the slave > + */ > +int > +slave_remove_mac_addresses(struct rte_eth_dev *bonded_eth_dev, > + uint16_t slave_port_id) > +{ > + int i, ret; > + struct ether_addr *mac_addr; >

Re: [dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs

2018-06-18 Thread Stephen Hemminger
On Mon, 18 Jun 2018 15:27:16 +0300 Alex Kiselev wrote: > +static const struct ether_addr null_mac_addr; > + > +/* > + * Add additional MAC addresses to the slave > + */ > +int > +slave_add_mac_addresses(struct rte_eth_dev *bonded_eth_dev, > + uint16_t slave_port_id) > +{ > + int i

[dpdk-dev] [PATCH v2] net/bonding: add add/remove mac addrs

2018-06-18 Thread Alex Kiselev
add functions to add/remove MAC addresses Signed-off-by: Alex Kiselev --- drivers/net/bonding/rte_eth_bond_api.c | 8 +- drivers/net/bonding/rte_eth_bond_pmd.c | 123 - drivers/net/bonding/rte_eth_bond_private.h | 8 ++ 3 files changed, 134 insertions(+),