drivers/net: fix port id size
authorChenbo Xia <chenbo.xia@intel.com>
Wed, 30 Sep 2020 04:23:26 +0000 (12:23 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:15 +0000 (19:19 +0200)
commitfac8177a3669ff63d9ecb04372539e93e1f96ebf
tree4ac340f71f01a3ed6267894c61fb1f01587a10dc
parent3cce95f35ec64a76f44ff708058fb25e7b96ada2
drivers/net: fix port id size

The ethdev port id should be 16 bits now. This patch changes the
variable size of port id in some net drivers from 8 bits to 16
bits.

Fixes: 09b23f8b9df6 ("net/bnxt: fix port stop process and cleanup resources")
Fixes: 769de16872ab ("net/bnxt: fix port default rule create/destroy")
Fixes: 50370662b727 ("net/ice: support device and queue ops")
Fixes: a50d7cbbdad7 ("net/qede: support registers dump")
Cc: stable@dpdk.org
Signed-off-by: Chenbo Xia <chenbo.xia@intel.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/bnxt/tf_ulp/bnxt_ulp.c
drivers/net/bnxt/tf_ulp/ulp_def_rules.c
drivers/net/ice/ice_rxtx.h
drivers/net/qede/base/bcm_osal.h
drivers/net/qede/qede_regs.c