]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ice: Recognize 860 as iSCSI port in CEE mode
authorChinh T Cao <chinh.t.cao@intel.com>
Fri, 26 Feb 2021 21:19:25 +0000 (13:19 -0800)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:53:31 +0000 (09:53 +0200)
commit4ef294e3b421796e995b0caea4a810044d9e0b30
tree43a54526cbbb4f69310d3107fc0e6a0d9960ecb3
parentd2d15919ab3d7339edb76413e776f07d110aa690
ice: Recognize 860 as iSCSI port in CEE mode

BugLink: https://bugs.launchpad.net/bugs/1926368
[ Upstream commit aeac8ce864d9c0836e12ed5b5cc80f62f3cccb7c ]

iSCSI can use both TCP ports 860 and 3260. However, in our current
implementation, the ice_aqc_opc_get_cee_dcb_cfg (0x0A07) AQ command
doesn't provide a way to communicate the protocol port number to the
AQ's caller. Thus, we assume that 3260 is the iSCSI port number at the
AQ's caller layer.

Rely on the dcbx-willing mode, desired QoS and remote QoS configuration to
determine which port number that iSCSI will use.

Fixes: 0ebd3ff13cca ("ice: Add code for DCB initialization part 2/4")
Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/intel/ice/ice_dcb.c
drivers/net/ethernet/intel/ice/ice_type.h