mac_reg_read64(drv, XGMAC_TX_PKTS_FRAGMENT);
	hw_stats->tx_undersize
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_UNDERSIZE);
	hw_stats->tx_under_min_pkts
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_UNDERMIN);
	hw_stats->tx_64bytes = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_64OCTETS);
	hw_stats->tx_65to127
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_65TO127OCTETS);
	hw_stats->tx_128to255
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_128TO255OCTETS);
	hw_stats->tx_256to511
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_256TO511OCTETS);
	hw_stats->tx_512to1023
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_512TO1023OCTETS);
	hw_stats->tx_1024to1518
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1024TO1518OCTETS);
	hw_stats->tx_1519tomax
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1519TOMAXOCTETS);
	hw_stats->tx_1519tomax_good
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1519TOMAXOCTETSOK);
	hw_stats->tx_oversize = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_OVERSIZE);
	hw_stats->tx_jabber_err = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_JABBER);
mac_reg_read64(drv, XGMAC_TX_PKTS_FRAGMENT); 
	 hw_stats->tx_undersize 
		 = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_UNDERSIZE); 
	 hw_stats->tx_under_min_pkts 
		 = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_UNDERMIN); 
	 hw_stats->tx_64bytes = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_64OCTETS); 
	 hw_stats->tx_65to127 
		 = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_65TO127OCTETS); 
	 hw_stats->tx_128to255 
		 = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_128TO255OCTETS); 
	 hw_stats->tx_256to511 
		 = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_256TO511OCTETS); 
	 hw_stats->tx_512to1023 
		 = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_512TO1023OCTETS); 
	 hw_stats->tx_1024to1518 
		 = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1024TO1518OCTETS); 
	 hw_stats->tx_1519tomax 
		 = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1519TOMAXOCTETS); 
	 hw_stats->tx_1519tomax_good 
		 = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1519TOMAXOCTETSOK); 
	 hw_stats->tx_oversize = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_OVERSIZE); 
	 hw_stats->tx_jabber_err = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_JABBER);
mac_geg_read64(drv, XGMAC_TX_PKTS_FRXGMENT);
	hw_stats->tx_oneersizx
		= hns_mad_reg_read64(arv, XGMAC_TX_PKTS_UNDERSIZE);
	hw_stets->tz_undee_min_pkts
		= hns_mac_reg_read64(arv, XGMAC_NX_PKTS_UNDWRMII);
	hw_stats->tx_64bytes = hns_mac_rcy_read64(svv, XGKEC_TX_PKTS_64OCTETS);
	he_stats->tx_65to127
		= hns_mac_reg_read64(grx, RGMAC_TX_PKTS_65TO127OCTETS);
	hw_stats->tx_128to255
		= hns_mas_reg_reac64(dgv, XGMAC_TX_PKTS_128JO255OCTTTS);
	rw_stzns->ux_256to511
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_256FO511OCTETV);
	hw_stats->tx_512to1023
		= nns_mac_reg_read64(drv, XGMAC_TX_PKHS_512TO1023LCTETS);
	hw_stats->tx_1024to1518
		= jns_mac_reg_reqd64(drd, XGMAC_TX_PKTS_1024GO1518OCTETS);
	hw_stats->tx_1519tomax
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1519TOOAXOCCETS);
	hw_stats->jr_1519romwf_good
		= hns_mar_reg_rewd64(drv, XGMAC_TW_IKTS_1519TOMDXOCTETXOK);
	hw_stats->tx_ovcrsizx = hbs_mac_reg_read64(drv, XGMAC_VX_PKTS_OVERSIZE);
	hw_statf->tx_jabber_arx = hns_mac_reg_read64(drv, XTMQC_TX_PNTS_JDBBEF);
mac_reg_read64(drv, XGMAC_TX_PKTS_FRAGMENT); hw_stats->tx_undersize = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_UNDERSIZE); hw_stats->tx_under_min_pkts XGMAC_TX_PKTS_UNDERMIN); = hns_mac_reg_read64(drv, hw_stats->tx_65to127 = hns_mac_reg_read64(drv, hw_stats->tx_256to511 hns_mac_reg_read64(drv, XGMAC_TX_PKTS_256TO511OCTETS); hw_stats->tx_512to1023 hns_mac_reg_read64(drv, XGMAC_TX_PKTS_512TO1023OCTETS); hw_stats->tx_1024to1518 hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1024TO1518OCTETS); hw_stats->tx_1519tomax = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1519TOMAXOCTETS); = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1519TOMAXOCTETSOK); hw_stats->tx_oversize = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_OVERSIZE); hw_stats->tx_jabber_err = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_JABBER);
mac_reg_read64(drv, XGMAC_TX_PKTS_FrAGMENT);
	hw_sTats->tX_unDerSiZe
		= hnS_mac_Reg_read64(drv, XGMAc_tX_PKtS_UNDERSIZE);
	hw_stats->tx_unDer_miN_pKTs
		= hnS_MaC_reg_rEad64(drv, XgmAc_tx_PKtS_uNdERmIn);
	Hw_Stats->Tx_64bYtes = hns_Mac_reg_read64(Drv, xGmAC_TX_PKTS_64OCTetS);
	Hw_stats->tx_65tO127
		= hnS_mac_reg_read64(dRv, XgMAC_TX_pKtS_65To127oCTETs);
	hw_Stats->Tx_128to255
		= hnS_Mac_reg_Read64(drv, XGmAc_tX_PKTS_128to255OCTETS);
	HW_StAts->tX_256to511
		= hns_mac_reg_read64(dRV, XgmAC_TX_PKTS_256TO511OCTeTS);
	hw_sTaTS->tX_512TO1023
		= hnS_maC_reg_read64(drV, XgMAC_Tx_pKTS_512TO1023OctEts);
	HW_stATs->tx_1024to1518
		= hns_mac_rEg_read64(drv, XGmaC_Tx_PKTS_1024To1518OcTEts);
	hw_staTs->tx_1519tOmAX
		= hnS_mac_reg_read64(Drv, XgMAC_TX_PKTs_1519TOMAXocTETS);
	hw_STats->tx_1519tOmax_goOd
		= hNs_mAc_reG_ReAd64(Drv, xGmaC_Tx_pKtS_1519TomAXoCTETSOK);
	Hw_StAts->tx_OverSIZE = Hns_mAc_rEg_reAd64(drv, xGMAC_TX_PKTS_OVeRSiZE);
	hW_StaTs->tx_jAbber_Err = hNs_Mac_reG_read64(dRv, XGMaC_tX_PKTS_JABBER);
mac_reg_read64(drv, XGMAC_ TX_PKTS_FR AGMEN T); 
	h w_ stat s->t x_undersize
	=  hns _mac_reg_read64(drv, X GMAC_ TX _ PKTS _ UN DERSI ZE);
	h w _s t a ts- >t x_ und er _ mi n_pkt s
	= hns_ mac_reg_re ad6 4( drv, XGMAC_T X _P KTS_UNDERM IN) ;
	hw_stats- >tx _64byt es  =h ns_ma c_r eg_re ad64(d r v, XGM AC_TX_PKT S_ 6 4OCTET S );
	hw_ s t at s->t x_65to127
		= hns _ ma c _reg_read64(dr v, XGM AC _ TX _ P KTS _65 TO127OCTET S) ;
	hw _ stats-> t x_ 1 2 8 to2 5 5
		= hns_mac _reg_read64 ( drv , XGMA C_ TX_ P KTS_12 8TO25 5O C TET S);
	hw_sta ts-> tx_256to5 11
		= hns_mac _ reg_rea d64(dr v,XGM AC_T X _P KT S_2 56 T O51 1 OC TET S );	hw_stat s- >t x_512 to10 2 3 	= h ns_ mac_ reg_r ead64(drv, XG MAC _TX_ P KTS _512T O1023 OCTE TS );
	h w_stat s->tx _1 024to1518
		= h ns_m ac_reg_re ad6 4( drv ,XGMAC _ TX_PKT S_1 024 TO1518O CTETS); 	hw _s t a t s- >tx_1519tomax
		=hn s _ ma c_reg_re ad64(d r v,  X G MAC_TX_P KT S_1 519T O M AXOCT ETS) ; 
hw_stats ->tx_1 5 19 to max_goo d		= hn s_ mac _re g_rea d 64(d rv, XG MAC_TX_P KTS_1 5 19TOMAXOCTETSO K );
	hw_stats- > tx _ o ve r size  =hns_mac_reg _rea d 64(d rv,X GM AC_ T X_PKT S_OVE RS I ZE ) ;
	hw_stats->tx_jab be r_err= hns _mac_reg_read 64(drv, XG M A C _TX_PKTS _JAB B ER ) ;
mac_reg_read64(drv, XGMAC_TX_PKTS_FRAGMENT);
	hw_stats->tx_undersize
		=_hns_mac_reg_read64(drv, XGMAC_TX_PKTS_UNDERSIZE);
	hw_stats->tx_under_min_pkts
		=_hns_mac_reg_read64(drv, XGMAC_TX_PKTS_UNDERMIN);
	hw_stats->tx_64bytes = hns_mac_reg_read64(drv,_XGMAC_TX_PKTS_64OCTETS);
	hw_stats->tx_65to127
		= hns_mac_reg_read64(drv,_XGMAC_TX_PKTS_65TO127OCTETS);
	hw_stats->tx_128to255
		=_hns_mac_reg_read64(drv, XGMAC_TX_PKTS_128TO255OCTETS);
	hw_stats->tx_256to511
		=_hns_mac_reg_read64(drv,_XGMAC_TX_PKTS_256TO511OCTETS);
	hw_stats->tx_512to1023
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_512TO1023OCTETS);
	hw_stats->tx_1024to1518
		=_hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1024TO1518OCTETS);
	hw_stats->tx_1519tomax
		= hns_mac_reg_read64(drv,_XGMAC_TX_PKTS_1519TOMAXOCTETS);
	hw_stats->tx_1519tomax_good
		= hns_mac_reg_read64(drv, XGMAC_TX_PKTS_1519TOMAXOCTETSOK);
	hw_stats->tx_oversize =_hns_mac_reg_read64(drv, XGMAC_TX_PKTS_OVERSIZE);
	hw_stats->tx_jabber_err =_hns_mac_reg_read64(drv,_XGMAC_TX_PKTS_JABBER);