[dpdk-dev] [PATCH v2] net/kni: set packet input port in Rx
Ferruh Yigit
ferruh.yigit at intel.com
Thu Jul 30 00:28:48 CEST 2020
On 7/29/2020 6:06 PM, Ferruh Yigit wrote:
> On 7/29/2020 6:02 PM, David Marchand wrote:
>> On Fri, Jul 24, 2020 at 5:10 PM Ferruh Yigit <ferruh.yigit at intel.com> wrote:
>>>
>>> From: jiancheng pei <jpei at sonicwall.com>
>>>
>>> Store port_id in pmd_internals when eth kni device is created.
>>> Then set packet port of rte_mbuf in function eth_kni_rx.
>>
>> LGTM.
>>
>> Is this fix worth a backport?
>
> Makes sense, +1 to add stable tag.
>
>> A net driver is expected to set the port in all mbufs (m->port is
>> initialised/reset to MBUF_INVALID_PORT).
>>
>>
>>>
>>> Signed-off-by: Jecky Pei <jpei at sonicwall.com>
>>> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Cc: stable at dpdk.org
Applied to dpdk-next-net/master, thanks.
More information about the dev
mailing list