Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
@@ -3410,7 +3410,7 @@ bna_bfi_tx_enet_start(struct bna_tx *tx)
|
||||
|
||||
cfg_req->tx_cfg.vlan_mode = BFI_ENET_TX_VLAN_WI;
|
||||
cfg_req->tx_cfg.vlan_id = htons((u16)tx->txf_vlan_id);
|
||||
cfg_req->tx_cfg.admit_tagged_frame = BNA_STATUS_T_DISABLED;
|
||||
cfg_req->tx_cfg.admit_tagged_frame = BNA_STATUS_T_ENABLED;
|
||||
cfg_req->tx_cfg.apply_vlan_filter = BNA_STATUS_T_DISABLED;
|
||||
|
||||
bfa_msgq_cmd_set(&tx->msgq_cmd, NULL, NULL,
|
||||
|
@@ -2864,7 +2864,7 @@ bnad_txq_wi_prepare(struct bnad *bnad, struct bna_tcb *tcb,
|
||||
txqent->hdr.wi.opcode = htons(BNA_TXQ_WI_SEND);
|
||||
txqent->hdr.wi.lso_mss = 0;
|
||||
|
||||
if (unlikely(skb->len > (bnad->netdev->mtu + ETH_HLEN))) {
|
||||
if (unlikely(skb->len > (bnad->netdev->mtu + VLAN_ETH_HLEN))) {
|
||||
BNAD_UPDATE_CTR(bnad, tx_skb_non_tso_too_long);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user