ixgbe.h (0b7877d4eea3f93e3dd941999522bbd8c538cb53) | ixgbe.h (3ca8bc6de2b336d483bb9d83e0dfe16cde535fa6) |
---|---|
1/******************************************************************************* 2 3 Intel 10 Gigabit PCI Express Linux driver 4 Copyright(c) 1999 - 2012 Intel Corporation. 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms and conditions of the GNU General Public License, 8 version 2, as published by the Free Software Foundation. --- 317 unchanged lines hidden (view full) --- 326 cpumask_t affinity_mask; 327 int numa_node; 328 struct rcu_head rcu; /* to avoid race with update stats on free */ 329 char name[IFNAMSIZ + 9]; 330 331 /* for dynamic allocation of rings associated with this q_vector */ 332 struct ixgbe_ring ring[0] ____cacheline_internodealigned_in_smp; 333}; | 1/******************************************************************************* 2 3 Intel 10 Gigabit PCI Express Linux driver 4 Copyright(c) 1999 - 2012 Intel Corporation. 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms and conditions of the GNU General Public License, 8 version 2, as published by the Free Software Foundation. --- 317 unchanged lines hidden (view full) --- 326 cpumask_t affinity_mask; 327 int numa_node; 328 struct rcu_head rcu; /* to avoid race with update stats on free */ 329 char name[IFNAMSIZ + 9]; 330 331 /* for dynamic allocation of rings associated with this q_vector */ 332 struct ixgbe_ring ring[0] ____cacheline_internodealigned_in_smp; 333}; |
334#ifdef CONFIG_IXGBE_HWMON |
|
334 | 335 |
336#define IXGBE_HWMON_TYPE_LOC 0 337#define IXGBE_HWMON_TYPE_TEMP 1 338#define IXGBE_HWMON_TYPE_CAUTION 2 339#define IXGBE_HWMON_TYPE_MAX 3 340 341struct hwmon_attr { 342 struct device_attribute dev_attr; 343 struct ixgbe_hw *hw; 344 struct ixgbe_thermal_diode_data *sensor; 345 char name[12]; 346}; 347 348struct hwmon_buff { 349 struct device *device; 350 struct hwmon_attr *hwmon_list; 351 unsigned int n_hwmon; 352}; 353#endif /* CONFIG_IXGBE_HWMON */ 354 |
|
335/* 336 * microsecond values for various ITR rates shifted by 2 to fit itr register 337 * with the first 3 bits reserved 0 338 */ 339#define IXGBE_MIN_RSC_ITR 24 340#define IXGBE_100K_ITR 40 341#define IXGBE_20K_ITR 200 342#define IXGBE_10K_ITR 400 --- 187 unchanged lines hidden (view full) --- 530 unsigned int num_vfs; 531 struct vf_data_storage *vfinfo; 532 int vf_rate_link_speed; 533 struct vf_macvlans vf_mvs; 534 struct vf_macvlans *mv_list; 535 536 u32 timer_event_accumulator; 537 u32 vferr_refcount; | 355/* 356 * microsecond values for various ITR rates shifted by 2 to fit itr register 357 * with the first 3 bits reserved 0 358 */ 359#define IXGBE_MIN_RSC_ITR 24 360#define IXGBE_100K_ITR 40 361#define IXGBE_20K_ITR 200 362#define IXGBE_10K_ITR 400 --- 187 unchanged lines hidden (view full) --- 550 unsigned int num_vfs; 551 struct vf_data_storage *vfinfo; 552 int vf_rate_link_speed; 553 struct vf_macvlans vf_mvs; 554 struct vf_macvlans *mv_list; 555 556 u32 timer_event_accumulator; 557 u32 vferr_refcount; |
558 struct kobject *info_kobj; 559#ifdef CONFIG_IXGBE_HWMON 560 struct hwmon_buff ixgbe_hwmon_buff; 561#endif /* CONFIG_IXGBE_HWMON */ |
|
538}; 539 540struct ixgbe_fdir_filter { 541 struct hlist_node fdir_node; 542 union ixgbe_atr_input filter; 543 u16 sw_idx; 544 u16 action; 545}; --- 49 unchanged lines hidden (view full) --- 595extern void ixgbe_free_rx_resources(struct ixgbe_ring *); 596extern void ixgbe_free_tx_resources(struct ixgbe_ring *); 597extern void ixgbe_configure_rx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); 598extern void ixgbe_configure_tx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); 599extern void ixgbe_disable_rx_queue(struct ixgbe_adapter *adapter, 600 struct ixgbe_ring *); 601extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); 602extern int ixgbe_init_interrupt_scheme(struct ixgbe_adapter *adapter); | 562}; 563 564struct ixgbe_fdir_filter { 565 struct hlist_node fdir_node; 566 union ixgbe_atr_input filter; 567 u16 sw_idx; 568 u16 action; 569}; --- 49 unchanged lines hidden (view full) --- 619extern void ixgbe_free_rx_resources(struct ixgbe_ring *); 620extern void ixgbe_free_tx_resources(struct ixgbe_ring *); 621extern void ixgbe_configure_rx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); 622extern void ixgbe_configure_tx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); 623extern void ixgbe_disable_rx_queue(struct ixgbe_adapter *adapter, 624 struct ixgbe_ring *); 625extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); 626extern int ixgbe_init_interrupt_scheme(struct ixgbe_adapter *adapter); |
627extern int ixgbe_wol_supported(struct ixgbe_adapter *adapter, u16 device_id, 628 u16 subdevice_id); |
|
603extern void ixgbe_clear_interrupt_scheme(struct ixgbe_adapter *adapter); 604extern netdev_tx_t ixgbe_xmit_frame_ring(struct sk_buff *, 605 struct ixgbe_adapter *, 606 struct ixgbe_ring *); 607extern void ixgbe_unmap_and_free_tx_resource(struct ixgbe_ring *, 608 struct ixgbe_tx_buffer *); 609extern void ixgbe_alloc_rx_buffers(struct ixgbe_ring *, u16); 610extern void ixgbe_write_eitr(struct ixgbe_q_vector *); --- 17 unchanged lines hidden (view full) --- 628extern void ixgbe_atr_compute_perfect_hash_82599(union ixgbe_atr_input *input, 629 union ixgbe_atr_input *mask); 630extern void ixgbe_set_rx_mode(struct net_device *netdev); 631#ifdef CONFIG_IXGBE_DCB 632extern int ixgbe_setup_tc(struct net_device *dev, u8 tc); 633#endif 634extern void ixgbe_tx_ctxtdesc(struct ixgbe_ring *, u32, u32, u32, u32); 635extern void ixgbe_do_reset(struct net_device *netdev); | 629extern void ixgbe_clear_interrupt_scheme(struct ixgbe_adapter *adapter); 630extern netdev_tx_t ixgbe_xmit_frame_ring(struct sk_buff *, 631 struct ixgbe_adapter *, 632 struct ixgbe_ring *); 633extern void ixgbe_unmap_and_free_tx_resource(struct ixgbe_ring *, 634 struct ixgbe_tx_buffer *); 635extern void ixgbe_alloc_rx_buffers(struct ixgbe_ring *, u16); 636extern void ixgbe_write_eitr(struct ixgbe_q_vector *); --- 17 unchanged lines hidden (view full) --- 654extern void ixgbe_atr_compute_perfect_hash_82599(union ixgbe_atr_input *input, 655 union ixgbe_atr_input *mask); 656extern void ixgbe_set_rx_mode(struct net_device *netdev); 657#ifdef CONFIG_IXGBE_DCB 658extern int ixgbe_setup_tc(struct net_device *dev, u8 tc); 659#endif 660extern void ixgbe_tx_ctxtdesc(struct ixgbe_ring *, u32, u32, u32, u32); 661extern void ixgbe_do_reset(struct net_device *netdev); |
662extern void ixgbe_sysfs_exit(struct ixgbe_adapter *adapter); 663extern int ixgbe_sysfs_init(struct ixgbe_adapter *adapter); |
|
636#ifdef IXGBE_FCOE 637extern void ixgbe_configure_fcoe(struct ixgbe_adapter *adapter); 638extern int ixgbe_fso(struct ixgbe_ring *tx_ring, 639 struct ixgbe_tx_buffer *first, 640 u8 *hdr_len); 641extern void ixgbe_cleanup_fcoe(struct ixgbe_adapter *adapter); 642extern int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter, 643 union ixgbe_adv_rx_desc *rx_desc, --- 23 unchanged lines hidden --- | 664#ifdef IXGBE_FCOE 665extern void ixgbe_configure_fcoe(struct ixgbe_adapter *adapter); 666extern int ixgbe_fso(struct ixgbe_ring *tx_ring, 667 struct ixgbe_tx_buffer *first, 668 u8 *hdr_len); 669extern void ixgbe_cleanup_fcoe(struct ixgbe_adapter *adapter); 670extern int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter, 671 union ixgbe_adv_rx_desc *rx_desc, --- 23 unchanged lines hidden --- |