[PATCH net-next v5] net: ti: icssg_prueth: add TAPRIO offload support

Simon Horman horms at kernel.org
Wed May 1 08:17:26 PDT 2024


On Mon, Apr 29, 2024 at 04:00:22PM +0530, MD Danish Anwar wrote:
> From: Roger Quadros <rogerq at ti.com>
> 
> ICSSG dual-emac f/w supports Enhanced Scheduled Traffic (EST – defined
> in P802.1Qbv/D2.2 that later got included in IEEE 802.1Q-2018)
> configuration. EST allows express queue traffic to be scheduled
> (placed) on the wire at specific repeatable time intervals. In
> Linux kernel, EST configuration is done through tc command and
> the taprio scheduler in the net core implements a software only
> scheduler (SCH_TAPRIO). If the NIC is capable of EST configuration,
> user indicate "flag 2" in the command which is then parsed by
> taprio scheduler in net core and indicate that the command is to
> be offloaded to h/w. taprio then offloads the command to the
> driver by calling ndo_setup_tc() ndo ops. This patch implements
> ndo_setup_tc() to offload EST configuration to ICSSG.
> 
> Also move icss_iep structure and it's dependencies to icss_iep.h in
> order to access iep->def_inc from driver files.
> 
> Signed-off-by: Roger Quadros <rogerq at ti.com>
> Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
> Signed-off-by: MD Danish Anwar <danishanwar at ti.com>

Reviewed-by: Simon Horman <horms at kernel.org>




More information about the linux-arm-kernel mailing list