Skip to content

Commit

Permalink
[thunderx] Fix channel configuration for VNICs 1-7
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Jun 15, 2016
1 parent 4775dd3 commit cf52436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/net/thunderx.c
Expand Up @@ -939,7 +939,7 @@ static int txnic_lmac_open ( struct net_device *netdev ) {
unsigned int tl3_idx = TXNIC_TL3_IDX ( vnic_idx );
unsigned int tl2_idx = TXNIC_TL2_IDX ( vnic_idx );
void *lmregs = ( pf->regs + TXNIC_PF_LMAC ( vnic_idx ) );
void *chregs = ( pf->regs + TXNIC_PF_CHAN ( vnic_idx ) );
void *chregs = ( pf->regs + TXNIC_PF_CHAN ( chan_idx ) );
void *qsregs = ( pf->regs + TXNIC_PF_QS ( vnic_idx ) );
size_t max_pkt_size;
int rc;
Expand Down

0 comments on commit cf52436

Please sign in to comment.