Print this page
4431 igb support for I354
4616 igb has uninitialized kstats


 479 /* Rx packet buffer size defines */
 480 #define E1000_RXPBS_SIZE_MASK_82576     0x0000007F
 481 void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable);
 482 void e1000_vmdq_set_anti_spoofing_pf(struct e1000_hw *hw, bool enable, int pf);
 483 void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable);
 484 s32 e1000_init_nvm_params_82575(struct e1000_hw *hw);
 485 
 486 enum e1000_promisc_type {
 487         e1000_promisc_disabled = 0,   /* all promisc modes disabled */
 488         e1000_promisc_unicast = 1,    /* unicast promiscuous enabled */
 489         e1000_promisc_multicast = 2,  /* multicast promiscuous enabled */
 490         e1000_promisc_enabled = 3,    /* both uni and multicast promisc */
 491         e1000_num_promisc_types
 492 };
 493 
 494 void e1000_vfta_set_vf(struct e1000_hw *, u16, bool);
 495 void e1000_rlpml_set_vf(struct e1000_hw *, u16);
 496 s32 e1000_promisc_set_vf(struct e1000_hw *, enum e1000_promisc_type type);
 497 u16 e1000_rxpbs_adjust_82580(u32 data);
 498 s32 e1000_set_eee_i350(struct e1000_hw *);


 499 
 500 /* I2C SDA and SCL timing parameters for standard mode */
 501 #define E1000_I2C_T_HD_STA      4
 502 #define E1000_I2C_T_LOW         5
 503 #define E1000_I2C_T_HIGH        4
 504 #define E1000_I2C_T_SU_STA      5
 505 #define E1000_I2C_T_HD_DATA     5
 506 #define E1000_I2C_T_SU_DATA     1
 507 #define E1000_I2C_T_RISE        1
 508 #define E1000_I2C_T_FALL        1
 509 #define E1000_I2C_T_SU_STO      4
 510 #define E1000_I2C_T_BUF         5
 511 
 512 s32 e1000_set_i2c_bb(struct e1000_hw *hw);
 513 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset,
 514                                 u8 dev_addr, u8 *data);
 515 s32 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset,
 516                                  u8 dev_addr, u8 data);
 517 void e1000_i2c_bus_clear(struct e1000_hw *hw);
 518 


 479 /* Rx packet buffer size defines */
 480 #define E1000_RXPBS_SIZE_MASK_82576     0x0000007F
 481 void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable);
 482 void e1000_vmdq_set_anti_spoofing_pf(struct e1000_hw *hw, bool enable, int pf);
 483 void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable);
 484 s32 e1000_init_nvm_params_82575(struct e1000_hw *hw);
 485 
 486 enum e1000_promisc_type {
 487         e1000_promisc_disabled = 0,   /* all promisc modes disabled */
 488         e1000_promisc_unicast = 1,    /* unicast promiscuous enabled */
 489         e1000_promisc_multicast = 2,  /* multicast promiscuous enabled */
 490         e1000_promisc_enabled = 3,    /* both uni and multicast promisc */
 491         e1000_num_promisc_types
 492 };
 493 
 494 void e1000_vfta_set_vf(struct e1000_hw *, u16, bool);
 495 void e1000_rlpml_set_vf(struct e1000_hw *, u16);
 496 s32 e1000_promisc_set_vf(struct e1000_hw *, enum e1000_promisc_type type);
 497 u16 e1000_rxpbs_adjust_82580(u32 data);
 498 s32 e1000_set_eee_i350(struct e1000_hw *);
 499 s32 e1000_set_eee_i354(struct e1000_hw *);
 500 s32 e1000_get_eee_status_i354(struct e1000_hw *, bool *);
 501 
 502 /* I2C SDA and SCL timing parameters for standard mode */
 503 #define E1000_I2C_T_HD_STA      4
 504 #define E1000_I2C_T_LOW         5
 505 #define E1000_I2C_T_HIGH        4
 506 #define E1000_I2C_T_SU_STA      5
 507 #define E1000_I2C_T_HD_DATA     5
 508 #define E1000_I2C_T_SU_DATA     1
 509 #define E1000_I2C_T_RISE        1
 510 #define E1000_I2C_T_FALL        1
 511 #define E1000_I2C_T_SU_STO      4
 512 #define E1000_I2C_T_BUF         5
 513 
 514 s32 e1000_set_i2c_bb(struct e1000_hw *hw);
 515 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset,
 516                                 u8 dev_addr, u8 *data);
 517 s32 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset,
 518                                  u8 dev_addr, u8 data);
 519 void e1000_i2c_bus_clear(struct e1000_hw *hw);
 520