forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/net/ethernet/amd/xgbe/xgbe.h
....@@ -135,7 +135,6 @@
135135 #include <linux/list.h>
136136
137137 #define XGBE_DRV_NAME "amd-xgbe"
138
-#define XGBE_DRV_VERSION "1.0.3"
139138 #define XGBE_DRV_DESC "AMD 10 Gigabit Ethernet Driver"
140139
141140 /* Descriptor related defines */
....@@ -1015,12 +1014,6 @@
10151014 unsigned int an_cdr_workaround;
10161015 };
10171016
1018
-struct xgbe_vxlan_data {
1019
- struct list_head list;
1020
- sa_family_t sa_family;
1021
- __be16 port;
1022
-};
1023
-
10241017 struct xgbe_prv_data {
10251018 struct net_device *netdev;
10261019 struct pci_dev *pcidev;
....@@ -1173,13 +1166,7 @@
11731166 u32 rss_options;
11741167
11751168 /* VXLAN settings */
1176
- unsigned int vxlan_port_set;
1177
- unsigned int vxlan_offloads_set;
1178
- unsigned int vxlan_force_disable;
1179
- unsigned int vxlan_port_count;
1180
- struct list_head vxlan_ports;
11811169 u16 vxlan_port;
1182
- netdev_features_t vxlan_features;
11831170
11841171 /* Netdev related settings */
11851172 unsigned char mac_addr[ETH_ALEN];
....@@ -1322,6 +1309,7 @@
13221309 void xgbe_init_function_ptrs_i2c(struct xgbe_i2c_if *);
13231310 const struct net_device_ops *xgbe_get_netdev_ops(void);
13241311 const struct ethtool_ops *xgbe_get_ethtool_ops(void);
1312
+const struct udp_tunnel_nic_info *xgbe_get_udp_tunnel_info(void);
13251313
13261314 #ifdef CONFIG_AMD_XGBE_DCB
13271315 const struct dcbnl_rtnl_ops *xgbe_get_dcbnl_ops(void);