Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300504
b: refs/heads/master
c: 55f9a4d
h: refs/heads/master
v: v3
  • Loading branch information
Deepak SIKRI authored and David S. Miller committed Apr 4, 2012
1 parent 4451212 commit e2e1dec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f142af2e2064546ac470e8690acbd189b3584e67
refs/heads/master: 55f9a4d6facb35198ddb88a8fe21ca2ee753af7a
3 changes: 3 additions & 0 deletions trunk/Documentation/networking/stmmac.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ and detailed below as well:
int has_gmac;
int enh_desc;
int tx_coe;
int rx_coe;
int bugged_jumbo;
int pmt;
int force_sf_dma_mode;
Expand All @@ -140,6 +141,8 @@ Where:
o has_gmac: uses the GMAC core.
o enh_desc: if sets the MAC will use the enhanced descriptor structure.
o tx_coe: core is able to perform the tx csum in HW.
o rx_coe: the supports three check sum offloading engine types:
type_1, type_2 (full csum) and no RX coe.
o bugged_jumbo: some HWs are not able to perform the csum in HW for
over-sized frames due to limited buffer sizes.
Setting this flag the csum will be done in SW on
Expand Down
5 changes: 5 additions & 0 deletions trunk/include/linux/stmmac.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@

#include <linux/platform_device.h>

#define STMMAC_RX_COE_NONE 0
#define STMMAC_RX_COE_TYPE1 1
#define STMMAC_RX_COE_TYPE2 2

/* Platfrom data for platform device structure's platform_data field */

struct stmmac_mdio_bus_data {
Expand All @@ -49,6 +53,7 @@ struct plat_stmmacenet_data {
int has_gmac;
int enh_desc;
int tx_coe;
int rx_coe;
int bugged_jumbo;
int pmt;
int force_sf_dma_mode;
Expand Down

0 comments on commit e2e1dec

Please sign in to comment.