diff options
| author | Sonic Zhang <[email protected]> | 2015-01-30 05:49:32 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-02-02 07:14:24 +0000 |
| commit | b2dec116fb9f3d8c7dd2e878fa1b9b88262985f7 (patch) | |
| tree | 300096119db985fb0c103ed1d890520d595b7415 /net/switchdev/switchdev.c | |
| parent | cxgb4: Remove preprocessor check for CONFIG_CXGB4_DCB (diff) | |
| download | kernel-b2dec116fb9f3d8c7dd2e878fa1b9b88262985f7.tar.gz kernel-b2dec116fb9f3d8c7dd2e878fa1b9b88262985f7.zip | |
stmmac: DMA threshold mode or SF mode can be different among multiple device instance
- In tx_hard_error_bump_tc interrupt, tc should be bumped only when current
device instance is in DMA threshold mode. Check per device xstats.threshold
other than global tc.
- Set per device xstats.threshold to SF_DMA_MODE when current device
instance is set to SF mode.
v2-changes:
- fix ident style
Signed-off-by: Sonic Zhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
