Re: [ovs-dev] [PATCH 08/11] netdev-offload-dpdk: Support tnl/push using vxlan encap attribute

2020-05-20 Thread Sriharsha Basavapatna via dev
On Wed, May 20, 2020 at 3:38 PM Eli Britstein wrote: > > > On 5/20/2020 12:12 PM, Sriharsha Basavapatna wrote: > > On Mon, May 18, 2020 at 9:10 PM Eli Britstein wrote: > >> For DPDK, there is the RAW_ENCAP attribute which gets raw buffer of the > >> encapsulation header. For specific protocol,

Re: [ovs-dev] [PATCH 08/11] netdev-offload-dpdk: Support tnl/push using vxlan encap attribute

2020-05-20 Thread Eli Britstein
On 5/20/2020 12:12 PM, Sriharsha Basavapatna wrote: On Mon, May 18, 2020 at 9:10 PM Eli Britstein wrote: For DPDK, there is the RAW_ENCAP attribute which gets raw buffer of the encapsulation header. For specific protocol, such as vxlan, there is a more specific attribute, VXLAN_ENCAP, which

Re: [ovs-dev] [PATCH 08/11] netdev-offload-dpdk: Support tnl/push using vxlan encap attribute

2020-05-20 Thread Sriharsha Basavapatna via dev
On Mon, May 18, 2020 at 9:10 PM Eli Britstein wrote: > > For DPDK, there is the RAW_ENCAP attribute which gets raw buffer of the > encapsulation header. For specific protocol, such as vxlan, there is a > more specific attribute, VXLAN_ENCAP, which gets the parsed fields of > the outer header. In

[ovs-dev] [PATCH 08/11] netdev-offload-dpdk: Support tnl/push using vxlan encap attribute

2020-05-18 Thread Eli Britstein
For DPDK, there is the RAW_ENCAP attribute which gets raw buffer of the encapsulation header. For specific protocol, such as vxlan, there is a more specific attribute, VXLAN_ENCAP, which gets the parsed fields of the outer header. In case tunnel type is vxlan, parse the header and use the specific