Searched refs:lro_mgr (Results 1 - 7 of 7) sorted by relevance
/linux-4.1.27/net/ipv4/ |
H A D | inet_lro.c | 49 #define LRO_INC_STATS(lro_mgr, attr) { lro_mgr->stats.attr++; } 246 static struct net_lro_desc *lro_get_desc(struct net_lro_mgr *lro_mgr, lro_get_desc() argument 253 int max_desc = lro_mgr->max_desc; lro_get_desc() 272 LRO_INC_STATS(lro_mgr, no_desc); lro_get_desc() 277 static void lro_flush(struct net_lro_mgr *lro_mgr, lro_flush() argument 285 if (lro_mgr->features & LRO_F_NAPI) lro_flush() 290 LRO_INC_STATS(lro_mgr, flushed); lro_flush() 294 static int __lro_proc_skb(struct net_lro_mgr *lro_mgr, struct sk_buff *skb, __lro_proc_skb() argument 303 if (!lro_mgr->get_skb_header || __lro_proc_skb() 304 lro_mgr->get_skb_header(skb, (void *)&iph, (void *)&tcph, __lro_proc_skb() 311 lro_desc = lro_get_desc(lro_mgr, lro_mgr->lro_arr, iph, tcph); __lro_proc_skb() 316 !(lro_mgr->features & LRO_F_EXTRACT_VLAN_ID)) __lro_proc_skb() 323 skb->ip_summed = lro_mgr->ip_summed_aggr; __lro_proc_skb() 325 LRO_INC_STATS(lro_mgr, aggregated); __lro_proc_skb() 336 LRO_INC_STATS(lro_mgr, aggregated); __lro_proc_skb() 338 if ((lro_desc->pkt_aggr_cnt >= lro_mgr->max_aggr) || __lro_proc_skb() 339 lro_desc->parent->len > (0xFFFF - lro_mgr->dev->mtu)) __lro_proc_skb() 340 lro_flush(lro_mgr, lro_desc); __lro_proc_skb() 345 lro_flush(lro_mgr, lro_desc); __lro_proc_skb() 351 void lro_receive_skb(struct net_lro_mgr *lro_mgr, lro_receive_skb() argument 355 if (__lro_proc_skb(lro_mgr, skb, priv)) { lro_receive_skb() 356 if (lro_mgr->features & LRO_F_NAPI) lro_receive_skb() 364 void lro_flush_all(struct net_lro_mgr *lro_mgr) lro_flush_all() argument 367 struct net_lro_desc *lro_desc = lro_mgr->lro_arr; lro_flush_all() 369 for (i = 0; i < lro_mgr->max_desc; i++) { lro_flush_all() 371 lro_flush(lro_mgr, &lro_desc[i]); lro_flush_all()
|
/linux-4.1.27/include/linux/ |
H A D | inet_lro.h | 127 * @lro_mgr: LRO manager to use 133 void lro_receive_skb(struct net_lro_mgr *lro_mgr, 137 * Forward all aggregated SKBs held by lro_mgr to network stack 140 void lro_flush_all(struct net_lro_mgr *lro_mgr);
|
/linux-4.1.27/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 820 lro_receive_skb(&mac->lro_mgr, skb, (void *)macrx); pasemi_mac_clean_rx() 842 lro_flush_all(&mac->lro_mgr); pasemi_mac_clean_rx() 1757 mac->lro_mgr.max_aggr = LRO_MAX_AGGR; pasemi_mac_probe() 1758 mac->lro_mgr.max_desc = MAX_LRO_DESCRIPTORS; pasemi_mac_probe() 1759 mac->lro_mgr.lro_arr = mac->lro_desc; pasemi_mac_probe() 1760 mac->lro_mgr.get_skb_header = get_skb_hdr; pasemi_mac_probe() 1761 mac->lro_mgr.features = LRO_F_NAPI | LRO_F_EXTRACT_VLAN_ID; pasemi_mac_probe() 1762 mac->lro_mgr.dev = mac->netdev; pasemi_mac_probe() 1763 mac->lro_mgr.ip_summed = CHECKSUM_UNNECESSARY; pasemi_mac_probe() 1764 mac->lro_mgr.ip_summed_aggr = CHECKSUM_UNNECESSARY; pasemi_mac_probe()
|
H A D | pasemi_mac.h | 87 struct net_lro_mgr lro_mgr; member in struct:pasemi_mac
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
H A D | nes_hw.c | 1898 nesvnic->lro_mgr.max_aggr = nes_lro_max_aggr; nes_init_nic_qp() 1899 nesvnic->lro_mgr.max_desc = NES_MAX_LRO_DESCRIPTORS; nes_init_nic_qp() 1900 nesvnic->lro_mgr.lro_arr = nesvnic->lro_desc; nes_init_nic_qp() 1901 nesvnic->lro_mgr.get_skb_header = nes_lro_get_skb_hdr; nes_init_nic_qp() 1902 nesvnic->lro_mgr.features = LRO_F_NAPI | LRO_F_EXTRACT_VLAN_ID; nes_init_nic_qp() 1903 nesvnic->lro_mgr.dev = netdev; nes_init_nic_qp() 1904 nesvnic->lro_mgr.ip_summed = CHECKSUM_UNNECESSARY; nes_init_nic_qp() 1905 nesvnic->lro_mgr.ip_summed_aggr = CHECKSUM_UNNECESSARY; nes_init_nic_qp() 2954 lro_receive_skb(&nesvnic->lro_mgr, rx_skb, NULL); nes_nic_ce_handler() 2988 lro_flush_all(&nesvnic->lro_mgr); nes_nic_ce_handler()
|
H A D | nes_nic.c | 1305 target_stat_values[++index] = nesvnic->lro_mgr.stats.aggregated; nes_netdev_get_ethtool_stats() 1306 target_stat_values[++index] = nesvnic->lro_mgr.stats.flushed; nes_netdev_get_ethtool_stats() 1307 target_stat_values[++index] = nesvnic->lro_mgr.stats.no_desc; nes_netdev_get_ethtool_stats()
|
H A D | nes_hw.h | 1273 struct net_lro_mgr lro_mgr; member in struct:nes_vnic
|
Completed in 240 milliseconds