]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Implement devlink port split operations
authorAnatolii Gerasymenko <anatolii.gerasymenko@intel.com>
Thu, 11 Aug 2022 13:05:35 +0000 (15:05 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 24 Aug 2022 15:45:55 +0000 (08:45 -0700)
commit465ed388743bc1f64f91283e3d70824931cc7aa7
tree62667e125408935c0ac6a94395ebaf5e24018a73
parentd48913e7f6e34924fd47e05df65147892ae35f5b
ice: Implement devlink port split operations

Allow to configure port split options using the devlink port split
interface. Support port splitting only for port 0, as the FW has
a predefined set of available port split options for the whole device.

Add ice_devlink_port_options_print() function to print the table with
all available FW port split options. It will be printed after each port
split and unsplit command.

Add documentation for devlink port split interface usage for the ice
driver.

Co-developed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Anatolii Gerasymenko <anatolii.gerasymenko@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Documentation/networking/devlink/ice.rst
drivers/net/ethernet/intel/ice/ice_devlink.c
drivers/net/ethernet/intel/ice/ice_type.h