]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Add driver API for flashing the config attributes.
authorSudarsana Reddy Kalluru <skalluru@marvell.com>
Wed, 14 Aug 2019 08:11:53 +0000 (01:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2019 19:54:45 +0000 (12:54 -0700)
commita244bc90a98bd16af57b2c06df97fd00c04f79cd
tree223e01bc78d1927031728e7bac8c1e11a1ab2bad
parent0cb427a6865ef50a9543c223ad327ec1fb44f4e7
qed: Add driver API for flashing the config attributes.

The patch adds driver interface for reading the config attributes from user
provided buffer, and updates these values on nvm config flash partition.

This is basically an expansion of our existing ethtool -f implementation.
The management FW has exposed an additional method of configuring some of
the nvram options, and this makes use of that. This implementation will
come into use when newer FW files which contain configuration directives
employing this API will be provided to ethtool -f.

Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_main.c
include/linux/qed/qed_if.h