Skip to contentSkip to conversation

ice: Move support DDP code out of ice_flex_pipe.c

PATCH Superseded Sergey Temerkhanov 2 participants 2 messages Dec 19, 2022 – Dec 20, 2022

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 ice: Move support DDP code out of ice_flex_pipe.c

Currently, ice_flex_pipe.c includes the DDP loading functions and has grown large. Although flexible processing support code is related to DDP loading, these parts are distinct. Move the DDP loading functionality from ice_flex_pipe.c to a separate file.

---
V2: Incorporate latest ice_flex_pipe.c changes
V3: Remove double documentation leftovers

 drivers/net/ethernet/intel/ice/Makefile       |    1 +
 drivers/net/ethernet/intel/ice/ice_ddp.c      | 1910 +++++++++++++++++
 drivers/net/ethernet/intel/ice/ice_ddp.h      |  449 ++++
 .../net/ethernet/intel/ice/ice_flex_pipe.c    | 1904 ----------------
 .../net/ethernet/intel/ice/ice_flex_pipe.h    |   69 -
 .../net/ethernet/intel/ice/ice_flex_type.h    |  328 +--
 6 files changed, 2361 insertions(+), 2300 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 +449 -0

449 lines not on this page · raw message

drivers/net/ethernet/intel/ice/ice_flex_pipe.c +0 -1904

634 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 -327

328 lines not on this page · raw message

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

Signature · 6 lines
2.34.1

_______________________________________________
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.

Acked-by on v3 1/1
#1 lore raw

Dear Sergey,

Thank you for your patch.

Am 19.12.22 um 23:05 schrieb Sergey Temerkhanov:

Quoted 5 lines

Currently, ice_flex_pipe.c includes the DDP loading functions and has grown large. Although flexible processing support code is related to DDP loading, these parts are distinct. Move the DDP loading functionality from ice_flex_pipe.c to a separate file.

Please reflow for 75 (at least 72) characters per line, so less lines are used. For the git commit message summary I suggest:

Quoted 3 lines

ice: Move DDP code from ice_flex_pipe.c into ice_ddp.c

[…]

The rest looks good.

Kind regards,

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