All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aman Singh <aman.deep.singh@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH v4 0/2] Use macro to print MAC address
Date: Mon, 16 Aug 2021 15:27:26 +0530	[thread overview]
Message-ID: <20210816095728.17193-1-aman.deep.singh@intel.com> (raw)

Added macros to simplyfy print of MAC address.
The six bytes of mac address is extracted using
a macro to improve code readability.

Aman Singh (2):
  net: added macro for MAC address print
  net: added macro to extract MAC address bytes

 app/pdump/main.c                              |  5 +---
 app/test-pmd/cmdline.c                        |  6 ++--
 app/test-pmd/config.c                         |  6 ++--
 app/test-pmd/testpmd.c                        |  9 ++----
 app/test/test_event_eth_rx_adapter.c          |  5 +---
 app/test/test_event_eth_tx_adapter.c          |  5 +---
 drivers/bus/dpaa/base/fman/netcfg_layer.c     |  9 ++----
 drivers/common/mlx5/linux/mlx5_nl.c           |  6 ++--
 drivers/net/bnx2x/bnx2x.c                     |  4 +--
 drivers/net/bnx2x/bnx2x_vfpf.c                | 10 ++-----
 drivers/net/bnx2x/ecore_sp.c                  | 14 ++++-----
 drivers/net/bnxt/bnxt_ethdev.c                |  2 +-
 drivers/net/bonding/rte_eth_bond_8023ad.c     |  4 +--
 drivers/net/bonding/rte_eth_bond_pmd.c        | 12 +++-----
 drivers/net/dpaa/dpaa_ethdev.c                | 10 ++-----
 drivers/net/e1000/igb_ethdev.c                |  9 ++----
 drivers/net/enic/base/vnic_dev.c              |  4 +--
 drivers/net/enic/enic_res.c                   |  2 +-
 drivers/net/failsafe/failsafe.c               |  6 ++--
 drivers/net/hinic/hinic_pmd_ethdev.c          |  6 ++--
 drivers/net/i40e/i40e_ethdev_vf.c             | 21 ++++----------
 drivers/net/iavf/iavf_ethdev.c                | 18 +++---------
 drivers/net/iavf/iavf_vchnl.c                 | 15 +++-------
 drivers/net/ice/ice_dcf.c                     |  6 ++--
 drivers/net/ixgbe/ixgbe_ethdev.c              | 29 ++++---------------
 drivers/net/mlx4/mlx4.c                       |  7 ++---
 drivers/net/mlx5/linux/mlx5_os.c              |  7 ++---
 drivers/net/mlx5/windows/mlx5_os.c            |  7 ++---
 drivers/net/mvpp2/mrvl_flow.c                 |  4 +--
 drivers/net/netvsc/hn_rndis.c                 |  2 +-
 drivers/net/nfp/nfp_net.c                     |  2 +-
 drivers/net/qede/base/ecore_mcp.c             |  2 +-
 drivers/net/qede/base/ecore_sriov.c           |  2 +-
 drivers/net/qede/qede_ethdev.c                |  9 ++----
 drivers/net/thunderx/nicvf_ethdev.c           |  2 +-
 drivers/net/txgbe/txgbe_ethdev_vf.c           | 29 ++++---------------
 drivers/net/virtio/virtio_ethdev.c            |  4 +--
 drivers/net/vmxnet3/vmxnet3_ethdev.c          |  4 +--
 examples/bbdev_app/main.c                     |  9 ++----
 examples/bond/main.c                          |  3 +-
 examples/distributor/main.c                   |  5 +---
 examples/ethtool/ethtool-app/ethapp.c         | 10 ++-----
 .../pipeline_worker_generic.c                 |  5 +---
 .../eventdev_pipeline/pipeline_worker_tx.c    |  5 +---
 examples/flow_classify/flow_classify.c        |  5 +---
 examples/ioat/ioatfwd.c                       |  9 ++----
 examples/ip_pipeline/cli.c                    | 11 ++-----
 examples/l2fwd-cat/l2fwd-cat.c                |  5 +---
 examples/l2fwd-crypto/main.c                  | 11 ++-----
 examples/l2fwd-event/l2fwd_common.c           |  9 ++----
 examples/l2fwd-jobstats/main.c                | 11 ++-----
 examples/l2fwd-keepalive/main.c               |  9 ++----
 examples/l2fwd/main.c                         | 11 ++-----
 examples/link_status_interrupt/main.c         |  9 ++----
 examples/packet_ordering/main.c               |  5 +---
 examples/pipeline/cli.c                       |  6 ++--
 examples/rxtx_callbacks/main.c                |  4 +--
 examples/server_node_efd/server/main.c        |  6 ++--
 examples/skeleton/basicfwd.c                  |  5 +---
 examples/vhost/main.c                         | 17 +++--------
 examples/vm_power_manager/channel_monitor.c   |  4 +--
 .../guest_cli/vm_power_cli_guest.c            |  5 +---
 examples/vm_power_manager/main.c              |  5 +---
 examples/vmdq/main.c                          | 14 ++-------
 examples/vmdq_dcb/main.c                      | 14 ++-------
 lib/net/rte_ether.h                           | 14 +++++++++
 lib/vhost/vhost_user.c                        |  2 +-
 67 files changed, 155 insertions(+), 377 deletions(-)

-- 
2.17.1


             reply	other threads:[~2021-08-16 10:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16  9:57 Aman Singh [this message]
2021-08-16  9:57 ` [dpdk-dev] [PATCH v4 1/2] net: added macro for MAC address print Aman Singh
2021-08-16  9:57 ` [dpdk-dev] [PATCH v4 2/2] net: added macro to extract MAC address bytes Aman Singh
2021-08-16 23:03   ` Stephen Hemminger
2021-08-17  8:11     ` Ferruh Yigit
2021-08-17 15:25       ` Stephen Hemminger
2021-08-17 16:44         ` Ferruh Yigit
2021-08-17 17:00           ` Stephen Hemminger
2021-08-18  8:23             ` Ferruh Yigit
2021-08-18 16:47               ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210816095728.17193-1-aman.deep.singh@intel.com \
    --to=aman.deep.singh@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.