Re: [v2,net-next] enetc: add support time specific departure base on the qos etf

From: David Miller
Date: Mon Dec 30 2019 - 23:26:56 EST


From: Po Liu <po.liu@xxxxxxx>
Date: Fri, 27 Dec 2019 03:12:18 +0000

> v2:
> - fix the csum and time specific deaprture return directly if both
> offloading enabled

The test is in the wrong location.

You are testing at run time when packets are being transmitted.

Instead, you should test when the configuration change is made
which creates the conflict, and disallow the configuration change
in such a conflicting case.