mbox series

[v2,0/4] Intel iavf and ice PMDs clean up

Message ID 20200114120130.29411-1-haiyue.wang@intel.com (mailing list archive)
Headers
Series Intel iavf and ice PMDs clean up |

Message

Wang, Haiyue Jan. 14, 2020, 12:01 p.m. UTC
  a. Remove the unused definitions in osdep.h.

b. Put the common definitions used by Intel net PMDs under the macro
__INTEL_NET_BASE_OSDEP__, which works as an include file, so that it
is easily maintained.

---
v2: add the osdep.h clean up, which depends on v1 to remove TRUE/FALSE.

Haiyue Wang (4):
  net/iavf: unify the bool type value
  net/ice: unify the bool type value
  common/iavf: osdep.h clean up
  net/ice/base: osdep.h clean up

 drivers/common/iavf/iavf_osdep.h | 107 ++++++++++++++-----------
 drivers/net/iavf/iavf_ethdev.c   |  31 ++++----
 drivers/net/iavf/iavf_rxtx.c     |  34 ++++----
 drivers/net/ice/base/ice_osdep.h | 132 ++++++++++++++++---------------
 drivers/net/ice/ice_ethdev.c     |  22 +++---
 drivers/net/ice/ice_rxtx.c       |  16 ++--
 6 files changed, 178 insertions(+), 164 deletions(-)
  

Comments

Xiaolong Ye Jan. 16, 2020, 2:52 a.m. UTC | #1
On 01/14, Haiyue Wang wrote:
>a. Remove the unused definitions in osdep.h.
>
>b. Put the common definitions used by Intel net PMDs under the macro
>__INTEL_NET_BASE_OSDEP__, which works as an include file, so that it
>is easily maintained.
>
>---
>v2: add the osdep.h clean up, which depends on v1 to remove TRUE/FALSE.
>
>Haiyue Wang (4):
>  net/iavf: unify the bool type value
>  net/ice: unify the bool type value
>  common/iavf: osdep.h clean up
>  net/ice/base: osdep.h clean up
>
> drivers/common/iavf/iavf_osdep.h | 107 ++++++++++++++-----------
> drivers/net/iavf/iavf_ethdev.c   |  31 ++++----
> drivers/net/iavf/iavf_rxtx.c     |  34 ++++----
> drivers/net/ice/base/ice_osdep.h | 132 ++++++++++++++++---------------
> drivers/net/ice/ice_ethdev.c     |  22 +++---
> drivers/net/ice/ice_rxtx.c       |  16 ++--
> 6 files changed, 178 insertions(+), 164 deletions(-)
>
>-- 
>2.17.1
>

Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>

Applied to dpdk-next-net-intel, Thanks.