Reduce scope address-of-packed-member warning
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 9 repliesIn review
- v16 patches 19 repliesSuperseded
Changes in v2 from the cover letter
* rebase on latest main (rte_ip.h -> rte_ip4.h)
* remove unnecessary 0-check in IP checksum calc
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ip_frag: remove use of unaligned variablelib/ | +1 | 0 replies | |
| 2/6 | efd: remove unnecessary packed attributeslib/ | +2 | 0 replies | |
| 3/6 | bus/ifpga: remove packed attributedrivers/ | +1 | 0 replies | |
| 4/6 | pipeline: remove packed attributelib/ | +1 | 0 replies | |
| 5/6 | net: add smaller IPv4 cksum function for simple casesapp/ app/ app/ +3 more | +38 | 7 replies | |
| 6/6 | build: limit scope of packed member warning disablingconfig/ drivers/ examples/ +1 more | +16 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Stephen Hemminger | Konstantin Ananyev | Morten Brørup | Rosen Xu | Chengwen Feng |
|---|---|---|---|---|---|
| Series | Series-acked-by | ||||
| 1/6 | A-b | A-b | A-b | ||
| 2/6 | A-b | A-b | |||
| 3/6 | A-b | A-b | A-b | ||
| 4/6 | A-b | A-b | |||
| 5/6 | A-b | A-b | |||
| 6/6 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v2 0/6] Reduce scope address-of-packed-member warning
The warning for address-of-packed-member was being disabled globally in DPDK. While for drivers which need to access hardware-defined data-structures the use of packed may make sense, for normal libs and applications the use of packed data should be generally avoided.
This patchset initially applies some fixes for cases where we are unnecessarily causing the warning to trigger. Thereafter the 6th patch removes the global enabling of the warning and replaces it with more selective disabling for drivers and for a couple of other components which have not yet been fixed.
v2:
* rebase on latest main (rte_ip.h -> rte_ip4.h)
* remove unnecessary 0-check in IP checksum calc
Bruce Richardson (6):
ip_frag: remove use of unaligned variable
efd: remove unnecessary packed attributes bus/ifpga: remove packed attribute
pipeline: remove packed attribute
net: add smaller IPv4 cksum function for simple cases
build: limit scope of packed member warning disabling
app/test-eventdev/test_pipeline_common.c | 25 +----------- app/test-pmd/icmpecho.c | 23 +---------- app/test-pmd/txonly.c | 22 +---------- app/test/packet_burst_generator.c | 49 +----------------------- app/test/test_reassembly_perf.c | 29 +------------- config/meson.build | 1 - drivers/bus/ifpga/bus_ifpga_driver.h | 2 +- drivers/meson.build | 9 +++-- examples/ipsec-secgw/meson.build | 6 +++ lib/efd/rte_efd.c | 4 +- lib/ip_frag/rte_ipv4_reassembly.c | 4 +- lib/net/rte_ip4.h | 32 ++++++++++++++++ lib/pipeline/rte_table_action.c | 2 +- lib/vhost/meson.build | 5 ++- 14 files changed, 59 insertions(+), 154 deletions(-)
--
2.43.0