Skip to content

Commit

Permalink
lagg: do not advertize support for ipsec offload
Browse files Browse the repository at this point in the history
It is not implemented, and most likely cannot be, in a robust manner.

Reviewed by:	Ariel Ehrenberg <[email protected]>, slavash
Sponsored by:	NVidia networking
  • Loading branch information
kostikbel committed Dec 17, 2024
1 parent 22bb70a commit c7d1368
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/net/if_lagg.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ lagg_capabilities(struct lagg_softc *sc)
ena2 &= lp->lp_ifp->if_capenable2;
}
} while (pena != ena || pena2 != ena2);
ena2 &= ~IFCAP2_BIT(IFCAP2_IPSEC_OFFLOAD);

/* Get other capabilities from the lagg ports */
cap = cap2 = ~0;
Expand All @@ -703,6 +704,7 @@ lagg_capabilities(struct lagg_softc *sc)
hwa &= lp->lp_ifp->if_hwassist;
if_hw_tsomax_common(lp->lp_ifp, &hw_tsomax);
}
cap2 &= ~IFCAP2_BIT(IFCAP2_IPSEC_OFFLOAD);
if (CK_SLIST_FIRST(&sc->sc_ports) == NULL)
cap = cap2 = hwa = 0;

Expand Down

0 comments on commit c7d1368

Please sign in to comment.