sky2: force receive checksum when using RSS on some hardware (v2)
Found when reviewing the vendor driver. Apparently some chip versions require receive checksumming to be enabled in order for RSS to work. Also, if fix_features has to change some settings; put in message in log in similar manner to netdev_fix_features. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3f9aed7c7d
commit
aa5ca96c8f
@@ -2281,6 +2281,7 @@ struct sky2_hw {
|
||||
#define SKY2_HW_ADV_POWER_CTL 0x00000080 /* additional PHY power regs */
|
||||
#define SKY2_HW_RSS_BROKEN 0x00000100
|
||||
#define SKY2_HW_VLAN_BROKEN 0x00000200
|
||||
#define SKY2_HW_RSS_CHKSUM 0x00000400 /* RSS requires chksum */
|
||||
|
||||
u8 chip_id;
|
||||
u8 chip_rev;
|
||||
|
Reference in New Issue
Block a user