Thread (15 messages) flat view 15 messages, 4 authors, 2021-11-19

Re: [EXT] Re: [net-next PATCH 1/2] octeontx2-pf: Add devlink param to init and de-init serdes

From: sundeep subbaraya <hidden>
Date: 2021-11-19 14:27:09

Possibly related (same subject, not in this thread)

On Fri, Nov 19, 2021 at 7:40 PM Jakub Kicinski [off-list ref] wrote:
On Fri, 19 Nov 2021 16:17:53 +0530 sundeep subbaraya wrote:
quoted
As said by Ido, ndo_change_proto_down with proto_down as
on and off is sufficient for our requirement right now. We will use
ndo_change_proto_down instead of devlink. Thanks everyone for
pitching in.
ndo_change_proto_down is for software devices. Make sure you explain
your use case well, otherwise it's going to be a nack.
Sorry new to networking stuff here. Where does the below imply it is
for software devices?
* void (*ndo_change_proto_down)(struct net_device *dev,
 *                               bool proto_down);
 *      This function is used to pass protocol port error state information
 *      to the switch driver. The switch driver can react to the proto_down
 *      by doing a phys down on the associated switch port.
I will find out the use case (pinged customer again)

Thanks,
Sundeep
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help