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?