Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193619
b: refs/heads/master
c: a55a603
h: refs/heads/master
i:
  193617: 7d4eae0
  193615: 4ab0fdd
v: v3
  • Loading branch information
Vasanthy Kolluri authored and David S. Miller committed Mar 19, 2010
1 parent 71f4781 commit 084caf7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba7e94a44afbbf4c494e00b844f7bbfb144e7f6d
refs/heads/master: a55a603dae47a1ea4fbfad3a3a428ea7a0900ab6
12 changes: 8 additions & 4 deletions trunk/drivers/net/enic/cq_enet_desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,18 @@ static inline void cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc,
u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok,
u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok)
{
u16 completed_index_flags = le16_to_cpu(desc->completed_index_flags);
u16 q_number_rss_type_flags =
le16_to_cpu(desc->q_number_rss_type_flags);
u16 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags);
u16 completed_index_flags;
u16 q_number_rss_type_flags;
u16 bytes_written_flags;

cq_desc_dec((struct cq_desc *)desc, type,
color, q_number, completed_index);

completed_index_flags = le16_to_cpu(desc->completed_index_flags);
q_number_rss_type_flags =
le16_to_cpu(desc->q_number_rss_type_flags);
bytes_written_flags = le16_to_cpu(desc->bytes_written_flags);

*ingress_port = (completed_index_flags &
CQ_ENET_RQ_DESC_FLAGS_INGRESS_PORT) ? 1 : 0;
*fcoe = (completed_index_flags & CQ_ENET_RQ_DESC_FLAGS_FCOE) ?
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/enic/enic.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#define DRV_NAME "enic"
#define DRV_DESCRIPTION "Cisco 10G Ethernet Driver"
#define DRV_VERSION "1.1.0.241a"
#define DRV_VERSION "1.3.1.1"
#define DRV_COPYRIGHT "Copyright 2008-2009 Cisco Systems, Inc"
#define PFX DRV_NAME ": "

Expand Down

0 comments on commit 084caf7

Please sign in to comment.