Hi Saeed,
Thanks for the review!
> -Original Message-
> From: Saeed Mahameed
> Sent: Saturday, November 7, 2020 3:46 AM
> To: Naveen Mamindlapalli ; netdev@vger.kernel.org;
> linux-ker...@vger.kernel.org
> Cc: k...@kernel.org; da...@davemloft.net; Sunil Kovvuri Goutha
Hi Saeed,
Thanks for the review!
> -Original Message-
> From: Saeed Mahameed
> Sent: Saturday, November 7, 2020 4:03 AM
> To: Naveen Mamindlapalli ; netdev@vger.kernel.org;
> linux-ker...@vger.kernel.org
> Cc: k...@kernel.org; da...@davemloft.net; Sunil Kovvuri Goutha
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.c| 4 +-
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 2 +
.../net/ethernet/marvell/octeontx2/af/rvu_npc.c| 78 ++
3 files changed, 82 insertions
;t be overwritten by VF.
Signed-off-by: Hariprasad Kelam
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.c| 12 +++-
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 2 ++
drivers/net/ethernet/marvell/octeont
From: Subbaraya Sundeep
Since mailbox message for installing flows is in place,
remove the RXVLAN_ALLOC mbox message which is redundant.
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
valid MAC addr
in nix_lf_start_rx function.
Signed-off-by: Naveen Mamindlapalli
Co-developed-by: Tomasz Duszynski
Signed-off-by: Tomasz Duszynski
Signed-off-by: Sunil Goutham
Signed-off-by: Hariprasad Kelam
---
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 1 +
drivers/net/ethernet
existing entry.
Similarly while installing new flow rules for a VF, the base
flow steering rule match creteria is copied to the new flow rule
and the deltas are appended to the new rule.
Signed-off-by: Naveen Mamindlapalli
Co-developed-by: Vamsi Attunuru
Signed-off-by: Vamsi Attunuru
Signed-off
rt 23 mask 0x
Forward to: PF1 VF0
action: Direct to queue 0
enabled: yes
counter: 1
hits: 0
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/af/rvu_debugfs.c
insert. The mailbox response contains the entry
index which is used by mailbox requester in configuring the
NPC_TX_VTAG_ACTION for any MCAM entry.
Signed-off-by: Vamsi Attunuru
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
outer vlan fields. The NIX PF allocates one MCAM entry
for Rx VLAN offload.
Signed-off-by: Hariprasad Kelam
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 13 +++
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c
-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/nic/otx2_common.h | 15 ++-
.../ethernet/marvell/octeontx2/nic/otx2_flows.c| 120 -
.../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 15 ++-
3 files changed, 143 insertions
-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/common.h | 2 +
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 76 ++-
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 57 +-
drivers/net
now
and PF can install ntuple filters to direct the traffic to its
VFs. Hence added a separate callback for VFs to get/set RSS
configuration.
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../net/ethernet/marvell/octeontx2/nic/Makefile
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/Makefile | 2 +-
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 48 ++
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 38 ++
.../net/ethernet/marvell/octeontx2/af
changes
Naveen Mamindlapalli (2):
octeontx2-pf: Add support for SR-IOV management functions
octeontx2-af: Add new mbox messages to retrieve MCAM entries
Stanislaw Kardach (1):
octeontx2-af: Modify default KEX profile to extract TX packet fields
Subbaraya Sundeep (6):
octeontx2-af: Verify MC
which points to the tpid field.
Signed-off-by: Stanislaw Kardach
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/af/npc_profile.h| 71 --
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c| 6 ++
2 files changed, 72 inser
Hi Alexander,
Thanks for the review.
> -Original Message-
> From: Alexander Duyck
> Sent: Friday, November 13, 2020 1:32 AM
> To: Naveen Mamindlapalli
> Cc: Netdev ; LKML ;
> Jakub Kicinski ; David Miller ;
> sa...@kernel.org; Sunil Kovvuri Goutham ; Linu
>
Hi Alexander,
> -Original Message-
> From: Alexander Duyck
> Sent: Friday, November 13, 2020 1:33 AM
> To: Naveen Mamindlapalli
> Cc: Netdev ; LKML ;
> Jakub Kicinski ; David Miller ;
> sa...@kernel.org; Sunil Kovvuri Goutham ; Linu
> Cherian ; Geethasowjan
Hi Alexander,
Thanks for the review.
> -Original Message-
> From: Alexander Duyck
> Sent: Friday, November 13, 2020 3:17 AM
> To: Naveen Mamindlapalli
> Cc: Netdev ; LKML ;
> Jakub Kicinski ; David Miller ;
> sa...@kernel.org; Sunil Kovvuri Goutham ; Linu
>
Hi Alexander,
Thanks for the review.
> -Original Message-
> From: Alexander Duyck
> Sent: Friday, November 13, 2020 2:55 AM
> To: Naveen Mamindlapalli
> Cc: Netdev ; LKML ;
> Jakub Kicinski ; David Miller ;
> sa...@kernel.org; Sunil Kovvuri Goutham ; Linu
>
Hi Saeed,
> -Original Message-
> From: Saeed Mahameed
> Sent: Friday, November 13, 2020 1:18 AM
> To: Naveen Mamindlapalli ; netdev@vger.kernel.org;
> linux-ker...@vger.kernel.org
> Cc: k...@kernel.org; da...@davemloft.net; Sunil Kovvuri Goutham
> ; Linu Cherian ;
&
Hi Saeed,
Thanks for the review.
> -Original Message-
> From: Saeed Mahameed
> Sent: Friday, November 13, 2020 1:27 AM
> To: Naveen Mamindlapalli ; netdev@vger.kernel.org;
> linux-ker...@vger.kernel.org
> Cc: k...@kernel.org; da...@davemloft.net; Sunil Kovvuri Goutha
Hi Saeed,
Thanks for the review.
> -Original Message-
> From: Saeed Mahameed
> Sent: Friday, November 13, 2020 1:47 AM
> To: Naveen Mamindlapalli ; netdev@vger.kernel.org;
> linux-ker...@vger.kernel.org
> Cc: k...@kernel.org; da...@davemloft.net; Sunil Kovvuri Goutha
Hi Saeed,
Thanks for the review.
> -Original Message-
> From: Saeed Mahameed
> Sent: Friday, November 13, 2020 1:47 AM
> To: Naveen Mamindlapalli ; netdev@vger.kernel.org;
> linux-ker...@vger.kernel.org
> Cc: k...@kernel.org; da...@davemloft.net; Sunil Kovvuri Goutha
;t be overwritten by VF.
Signed-off-by: Hariprasad Kelam
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.c| 12 +++-
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 2 ++
drivers/net/ethernet/marvell/octeont
-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/nic/otx2_common.h | 15 ++-
.../ethernet/marvell/octeontx2/nic/otx2_flows.c| 120 -
.../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 15 ++-
3 files changed, 143 insertions
ed to point LB_PTR to the starting byte offset of VLAN header
which points to the tpid field.
Signed-off-by: Stanislaw Kardach
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 31 +++
.../ethernet/marvell/octeont
From: Subbaraya Sundeep
Since mailbox message for installing flows is in place,
remove the RXVLAN_ALLOC mbox message which is redundant.
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
insert. The mailbox response contains the entry
index which is used by mailbox requester in configuring the
NPC_TX_VTAG_ACTION for any MCAM entry.
Signed-off-by: Vamsi Attunuru
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
outer vlan fields. The NIX PF allocates one MCAM entry
for Rx VLAN offload.
Signed-off-by: Hariprasad Kelam
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 13 +++
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.c| 4 +-
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 2 +
.../net/ethernet/marvell/octeontx2/af/rvu_npc.c| 78 ++
3 files changed, 82 insertions
valid MAC addr
in nix_lf_start_rx function.
Signed-off-by: Naveen Mamindlapalli
Co-developed-by: Tomasz Duszynski
Signed-off-by: Tomasz Duszynski
Signed-off-by: Sunil Goutham
Signed-off-by: Hariprasad Kelam
---
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 1 +
drivers/net/ethernet
existing entry.
Similarly while installing new flow rules for a VF, the base
flow steering rule match creteria is copied to the new flow rule
and the deltas are appended to the new rule.
Signed-off-by: Naveen Mamindlapalli
Co-developed-by: Vamsi Attunuru
Signed-off-by: Vamsi Attunuru
Signed-off
-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/common.h | 2 +
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 76 ++-
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 57 +-
drivers/net
now
and PF can install ntuple filters to direct the traffic to its
VFs. Hence added a separate callback for VFs to get/set RSS
configuration.
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../net/ethernet/marvell/octeontx2/nic/Makefile
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/Makefile | 2 +-
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 48 ++
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 38 ++
.../net/ethernet/marvell/octeontx2/af
rt 23 mask 0x
Forward to: PF1 VF0
action: Direct to queue 0
enabled: yes
counter: 1
hits: 0
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/af/rvu_debugfs.c
address filtering
octeontx2-pf: Implement ingress/egress VLAN offload
octeontx2-af: Handle PF-VF mac address changes
Naveen Mamindlapalli (2):
octeontx2-pf: Add support for SR-IOV management functions
octeontx2-af: Add new mbox messages to retrieve MCAM entries
Stanislaw Kardach (1):
oc
the field is not extracted
into MCAM search key. Modified npc_check_field function to return bool.
Signed-off-by: Naveen Mamindlapalli
Signed-off-by: Sunil Goutham
---
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 5 +
.../ethernet/marvell/octeontx2/af/rvu_debugfs.c| 1 +
.../ne
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.c| 4 +-
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 2 +
.../net/ethernet/marvell/octeontx2/af/rvu_npc.c| 78 ++
3 files changed, 82 insertions
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/Makefile | 2 +-
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 19 +
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 69 +++
.../net/ethernet/marvell/octeontx2/af
.
* Patch 12 adds support to read the MCAM entries.
Misc:
* Removed redundant mailbox NIX_RXVLAN_ALLOC.
Hariprasad Kelam (3):
octeontx2-pf: Add support for unicast MAC address filtering
octeontx2-pf: Implement ingress/egress VLAN offload
octeontx2-af: Handle PF-VF mac address changes
Naveen
which points to the tpid field.
Signed-off-by: Stanislaw Kardach
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/af/npc_profile.h| 71 --
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c| 6 ++
2 files changed, 72 inser
rt 23 mask 0x
Forward to: PF1 VF0
action: Direct to queue 0
enabled: yes
counter: 1
hits: 0
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/af/rvu_debugfs.c
insert. The mailbox response contains the entry
index which is used by mailbox requester in configuring the
NPC_TX_VTAG_ACTION for any MCAM entry.
Signed-off-by: Vamsi Attunuru
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
From: Subbaraya Sundeep
Since mailbox message for installing flows is in place,
remove the RXVLAN_ALLOC mbox message which is redundant.
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/nic/otx2_common.h | 10 ++
.../ethernet/marvell/octeontx2/nic/otx2_flows.c| 138 +++--
.../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 5 +
3 files changed, 146 insertions
outer vlan fields. The NIX PF allocates one MCAM entry
for Rx VLAN offload.
Signed-off-by: Hariprasad Kelam
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 13 +++
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c
now
and PF can install ntuple filters to direct the traffic to its
VFs. Hence added a separate callback for VFs to get/set RSS
configuration.
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../net/ethernet/marvell/octeontx2/nic/Makefile
-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/common.h | 2 +
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 76 ++-
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 57 +-
drivers/net
valid MAC addr
in nix_lf_start_rx function.
Signed-off-by: Naveen Mamindlapalli
Co-developed-by: Tomasz Duszynski
Signed-off-by: Tomasz Duszynski
Signed-off-by: Sunil Goutham
Signed-off-by: Hariprasad Kelam
---
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 1 +
drivers/net/ethernet
;t be overwritten by VF.
Signed-off-by: Hariprasad Kelam
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.c| 12 +++-
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 2 ++
drivers/net/ethernet/marvell/octeont
existing entry.
Similarly while installing new flow rules for a VF, the base
flow steering rule match creteria is copied to the new flow rule
and the deltas are appended to the new rule.
Signed-off-by: Naveen Mamindlapalli
Co-developed-by: Vamsi Attunuru
Signed-off-by: Vamsi Attunuru
Signed-off
Hi Jakub,
> -Original Message-
> From: Jakub Kicinski
> Sent: Monday, November 2, 2020 11:23 PM
> To: Naveen Mamindlapalli
> Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org;
> da...@davemloft.net; Sunil Kovvuri Goutham ; Linu
> Cherian ; Geethasowjanya
Hi Jakub,
> -Original Message-
> From: Jakub Kicinski
> Sent: Monday, November 2, 2020 11:24 PM
> To: Naveen Mamindlapalli
> Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org;
> da...@davemloft.net; Sunil Kovvuri Goutham ; Linu
> Cherian ; Geethasowjanya
Hi Jakub,
> -Original Message-
> From: Jakub Kicinski
> Sent: Monday, November 2, 2020 11:25 PM
> To: Naveen Mamindlapalli
> Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org;
> da...@davemloft.net; Sunil Kovvuri Goutham ; Linu
> Cherian ; Geethasowjanya
rt 23 mask 0x
Forward to: PF1 VF0
action: Direct to queue 0
enabled: yes
counter: 1
hits: 0
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/af/rvu_debugfs.c
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/Makefile | 2 +-
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 48 ++
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 38 ++
.../net/ethernet/marvell/octeontx2/af
insert. The mailbox response contains the entry
index which is used by mailbox requester in configuring the
NPC_TX_VTAG_ACTION for any MCAM entry.
Signed-off-by: Vamsi Attunuru
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
octeontx2-af: Handle PF-VF mac address changes
Naveen Mamindlapalli (2):
octeontx2-pf: Add support for SR-IOV management functions
octeontx2-af: Add new mbox messages to retrieve MCAM entries
Stanislaw Kardach (1):
octeontx2-af: Modify default KEX profile to extract TX packet fields
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.c| 4 +-
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 2 +
.../net/ethernet/marvell/octeontx2/af/rvu_npc.c| 78 ++
3 files changed, 82 insertions
which points to the tpid field.
Signed-off-by: Stanislaw Kardach
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/af/npc_profile.h| 71 --
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c| 6 ++
2 files changed, 72 inser
From: Subbaraya Sundeep
Since mailbox message for installing flows is in place,
remove the RXVLAN_ALLOC mbox message which is redundant.
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
outer vlan fields. The NIX PF allocates one MCAM entry
for Rx VLAN offload.
Signed-off-by: Hariprasad Kelam
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 13 +++
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c
valid MAC addr
in nix_lf_start_rx function.
Signed-off-by: Naveen Mamindlapalli
Co-developed-by: Tomasz Duszynski
Signed-off-by: Tomasz Duszynski
Signed-off-by: Sunil Goutham
Signed-off-by: Hariprasad Kelam
---
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 1 +
drivers/net/ethernet
-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/nic/otx2_common.h | 10 ++
.../ethernet/marvell/octeontx2/nic/otx2_flows.c| 138 +++--
.../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 5 +
3 files changed, 146 insertions
now
and PF can install ntuple filters to direct the traffic to its
VFs. Hence added a separate callback for VFs to get/set RSS
configuration.
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../net/ethernet/marvell/octeontx2/nic/Makefile
existing entry.
Similarly while installing new flow rules for a VF, the base
flow steering rule match creteria is copied to the new flow rule
and the deltas are appended to the new rule.
Signed-off-by: Naveen Mamindlapalli
Co-developed-by: Vamsi Attunuru
Signed-off-by: Vamsi Attunuru
Signed-off
-off-by: Subbaraya Sundeep
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/common.h | 2 +
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 76 ++-
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 57 +-
drivers/net
;t be overwritten by VF.
Signed-off-by: Hariprasad Kelam
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.c| 12 +++-
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 2 ++
drivers/net/ethernet/marvell/octeont
Hi,
I am new to the tc subsystem and trying to understand tc rule
priorities for hardware offloading. I can see that the tc flower
classifier rules are added with a default priority value of 49152 (low
priority) and then the priority is increased for subsequent rules.
When offloading tc flower rul
AF.
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 5 +++
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 14 +--
.../ethernet/marvell/octeontx2/af/rvu_debugfs.c| 2 +-
.../net/ethernet/marvell/octeontx2/af/rvu_npc.c| 47
, Pradeep (1):
octeontx2-af: Add support for multi channel in NIX promisc entry
Naveen Mamindlapalli (3):
octeontx2-af: refactor function npc_install_flow for default entry
octeontx2-af: Use npc_install_flow API for promisc and broadcast
entries
octeontx2-af: Modify the return code for
ilable for the interface. Key
mask is modified such that incoming packets from channel base to channel
count are directed to the same pci function.
Signed-off-by: Nalla, Pradeep
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.h | 3 ++-
drivers/ne
The mbox handler npc_install_flow returns ENOTSUPP for unsupported
flow keys. This patch modifies the return value to AF driver defined
error code for debugging purpose.
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 1 +
drivers/net/ethernet
npc_install_flow_req to calculate channel
mask when channel count is greater than 1 and configure the channel
mask in entry kw_mask.
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 1 +
.../net/ethernet/marvell/octeontx2/af/rvu_npc.c| 107
detach-attach
sequence. When that happens mcam_rules list end up with two
default unicast rules. Fix the problem by deleting the default
unicast rule list node always when disabling mcam rules.
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/m
ified interface.
Naveen Mamindlapalli (3):
octeontx2-pf: Add ip tos and ip proto icmp/icmpv6 flow offload support
octeontx2-pf: Add tc flower hardware offload on ingress traffic
octeontx2-pf: add tc flower stats handler for hw offloads
Sunil Goutham (1):
octeontx2-pf: TC_MATCHALL egress ratelim
flow-type ip4 tos 8 vf 0 queue 0
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell/octeontx2/af/npc.h| 2 ++
.../net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c | 17 +++--
.../ethernet/marvell/octeontx2/nic/otx2_flows.c| 42 --
3 files changed
1
# tc filter del dev eth0 ingress protocol ip pref 49152 \
handle 1 flower
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/af/rvu_debugfs.c| 2 +-
.../net/ethernet/marvell/octeontx2/nic/Makefile| 2 +-
.../ethernet/marvell/octeontx2/nic/otx2_common.h
skip_sw \
action police rate 100Mbit burst 16Kbit
HW supports a max burst size of ~128KB.
Only one ratelimiting filter can be installed at a time.
Signed-off-by: Sunil Goutham
Signed-off-by: Naveen Mamindlapalli
---
.../ethernet/marvell/octeontx2/nic/otx2_common.h | 1 +
.../net
Add support to get the stats for tc flower flows that are
offloaded to hardware. To support this feature, added a
new AF mbox handler which returns the MCAM entry stats
for a flow that has hardware stat counter enabled.
Signed-off-by: Naveen Mamindlapalli
---
drivers/net/ethernet/marvell
82 matches
Mail list logo