Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sflow + dropmon] added missing patch for the sFlow + dropmon feature. #281

Merged

Conversation

vadymhlushko-mlnx
Copy link
Contributor

Added a patch with changes required for the sFlow + dropmon feature.

#define PSAMPLE_MD_EXTENDED_ATTR 1 should be declared in the sonic-linux-kernel repo but used in Switch-SDK-drivers/drivers/net/sx_netdev/sx_psample.c

Signed-off-by: Vadym Hlushko vadymh@nvidia.com

@vadymhlushko-mlnx vadymhlushko-mlnx changed the title [sflow + dropmon] added 0003-psample-added-define-PSAMPLE_MD_EXTENDED_ATTR.patch [sflow + dropmon] added missing patch for the sFlow + dropmon feature. Jun 22, 2022
@vadymhlushko-mlnx
Copy link
Contributor Author

vadymhlushko-mlnx commented Jun 22, 2022

@saiarcot895 could you please review it?

Copy link
Contributor

@paulmenzel paulmenzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please reword the merge/pull request summary and description (describing the problem, the fix, and the tests.), and also update the commit message.

From 7dbf2689eb841c51dca4dad51b0941c06aa09e26 Mon Sep 17 00:00:00 2001
From: Vadym Hlushko <vadymh@nvidia.com>
Date: Mon, 11 Apr 2022 15:41:46 +0000
Subject: [PATCH 3/3] psample: added define PSAMPLE_MD_EXTENDED_ATTR, used in SDK driver sx_psample.c
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plesae use imperative mood.

Maybe describe the feature instead of the diff.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

From: Vadym Hlushko <vadymh@nvidia.com>
Date: Mon, 11 Apr 2022 15:41:46 +0000
Subject: [PATCH 3/3] psample: added define PSAMPLE_MD_EXTENDED_ATTR, used in SDK driver sx_psample.c

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a elaborate commit message.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe: Define the macro PSAMPLE_MD_EXTENDED_ATTR

But a very minor nit.

@prsunny
Copy link

prsunny commented Jun 22, 2022

I see that the buildimage PR depends on this. Since the other PR is already merged, does it break buildimage?

@vadymhlushko-mlnx
Copy link
Contributor Author

I see that the buildimage PR depends on this. Since the other PR is already merged, does it break buildimage?

Yes, it brakes the buildimage

…ample driver

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Copy link
Contributor

@paulmenzel paulmenzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update the merge/pull request summary/title.

From: Vadym Hlushko <vadymh@nvidia.com>
Date: Mon, 11 Apr 2022 15:41:46 +0000
Subject: [PATCH 3/3] psample: added define PSAMPLE_MD_EXTENDED_ATTR, used in SDK driver sx_psample.c

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe: Define the macro PSAMPLE_MD_EXTENDED_ATTR

But a very minor nit.

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
@vadymhlushko-mlnx
Copy link
Contributor Author

Please also update the merge/pull request summary/title.

Done

@saiarcot895 saiarcot895 merged commit fa9411d into sonic-net:master Jun 24, 2022
dprital added a commit to dprital/sonic-buildimage that referenced this pull request Aug 9, 2022
Update sonic-linux-kernel submodule pointer to include the following:
* [Mellanox] Add new kernel patches from HW-MGMT package V.7.0020.3005 ([sonic-net#287](sonic-net/sonic-linux-kernel#287))
* [patch] mlxsw: i2c: Prevent transaction execution for special chip ([sonic-net#279](sonic-net/sonic-linux-kernel#279))
* [sflow + dropmon] added missing patch for the sFlow + dropmon feature. ([sonic-net#281](sonic-net/sonic-linux-kernel#281))
* [sflow + dropmon] added patches for the sFlow + dropmon feature. ([sonic-net#276](sonic-net/sonic-linux-kernel#276))

Signed-off-by: dprital <drorp@nvidia.com>
vadymhlushko-mlnx added a commit to vadymhlushko-mlnx/sonic-linux-kernel that referenced this pull request Aug 15, 2022
sonic-net#281)

* [sflow + dropmon] Add patch which add Nvivia-specific flag for the psample driver

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

* Correct patch name

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

This defines the macro PSAMPLE_MD_EXTENDED_ATTR
vadymhlushko-mlnx added a commit to vadymhlushko-mlnx/sonic-linux-kernel that referenced this pull request Aug 16, 2022
sonic-net#281)

* [sflow + dropmon] Add patch which add Nvivia-specific flag for the psample driver

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

* Correct patch name

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

This defines the macro PSAMPLE_MD_EXTENDED_ATTR
vadymhlushko-mlnx added a commit to vadymhlushko-mlnx/sonic-linux-kernel that referenced this pull request Aug 16, 2022
sonic-net#281)

* [sflow + dropmon] Add patch which add Nvivia-specific flag for the psample driver

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

* Correct patch name

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

This defines the macro PSAMPLE_MD_EXTENDED_ATTR
yxieca pushed a commit that referenced this pull request Aug 29, 2022
#281)

* [sflow + dropmon] Add patch which add Nvivia-specific flag for the psample driver

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

* Correct patch name

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

This defines the macro PSAMPLE_MD_EXTENDED_ATTR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants