[net-next PATCH V2 0/4] Priority flow control support for RVU netdev

Hariprasad Kelam posted 4 patches 4 years, 4 months ago
.../net/ethernet/marvell/octeontx2/af/cgx.c   | 247 +++++++++++++-----
.../net/ethernet/marvell/octeontx2/af/cgx.h   |  13 +
.../marvell/octeontx2/af/lmac_common.h        |  10 +
.../net/ethernet/marvell/octeontx2/af/mbox.h  |  19 ++
.../net/ethernet/marvell/octeontx2/af/rpm.c   | 223 ++++++++++++----
.../net/ethernet/marvell/octeontx2/af/rpm.h   |  30 +++
.../net/ethernet/marvell/octeontx2/af/rvu.h   |   3 +
.../ethernet/marvell/octeontx2/af/rvu_cgx.c   | 117 ++++++++-
.../ethernet/marvell/octeontx2/af/rvu_nix.c   |  16 +-
.../ethernet/marvell/octeontx2/nic/Makefile   |   3 +
.../marvell/octeontx2/nic/otx2_common.c       |  18 +-
.../marvell/octeontx2/nic/otx2_common.h       |  12 +
.../marvell/octeontx2/nic/otx2_dcbnl.c        | 170 ++++++++++++
.../marvell/octeontx2/nic/otx2_flows.c        |  50 +++-
.../ethernet/marvell/octeontx2/nic/otx2_pf.c  |  26 +-
.../ethernet/marvell/octeontx2/nic/otx2_vf.c  |  24 +-
16 files changed, 836 insertions(+), 145 deletions(-)
create mode 100644 drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c
[net-next PATCH V2 0/4] Priority flow control support for RVU netdev
Posted by Hariprasad Kelam 4 years, 4 months ago
In network congestion, instead of pausing all traffic on link
PFC allows user to selectively pause traffic according to its
class. This series of patches add support of PFC for RVU netdev
drivers.

Patch1 adds support to disable pause frames by default as
with PFC user can enable either PFC or 802.3 pause frames.
Patch2&3 adds resource management support for flow control
and configures necessary registers for PFC.
Patch4 adds dcb ops registration for netdev drivers.

V2 changes:
Fix compilation error by exporting required symbols 'otx2_config_pause_frm'

Hariprasad Kelam (3):
  octeontx2-af: Don't enable Pause frames by default
  octeontx2-af: Flow control resource management
  octeontx2-pf: PFC config support with DCBx

Sunil Kumar Kori (1):
  octeontx2-af: Priority flow control configuration support

 .../net/ethernet/marvell/octeontx2/af/cgx.c   | 247 +++++++++++++-----
 .../net/ethernet/marvell/octeontx2/af/cgx.h   |  13 +
 .../marvell/octeontx2/af/lmac_common.h        |  10 +
 .../net/ethernet/marvell/octeontx2/af/mbox.h  |  19 ++
 .../net/ethernet/marvell/octeontx2/af/rpm.c   | 223 ++++++++++++----
 .../net/ethernet/marvell/octeontx2/af/rpm.h   |  30 +++
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |   3 +
 .../ethernet/marvell/octeontx2/af/rvu_cgx.c   | 117 ++++++++-
 .../ethernet/marvell/octeontx2/af/rvu_nix.c   |  16 +-
 .../ethernet/marvell/octeontx2/nic/Makefile   |   3 +
 .../marvell/octeontx2/nic/otx2_common.c       |  18 +-
 .../marvell/octeontx2/nic/otx2_common.h       |  12 +
 .../marvell/octeontx2/nic/otx2_dcbnl.c        | 170 ++++++++++++
 .../marvell/octeontx2/nic/otx2_flows.c        |  50 +++-
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  |  26 +-
 .../ethernet/marvell/octeontx2/nic/otx2_vf.c  |  24 +-
 16 files changed, 836 insertions(+), 145 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c

--
2.17.1
Re: [net-next PATCH V2 0/4] Priority flow control support for RVU netdev
Posted by patchwork-bot+netdevbpf@kernel.org 4 years, 4 months ago
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Wed, 9 Feb 2022 12:45:15 +0530 you wrote:
> In network congestion, instead of pausing all traffic on link
> PFC allows user to selectively pause traffic according to its
> class. This series of patches add support of PFC for RVU netdev
> drivers.
> 
> Patch1 adds support to disable pause frames by default as
> with PFC user can enable either PFC or 802.3 pause frames.
> Patch2&3 adds resource management support for flow control
> and configures necessary registers for PFC.
> Patch4 adds dcb ops registration for netdev drivers.
> 
> [...]

Here is the summary with links:
  - [net-next,V2,1/4] octeontx2-af: Don't enable Pause frames by default
    https://git.kernel.org/netdev/net-next/c/d957b51f7ed6
  - [net-next,V2,2/4] octeontx2-af: Priority flow control configuration support
    https://git.kernel.org/netdev/net-next/c/1121f6b02e7a
  - [net-next,V2,3/4] octeontx2-af: Flow control resource management
    https://git.kernel.org/netdev/net-next/c/e740003874ed
  - [net-next,V2,4/4] octeontx2-pf: PFC config support with DCBx
    https://git.kernel.org/netdev/net-next/c/8e67558177f8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html