Skip to content

discussion: RAWETH_ADDITION & HW_CRC_ADDITION #298

@changchengx

Description

@changchengx

The RAWETH_ADDITION is defined as 18 and HW_CRC_ADDITION is defined as 4

#define RAWETH_ADDITION    (18)
#define HW_CRC_ADDITION    (4)

Initially, the frame length is set to be ctx->size - RAWETH_ADDITION
Question

  • Why RAWETH_ADDITION is set to be 18 instead of 14?
  • Why the sge.length is set to be user_param->size - HW_CRC_ADDITION?
  • How to get the result of FCS if there's reserved space(HW_CRC_ADDITION) for FCS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions