mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
fe881ef11c
Change remote checksum handling to set checksum partial as default behavior. Added an iflink parameter to configure not using checksum partial (calling csum_partial to update checksum). Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
41 lines
632 B
C
41 lines
632 B
C
/* fou.h - FOU Interface */
|
|
|
|
#ifndef _UAPI_LINUX_FOU_H
|
|
#define _UAPI_LINUX_FOU_H
|
|
|
|
/* NETLINK_GENERIC related info
|
|
*/
|
|
#define FOU_GENL_NAME "fou"
|
|
#define FOU_GENL_VERSION 0x1
|
|
|
|
enum {
|
|
FOU_ATTR_UNSPEC,
|
|
FOU_ATTR_PORT, /* u16 */
|
|
FOU_ATTR_AF, /* u8 */
|
|
FOU_ATTR_IPPROTO, /* u8 */
|
|
FOU_ATTR_TYPE, /* u8 */
|
|
FOU_ATTR_REMCSUM_NOPARTIAL, /* flag */
|
|
|
|
__FOU_ATTR_MAX,
|
|
};
|
|
|
|
#define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1)
|
|
|
|
enum {
|
|
FOU_CMD_UNSPEC,
|
|
FOU_CMD_ADD,
|
|
FOU_CMD_DEL,
|
|
|
|
__FOU_CMD_MAX,
|
|
};
|
|
|
|
enum {
|
|
FOU_ENCAP_UNSPEC,
|
|
FOU_ENCAP_DIRECT,
|
|
FOU_ENCAP_GUE,
|
|
};
|
|
|
|
#define FOU_CMD_MAX (__FOU_CMD_MAX - 1)
|
|
|
|
#endif /* _UAPI_LINUX_FOU_H */
|