diff options
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
| -rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 33d51e363913..c9dd69dbe1b8 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -74,6 +74,7 @@ struct ndis_recv_scale_cap { /* NDIS_RECEIVE_SCALE_CAPABILITIES */  #define NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_2   40  #define ITAB_NUM 128 +#define ITAB_NUM_MAX 256  struct ndis_recv_scale_param { /* NDIS_RECEIVE_SCALE_PARAMETERS */  	struct ndis_obj_header hdr; @@ -1034,7 +1035,9 @@ struct net_device_context {  	u32 tx_table[VRSS_SEND_TAB_SIZE]; -	u16 rx_table[ITAB_NUM]; +	u16 *rx_table; + +	u32 rx_table_sz;  	/* Ethtool settings */  	u8 duplex;  | 
