* [dpdk-dev] [PATCH] net/mlx4: fix Rx pkt offloads nonfrag indication
@ 2018-01-30 17:02 Moti Haimovsky
2018-02-05 14:06 ` Adrien Mazarguil
0 siblings, 1 reply; 3+ messages in thread
From: Moti Haimovsky @ 2018-01-30 17:02 UTC (permalink / raw)
To: adrien.mazarguil; +Cc: dev, Moti Haimovsky, stable
This patch fixes the missing RTE_PTYPE_L4_NONFRAG on non-fragmented
IP packets with unrecognized payload type.
Fixes: aee4a03fee4f ("net/mlx4: enhance Rx packet type offloads")
Cc: stable@dpdk.org
Signed-off-by: Moti Haimovsky <motih@mellanox.com>
---
drivers/net/mlx4/mlx4_rxtx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx4/mlx4_rxtx.c b/drivers/net/mlx4/mlx4_rxtx.c
index fbc911f..f286fb2 100644
--- a/drivers/net/mlx4/mlx4_rxtx.c
+++ b/drivers/net/mlx4/mlx4_rxtx.c
@@ -85,7 +85,8 @@ struct pv {
* giving a total of up to 256 entries.
*/
[0x00] = RTE_PTYPE_L2_ETHER,
- [0x01] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4_EXT_UNKNOWN,
+ [0x01] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4_EXT_UNKNOWN |
+ RTE_PTYPE_L4_NONFRAG,
[0x02] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4_EXT_UNKNOWN |
RTE_PTYPE_L4_FRAG,
[0x03] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4_EXT_UNKNOWN |
--
1.8.3.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/mlx4: fix Rx pkt offloads nonfrag indication
2018-01-30 17:02 [dpdk-dev] [PATCH] net/mlx4: fix Rx pkt offloads nonfrag indication Moti Haimovsky
@ 2018-02-05 14:06 ` Adrien Mazarguil
2018-02-05 14:13 ` [dpdk-dev] [dpdk-stable] " Shahaf Shuler
0 siblings, 1 reply; 3+ messages in thread
From: Adrien Mazarguil @ 2018-02-05 14:06 UTC (permalink / raw)
To: Moti Haimovsky; +Cc: dev, stable
On Tue, Jan 30, 2018 at 07:02:51PM +0200, Moti Haimovsky wrote:
> This patch fixes the missing RTE_PTYPE_L4_NONFRAG on non-fragmented
> IP packets with unrecognized payload type.
>
> Fixes: aee4a03fee4f ("net/mlx4: enhance Rx packet type offloads")
> Cc: stable@dpdk.org
>
> Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
--
Adrien Mazarguil
6WIND
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH] net/mlx4: fix Rx pkt offloads nonfrag indication
2018-02-05 14:06 ` Adrien Mazarguil
@ 2018-02-05 14:13 ` Shahaf Shuler
0 siblings, 0 replies; 3+ messages in thread
From: Shahaf Shuler @ 2018-02-05 14:13 UTC (permalink / raw)
To: Adrien Mazarguil, Mordechay Haimovsky; +Cc: dev, stable
Monday, February 5, 2018 4:07 PM, Adrien Mazarguil
> indication
>
> On Tue, Jan 30, 2018 at 07:02:51PM +0200, Moti Haimovsky wrote:
> > This patch fixes the missing RTE_PTYPE_L4_NONFRAG on non-fragmented
> IP
> > packets with unrecognized payload type.
> >
> > Fixes: aee4a03fee4f ("net/mlx4: enhance Rx packet type offloads")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Moti Haimovsky <motih@mellanox.com>
>
> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
>
Applied to next-net-mlx, thanks.
> --
> Adrien Mazarguil
> 6WIND
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-05 14:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-30 17:02 [dpdk-dev] [PATCH] net/mlx4: fix Rx pkt offloads nonfrag indication Moti Haimovsky
2018-02-05 14:06 ` Adrien Mazarguil
2018-02-05 14:13 ` [dpdk-dev] [dpdk-stable] " Shahaf Shuler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).