[Intel-wired-lan] [PATCH next-queue v3 2/3] igc: Simplify TSN flags handling

Fuxbrumer, Dvora dvorax.fuxbrumer at linux.intel.com
Wed Aug 18 21:10:25 UTC 2021


On 8/9/2021 17:53, aravindhan.gunasekaran at intel.com wrote:
> From: Vinicius Costa Gomes <vinicius.gomes at intel.com>
> 
> Separates the procedure done during reset from applying a
> configuration, knowing when the code is executing allow us to
> separate the better what changes the hardware state from what
> changes only the driver state.
> 
> Introduces a flag for bookkeeping the driver state of TSN
> features. When Qav and frame-preemption is also implemented
> this flag makes it easier to keep track on whether a TSN feature
> driver state is enabled or not though controller state changes,
> say,during a reset.
> 
> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes at intel.com>
> Signed-off-by: Aravindhan Gunasekaran <aravindhan.gunasekaran at intel.com>
> Signed-off-by: Mallikarjuna Chilakala <mallikarjuna.chilakala at intel.com>
> ---
>   drivers/net/ethernet/intel/igc/igc.h      |  2 +
>   drivers/net/ethernet/intel/igc/igc_main.c |  2 +-
>   drivers/net/ethernet/intel/igc/igc_tsn.c  | 65 ++++++++++++++++++-------------
>   drivers/net/ethernet/intel/igc/igc_tsn.h  |  1 +
>   4 files changed, 43 insertions(+), 27 deletions(-)
> 
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer at linux.intel.com>


More information about the Intel-wired-lan mailing list