be2net: Refactored be_cmds.c file.
authorSomnath Kotur <somnath.kotur@emulex.com>
Thu, 27 Oct 2011 07:12:13 +0000 (07:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Oct 2011 03:16:19 +0000 (23:16 -0400)
commit106df1e3594c710c74348883a4942f65651781ff
tree56f1dd8d113f41cff36cc1942c93887b25a703ff
parent6afc25c9a7197db24e1cbfa40140ee360d65141f
be2net: Refactored be_cmds.c file.

Moved the .sge. field's population inside be_cmd_hdr_prepare.
Populating wrb->tag0 and tag1 inside be_cmd_hdr_prepare

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c