[v2,0/2] CPU non-blocking delay
mbox series

Message ID 20180914110109.29900-1-i.maximets@samsung.com
Headers show
Series
  • CPU non-blocking delay
Related show

Message

Ilya Maximets Sept. 14, 2018, 11:01 a.m. UTC
For meson build without deprecation warnings following
patch should be applied first:
    http://patches.dpdk.org/patch/44129/

Version 2:
	* Added comment for EINTR handling for nanosleep. [Stephen Hemminger]

Ilya Maximets (2):
  eal: add nanosleep based delay function
  drivers/net: use sleep delay by default for intel NICs

 drivers/net/avf/Makefile                      |  1 +
 drivers/net/avf/base/avf_osdep.h              |  4 +-
 drivers/net/e1000/Makefile                    |  1 +
 drivers/net/e1000/base/e1000_osdep.h          |  2 +-
 drivers/net/e1000/meson.build                 |  2 +
 drivers/net/i40e/base/i40e_osdep.h            |  6 +--
 drivers/net/ifc/base/ifcvf_osdep.h            |  2 +-
 drivers/net/ixgbe/base/ixgbe_osdep.h          |  2 +-
 drivers/net/ixgbe/meson.build                 |  3 +-
 lib/librte_eal/common/eal_common_timer.c      | 24 +++++++++
 .../common/include/generic/rte_cycles.h       | 11 ++++
 lib/librte_eal/rte_eal_version.map            |  1 +
 test/test/autotest_data.py                    |  6 +++
 test/test/meson.build                         |  1 +
 test/test/test_cycles.c                       | 51 ++++++++++++++-----
 15 files changed, 94 insertions(+), 23 deletions(-)

Comments

Ilya Maximets Sept. 28, 2018, 11:38 a.m. UTC | #1
Any thoughts on this?

Best regards, Ilya Maximets.

On 14.09.2018 14:01, Ilya Maximets wrote:
> For meson build without deprecation warnings following
> patch should be applied first:
>     http://patches.dpdk.org/patch/44129/

This patch already accepted. I could rebase on latest
dpdk-next-net or dpdk-next-net-intel if required (it's trivial).

> 
> Version 2:
> 	* Added comment for EINTR handling for nanosleep. [Stephen Hemminger]
> 
> Ilya Maximets (2):
>   eal: add nanosleep based delay function
>   drivers/net: use sleep delay by default for intel NICs
> 
>  drivers/net/avf/Makefile                      |  1 +
>  drivers/net/avf/base/avf_osdep.h              |  4 +-
>  drivers/net/e1000/Makefile                    |  1 +
>  drivers/net/e1000/base/e1000_osdep.h          |  2 +-
>  drivers/net/e1000/meson.build                 |  2 +
>  drivers/net/i40e/base/i40e_osdep.h            |  6 +--
>  drivers/net/ifc/base/ifcvf_osdep.h            |  2 +-
>  drivers/net/ixgbe/base/ixgbe_osdep.h          |  2 +-
>  drivers/net/ixgbe/meson.build                 |  3 +-
>  lib/librte_eal/common/eal_common_timer.c      | 24 +++++++++
>  .../common/include/generic/rte_cycles.h       | 11 ++++
>  lib/librte_eal/rte_eal_version.map            |  1 +
>  test/test/autotest_data.py                    |  6 +++
>  test/test/meson.build                         |  1 +
>  test/test/test_cycles.c                       | 51 ++++++++++++++-----
>  15 files changed, 94 insertions(+), 23 deletions(-)
>