Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2020 09:55:49 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r367123 - in head: sbin/ifconfig sys/dev/mlx5/mlx5_en sys/kern sys/net sys/netinet sys/sys
Message-ID:  <990a2614-5387-2803-0a59-b22a10dacdcb@FreeBSD.org>
In-Reply-To: <202010290023.09T0NGkt059615@repo.freebsd.org>
References:  <202010290023.09T0NGkt059615@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?990a2614-5387-2803-0a59-b22a10dacdcb>