]> 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)
commit9042b7566cf70be4b3401d5f04bd96f9cdc6c031
tree62667e125408935c0ac6a94395ebaf5e24018a73
parent3de0cf5c3441529ff0b0b0e7062cefc00032f5dc
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