Skip to content

RFC net/zxdh: possible changes

Stephen Hemminger dpdk-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net/zxdh: remove __rte_unused from function prototypesdrivers/net/zxdh/zxdh_ethdev_ops.h drivers/net/zxdh/zxdh_mtr.h drivers/net/zxdh/zxdh_np.h +2 more+11 -150 replies
2/5net/zxdh: remove __rte_unused attributedrivers/net/zxdh/zxdh_ethdev.c drivers/net/zxdh/zxdh_ethdev_ops.c drivers/net/zxdh/zxdh_msg.c +1 more+11 -150 replies
3/5net/zxdh: fix RTE_ASSERT expressiondrivers/net/zxdh/zxdh_msg.c+1 -10 replies
4/5net/zxdh: make callback table const and staticdrivers/net/zxdh/zxdh_msg.c drivers/net/zxdh/zxdh_msg.h+1 -20 replies
5/5net/zxdh: fix indentation in mtr get and use assigndrivers/net/zxdh/zxdh_mtr.c+14 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/5] net/zxdh: possible changes

Reviewing zxdh driver these are some obvious things that could be fixed

Stephen Hemminger (5):
net/zxdh: remove __rte_unused from function prototypes net/zxdh: remove __rte_unused attribute net/zxdh: fix RTE_ASSERT expression
net/zxdh: make callback table const and static net/zxdh: fix indentation in mtr get and use assign

 drivers/net/zxdh/zxdh_ethdev.c     |  2 +-
 drivers/net/zxdh/zxdh_ethdev_ops.c |  2 +-
 drivers/net/zxdh/zxdh_ethdev_ops.h | 10 ++++------
 drivers/net/zxdh/zxdh_msg.c        | 24 ++++++++++--------------
 drivers/net/zxdh/zxdh_msg.h        |  1 -
 drivers/net/zxdh/zxdh_mtr.c        | 30 +++++++++++++++---------------
 drivers/net/zxdh/zxdh_mtr.h        |  4 ++--
 drivers/net/zxdh/zxdh_np.h         |  2 +-
 drivers/net/zxdh/zxdh_queue.h      |  4 ++--
 drivers/net/zxdh/zxdh_rxtx.h       |  6 ++----
 10 files changed, 38 insertions(+), 47 deletions(-)
Signature · 1 line
2.47.2