From: Hangbin Liu <liuhangbin@gmail.com>
To: netdev@vger.kernel.org
Cc: Jay Vosburgh <j.vosburgh@gmail.com>,
Veaceslav Falico <vfalico@gmail.com>,
Andy Gospodarek <andy@greyhouse.net>,
"David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Richard Cochran <richardcochran@gmail.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Hangbin Liu <liuhangbin@gmail.com>
Subject: [PATCHv3 net-next 0/2] net: add new hwtstamp flag HWTSTAMP_FLAG_BONDED_PHC_INDEX
Date: Fri, 10 Dec 2021 16:59:57 +0800 [thread overview]
Message-ID: <20211210085959.2023644-1-liuhangbin@gmail.com> (raw)
This patchset add a new hwtstamp_config flag HWTSTAMP_FLAG_BONDED_PHC_INDEX.
When user want to get bond active interface's PHC, they need to add this flag
and aware the PHC index may changed.
v3: Use bitwise test to check the flags validation
v2: rename the flag to HWTSTAMP_FLAG_BONDED_PHC_INDEX
Hangbin Liu (2):
net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX
Bonding: force user to add HWTSTAMP_FLAG_BONDED_PHC_INDEX when get/set
HWTSTAMP
drivers/net/bonding/bond_main.c | 33 ++++++++++++-------
.../net/dsa/hirschmann/hellcreek_hwtstamp.c | 4 ---
drivers/net/dsa/mv88e6xxx/hwtstamp.c | 4 ---
drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 3 --
.../net/ethernet/aquantia/atlantic/aq_main.c | 3 --
.../net/ethernet/broadcom/bnx2x/bnx2x_main.c | 5 ---
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 3 --
drivers/net/ethernet/broadcom/tg3.c | 3 --
drivers/net/ethernet/cadence/macb_ptp.c | 4 ---
.../net/ethernet/cavium/liquidio/lio_main.c | 3 --
.../ethernet/cavium/liquidio/lio_vf_main.c | 3 --
.../net/ethernet/cavium/octeon/octeon_mgmt.c | 3 --
.../net/ethernet/cavium/thunder/nicvf_main.c | 4 ---
drivers/net/ethernet/engleder/tsnep_ptp.c | 3 --
drivers/net/ethernet/freescale/fec_ptp.c | 4 ---
drivers/net/ethernet/freescale/gianfar.c | 4 ---
drivers/net/ethernet/intel/e1000e/netdev.c | 4 ---
drivers/net/ethernet/intel/i40e/i40e_ptp.c | 4 ---
drivers/net/ethernet/intel/ice/ice_ptp.c | 4 ---
drivers/net/ethernet/intel/igb/igb_ptp.c | 4 ---
drivers/net/ethernet/intel/igc/igc_ptp.c | 4 ---
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 4 ---
.../net/ethernet/marvell/mvpp2/mvpp2_main.c | 3 --
.../ethernet/marvell/octeontx2/nic/otx2_pf.c | 4 ---
.../net/ethernet/mellanox/mlx4/en_netdev.c | 4 ---
drivers/net/ethernet/microchip/lan743x_ptp.c | 6 ----
drivers/net/ethernet/mscc/ocelot.c | 4 ---
.../net/ethernet/neterion/vxge/vxge-main.c | 4 ---
.../ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 3 --
drivers/net/ethernet/qlogic/qede/qede_ptp.c | 5 ---
drivers/net/ethernet/renesas/ravb_main.c | 4 ---
drivers/net/ethernet/sfc/ptp.c | 3 --
.../net/ethernet/stmicro/stmmac/stmmac_main.c | 4 ---
drivers/net/ethernet/ti/cpsw_priv.c | 4 ---
drivers/net/ethernet/ti/netcp_ethss.c | 4 ---
drivers/net/ethernet/xscale/ixp4xx_eth.c | 3 --
drivers/net/phy/dp83640.c | 3 --
drivers/net/phy/mscc/mscc_ptp.c | 3 --
drivers/ptp/ptp_ines.c | 4 ---
include/uapi/linux/net_tstamp.h | 16 ++++++++-
net/core/dev_ioctl.c | 2 +-
41 files changed, 37 insertions(+), 156 deletions(-)
--
2.31.1
next reply other threads:[~2021-12-10 9:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-10 8:59 Hangbin Liu [this message]
2021-12-10 8:59 ` [PATCHv3 net-next 1/2] net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX Hangbin Liu
2021-12-28 7:01 ` Hangbin Liu
2021-12-28 15:15 ` Jakub Kicinski
2021-12-28 16:00 ` Richard Cochran
2021-12-28 16:17 ` Jakub Kicinski
2021-12-29 2:03 ` Richard Cochran
2021-12-29 3:50 ` Hangbin Liu
2021-12-10 8:59 ` [PATCHv3 net-next 2/2] Bonding: force user to add HWTSTAMP_FLAG_BONDED_PHC_INDEX when get/set HWTSTAMP Hangbin Liu
2021-12-14 12:40 ` [PATCHv3 net-next 0/2] net: add new hwtstamp flag HWTSTAMP_FLAG_BONDED_PHC_INDEX patchwork-bot+netdevbpf
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=20211210085959.2023644-1-liuhangbin@gmail.com \
--to=liuhangbin@gmail.com \
--cc=andy@greyhouse.net \
--cc=davem@davemloft.net \
--cc=hkallweit1@gmail.com \
--cc=j.vosburgh@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=vfalico@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).