From: MD Danish Anwar <danishanwar@ti.com>
To: Simon Horman <horms@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
Dan Carpenter <dan.carpenter@linaro.org>,
Jan Kiszka <jan.kiszka@siemens.com>, Andrew Lunn <andrew@lunn.ch>,
"Vladimir Oltean" <vladimir.oltean@nxp.com>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
Arnd Bergmann <arnd@arndb.de>,
"Grygorii Strashko" <grygorii.strashko@ti.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Roger Quadros <rogerq@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
"Jakub Kicinski" <kuba@kernel.org>,
Eric Dumazet <edumazet@google.com>,
"David S. Miller" <davem@davemloft.net>,
<linux-arm-kernel@lists.infradead.org>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <srk@ti.com>,
<r-gunasekaran@ti.com>
Subject: Re: [RFC PATCH v2 2/3] net: ti: icssg-switch: Add switchdev based driver for ethernet switch support
Date: Mon, 22 Jan 2024 13:24:18 +0530 [thread overview]
Message-ID: <f9f770a9-5c49-44e2-ab81-c7eb35f0ed87@ti.com> (raw)
In-Reply-To: <20240119204043.GC105385@kernel.org>
On 20/01/24 2:10 am, Simon Horman wrote:
> On Thu, Jan 18, 2024 at 12:40:04PM +0530, MD Danish Anwar wrote:
>
> ...
>
>> @@ -211,6 +216,15 @@ struct prueth_pdata {
>> * @iep0: pointer to IEP0 device
>> * @iep1: pointer to IEP1 device
>> * @vlan_tbl: VLAN-FID table pointer
>> + * @hw_bridge_dev: pointer to HW bridge net device
>> + * @br_members: bitmask of bridge member ports
>> + * @prueth_netdevice_nb: netdevice notifier block
>> + * @prueth_switchdevice_nb: switchdev notifier block
>
> nit: s/prueth_switchdevice_nb/prueth_switchdev_nb/
>
> Flagged by ./scripts/kernel-doc -none>
Sure Simon. I will fix this.
>> + * @prueth_switchdev_bl_nb: switchdev blocking notifier block
>> + * @is_switch_mode: flag to indicate if device is in Switch mode
>> + * @is_switchmode_supported: indicates platform support for switch mode
>> + * @switch_id: ID for mapping switch ports to bridge
>> + * @default_vlan: Default VLAN for host
>> */
>> struct prueth {
>> struct device *dev;
>> @@ -236,6 +250,16 @@ struct prueth {
>> struct icss_iep *iep0;
>> struct icss_iep *iep1;
>> struct prueth_vlan_tbl *vlan_tbl;
>> +
>> + struct net_device *hw_bridge_dev;
>> + u8 br_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_switchmode_supported;
>> + unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN];
>> + int default_vlan;
>> };
>>
>> struct emac_tx_ts_response {
>
> ...
--
Thanks and Regards,
Danish
next prev parent reply other threads:[~2024-01-22 7:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-18 7:10 [RFC PATCH v2 0/3] Introduce switch mode support for ICSSG driver MD Danish Anwar
2024-01-18 7:10 ` [RFC PATCH v2 1/3] net: ti: icssg-prueth: Add helper functions to configure FDB MD Danish Anwar
2024-01-19 13:55 ` Andrew Lunn
2024-01-22 10:48 ` MD Danish Anwar
2024-01-18 7:10 ` [RFC PATCH v2 2/3] net: ti: icssg-switch: Add switchdev based driver for ethernet switch support MD Danish Anwar
2024-01-19 14:12 ` Andrew Lunn
2024-01-22 11:08 ` MD Danish Anwar
2024-03-19 9:49 ` MD Danish Anwar
2024-01-19 20:40 ` Simon Horman
2024-01-22 7:54 ` MD Danish Anwar [this message]
2024-01-18 7:10 ` [RFC PATCH v2 3/3] net: ti: icssg-prueth: Add support for ICSSG switch firmware MD Danish Anwar
2024-01-19 14:29 ` Andrew Lunn
2024-01-22 10:35 ` MD Danish Anwar
2024-01-19 20:41 ` Simon Horman
2024-01-22 7:52 ` MD Danish Anwar
2024-01-18 14:01 ` [RFC PATCH v2 0/3] Introduce switch mode support for ICSSG driver Andrew Lunn
2024-01-22 10:45 ` MD Danish Anwar
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=f9f770a9-5c49-44e2-ab81-c7eb35f0ed87@ti.com \
--to=danishanwar@ti.com \
--cc=andrew@lunn.ch \
--cc=arnd@arndb.de \
--cc=dan.carpenter@linaro.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=grygorii.strashko@ti.com \
--cc=horms@kernel.org \
--cc=jan.kiszka@siemens.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=r-gunasekaran@ti.com \
--cc=robh@kernel.org \
--cc=rogerq@kernel.org \
--cc=srk@ti.com \
--cc=vigneshr@ti.com \
--cc=vladimir.oltean@nxp.com \
--cc=wsa+renesas@sang-engineering.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
all inboxes | Powered by JetHome®