Commit fc756d0f authored by Intiyaz Basha's avatar Intiyaz Basha Committed by David S. Miller

liquidio: Function call skb_iq for deriving queue from skb

Using skb_iq function for deriving queue from skb
Signed-off-by: default avatarIntiyaz Basha <intiyaz.basha@cavium.com>
Acked-by: default avatarDerek Chickles <derek.chickles@cavium.com>
Signed-off-by: default avatarFelix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dd69debc
...@@ -2533,8 +2533,7 @@ static int liquidio_xmit(struct sk_buff *skb, struct net_device *netdev) ...@@ -2533,8 +2533,7 @@ static int liquidio_xmit(struct sk_buff *skb, struct net_device *netdev)
lio = GET_LIO(netdev); lio = GET_LIO(netdev);
oct = lio->oct_dev; oct = lio->oct_dev;
q_idx = skb->queue_mapping; q_idx = skb_iq(lio, skb);
q_idx = (q_idx % (lio->linfo.num_txpciq));
tag = q_idx; tag = q_idx;
iq_no = lio->linfo.txpciq[q_idx].s.q_no; iq_no = lio->linfo.txpciq[q_idx].s.q_no;
......
...@@ -1604,8 +1604,7 @@ static int liquidio_xmit(struct sk_buff *skb, struct net_device *netdev) ...@@ -1604,8 +1604,7 @@ static int liquidio_xmit(struct sk_buff *skb, struct net_device *netdev)
lio = GET_LIO(netdev); lio = GET_LIO(netdev);
oct = lio->oct_dev; oct = lio->oct_dev;
q_idx = skb->queue_mapping; q_idx = skb_iq(lio, skb);
q_idx = (q_idx % (lio->linfo.num_txpciq));
tag = q_idx; tag = q_idx;
iq_no = lio->linfo.txpciq[q_idx].s.q_no; iq_no = lio->linfo.txpciq[q_idx].s.q_no;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment