[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7UrX1On4z1DtbTB@unreal>
Date: Wed, 4 Jan 2023 09:31:43 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Tony Nguyen <anthony.l.nguyen@...el.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com,
Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@...el.com>,
netdev@...r.kernel.org, sasha.neftin@...el.com,
Naama Meir <naamax.meir@...ux.intel.com>
Subject: Re: [PATCH net-next 3/3] igc: Remove reset adapter task for i226
during disable tsn config
On Tue, Jan 03, 2023 at 03:05:03PM -0800, Tony Nguyen wrote:
> From: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@...el.com>
>
> I225 have limitation when programming the BaseTime register which required
> a power cycle of the controller. This limitation already lifted in I226.
> This patch removes the restriction so that when user configure/remove any
> TSN mode, it would not go into power cycle reset adapter.
>
> How to test:
>
> Schedule any gate control list configuration or delete it.
>
> Example:
>
> 1)
>
> BASE_TIME=$(date +%s%N)
> tc qdisc replace dev $interface_name parent root handle 100 taprio \
> num_tc 4 \
> map 3 1 0 2 3 3 3 3 3 3 3 3 3 3 3 3 \
> queues 1@0 1@1 1@2 1@3 \
> base-time $BASE_TIME \
> sched-entry S 0F 1000000 \
> flags 0x2
>
> 2) tc qdisc del dev $intername_name root
>
> Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@...el.com>
> Tested-by: Naama Meir <naamax.meir@...ux.intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen@...el.com>
> ---
> drivers/net/ethernet/intel/igc/igc_main.c | 6 +++---
> drivers/net/ethernet/intel/igc/igc_tsn.c | 11 +++--------
> drivers/net/ethernet/intel/igc/igc_tsn.h | 2 +-
> 3 files changed, 7 insertions(+), 12 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists