adapter->stats.bprcl += IXGB_READ_REG(&adapter->hw, BPRCL); adapter->stats.bprch += IXGB_READ_REG(&adapter->hw, BPRCH); adapter->stats.mprcl += IXGB_READ_REG(&adapter->hw, MPRCL); adapter->stats.mprch += IXGB_READ_REG(&adapter->hw, MPRCH); 
ixgb_update_stats(struct ixgb_adapter *adapter){	adapter->stats.tprl += IXGB_READ_REG(&adapter->hw, TPRL);	adapter->stats.tprh += IXGB_READ_REG(&adapter->hw, TPRH);	adapter->stats.gprcl += IXGB_READ_REG(&adapter->hw, GPRCL);	adapter->stats.gprch += IXGB_READ_REG(&adapter->hw, GPRCH);	adapter->stats.bprcl += IXGB_READ_REG(&adapter->hw, BPRCL);	adapter->stats.bprch += IXGB_READ_REG(&adapter->hw, BPRCH);	adapter->stats.mprcl += IXGB_READ_REG(&adapter->hw, MPRCL);	adapter->stats.mprch += IXGB_READ_REG(&adapter->hw, MPRCH);	adapter->stats.uprcl += IXGB_READ_REG(&adapter->hw, UPRCL);	adapter->stats.uprch += IXGB_READ_REG(&adapter->hw, UPRCH);	adapter->stats.vprcl += IXGB_READ_REG(&adapter->hw, VPRCL);	adapter->stats.vprch += IXGB_READ_REG(&adapter->hw, VPRCH);	adapter->stats.jprcl += IXGB_READ_REG(&adapter->hw, JPRCL);	adapter->stats.jprch += IXGB_READ_REG(&adapter->hw, JPRCH);	adapter->stats.gorcl += IXGB_READ_REG(&adapter->hw, GORCL);	adapter->stats.gorch += IXGB_READ_REG(&adapter->hw, GORCH);	adapter->stats.torl += IXGB_READ_REG(&adapter->hw, TORL);	adapter->stats.torh += IXGB_READ_REG(&adapter->hw, TORH);	adapter->stats.rnbc += IXGB_READ_REG(&adapter->hw, RNBC);	adapter->stats.ruc += IXGB_READ_REG(&adapter->hw, RUC);	adapter->stats.roc += IXGB_READ_REG(&adapter->hw, ROC);	adapter->stats.rlec += IXGB_READ_REG(&adapter->hw, RLEC);	adapter->stats.crcerrs += IXGB_READ_REG(&adapter->hw, CRCERRS);	adapter->stats.icbc += IXGB_READ_REG(&adapter->hw, ICBC);	adapter->stats.ecbc += IXGB_READ_REG(&adapter->hw, ECBC);	adapter->stats.mpc += IXGB_READ_REG(&adapter->hw, MPC);	adapter->stats.tptl += IXGB_READ_REG(&adapter->hw, TPTL);	adapter->stats.tpth += IXGB_READ_REG(&adapter->hw, TPTH);	adapter->stats.gptcl += IXGB_READ_REG(&adapter->hw, GPTCL);	adapter->stats.gptch += IXGB_READ_REG(&adapter->hw, GPTCH);	adapter->stats.bptcl += IXGB_READ_REG(&adapter->hw, BPTCL);	adapter->stats.bptch += IXGB_READ_REG(&adapter->hw, BPTCH);	adapter->stats.mptcl += IXGB_READ_REG(&adapter->hw, MPTCL);	adapter->stats.mptch += IXGB_READ_REG(&adapter->hw, MPTCH);	adapter->stats.uptcl += IXGB_READ_REG(&adapter->hw, UPTCL);	adapter->stats.uptch += IXGB_READ_REG(&adapter->hw, UPTCH);	adapter->stats.vptcl += IXGB_READ_REG(&adapter->hw, VPTCL);	adapter->stats.vptch += IXGB_READ_REG(&adapter->hw, VPTCH);	adapter->stats.jptcl += IXGB_READ_REG(&adapter->hw, JPTCL);	adapter->stats.jptch += IXGB_READ_REG(&adapter->hw, JPTCH);	adapter->stats.gotcl += IXGB_READ_REG(&adapter->hw, GOTCL);	adapter->stats.gotch += IXGB_READ_REG(&adapter->hw, GOTCH);	adapter->stats.totl += IXGB_READ_REG(&adapter->hw, TOTL);	adapter->stats.toth += IXGB_READ_REG(&adapter->hw, TOTH);	adapter->stats.dc += IXGB_READ_REG(&adapter->hw, DC);	adapter->stats.plt64c += IXGB_READ_REG(&adapter->hw, PLT64C);	adapter->stats.tsctc += IXGB_READ_REG(&adapter->hw, TSCTC);	adapter->stats.tsctfc += IXGB_READ_REG(&adapter->hw, TSCTFC);	adapter->stats.ibic += IXGB_READ_REG(&adapter->hw, IBIC);	adapter->stats.rfc += IXGB_READ_REG(&adapter->hw, RFC);	adapter->stats.lfc += IXGB_READ_REG(&adapter->hw, LFC);	adapter->stats.pfrc += IXGB_READ_REG(&adapter->hw, PFRC);	adapter->stats.pftc += IXGB_READ_REG(&adapter->hw, PFTC);	adapter->stats.mcfrc += IXGB_READ_REG(&adapter->hw, MCFRC);	adapter->stats.mcftc += IXGB_READ_REG(&adapter->hw, MCFTC);	adapter->stats.xonrxc += IXGB_READ_REG(&adapter->hw, XONRXC);	adapter->stats.xontxc += IXGB_READ_REG(&adapter->hw, XONTXC);	adapter->stats.xoffrxc += IXGB_READ_REG(&adapter->hw, XOFFRXC);	adapter->stats.xofftxc += IXGB_READ_REG(&adapter->hw, XOFFTXC);	adapter->stats.rjc += IXGB_READ_REG(&adapter->hw, RJC);	/* Fill out the OS statistics structure */	adapter->net_stats.rx_packets = adapter->stats.gprcl;	adapter->net_stats.tx_packets = adapter->stats.gptcl;	adapter->net_stats.rx_bytes = adapter->stats.gorcl;	adapter->net_stats.tx_bytes = adapter->stats.gotcl;	adapter->net_stats.multicast = adapter->stats.mprcl;	adapter->net_stats.collisions = 0;	/* ignore RLEC as it reports errors for padded (<64bytes) frames	 * with a length in the type/len field */	adapter->net_stats.rx_errors =	    /* adapter->stats.rnbc + */ adapter->stats.crcerrs +	    adapter->stats.ruc +	    adapter->stats.roc /*+ adapter->stats.rlec */  +	    adapter->stats.icbc +	    adapter->stats.ecbc + adapter->stats.mpc;	adapter->net_stats.rx_dropped = adapter->stats.mpc;	/* see above	 * adapter->net_stats.rx_length_errors = adapter->stats.rlec;	 */	adapter->net_stats.rx_crc_errors = adapter->stats.crcerrs;	adapter->net_stats.rx_fifo_errors = adapter->stats.mpc;	adapter->net_stats.rx_missed_errors = adapter->stats.mpc;	adapter->net_stats.rx_over_errors = adapter->stats.mpc;	adapter->net_stats.tx_errors = 0;	adapter->net_stats.rx_frame_errors = 0;	adapter->net_stats.tx_aborted_errors = 0;	adapter->net_stats.tx_carrier_errors = 0;	adapter->net_stats.tx_fifo_errors = 0;	adapter->net_stats.tx_heartbeat_errors = 0;	adapter->net_stats.tx_window_errors = 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/5633684d008b777ab169e8efcef39a898482f531/ixgb_main.c/buggy/drivers/net/ixgb/ixgb_main.c