ice: cleanup Tx/Rx context functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ice: rename ice_write_* functions to ice_pack_ctx_*drivers/ | +28 | 0 replies | |
| 2/3 | ice: use GENMASK instead of BIT(n) - 1 in pack functionsdrivers/ | +8 | 1 reply | |
| 3/3 | ice: cleanup line splitting for context set functionsdrivers/ drivers/ | +9 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Przemek Kitszel | Pucha Himasekhar Reddy |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | T-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-wired-lan] [PATCH iwl-next 0/3] ice: cleanup Tx/Rx context functions
The ice driver has a handful of functions used for packing Tx and Rx context data from the structured software layout to the bit-packed hardware layout.
The function names are uninformative, being named "ice_write_<size>". While they are static to the file, it is still not a good idea to use such broad names for specific functions.
In addition, the implementation of the functions use BIT() to generate bitmasks, while the kernel provides a more robust GENMASK() for this purpose.
This series cleans up these functions in preparation for the live migration driver series that will extend the functions and add inverse operations for unpacking the hardware data format into the software structure.
Jacob Keller (3):
ice: rename ice_write_* functions to ice_pack_ctx_*
ice: use GENMASK instead of BIT(n) - 1 in pack functions
ice: cleanup line splitting for context set functions
drivers/net/ethernet/intel/ice/ice_common.c | 112 +++++++------------- drivers/net/ethernet/intel/ice/ice_common.h | 10 +- 2 files changed, 45 insertions(+), 77 deletions(-)
base-commit: c47bd2f22b2f457920138cacd3a53a403fa5cf92
Signature · 1 line
2.41.0