DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] mlx5: fix packet padding macro check
@ 2016-03-23  9:25 Adrien Mazarguil
  2016-03-23  9:25 ` Adrien Mazarguil
  2016-03-23 11:53 ` Bruce Richardson
  0 siblings, 2 replies; 4+ messages in thread
From: Adrien Mazarguil @ 2016-03-23  9:25 UTC (permalink / raw)
  To: Bruce Richardson, dev

All instances of HAVE_EXP_CREATE_WQ_FLAG_RX_END_PADDING were not replaced by
HAVE_VERBS_RX_END_PADDING during a rework of the original patch, effectively
preventing this feature from being used.

Fixes: 89ed2405447d ("mlx5: add support for HW packet padding")

Unfortunately I did not catch this earlier (one should avoid last minute
changes).

Bruce, since the above commit is currently only present in your tree, can
you merge this fix with it during your next rebase? I do not mind keeping
a separate fix but the commit ID will have to be updated later. Thanks.

Adrien Mazarguil (1):
  mlx5: fix packet padding macro check

 drivers/net/mlx5/mlx5.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.1.4

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

* [dpdk-dev] [PATCH] mlx5: fix packet padding macro check
  2016-03-23  9:25 [dpdk-dev] [PATCH] mlx5: fix packet padding macro check Adrien Mazarguil
@ 2016-03-23  9:25 ` Adrien Mazarguil
  2016-03-23 11:53 ` Bruce Richardson
  1 sibling, 0 replies; 4+ messages in thread
From: Adrien Mazarguil @ 2016-03-23  9:25 UTC (permalink / raw)
  To: Bruce Richardson, dev

All instances of HAVE_EXP_CREATE_WQ_FLAG_RX_END_PADDING were not replaced by
HAVE_VERBS_RX_END_PADDING during a rework of the original patch, effectively
preventing this feature from being used.

Fixes: 89ed2405447d ("mlx5: add support for HW packet padding")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
---
 drivers/net/mlx5/mlx5.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 7ac495a..041cfc3 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -359,9 +359,9 @@ mlx5_pci_devinit(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)
 #ifdef HAVE_EXP_DEVICE_ATTR_VLAN_OFFLOADS
 			IBV_EXP_DEVICE_ATTR_VLAN_OFFLOADS |
 #endif /* HAVE_EXP_DEVICE_ATTR_VLAN_OFFLOADS */
-#ifdef HAVE_EXP_CREATE_WQ_FLAG_RX_END_PADDING
+#ifdef HAVE_VERBS_RX_END_PADDING
 			IBV_EXP_DEVICE_ATTR_RX_PAD_END_ALIGN |
-#endif /* HAVE_EXP_CREATE_WQ_FLAG_RX_END_PADDING */
+#endif /* HAVE_VERBS_RX_END_PADDING */
 			0;
 #endif /* HAVE_EXP_QUERY_DEVICE */
 
-- 
2.1.4

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

* Re: [dpdk-dev] [PATCH] mlx5: fix packet padding macro check
  2016-03-23  9:25 [dpdk-dev] [PATCH] mlx5: fix packet padding macro check Adrien Mazarguil
  2016-03-23  9:25 ` Adrien Mazarguil
@ 2016-03-23 11:53 ` Bruce Richardson
  2016-03-23 12:43   ` Adrien Mazarguil
  1 sibling, 1 reply; 4+ messages in thread
From: Bruce Richardson @ 2016-03-23 11:53 UTC (permalink / raw)
  To: Adrien Mazarguil; +Cc: dev

On Wed, Mar 23, 2016 at 10:25:49AM +0100, Adrien Mazarguil wrote:
> All instances of HAVE_EXP_CREATE_WQ_FLAG_RX_END_PADDING were not replaced by
> HAVE_VERBS_RX_END_PADDING during a rework of the original patch, effectively
> preventing this feature from being used.
> 
> Fixes: 89ed2405447d ("mlx5: add support for HW packet padding")
> 
> Unfortunately I did not catch this earlier (one should avoid last minute
> changes).
> 
> Bruce, since the above commit is currently only present in your tree, can
> you merge this fix with it during your next rebase? I do not mind keeping
> a separate fix but the commit ID will have to be updated later. Thanks.
> 
Done.

Please check resultant commit on next-net tree:

http://dpdk.org/browse/next/dpdk-next-net/commit/?h=rel_16_04&id=62d20c4d1a463379c63584bee3f102699b59c036

thanks,
/Bruce

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

* Re: [dpdk-dev] [PATCH] mlx5: fix packet padding macro check
  2016-03-23 11:53 ` Bruce Richardson
@ 2016-03-23 12:43   ` Adrien Mazarguil
  0 siblings, 0 replies; 4+ messages in thread
From: Adrien Mazarguil @ 2016-03-23 12:43 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dev

On Wed, Mar 23, 2016 at 11:53:22AM +0000, Bruce Richardson wrote:
> On Wed, Mar 23, 2016 at 10:25:49AM +0100, Adrien Mazarguil wrote:
> > All instances of HAVE_EXP_CREATE_WQ_FLAG_RX_END_PADDING were not replaced by
> > HAVE_VERBS_RX_END_PADDING during a rework of the original patch, effectively
> > preventing this feature from being used.
> > 
> > Fixes: 89ed2405447d ("mlx5: add support for HW packet padding")
> > 
> > Unfortunately I did not catch this earlier (one should avoid last minute
> > changes).
> > 
> > Bruce, since the above commit is currently only present in your tree, can
> > you merge this fix with it during your next rebase? I do not mind keeping
> > a separate fix but the commit ID will have to be updated later. Thanks.
> > 
> Done.
> 
> Please check resultant commit on next-net tree:
> 
> http://dpdk.org/browse/next/dpdk-next-net/commit/?h=rel_16_04&id=62d20c4d1a463379c63584bee3f102699b59c036

Perfect, thanks!

-- 
Adrien Mazarguil
6WIND

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

end of thread, other threads:[~2016-03-23 12:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-23  9:25 [dpdk-dev] [PATCH] mlx5: fix packet padding macro check Adrien Mazarguil
2016-03-23  9:25 ` Adrien Mazarguil
2016-03-23 11:53 ` Bruce Richardson
2016-03-23 12:43   ` Adrien Mazarguil

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