[dpdk-dev] [PATCH v11 4/4] examples: new example: l2fwd-ethtool

2015-06-27 Thread Liang-Min Larry Wang
The example includes an ethtool library and two applications: one application is a non- DPDK process (nic-control) and the other is a DPDK l2fwd applicaiton (l2fwd-app). The nic-control process sends ethtool alike device management requests to l2fwd-app through a named pipe IPC. This example is des

[dpdk-dev] [PATCH v11 3/4] igb: add ops to support ethtool ops

2015-06-27 Thread Liang-Min Larry Wang
add function to support ethtool ops: - set_mac_addr - get_reg_length - get_regs - get_eeprom_length - get_eeprom - set_eeprom Signed-off-by: Liang-Min Larry Wang --- drivers/net/e1000/igb_ethdev.c | 175 drivers/net/e1000/igb_regs.h | 223 ++

[dpdk-dev] [PATCH v11 2/4] ixgbe: add ops to support ethtool ops

2015-06-27 Thread Liang-Min Larry Wang
add function to support ethtool ops: - set_mac_addr - get_reg_length - get_regs - get_eeprom_length - get_eeprom - set_eeprom Signed-off-by: Liang-Min Larry Wang --- drivers/net/ixgbe/ixgbe_ethdev.c | 178 +- drivers/net/ixgbe/ixgbe_regs.h | 376

[dpdk-dev] [PATCH v11 1/4] ethdev: add apis to support access device info

2015-06-27 Thread Liang-Min Larry Wang
add new apis: - rte_eth_dev_default_mac_addr_set - rte_eth_dev_reg_length - rte_eth_dev_reg_info - rte_eth_dev_eeprom_length - rte_eth_dev_get_eeprom - rte_eth_dev_set_eeprom to enable reading device parameters (mac-addr, register, eeprom) based upon ethtool alike data parameter specification. Si

[dpdk-dev] [PATCH v11 0/4] User-space Ethtool

2015-06-27 Thread Liang-Min Larry Wang
This implementation is designed to provide a familar interface for applications that rely on kernel-space driver to support ethtool_op and net_device_op for device management. The initial implementation focuses on ops that can be implemented through existing netdev APIs. More ops will be support

[dpdk-dev] [PATCH v9 5/5] ixgbe/igb: changed register tables to const

2015-06-27 Thread Wang, Liang-min
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Friday, June 26, 2015 9:37 PM > To: Wang, Liang-min > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v9 5/5] ixgbe/igb: changed register tables to > const > > On Fri, 26 Jun 2015 21:19:08

[dpdk-dev] [PATCH v9 2/5] ixgbe: add ops to support ethtool ops

2015-06-27 Thread Wang, Liang-min
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Friday, June 26, 2015 9:34 PM > To: Wang, Liang-min > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v9 2/5] ixgbe: add ops to support ethtool ops > > On Fri, 26 Jun 2015 21:19:05 -0400 >

[dpdk-dev] [PATCH v9 2/5] ixgbe: add ops to support ethtool ops

2015-06-27 Thread Wang, Liang-min
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Friday, June 26, 2015 9:33 PM > To: Wang, Liang-min > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v9 2/5] ixgbe: add ops to support ethtool ops > > On Fri, 26 Jun 2015 21:19:05 -0400 >

[dpdk-dev] [PATCH v9 5/5] ixgbe/igb: changed register tables to const

2015-06-27 Thread Wang, Liang-min
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Friday, June 26, 2015 9:37 PM > To: Wang, Liang-min > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v9 5/5] ixgbe/igb: changed register tables to > const > > On Fri, 26 Jun 2015 21:19:08

[dpdk-dev] [PATCH v8 1/5] ethdev: add apis to support access device info

2015-06-27 Thread Wang, Liang-min
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Friday, June 26, 2015 12:52 PM > To: Wang, Liang-min > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v8 1/5] ethdev: add apis to support access > device info > > On Fri, 26 Jun 2015 10:26