From: Simon Horman <horms@kernel.org>
To: MD Danish Anwar <danishanwar@ti.com>
Cc: Dan Carpenter <dan.carpenter@linaro.org>,
Andrew Lunn <andrew@lunn.ch>, Jan Kiszka <jan.kiszka@siemens.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Javier Carrasco <javier.carrasco.cruz@gmail.com>,
Jacob Keller <jacob.e.keller@intel.com>,
Diogo Ivo <diogo.ivo@siemens.com>,
Richard Cochran <richardcochran@gmail.com>,
Paolo Abeni <pabeni@redhat.com>, Jakub Kicinski <kuba@kernel.org>,
Eric Dumazet <edumazet@google.com>,
"David S. Miller" <davem@davemloft.net>,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, srk@ti.com,
Roger Quadros <rogerq@kernel.org>
Subject: Re: [PATCH net-next v2 4/7] net: ti: icssg-prueth: Add support for HSR frame forward offload
Date: Thu, 15 Aug 2024 16:14:15 +0100 [thread overview]
Message-ID: <20240815151415.GK632411@kernel.org> (raw)
In-Reply-To: <20240813074233.2473876-5-danishanwar@ti.com>
On Tue, Aug 13, 2024 at 01:12:30PM +0530, MD Danish Anwar wrote:
...
> diff --git a/drivers/net/ethernet/ti/icssg/icssg_prueth.h b/drivers/net/ethernet/ti/icssg/icssg_prueth.h
> index f678d656a3ed..40bc3912b6ae 100644
> --- a/drivers/net/ethernet/ti/icssg/icssg_prueth.h
> +++ b/drivers/net/ethernet/ti/icssg/icssg_prueth.h
> @@ -239,6 +239,7 @@ struct icssg_firmwares {
> * @iep1: pointer to IEP1 device
> * @vlan_tbl: VLAN-FID table pointer
> * @hw_bridge_dev: pointer to HW bridge net device
> + * @hsr_dev: pointer to the HSR net device
> * @br_members: bitmask of bridge member ports
> * @prueth_netdevice_nb: netdevice notifier block
> * @prueth_switchdev_nb: switchdev notifier block
I think you also need to add Kernel doc entries for @hsr_members and
@is_hsr_offload_mode.
Flagged by W=1 builds and ./scripts/kernel-doc -none
> @@ -274,11 +275,14 @@ struct prueth {
> struct prueth_vlan_tbl *vlan_tbl;
>
> struct net_device *hw_bridge_dev;
> + struct net_device *hsr_dev;
> u8 br_members;
> + u8 hsr_members;
> struct notifier_block prueth_netdevice_nb;
> struct notifier_block prueth_switchdev_nb;
> struct notifier_block prueth_switchdev_bl_nb;
> bool is_switch_mode;
> + bool is_hsr_offload_mode;
> bool is_switchmode_supported;
> unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN];
> int default_vlan;
> --
> 2.34.1
>
next prev parent reply other threads:[~2024-08-15 15:14 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-13 7:42 [PATCH net-next v2 0/7] Introduce HSR offload support for ICSSG MD Danish Anwar
2024-08-13 7:42 ` [PATCH net-next v2 1/7] net: ti: icssg-prueth: Enable IEP1 MD Danish Anwar
2024-08-21 11:27 ` Roger Quadros
2024-08-21 11:33 ` Anwar, Md Danish
2024-08-21 11:53 ` Roger Quadros
2024-08-22 5:52 ` MD Danish Anwar
2024-08-22 11:27 ` Roger Quadros
2024-08-22 12:12 ` Anwar, Md Danish
2024-08-23 11:30 ` Roger Quadros
2024-08-23 11:41 ` MD Danish Anwar
2024-08-22 11:32 ` Dan Carpenter
2024-08-22 12:13 ` Anwar, Md Danish
2024-08-13 7:42 ` [PATCH net-next v2 2/7] net: ti: icss-iep: Move icss_iep structure MD Danish Anwar
2024-08-21 11:53 ` Roger Quadros
2024-08-13 7:42 ` [PATCH net-next v2 3/7] net: ti: icssg-prueth: Stop hardcoding def_inc MD Danish Anwar
2024-08-13 8:06 ` Dan Carpenter
2024-08-21 11:54 ` Roger Quadros
2024-08-13 7:42 ` [PATCH net-next v2 4/7] net: ti: icssg-prueth: Add support for HSR frame forward offload MD Danish Anwar
2024-08-13 15:17 ` Andrew Lunn
2024-08-14 6:59 ` MD Danish Anwar
2024-08-14 14:02 ` Andrew Lunn
2024-08-14 14:54 ` Anwar, Md Danish
2024-08-19 10:51 ` Anwar, Md Danish
2024-08-15 15:14 ` Simon Horman [this message]
2024-08-19 7:16 ` Anwar, Md Danish
2024-08-13 7:42 ` [PATCH net-next v2 5/7] net: ti: icssg-prueth: Enable HSR Tx Packet duplication offload MD Danish Anwar
2024-08-13 15:23 ` Andrew Lunn
2024-08-14 6:59 ` MD Danish Anwar
2024-08-13 7:42 ` [PATCH net-next v2 6/7] net: ti: icssg-prueth: Add multicast filtering support in HSR mode MD Danish Anwar
2024-08-21 12:10 ` Roger Quadros
2024-08-22 5:56 ` MD Danish Anwar
2024-08-13 7:42 ` [PATCH net-next v2 7/7] net: ti: icssg-prueth: Enable HSR Tx Tag and Rx Tag offload MD Danish Anwar
2024-08-21 12:15 ` Roger Quadros
2024-08-22 8:03 ` MD Danish Anwar
2024-08-22 11:28 ` Roger Quadros
2024-08-22 12:14 ` Anwar, Md Danish
2024-08-13 14:49 ` [PATCH net-next v2 0/7] Introduce HSR offload support for ICSSG Andrew Lunn
2024-08-14 6:25 ` MD Danish Anwar
2024-08-14 14:04 ` Andrew Lunn
2024-08-14 14:56 ` Anwar, Md Danish
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=20240815151415.GK632411@kernel.org \
--to=horms@kernel.org \
--cc=andrew@lunn.ch \
--cc=dan.carpenter@linaro.org \
--cc=danishanwar@ti.com \
--cc=davem@davemloft.net \
--cc=diogo.ivo@siemens.com \
--cc=edumazet@google.com \
--cc=jacob.e.keller@intel.com \
--cc=jan.kiszka@siemens.com \
--cc=javier.carrasco.cruz@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=rogerq@kernel.org \
--cc=srk@ti.com \
--cc=vigneshr@ti.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).