Skip to content

Commit

Permalink
[Knet driver] Upgrade Broadcom xgs saibcm-modules to 10.1 (#19327)
Browse files Browse the repository at this point in the history
* commit changes under sdklt/ foloder

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* commit changes under saibcm-modules/ excpet sdklt/

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* upgrade saibcm-modules version to 10.1

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* update changelog

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* add dcb folder

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* move dcb to systems/linux/kernel/modules/

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* fix path

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* fix path

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* fix path

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* try fix include error

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* remove all generated files

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* add sdklt/bcmlrd/include/bcmlrd/chip/generated/ folder

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* add bcmltd/

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* Add missing folder

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* add missing folder

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* Add missing folders

Signed-off-by: zitingguo <zitingguo@microsoft.com>

* Make sure 'genl-packet' is built before 'bcmgenl'

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* sending original pkt size to psample module

Signed-off-by: zitingguo <zitingguo@microsoft.com>

* try pass semgrep check

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

* try bypass semgrep check

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

---------

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
Signed-off-by: zitingguo <zitingguo@microsoft.com>
  • Loading branch information
Gfrom2016 authored and mssonicbld committed Aug 28, 2024
1 parent c8fbe8b commit 8465d96
Show file tree
Hide file tree
Showing 496 changed files with 200,183 additions and 4,050 deletions.
2 changes: 1 addition & 1 deletion platform/broadcom/sai-modules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Broadcom SAI modules

BRCM_OPENNSL_KERNEL_VERSION = 8.4.0.2
BRCM_OPENNSL_KERNEL_VERSION = 10.1.0.0

BRCM_OPENNSL_KERNEL = opennsl-modules_$(BRCM_OPENNSL_KERNEL_VERSION)_amd64.deb
$(BRCM_OPENNSL_KERNEL)_SRC_PATH = $(PLATFORM_PATH)/saibcm-modules
Expand Down
Empty file.
Empty file.
2 changes: 2 additions & 0 deletions platform/broadcom/saibcm-modules/GLOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CMD = [/projects/csg_sonic2/sk411346/repos/SAI/6.5.29/ocp_sai/sdk-src/hsdk-6.5.29/xgs-sdk-6.5.29-gpl-modules/, gtags --single-update systems/linux/kernel/modules/bcm-knet/bcm-knet.c]
CMD = [/projects/csg_sonic2/sk411346/repos/SAI/6.5.29/ocp_sai/sdk-src/hsdk-6.5.29/xgs-sdk-6.5.29-gpl-modules/, gtags --single-update systems/linux/kernel/modules/knet-cb/knet-cb.c]
Empty file.
Empty file.
Empty file.
6 changes: 6 additions & 0 deletions platform/broadcom/saibcm-modules/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
opennsl (10.1.0.0) unstable; urgency=medium

* Update to Broadcom SAI 10.1.0.0

-- Ziting Guo <zitingguo@microsoft.com> Mon Jun 17 05:18:47 2024 +0000

opennsl (8.4.0.2) unstable; urgency=medium

* Update to Broadcom SAI 8.4.0.2
Expand Down
11 changes: 4 additions & 7 deletions platform/broadcom/saibcm-modules/include/ibde.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
* $Id: ibde.h,v 1.27 Broadcom SDK $
* $Copyright: 2007-2023 Broadcom Inc. All rights reserved.
*
* Permission is granted to use, copy, modify and/or distribute this
* software under either one of the licenses below.
Expand All @@ -22,12 +23,8 @@
* License Option 2: Broadcom Open Network Switch APIs (OpenNSA) license
*
* This software is governed by the Broadcom Open Network Switch APIs license:
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa
*/
/*
* $Id: ibde.h,v 1.27 Broadcom SDK $
* $Copyright: (c) 2005 Broadcom Corp.
* All Rights Reserved.$
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa $
*
*/

#ifndef __IBDE_H__
Expand Down
14 changes: 5 additions & 9 deletions platform/broadcom/saibcm-modules/include/kcom.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
* $Id: kcom.h,v 1.9 Broadcom SDK $
* $Copyright: 2007-2023 Broadcom Inc. All rights reserved.
*
* Permission is granted to use, copy, modify and/or distribute this
* software under either one of the licenses below.
Expand All @@ -22,12 +23,8 @@
* License Option 2: Broadcom Open Network Switch APIs (OpenNSA) license
*
* This software is governed by the Broadcom Open Network Switch APIs license:
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa
*/
/*
* $Id: kcom.h,v 1.9 Broadcom SDK $
* $Copyright: (c) 2005 Broadcom Corp.
* All Rights Reserved.$
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa $
*
*
* File: kcom.h
* Purpose: User/Kernel message definitions
Expand Down Expand Up @@ -147,8 +144,7 @@ typedef struct kcom_netif_s {
uint8 type;
uint8 flags;
uint32 cb_user_data;
uint8 port;
uint8 reserved;
uint16 port;
uint16 vlan;
uint16 qnum;
uint8 macaddr[6];
Expand Down
11 changes: 4 additions & 7 deletions platform/broadcom/saibcm-modules/include/sal/core/sync.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
* $Id: sync.h,v 1.1 Broadcom SDK $
* $Copyright: 2007-2023 Broadcom Inc. All rights reserved.
*
* Permission is granted to use, copy, modify and/or distribute this
* software under either one of the licenses below.
Expand All @@ -22,12 +23,8 @@
* License Option 2: Broadcom Open Network Switch APIs (OpenNSA) license
*
* This software is governed by the Broadcom Open Network Switch APIs license:
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa
*/
/*
* $Id: sync.h,v 1.1 Broadcom SDK $
* $Copyright: (c) 2005 Broadcom Corp.
* All Rights Reserved.$
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa $
*
*/

#ifndef _SAL_SYNC_H
Expand Down
11 changes: 4 additions & 7 deletions platform/broadcom/saibcm-modules/include/sal/core/thread.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
* $Id: thread.h,v 1.1 Broadcom SDK $
* $Copyright: 2007-2023 Broadcom Inc. All rights reserved.
*
* Permission is granted to use, copy, modify and/or distribute this
* software under either one of the licenses below.
Expand All @@ -22,12 +23,8 @@
* License Option 2: Broadcom Open Network Switch APIs (OpenNSA) license
*
* This software is governed by the Broadcom Open Network Switch APIs license:
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa
*/
/*
* $Id: thread.h,v 1.1 Broadcom SDK $
* $Copyright: (c) 2005 Broadcom Corp.
* All Rights Reserved.$
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa $
*
*/

#ifndef _SAL_THREAD_H
Expand Down
11 changes: 4 additions & 7 deletions platform/broadcom/saibcm-modules/include/sal/types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
* $Id: types.h,v 1.3 Broadcom SDK $
* $Copyright: 2007-2023 Broadcom Inc. All rights reserved.
*
* Permission is granted to use, copy, modify and/or distribute this
* software under either one of the licenses below.
Expand All @@ -22,12 +23,8 @@
* License Option 2: Broadcom Open Network Switch APIs (OpenNSA) license
*
* This software is governed by the Broadcom Open Network Switch APIs license:
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa
*/
/*
* $Id: types.h,v 1.3 Broadcom SDK $
* $Copyright: (c) 2005 Broadcom Corp.
* All Rights Reserved.$
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa $
*
*
* File: types.h
* Purpose: SAL type definitions
Expand Down
11 changes: 4 additions & 7 deletions platform/broadcom/saibcm-modules/include/sdk_config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
* $Id: sdk_config.h,v 1.5 Broadcom SDK $
* $Copyright: 2007-2023 Broadcom Inc. All rights reserved.
*
* Permission is granted to use, copy, modify and/or distribute this
* software under either one of the licenses below.
Expand All @@ -22,12 +23,8 @@
* License Option 2: Broadcom Open Network Switch APIs (OpenNSA) license
*
* This software is governed by the Broadcom Open Network Switch APIs license:
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa
*/
/*
* $Id: sdk_config.h,v 1.5 Broadcom SDK $
* $Copyright: (c) 2006 Broadcom Corp.
* All Rights Reserved.$
* https://www.broadcom.com/products/ethernet-connectivity/software/opennsa $
*
*
*
*/
Expand Down
Loading

0 comments on commit 8465d96

Please sign in to comment.