mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] ipv6: Add ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers
@ 2024-08-13 13:33 Simon Horman
  2024-08-13 13:33 ` [PATCH net-next v2 1/3] " Simon Horman
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Simon Horman @ 2024-08-13 13:33 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: David S. Miller, David Ahern, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Felix Fietkau, Sean Wang, Mark Lee,
	Lorenzo Bianconi, Matthias Brugger, AngeloGioacchino Del Regno,
	Yisen Zhuang, Salil Mehta, Jijie Shao, netdev, linux-kernel,
	linux-arm-kernel, linux-mediatek

Hi,

This series adds and uses some new helpers,
ipv6_addr_{cpu_to_be32,be32_to_cpu}, which are intended to assist in
byte order manipulation of IPv6 addresses stored as as arrays.

---
Changes in v2:
- Collected tags from Andrew Lunn and Jijie Shao. Thanks!
- Corrected typo in commit message of 1st patch: cpy -> CPU.
  Thanks to Andrew Lunn.
- Also enhanced same commit message to mention both helpers.
- Link to v1: https://lore.kernel.org/r/20240812-ipv6_addr-helpers-v1-0-aab5d1f35c40@kernel.org

---
Simon Horman (3):
      ipv6: Add ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers
      net: ethernet: mtk_eth_soc: Use ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers
      net: hns3: Use ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers

 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    | 79 +++++++++++-----------
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h    |  8 ++-
 drivers/net/ethernet/mediatek/mtk_ppe.c            | 10 +--
 drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c    |  9 +--
 include/net/ipv6.h                                 | 12 ++++
 5 files changed, 66 insertions(+), 52 deletions(-)

base-commit: dd1bf9f9df156b43e5122f90d97ac3f59a1a5621


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

end of thread, other threads:[~2024-08-16 18:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-13 13:33 [PATCH net-next v2 0/3] ipv6: Add ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers Simon Horman
2024-08-13 13:33 ` [PATCH net-next v2 1/3] " Simon Horman
2024-08-13 13:33 ` [PATCH net-next v2 2/3] net: ethernet: mtk_eth_soc: Use " Simon Horman
2024-08-13 13:33 ` [PATCH net-next v2 3/3] net: hns3: " Simon Horman
2024-08-16 18:10 ` [PATCH net-next v2 0/3] ipv6: Add " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®