[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-05-30 Thread Wang, Liang-min
On Sat, 30 May 2015 16:16:01 + "Wang, Liang-min" wrote: > >The design decision is to keep ethdev as THE interface for all the external > >API, so ethtool APIs are designed based upon ethdev API. At the meantime, > >the ethtool APIs are designed to enable users to migrate designs based

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-05-30 Thread Wang, Liang-min
>On Fri, 29 May 2015 20:37:56 -0400 >Liang-Min Larry Wang wrote: > >> adding a new library based upon ethdev APIs to provide API's that bear >> the same functionality as ethtool_ops (linux/ethtool.h) and > >net_device_ops (linux/netdevice.h). >The API's for ethtool like things are valuable,

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-05-30 Thread Stephen Hemminger
On Sat, 30 May 2015 16:16:01 + "Wang, Liang-min" wrote: > The design decision is to keep ethdev as THE interface for all the external > API, so ethtool APIs are designed based upon ethdev API. At the meantime, the > ethtool APIs are designed to enable users to migrate designs based upon >

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-05-30 Thread Stephen Hemminger
On Fri, 29 May 2015 20:37:56 -0400 Liang-Min Larry Wang wrote: > adding a new library based upon ethdev APIs to provide API's that bear > the same functionality as ethtool_ops (linux/ethtool.h) and net_device_ops > (linux/netdevice.h). The API's for ethtool like things are valuable, but please

[dpdk-dev] [PATCH 1/2] ethdev: add api to set default mac address

2015-05-30 Thread Andrew Harvey (agh)
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