Re: [PATCH net-next] af-packet: new flag to indicate all csums are good

From: David Miller
Date: Mon Jun 01 2020 - 17:45:38 EST


From: Victor Julien <victor@xxxxxxxxxxxx>
Date: Mon, 1 Jun 2020 22:49:37 +0200

> @@ -472,6 +472,12 @@ TP_STATUS_CSUM_VALID This flag indicates that at least the transport
> validated on the kernel side. If the flag is not set
> then we are free to check the checksum by ourselves
> provided that TP_STATUS_CSUMNOTREADY is also not set.
> +TP_STATUS_CSUM_UNNECESSARY This flag indicates that the driver validated all
> + the packets csums. If it is not set it might be that
> + the driver doesn't support this, or that one of the
> + layers csums is bad. TP_STATUS_CSUM_VALID may still
> + be set if the transport layer csum is correct or
> + if the driver supports only this mode.
> ====================== =======================================================
^^^^^

I think you need to reformat these dividers.