DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] bnx2x: Don't reset buf_len in RX mbufs
@ 2016-06-16 22:50 Chas Williams
  2016-06-17  6:32 ` Harish Patil
  0 siblings, 1 reply; 3+ messages in thread
From: Chas Williams @ 2016-06-16 22:50 UTC (permalink / raw)
  To: dev; +Cc: harish.patil, Chas Williams

Fixes: 540a211084a7 ("bnx2x: driver core")

Signed-off-by: Chas Williams <3chas3@gmail.com>
---
 drivers/net/bnx2x/bnx2x_rxtx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c b/drivers/net/bnx2x/bnx2x_rxtx.c
index 55d2bd7..c963194 100644
--- a/drivers/net/bnx2x/bnx2x_rxtx.c
+++ b/drivers/net/bnx2x/bnx2x_rxtx.c
@@ -416,7 +416,6 @@ bnx2x_recv_pkts(void *p_rxq, struct rte_mbuf **rx_pkts, uint16_t nb_pkts)
 		rx_mb->next = NULL;
 		rx_mb->pkt_len = rx_mb->data_len = len;
 		rx_mb->port = rxq->port_id;
-		rx_mb->buf_len = len + pad;
 		rte_prefetch1(rte_pktmbuf_mtod(rx_mb, void *));
 
 		/*
-- 
2.5.5

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] bnx2x: Don't reset buf_len in RX mbufs
  2016-06-16 22:50 [dpdk-dev] [PATCH] bnx2x: Don't reset buf_len in RX mbufs Chas Williams
@ 2016-06-17  6:32 ` Harish Patil
  2016-06-24 10:49   ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: Harish Patil @ 2016-06-17  6:32 UTC (permalink / raw)
  To: Chas Williams, dev

>
>Fixes: 540a211084a7 ("bnx2x: driver core")
>
>Signed-off-by: Chas Williams <3chas3@gmail.com>
>---
> drivers/net/bnx2x/bnx2x_rxtx.c | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c
>b/drivers/net/bnx2x/bnx2x_rxtx.c
>index 55d2bd7..c963194 100644
>--- a/drivers/net/bnx2x/bnx2x_rxtx.c
>+++ b/drivers/net/bnx2x/bnx2x_rxtx.c
>@@ -416,7 +416,6 @@ bnx2x_recv_pkts(void *p_rxq, struct rte_mbuf
>**rx_pkts, uint16_t nb_pkts)
> 		rx_mb->next = NULL;
> 		rx_mb->pkt_len = rx_mb->data_len = len;
> 		rx_mb->port = rxq->port_id;
>-		rx_mb->buf_len = len + pad;
> 		rte_prefetch1(rte_pktmbuf_mtod(rx_mb, void *));
> 
> 		/*
>-- 
>2.5.5
>
>

Acked-by: Harish Patil <harish.patil@qlogic.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] bnx2x: Don't reset buf_len in RX mbufs
  2016-06-17  6:32 ` Harish Patil
@ 2016-06-24 10:49   ` Bruce Richardson
  0 siblings, 0 replies; 3+ messages in thread
From: Bruce Richardson @ 2016-06-24 10:49 UTC (permalink / raw)
  To: Harish Patil; +Cc: Chas Williams, dev

On Fri, Jun 17, 2016 at 06:32:06AM +0000, Harish Patil wrote:
> >
> >Fixes: 540a211084a7 ("bnx2x: driver core")
> >
> >Signed-off-by: Chas Williams <3chas3@gmail.com>
> >---
> > drivers/net/bnx2x/bnx2x_rxtx.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> >diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c
> >b/drivers/net/bnx2x/bnx2x_rxtx.c
> >index 55d2bd7..c963194 100644
> >--- a/drivers/net/bnx2x/bnx2x_rxtx.c
> >+++ b/drivers/net/bnx2x/bnx2x_rxtx.c
> >@@ -416,7 +416,6 @@ bnx2x_recv_pkts(void *p_rxq, struct rte_mbuf
> >**rx_pkts, uint16_t nb_pkts)
> > 		rx_mb->next = NULL;
> > 		rx_mb->pkt_len = rx_mb->data_len = len;
> > 		rx_mb->port = rxq->port_id;
> >-		rx_mb->buf_len = len + pad;
> > 		rte_prefetch1(rte_pktmbuf_mtod(rx_mb, void *));
> > 
> > 		/*
> >-- 
> >2.5.5
> >
> >
> 
> Acked-by: Harish Patil <harish.patil@qlogic.com>
> 
Applied to dpdk-next-net/rel_16_07

/Bruce

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-24 10:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-16 22:50 [dpdk-dev] [PATCH] bnx2x: Don't reset buf_len in RX mbufs Chas Williams
2016-06-17  6:32 ` Harish Patil
2016-06-24 10:49   ` Bruce Richardson

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).