From: Ferruh Yigit Subject: Re: [PATCH] net: fix Tx VLAN flag for offload emulation Date: Thu, 4 Apr 2019 18:07:13 +0100 Message-ID: <7ca3c488-3715-4512-cbc2-7a00e600db68@intel.com> References: <20190325150541.12087-1-3chas3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: olivier.matz@6wind.com, Bill Hong , stable@dpdk.org, Chas Williams To: Chas Williams <3chas3@gmail.com>, dev@dpdk.org Return-path: In-Reply-To: <20190325150541.12087-1-3chas3@gmail.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/25/2019 3:05 PM, Chas Williams wrote: > From: Bill Hong > > A PMD might use rte_vlan_insert to implement Tx VLAN offload. Typically > the PMD will insert the VLAN header in the transmit path and then attempt > to send the packets. If this fails, the packets are returned to > the application which may attempt to send these packets again. If the > PKT_TX_VLAN flag is not cleared, the transmit path may attempt to insert > the VLAN header again. > > Fixes: 47aa48b969f8 ("net: fix stripped VLAN flag for offload emulation"); > Cc: stable@dpdk.org > > Signed-off-by: Bill Hong > Signed-off-by: Chas Williams Applied to dpdk-next-net/master, thanks.