aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lag.h
diff options
context:
space:
mode:
authorDave Ertman <[email protected]>2025-06-16 11:03:22 +0000
committerTony Nguyen <[email protected]>2025-07-18 16:02:28 +0000
commit351d8d8ab6af71193033a2786a99ea56e1af8526 (patch)
tree94e4fa7801e0ca2a6e330d79b2e04caad04ae478 /drivers/net/ethernet/intel/ice/ice_lag.h
parentice: convert ice_add_prof() to bitmap (diff)
downloadkernel-351d8d8ab6af71193033a2786a99ea56e1af8526.tar.gz
kernel-351d8d8ab6af71193033a2786a99ea56e1af8526.zip
ice: breakout common LAG code into helpers
In the VF handling code, parts of the code for lag can be broken out into helper functions to reduce code duplication. Break this code out into helper functions Reviewed-by: Marcin Szycik <[email protected]> Signed-off-by: Dave Ertman <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lag.h')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_lag.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lag.h b/drivers/net/ethernet/intel/ice/ice_lag.h
index bab2c83142a1..69347d9f986b 100644
--- a/drivers/net/ethernet/intel/ice/ice_lag.h
+++ b/drivers/net/ethernet/intel/ice/ice_lag.h
@@ -70,4 +70,6 @@ void ice_deinit_lag(struct ice_pf *pf);
void ice_lag_rebuild(struct ice_pf *pf);
bool ice_lag_is_switchdev_running(struct ice_pf *pf);
void ice_lag_move_vf_nodes_cfg(struct ice_lag *lag, u8 src_prt, u8 dst_prt);
+u8 ice_lag_prepare_vf_reset(struct ice_lag *lag);
+void ice_lag_complete_vf_reset(struct ice_lag *lag, u8 act_prt);
#endif /* _ICE_LAG_H_ */