Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\netdevice.h Create Date:2022-07-28 06:05:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:net_gso_ok

Proto:static inline bool net_gso_ok(netdev_features_t features, int gso_type)

Type:bool

Parameter:

TypeParameterName
netdev_features_tfeatures
intgso_type
4535  feature = gso_type << NETIF_F_GSO_SHIFT
4538  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TCPV4 != (NETIF_F_TSO >> NETIF_F_GSO_SHIFT))
4539  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_DODGY != (NETIF_F_GSO_ROBUST >> NETIF_F_GSO_SHIFT))
4540  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TCP_ECN != (NETIF_F_TSO_ECN >> NETIF_F_GSO_SHIFT))
4541  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT))
4542  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TCPV6 != (NETIF_F_TSO6 >> NETIF_F_GSO_SHIFT))
4543  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_FCOE != (NETIF_F_FSO >> NETIF_F_GSO_SHIFT))
4544  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_GRE != (NETIF_F_GSO_GRE >> NETIF_F_GSO_SHIFT))
4545  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_GRE_CSUM != (NETIF_F_GSO_GRE_CSUM >> NETIF_F_GSO_SHIFT))
4546  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_IPXIP4 != (NETIF_F_GSO_IPXIP4 >> NETIF_F_GSO_SHIFT))
4547  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_IPXIP6 != (NETIF_F_GSO_IPXIP6 >> NETIF_F_GSO_SHIFT))
4548  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_UDP_TUNNEL != (NETIF_F_GSO_UDP_TUNNEL >> NETIF_F_GSO_SHIFT))
4549  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_UDP_TUNNEL_CSUM != (NETIF_F_GSO_UDP_TUNNEL_CSUM >> NETIF_F_GSO_SHIFT))
4550  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_PARTIAL != (NETIF_F_GSO_PARTIAL >> NETIF_F_GSO_SHIFT))
4551  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TUNNEL_REMCSUM != (NETIF_F_GSO_TUNNEL_REMCSUM >> NETIF_F_GSO_SHIFT))
4552  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_SCTP != (NETIF_F_GSO_SCTP >> NETIF_F_GSO_SHIFT))
4553  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_ESP != (NETIF_F_GSO_ESP >> NETIF_F_GSO_SHIFT))
4554  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_UDP != (NETIF_F_GSO_UDP >> NETIF_F_GSO_SHIFT))
4555  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_UDP_L4 != (NETIF_F_GSO_UDP_L4 >> NETIF_F_GSO_SHIFT))
4557  Return (features & feature) == feature