From: Vincent Li <vincent.mc.li@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] vmxnet3: add mac_addr_add function ?
Date: Fri, 11 Mar 2016 13:14:10 -0800 [thread overview]
Message-ID: <CAK3+h2wT1BvF78fkwAV8wc6ee0S682a5bJYJboYTpFbyn0dpdg@mail.gmail.com> (raw)
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
reply other threads:[~2016-03-11 21:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK3+h2wT1BvF78fkwAV8wc6ee0S682a5bJYJboYTpFbyn0dpdg@mail.gmail.com \
--to=vincent.mc.li@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).