svn commit: r367123 - in head: sbin/ifconfig sys/dev/mlx5/mlx5_en sys/kern sys/net sys/netinet sys/sys

John Baldwin jhb at FreeBSD.org
Thu Oct 29 16:55:51 UTC 2020


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


More information about the svn-src-head mailing list