Enable the time-based scheduled Tx of packets based on the
RTE_ETH_TX_OFFLOAD_SEND_ON_TIMESTAMP flag. The launchtime defines the
packet transmission time based on PTP clock at MAC layer, which should
be set to the advanced transmit descriptor.
Signed-off-by: Chuanyu Xue
---
drivers/net/e1000
Hi Simei,
Thank you so much for your review.
>>
>> /* QAV Tx mode control register */
>> #define E1000_I210_TQAVCTRL 0x3570
>> +#define E1000_I210_LAUNCH_OS0 0x3578
>
>What does this register mean?
>
"LAUNCH_OS0" is defined as LaunchOffset register, which sets the base time
for launchtime. Bas
>>
>> >> +static int
>> >> +eth_igb_read_clock(__rte_unused struct rte_eth_dev *dev, uint64_t
>> >> +*clock) {
>> >> + uint64_t systime_cycles;
>> >> + struct e1000_adapter *adapter = dev->data->dev_private;
>> >> +
>> >> + systime_cycles = igb_read_systime_cyclecounter(dev);
>> >> + uint64_t ns =
Enable the time-based scheduled Tx of packets based on the
RTE_ETH_TX_OFFLOAD_SEND_ON_TIMESTAMP flag. The launchtime defines the
packet transmission time based on PTP clock at MAC layer, which should
be set to the advanced transmit descriptor.
Signed-off-by: Chuanyu Xue
---
change log:
v2
Hi, Simei
Thank you for your guidance on how to test this feature.
>> Following is how I try to test with testpmd. Please let me know if I did
>> something wrong.
>>
>> sudo ./dpdk-testpmd -- -i --forward-mode=txonly
>>
>> testpmd> port stop 0
>> testpmd> set burst 1
>>
5 matches
Mail list logo