[dpdk-dev] [PATCH v5 5/7] lib/librte_ether: support new l2 tunnel operation

2016-03-07 Thread Wenzhuo Lu
Add functions to support the new l2 tunnel operation. 1, Insertion and stripping for l2 tunnel tag. 2, Forwarding the packets to a pool based on l2 tunnel tag. Signed-off-by: Wenzhuo Lu --- lib/librte_ether/rte_ethdev.c | 183 lib/librte_ether/rte_ethdev.h |

[dpdk-dev] [PATCH v5 5/7] lib/librte_ether: support new l2 tunnel operation

2016-03-07 Thread Lu, Wenzhuo
Hi Jingjing, > > How about to merge the above six APIs > rte_eth_dev_l2_tunnel_XXX_enable/disable > to one, may call rte_eth_dev_l2_tunnel_offload_set? > Just like the rte_eth_dev_set_vlan_offload. Good suggestion. I'll do it. > > > Pool is used here, but vf_id is used above. Suggest to put suc

[dpdk-dev] [PATCH v5 5/7] lib/librte_ether: support new l2 tunnel operation

2016-03-07 Thread Wu, Jingjing
Hi, wenzhuo > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Monday, March 07, 2016 10:43 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v5 5/7] lib/librte_ether: support new l2 tunnel > operation > > Add