On 4/13/2018 12:00 PM, Alejandro Lucero wrote:
> This patch allows to use another MAC address than the one coming
> with the NIC by default.
> 
> Signed-off-by: Alejandro Lucero <alejandro.luc...@netronome.com>
> ---
>  drivers/net/nfp/nfp_net.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
> index bedd4b6..7db438c 100644
> --- a/drivers/net/nfp/nfp_net.c
> +++ b/drivers/net/nfp/nfp_net.c
> @@ -109,6 +109,8 @@ static int nfp_net_rss_reta_write(struct rte_eth_dev *dev,
>                   uint16_t reta_size);
>  static int nfp_net_rss_hash_write(struct rte_eth_dev *dev,
>                       struct rte_eth_rss_conf *rss_conf);
> +static void nfp_set_mac_addr(struct rte_eth_dev *dev,
> +                          struct ether_addr *mac_addr);

Hi Alejandro,

mac_addr_set dev_ops is changed in this release [1], new prototype is [2], patch
is still in next-net, can you please rebase this patch on latest next-net?


[1]
703ee2278382 ("ethdev: return diagnostic when setting MAC address")
https://dpdk.org/dev/patchwork/patch/37951/

[2]
typedef int (*eth_mac_addr_set_t)(struct rte_eth_dev *dev,
        struct ether_addr *mac_addr);

Reply via email to