mbox series

[SRU,F:linux-bluefield,0/2] Remove dependency between module and driver

Message ID 1620756132-77548-1-git-send-email-danielj@nvidia.com
Headers show
Series Remove dependency between module and driver | expand

Message

Daniel Jurgens May 11, 2021, 6:02 p.m. UTC
SRU Justification:

The patches are for removing module dependency between software module and driver module.

* Explain the bug(s)

Without the patches there is a dependency between mlx5_core, act_ct and nf_flow_table.

* brief explanation of fixes

The fix is moving used function from c source file to header file.

* How to test

Check module dependency with modinfo, lsmod, etc.

* What it could break.

If a sofwtare module doesn't exists, i.e. disabling in .config. then the driver module, mlx5_core,
in this case will fail to load.



Alaa Hleihel (2):
  net/sched: act_ct: Make tcf_ct_flow_table_restore_skb inline
  netfilter: flowtable: Make nf_flow_table_offload_add/del_cb inline

 include/net/netfilter/nf_flow_table.h | 49 ++++++++++++++++++++++++++++++++---
 include/net/tc_act/tc_ct.h            | 11 +++++++-
 net/netfilter/nf_flow_table_core.c    | 44 -------------------------------
 net/sched/act_ct.c                    | 11 --------
 4 files changed, 55 insertions(+), 60 deletions(-)