diff options
| author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | 2020-02-06 13:46:10 -0800 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-02-07 11:30:03 +0100 | 
| commit | bfabd41da34180d05382312533a3adc2e012dee0 (patch) | |
| tree | a4fa263ea51bf27c61397ed0041a733b963e8521 /lib/dump_stack.c | |
| parent | 7c16680a08ee1e444a67d232c679ccf5b30fad16 (diff) | |
taprio: Fix dropping packets when using taprio + ETF offloading
When using taprio offloading together with ETF offloading, configured
like this, for example:
$ tc qdisc replace dev $IFACE parent root handle 100 taprio \
  	num_tc 4 \
        map 2 2 1 0 3 2 2 2 2 2 2 2 2 2 2 2 \
	queues 1@0 1@1 1@2 1@3 \
	base-time $BASE_TIME \
	sched-entry S 01 1000000 \
	sched-entry S 0e 1000000 \
	flags 0x2
$ tc qdisc replace dev $IFACE parent 100:1 etf \
     	offload delta 300000 clockid CLOCK_TAI
During enqueue, it works out that the verification added for the
"txtime" assisted mode is run when using taprio + ETF offloading, the
only thing missing is initializing the 'next_txtime' of all the cycle
entries. (if we don't set 'next_txtime' all packets from SO_TXTIME
sockets are dropped)
Fixes: 4cfd5779bd6e ("taprio: Add support for txtime-assist mode")
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
