On 2020/4/26 下午2:57, Bin Meng wrote:
Hi Jason,
On Tue, Apr 21, 2020 at 10:31 PM Bin Meng wrote:
Hi,
The cadence_gem does the TX checksum offload by:
/* Is checksum offload enabled? */
if (s->regs[GEM_DMACFG] & GEM_DMACFG_TXCSUM_OFFL) {
Hi Jason,
On Tue, Apr 21, 2020 at 10:31 PM Bin Meng wrote:
>
> Hi,
>
> The cadence_gem does the TX checksum offload by:
>
> /* Is checksum offload enabled? */
> if (s->regs[GEM_DMACFG] & GEM_DMACFG_TXCSUM_OFFL) {
> net_checksum_calculate(tx_pack
Hi,
The cadence_gem does the TX checksum offload by:
/* Is checksum offload enabled? */
if (s->regs[GEM_DMACFG] & GEM_DMACFG_TXCSUM_OFFL) {
net_checksum_calculate(tx_packet, total_bytes);
}
However this will only work for non-fr