]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/hisilicon/hns/hnae.h
net:hns: Add Hip06 "TSO(TCP Segment Offload)" support HNS Driver
[karo-tx-linux.git] / drivers / net / ethernet / hisilicon / hns / hnae.h
index 76dd71563cc193d51bae0ebca469a7e6b0f218f0..d1f33166e0c3542d2522719954182c8fe3644099 100644 (file)
@@ -474,6 +474,7 @@ struct hnae_ae_ops {
        int (*set_mac_addr)(struct hnae_handle *handle, void *p);
        int (*set_mc_addr)(struct hnae_handle *handle, void *addr);
        int (*set_mtu)(struct hnae_handle *handle, int new_mtu);
+       void (*set_tso_stats)(struct hnae_handle *handle, int enable);
        void (*update_stats)(struct hnae_handle *handle,
                             struct net_device_stats *net_stats);
        void (*get_stats)(struct hnae_handle *handle, u64 *data);