diff options
author | Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> | 2011-03-15 17:57:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-15 17:57:09 -0400 |
commit | 9ecb42fda614c4e4f46e95712621510f8d746980 (patch) | |
tree | 680cd08f4b3cb8c35a241cf7b5d2108668ee8ca7 /drivers/net/benet/be_main.c | |
parent | 638be344593b66ccca6802c6076a5b3d9200829d (diff) |
be2net: Fix UDP packet detected status in RX compl
Status of UDP packet detection not getting populated in RX completion
structure. This is required in csum_passed() routine.
Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_main.c')
-rw-r--r-- | drivers/net/benet/be_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 3cb5f4e5a06e..5e150066a915 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c | |||
@@ -1088,6 +1088,7 @@ static void be_parse_rx_compl_v1(struct be_adapter *adapter, | |||
1088 | rxcp->vlanf = AMAP_GET_BITS(struct amap_eth_rx_compl_v1, vtp, compl); | 1088 | rxcp->vlanf = AMAP_GET_BITS(struct amap_eth_rx_compl_v1, vtp, compl); |
1089 | rxcp->err = AMAP_GET_BITS(struct amap_eth_rx_compl_v1, err, compl); | 1089 | rxcp->err = AMAP_GET_BITS(struct amap_eth_rx_compl_v1, err, compl); |
1090 | rxcp->tcpf = AMAP_GET_BITS(struct amap_eth_rx_compl_v1, tcpf, compl); | 1090 | rxcp->tcpf = AMAP_GET_BITS(struct amap_eth_rx_compl_v1, tcpf, compl); |
1091 | rxcp->udpf = AMAP_GET_BITS(struct amap_eth_rx_compl_v1, udpf, compl); | ||
1091 | rxcp->ip_csum = | 1092 | rxcp->ip_csum = |
1092 | AMAP_GET_BITS(struct amap_eth_rx_compl_v1, ipcksm, compl); | 1093 | AMAP_GET_BITS(struct amap_eth_rx_compl_v1, ipcksm, compl); |
1093 | rxcp->l4_csum = | 1094 | rxcp->l4_csum = |
@@ -1113,6 +1114,7 @@ static void be_parse_rx_compl_v0(struct be_adapter *adapter, | |||
1113 | rxcp->vlanf = AMAP_GET_BITS(struct amap_eth_rx_compl_v0, vtp, compl); | 1114 | rxcp->vlanf = AMAP_GET_BITS(struct amap_eth_rx_compl_v0, vtp, compl); |
1114 | rxcp->err = AMAP_GET_BITS(struct amap_eth_rx_compl_v0, err, compl); | 1115 | rxcp->err = AMAP_GET_BITS(struct amap_eth_rx_compl_v0, err, compl); |
1115 | rxcp->tcpf = AMAP_GET_BITS(struct amap_eth_rx_compl_v0, tcpf, compl); | 1116 | rxcp->tcpf = AMAP_GET_BITS(struct amap_eth_rx_compl_v0, tcpf, compl); |
1117 | rxcp->udpf = AMAP_GET_BITS(struct amap_eth_rx_compl_v0, udpf, compl); | ||
1116 | rxcp->ip_csum = | 1118 | rxcp->ip_csum = |
1117 | AMAP_GET_BITS(struct amap_eth_rx_compl_v0, ipcksm, compl); | 1119 | AMAP_GET_BITS(struct amap_eth_rx_compl_v0, ipcksm, compl); |
1118 | rxcp->l4_csum = | 1120 | rxcp->l4_csum = |