]> 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)
commitd1d50190eb796931ff46fc9bdc805d7ee85e3a29
tree223e01bc78d1927031728e7bac8c1e11a1ab2bad
parent0bb75baa48c97d3d9f9a30b1f356d9809e0afc1f
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