mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
All conflicts were simple overlapping changes except perhaps for the Thunder driver. That driver has a change_mtu method explicitly for sending a message to the hardware. If that fails it returns an error. Normally a driver doesn't need an ndo_change_mtu method becuase those are usually just range changes, which are now handled generically. But since this extra operation is needed in the Thunder driver, it has to stay. However, if the message send fails we have to restore the original MTU before the change because the entire call chain expects that if an error is thrown by ndo_change_mtu then the MTU did not change. Therefore code is added to nicvf_change_mtu to remember the original MTU, and to restore it upon nicvf_update_hw_max_frs() failue. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
f9aa9dc7d2
242 changed files with 3388 additions and 1793 deletions
|
|
@ -68,6 +68,9 @@ static inline int gro_cells_init(struct gro_cells *gcells, struct net_device *de
|
|||
struct gro_cell *cell = per_cpu_ptr(gcells->cells, i);
|
||||
|
||||
__skb_queue_head_init(&cell->napi_skbs);
|
||||
|
||||
set_bit(NAPI_STATE_NO_BUSY_POLL, &cell->napi.state);
|
||||
|
||||
netif_napi_add(dev, &cell->napi, gro_cell_poll, 64);
|
||||
napi_enable(&cell->napi);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -243,6 +243,7 @@ int fib_table_dump(struct fib_table *table, struct sk_buff *skb,
|
|||
struct netlink_callback *cb);
|
||||
int fib_table_flush(struct net *net, struct fib_table *table);
|
||||
struct fib_table *fib_trie_unmerge(struct fib_table *main_tb);
|
||||
void fib_table_flush_external(struct fib_table *table);
|
||||
void fib_free_table(struct fib_table *tb);
|
||||
|
||||
#ifndef CONFIG_IP_MULTIPLE_TABLES
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ static inline struct net *copy_net_ns(unsigned long flags,
|
|||
extern struct list_head net_namespace_list;
|
||||
|
||||
struct net *get_net_ns_by_pid(pid_t pid);
|
||||
struct net *get_net_ns_by_fd(int pid);
|
||||
struct net *get_net_ns_by_fd(int fd);
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
void ipx_register_sysctl(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue