Commit Graph

10 Commits

Author SHA1 Message Date
MengEn Sun 0f790584f3 ice: add ice driver for arm64
PTP feature of ice NIC is depend on x86 cpu feature of known
Constant TSC frequency there is no tsc on arm64, so do not
init the PTP callback function on arm64.

btw: we compile the ice driver as modules from now on

Reviewed-by: yuehongwu <yuehongwu@tencent.com>
Signed-off-by: MengEn Sun <mengensun@tencent.com>
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: mengensun <mengensun@tencent.com>
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
2024-11-14 19:22:34 +08:00
Jinliang Zheng a2936f347e ice: update thirdparty ice nic driver to 1.10.1.2
Conflicts:
	drivers/thirdparty/ice/ice_ethtool.c

Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: mengensun <mengensun@tencent.com>
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
2024-11-14 19:22:04 +08:00
Jianping Liu 3a5b595eca thirdparty/bnxt: set -Wframe-larger-than=2144 in Makefile
To fix compile error when building debug kernel:
bnxt/tfc_v3/tfc_tbl_scope.c: In function 'tfc_tbl_scope_mem_alloc':
bnxt/tfc_v3/tfc_tbl_scope.c:1185:1: error: the frame size of 2144 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: Yongliang Gao <leonylgao@tencent.com>
2024-07-16 16:35:01 +08:00
Jianping Liu a61b032d57 thirdpaty/bnxt: update bnxt_en driver to 230
For details, the version is bnxt_en-1.10.3-230.2.52.0 . Note, bnxt_en
doesn't support RDMA, which needing bnxt_re driver.

Makefile in thirdpaty/bnxt have been modified:
add line 54: BNXT_SRC=$(srctree)/drivers/thirdparty/bnxt
add line 1420: src=$(BNXT_SRC)

Without line 1420, make dist-rpm will compile error as below:
drivers/thirdparty/bnxt/bnxt.c:111:10: fatal error: tfc.h: No such file or directory
 #include "tfc.h"

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: Yongliang Gao <leonylgao@tencent.com>
2024-07-16 16:35:01 +08:00
hongrongxuan 9c6bd0bf36 drivers/thirdparty: ice: extend coalesce setting uAPI with CQE mode
Fixes: (b2cbf6bc70 drivers/thirdparty: extend coalesce setting uAPI with CQE mode)
Signed-off-by: hongrongxuan <hongrongxuan@huawei.com>
2024-06-12 13:17:47 +08:00
hongrongxuan 9e308f121c drivers/thirdparty: ice: extend ringparam setting/getting API with rx_buf_len
Fixes:(fad4e75f22 driver/thirdparty: extend ringparam setting/getting API with rx_buf_len)
Signed-off-by: hongrongxuan <hongrongxuan@huawei.com>
2024-06-12 13:17:47 +08:00
hongrongxuan 188865e66d driver/thirdparty: extend ringparam setting/getting API with rx_buf_len 2024-06-12 13:17:45 +08:00
hongrongxuan 86475675f9 drivers/thirdparty: extend coalesce setting uAPI with CQE mode 2024-06-12 13:17:42 +08:00
hongrongxuan f7f663bb03 drivers/thirdparty: bnxt: remove ETHTOOL_COALESCE_USE_CQE define 2024-06-12 13:17:41 +08:00
Jianping Liu 3154060704 tkernel: sync code to the same with tk4 pub/lts/0017-kabi
Sync code to the same with tk4 pub/lts/0017-kabi, except deleted rue
and wujing. Partners can submit pull requests to this branch, and we
can pick the commits to tk4 pub/lts/0017-kabi easly.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
2024-06-12 13:13:20 +08:00