net/ice/base: recognize 860 as iSCSI port in CEE mode
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 20 Oct 2020 01:00:40 +0000 (09:00 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:03 +0000 (23:35 +0100)
commit67f1552b5e56678cc2545ab382e7f260d3c0ed81
tree2cf5506e00e4b1b8564ef14d573c8ba6f9886c2d
parentb54a1781d267bd52812eb79ab43b34a452578632
net/ice/base: recognize 860 as iSCSI port in CEE mode

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.

In this patch, we will rely on the dcbx-willing mode, desired QOS and
remote QOS configuration to determine which port number that iSCSI will
use.

Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_dcb.c
drivers/net/ice/base/ice_type.h