DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] vmxnet3: add mac_addr_add function ?
@ 2016-03-11 21:14 Vincent Li
  0 siblings, 0 replies; only message in thread
From: Vincent Li @ 2016-03-11 21:14 UTC (permalink / raw)
  To: dev

Hi,

I have a DPDK app running in ESXi guest with vmxnet3 adapter, but
packet seems to be dropped, the debug output has following line which
I am not sure if it is the cause of the packet drop:

rte_eth_dev_config_restore: port 0: MAC address array not supported


               /* add address to the hardware */
                if  (*dev->dev_ops->mac_addr_add &&
                        (dev->data->mac_pool_sel[i] & (1ULL << pool)))
                        (*dev->dev_ops->mac_addr_add)(dev, &addr, i, pool);
                else {
                        RTE_PMD_DEBUG_TRACE("port %d: MAC address
array not supported\n",
                                        port_id);
                        /* exit the loop but not return an error */
                        break;
                }

vmxnet3 has not implemented mac_addr_add, any idea how to implement it
in drivers/net/vmxnet3/vmxnet3_ethdev.c ?

I looked at the igb mac_addr_add implementation, not sure how to adapt
the about the function parameter "index" and "pool" for vmxnet3.

also looked at the recent implementation of vmxnet3 mac_addr_set,
still not clear about the detail on how to handle "index" and "pool"
in mac_addr_add proto type.

Thanks!

Vincent

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-11 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-11 21:14 [dpdk-dev] vmxnet3: add mac_addr_add function ? Vincent Li

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).