Skip to contentSkip to conversation

ice: Split ice_flex_pipe.c into DDP and flexible processing parts

PATCH In review Sergey Temerkhanov 2 participants 3 messages Dec 12, 2022 – Dec 15, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ice: Split ice_flex_pipe.c into DDP and flexible processing parts

Move the DDP functionality from ice_flex_pipe.c to ice_ddp.c. This enables loading of the DDP package without the rest of the flexible packet processing support code

---
 drivers/net/ethernet/intel/ice/Makefile       |    1 +
 drivers/net/ethernet/intel/ice/ice_ddp.c      | 1910 ++++++++++++++++
 drivers/net/ethernet/intel/ice/ice_ddp.h      |  450 ++++
 .../net/ethernet/intel/ice/ice_flex_pipe.c    | 1962 +----------------
 .../net/ethernet/intel/ice/ice_flex_pipe.h    |   69 -
 .../net/ethernet/intel/ice/ice_flex_type.h    |  337 +--
 6 files changed, 2391 insertions(+), 2338 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/ice/ice_ddp.c
 create mode 100644 drivers/net/ethernet/intel/ice/ice_ddp.h
drivers/net/ethernet/intel/ice/Makefile +1 -0
index 060d8f2b4953..f269952d207d 100644
@@ -28,6 +28,7 @@ ice-y := ice_main.o	\
 	 ice_flow.o	\
 	 ice_idc.o	\
 	 ice_devlink.o	\
+	 ice_ddp.o	\
 	 ice_fw_update.o \
 	 ice_lag.o	\
 	 ice_ethtool.o  \
drivers/net/ethernet/intel/ice/ice_ddp.c new file +1910 -0

1,910 lines not on this page · raw message

drivers/net/ethernet/intel/ice/ice_ddp.h new file +450 -0

450 lines not on this page · raw message

drivers/net/ethernet/intel/ice/ice_flex_pipe.c +29 -1933

633 lines not on this page · raw message

drivers/net/ethernet/intel/ice/ice_flex_pipe.h +0 -69

69 lines not on this page · raw message

drivers/net/ethernet/intel/ice/ice_flex_type.h +1 -336

337 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 15 lines
2.34.1

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.


_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 9 lines

-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Sergey Temerkhanov
Sent: Monday, December 12, 2022 7:53 AM
To: [email protected]
Cc: Temerkhanov, Sergey <[email protected]>
Subject: [Intel-wired-lan] [PATCH net-next] ice: Split ice_flex_pipe.c into DDP and flexible processing parts

Quoted 3 lines

Move the DDP functionality from ice_flex_pipe.c to ice_ddp.c. This enables loading of the DDP package without the rest of the flexible packet processing support code

Could you elaborate on this? Won't both pieces of code still have to be loaded?

Quoted 2 lines

---

[...]

Quoted 9 lines

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957- 07-52-316 | Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych.

Quoted 9 lines

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.

Please remove this footer.
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

#2 lore raw
Quoted 18 lines

-----Original Message-----
From: Nguyen, Anthony L <[email protected]>
Sent: Thursday, December 15, 2022 7:27 PM
To: Temerkhanov, Sergey <[email protected]>; intel-wired- [email protected]
Cc: Temerkhanov, Sergey <[email protected]>
Subject: RE: [Intel-wired-lan] [PATCH net-next] ice: Split ice_flex_pipe.c into DDP and flexible processing parts

Quoted 9 lines

-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Sergey Temerkhanov
Sent: Monday, December 12, 2022 7:53 AM
To: [email protected]
Cc: Temerkhanov, Sergey <[email protected]>
Subject: [Intel-wired-lan] [PATCH net-next] ice: Split ice_flex_pipe.c into DDP and flexible processing parts

Quoted 6 lines
Quoted 3 lines

Move the DDP functionality from ice_flex_pipe.c to ice_ddp.c. This enables loading of the DDP package without the rest of the flexible packet processing support code

Could you elaborate on this? Won't both pieces of code still have to be loaded?

The main purpose of this patch is just splitting DDP loading logic from the flexible processing programming code, I have reworded the commit message. The new subject line is " [net-next 1/1] ice: Move support DDP code out of ice_flex_pipe.c"

Quoted 26 lines
Quoted 3 lines

---

[...]

Quoted 10 lines

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-
07-52-316 | Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych.

Quoted 9 lines

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.

Quoted 1 line

Please remove this footer.

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN. Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan