On 10/28/20 5:23 PM, John Baldwin wrote: > Author: jhb > Date: Thu Oct 29 00:23:16 2020 > New Revision: 367123 > URL: https://svnweb.freebsd.org/changeset/base/367123 > > Log: > Support hardware rate limiting (pacing) with TLS offload. > > ... > > Modified: head/sys/net/if.h > ============================================================================== > --- head/sys/net/if.h Thu Oct 29 00:03:19 2020 (r367122) > +++ head/sys/net/if.h Thu Oct 29 00:23:16 2020 (r367123) > @@ -250,6 +250,7 @@ struct if_data { > #define IFCAP_TXTLS6 0x10000000 /* can do TLS encryption and > segmentation for TCP6 */ > #define IFCAP_VXLAN_HWCSUM 0x20000000 /* can do IFCAN_HWCSUM on > VXLANs */ > #define IFCAP_VXLAN_HWTSO 0x40000000 /* can do IFCAP_TSO on > VXLANs */ > +#define IFCAP_TXTLS_RTLMT 0x80000000 /* can do TLS with rate > limiting */
FYI, this is the last available bit in if_capabilities/if_capenable. We will probably have to think about extending these to an array at some point. -- John Baldwin _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"