| .. | .. |
|---|
| 127 | 127 | |
|---|
| 128 | 128 | MODULE_AUTHOR("Tom Lendacky <thomas.lendacky@amd.com>"); |
|---|
| 129 | 129 | MODULE_LICENSE("Dual BSD/GPL"); |
|---|
| 130 | | -MODULE_VERSION(XGBE_DRV_VERSION); |
|---|
| 131 | 130 | MODULE_DESCRIPTION(XGBE_DRV_DESC); |
|---|
| 132 | 131 | |
|---|
| 133 | 132 | static int debug = -1; |
|---|
| .. | .. |
|---|
| 193 | 192 | mutex_init(&pdata->i2c_mutex); |
|---|
| 194 | 193 | init_completion(&pdata->i2c_complete); |
|---|
| 195 | 194 | init_completion(&pdata->mdio_complete); |
|---|
| 196 | | - INIT_LIST_HEAD(&pdata->vxlan_ports); |
|---|
| 197 | 195 | |
|---|
| 198 | 196 | pdata->msg_enable = netif_msg_init(debug, default_msg_level); |
|---|
| 199 | 197 | |
|---|
| .. | .. |
|---|
| 367 | 365 | NETIF_F_TSO6 | |
|---|
| 368 | 366 | NETIF_F_GRO | |
|---|
| 369 | 367 | NETIF_F_GSO_UDP_TUNNEL | |
|---|
| 370 | | - NETIF_F_GSO_UDP_TUNNEL_CSUM | |
|---|
| 371 | | - NETIF_F_RX_UDP_TUNNEL_PORT; |
|---|
| 368 | + NETIF_F_GSO_UDP_TUNNEL_CSUM; |
|---|
| 372 | 369 | |
|---|
| 373 | 370 | netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | |
|---|
| 374 | | - NETIF_F_GSO_UDP_TUNNEL_CSUM | |
|---|
| 375 | | - NETIF_F_RX_UDP_TUNNEL_PORT; |
|---|
| 371 | + NETIF_F_GSO_UDP_TUNNEL_CSUM; |
|---|
| 376 | 372 | |
|---|
| 377 | | - pdata->vxlan_offloads_set = 1; |
|---|
| 378 | | - pdata->vxlan_features = NETIF_F_GSO_UDP_TUNNEL | |
|---|
| 379 | | - NETIF_F_GSO_UDP_TUNNEL_CSUM | |
|---|
| 380 | | - NETIF_F_RX_UDP_TUNNEL_PORT; |
|---|
| 373 | + netdev->udp_tunnel_nic_info = xgbe_get_udp_tunnel_info(); |
|---|
| 381 | 374 | } |
|---|
| 382 | 375 | |
|---|
| 383 | 376 | netdev->vlan_features |= NETIF_F_SG | |
|---|