| /linux-6.15/include/net/ |
| H A D | net_failover.h | 33 #define FAILOVER_VLAN_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \ 37 #define FAILOVER_ENC_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
|
| /linux-6.15/drivers/net/usb/ |
| H A D | aqc111.h | 28 #define AQ_SUPPORT_FEATURE (NETIF_F_SG | NETIF_F_IP_CSUM |\ 33 #define AQ_SUPPORT_HW_FEATURE (NETIF_F_SG | NETIF_F_IP_CSUM |\ 37 #define AQ_SUPPORT_VLAN_FEATURE (NETIF_F_SG | NETIF_F_IP_CSUM |\
|
| /linux-6.15/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_vf.c | 145 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in enetc_vf_netdev_setup() 150 ndev->features = NETIF_F_HIGHDMA | NETIF_F_SG | NETIF_F_RXCSUM | in enetc_vf_netdev_setup() 155 ndev->vlan_features = NETIF_F_SG | NETIF_F_HW_CSUM | in enetc_vf_netdev_setup()
|
| H A D | enetc_pf_common.c | 110 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in enetc_pf_netdev_setup() 115 ndev->features = NETIF_F_HIGHDMA | NETIF_F_SG | NETIF_F_RXCSUM | in enetc_pf_netdev_setup() 120 ndev->vlan_features = NETIF_F_SG | NETIF_F_HW_CSUM | in enetc_pf_netdev_setup()
|
| /linux-6.15/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-main.c | 345 netdev->hw_features = NETIF_F_SG | in xgbe_config_netdev() 360 netdev->hw_enc_features = NETIF_F_SG | in xgbe_config_netdev() 376 netdev->vlan_features |= NETIF_F_SG | in xgbe_config_netdev()
|
| /linux-6.15/include/linux/ |
| H A D | netdev_features.h | 128 #define NETIF_F_SG __NETIF_F(SG) macro 223 NETIF_F_SG | NETIF_F_HIGHDMA | \
|
| /linux-6.15/net/sctp/ |
| H A D | offload.c | 72 segs = skb_segment(skb, (features | NETIF_F_HW_CSUM) & ~NETIF_F_SG); in sctp_gso_segment()
|
| /linux-6.15/drivers/net/ |
| H A D | nlmon.c | 72 dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA; in nlmon_setup()
|
| H A D | vsockmon.c | 92 dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA; in vsockmon_setup()
|
| H A D | dummy.c | 115 dev->features |= NETIF_F_SG | NETIF_F_FRAGLIST; in dummy_setup()
|
| H A D | loopback.c | 179 dev->features = NETIF_F_SG | NETIF_F_FRAGLIST in gen_lo_setup()
|
| H A D | bareudp.c | 576 dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_FRAGLIST; in bareudp_setup() 579 dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_FRAGLIST; in bareudp_setup()
|
| H A D | xen-netfront.c | 242 return dev->features & NETIF_F_SG; in xennet_can_sg() 1487 if (features & NETIF_F_SG && in xennet_fix_features() 1489 features &= ~NETIF_F_SG; in xennet_fix_features() 1510 if (!(features & NETIF_F_SG) && dev->mtu > ETH_DATA_LEN) { in xennet_set_features() 1744 netdev->hw_features = NETIF_F_SG | in xennet_create_dev()
|
| /linux-6.15/net/core/ |
| H A D | net_test.c | 219 features = NETIF_F_SG | NETIF_F_HW_CSUM; in gso_test_func() 227 features &= ~NETIF_F_SG; in gso_test_func()
|
| /linux-6.15/net/nsh/ |
| H A D | nsh.c | 109 features &= NETIF_F_SG; in nsh_gso_segment()
|
| /linux-6.15/drivers/net/wwan/t7xx/ |
| H A D | t7xx_netdev.c | 237 dev->features |= NETIF_F_SG; in t7xx_ccmni_wwan_setup() 238 dev->hw_features |= NETIF_F_SG; in t7xx_ccmni_wwan_setup()
|
| /linux-6.15/net/ipv4/ |
| H A D | ip_output.c | 1010 if ((rt->dst.dev->features & NETIF_F_SG) && in __ip_append_data() 1021 if (rt->dst.dev->features & NETIF_F_SG && in __ip_append_data() 1033 if (rt->dst.dev->features & NETIF_F_SG && in __ip_append_data() 1105 !(rt->dst.dev->features&NETIF_F_SG)) in __ip_append_data() 1109 !(rt->dst.dev->features & NETIF_F_SG))) in __ip_append_data() 1205 if (!(rt->dst.dev->features&NETIF_F_SG) && in __ip_append_data()
|
| /linux-6.15/net/openvswitch/ |
| H A D | vport-internal_dev.c | 111 netdev->features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA | in do_setup()
|
| /linux-6.15/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac.c | 667 netdev->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | in emac_probe() 672 netdev->vlan_features |= NETIF_F_SG | NETIF_F_HW_CSUM | in emac_probe()
|
| /linux-6.15/net/ipv6/ |
| H A D | ip6_output.c | 1520 if ((rt->dst.dev->features & NETIF_F_SG) && in __ip6_append_data() 1531 if (rt->dst.dev->features & NETIF_F_SG && in __ip6_append_data() 1543 if (rt->dst.dev->features & NETIF_F_SG && in __ip6_append_data() 1630 !(rt->dst.dev->features&NETIF_F_SG)) in __ip6_append_data() 1634 !(rt->dst.dev->features & NETIF_F_SG))) in __ip6_append_data() 1743 if (!(rt->dst.dev->features&NETIF_F_SG) && in __ip6_append_data()
|
| /linux-6.15/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_verbs.c | 237 dev->features |= NETIF_F_SG; in ipoib_transport_dev_init()
|
| /linux-6.15/drivers/net/xen-netback/ |
| H A D | interface.c | 371 features &= ~NETIF_F_SG; in xenvif_fix_features() 528 dev->hw_features = NETIF_F_SG | in xenvif_alloc()
|
| /linux-6.15/drivers/net/ipa/ |
| H A D | ipa_modem.c | 243 netdev->hw_features = NETIF_F_SG; in ipa_modem_netdev_setup()
|
| /linux-6.15/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_vnd.c | 316 rmnet_dev->hw_features |= NETIF_F_SG; in rmnet_vnd_newlink()
|
| /linux-6.15/drivers/net/ethernet/sun/ |
| H A D | ldmvsw.c | 248 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG; in vsw_alloc_netdev()
|