diff options
author | Intiyaz Basha <intiyaz.basha@cavium.com> | 2018-03-23 17:37:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-25 16:18:52 -0400 |
commit | 5da052a6bd92afb76b226da4afeb1afb66edf080 (patch) | |
tree | c9894c9a284b84aa408d7167c7b4d4e73b39fc52 /drivers/net/ethernet/cavium/liquidio/lio_main.c | |
parent | 5f8baa7a8e7e3f6db640187ef3fa2799107cd1c9 (diff) | |
download | linux-5da052a6bd92afb76b226da4afeb1afb66edf080.tar.gz linux-5da052a6bd92afb76b226da4afeb1afb66edf080.tar.bz2 linux-5da052a6bd92afb76b226da4afeb1afb66edf080.zip |
liquidio: Moved common function skb_iq to to octeon_network.h
Moving common function skb_iq to to octeon_network.h
Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Acked-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/lio_main.c')
-rw-r--r-- | drivers/net/ethernet/cavium/liquidio/lio_main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/ethernet/cavium/liquidio/lio_main.c b/drivers/net/ethernet/cavium/liquidio/lio_main.c index a0c4c0682ece..f9e2a0615174 100644 --- a/drivers/net/ethernet/cavium/liquidio/lio_main.c +++ b/drivers/net/ethernet/cavium/liquidio/lio_main.c @@ -1692,16 +1692,6 @@ static int octeon_pci_os_setup(struct octeon_device *oct) return 0; } -static inline int skb_iq(struct lio *lio, struct sk_buff *skb) -{ - int q = 0; - - if (netif_is_multiqueue(lio->netdev)) - q = skb->queue_mapping % lio->linfo.num_txpciq; - - return q; -} - /** * \brief Check Tx queue state for a given network buffer * @param lio per-network private data |